Class ColumnType

All Implemented Interfaces:
Cacheable, TypeSignature<ValueType>

public class ColumnType extends BaseTypeSignature<ValueType> implements Cacheable
Native Druid types.
See Also:
  • Field Details

    • STRING

      public static final ColumnType STRING
      Druid string type. Values will be represented as String or List<String> in the case of multi-value string columns. ColumnType has insufficient information to distinguish between single and multi-value strings, this requires a specific TypeSignature implementation which is supplied by segments, 'ColumnCapabilities', which is available at a higher layer and provides the method 'hasMultipleValues'.
      See Also:
    • LONG

      public static final ColumnType LONG
      Druid 64-bit integer number primitive type. Values will be represented as Java long or Long.
      See Also:
    • DOUBLE

      public static final ColumnType DOUBLE
      Druid 64-bit double precision floating point number primitive type. Values will be represented as Java double or Double.
      See Also:
    • FLOAT

      public static final ColumnType FLOAT
      Druid 32-bit single precision floating point number primitive type. Values will be represented as Java float or Float.
      See Also:
    • STRING_ARRAY

      public static final ColumnType STRING_ARRAY
      An array of Strings. Values will be represented as Object[]
      See Also:
    • LONG_ARRAY

      public static final ColumnType LONG_ARRAY
      An array of Longs. Values will be represented as Object[] or long[]
      See Also:
    • DOUBLE_ARRAY

      public static final ColumnType DOUBLE_ARRAY
      An array of Doubles. Values will be represented as Object[] or double[].
      See Also:
    • FLOAT_ARRAY

      public static final ColumnType FLOAT_ARRAY
      An array of Floats. Values will be represented as Object[] or float[].
      See Also:
    • NESTED_DATA

      public static final ColumnType NESTED_DATA
    • UNKNOWN_COMPLEX

      public static final ColumnType UNKNOWN_COMPLEX
      Placeholder type for an "unknown" complex, which is used when the complex type name was "lost" or unavailable for whatever reason, to indicate an opaque type that cannot be generically handled with normal complex type handling mechanisms. Prefer to use a ColumnType with the BaseTypeSignature.complexTypeName set for most complex type matters if at all possible.
      See Also:
  • Constructor Details

  • Method Details