Enum TypeProtos.MinorType

java.lang.Object
java.lang.Enum<TypeProtos.MinorType>
org.apache.drill.common.types.TypeProtos.MinorType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<TypeProtos.MinorType>
Enclosing class:
TypeProtos

public static enum TypeProtos.MinorType extends Enum<TypeProtos.MinorType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum common.MinorType
  • Enum Constant Details

    • LATE

      public static final TypeProtos.MinorType LATE
        late binding type
       
      LATE = 0;
    • MAP

      public static final TypeProtos.MinorType MAP
        an empty map column.  Useful for conceptual setup.  Children listed within here
       
      MAP = 1;
    • TINYINT

      public static final TypeProtos.MinorType TINYINT
        single byte signed integer
       
      TINYINT = 3;
    • SMALLINT

      public static final TypeProtos.MinorType SMALLINT
        two byte signed integer
       
      SMALLINT = 4;
    • INT

      public static final TypeProtos.MinorType INT
        four byte signed integer
       
      INT = 5;
    • BIGINT

      public static final TypeProtos.MinorType BIGINT
        eight byte signed integer
       
      BIGINT = 6;
    • DECIMAL9

      public static final TypeProtos.MinorType DECIMAL9
        a decimal supporting precision between 1 and 9
       
      DECIMAL9 = 7;
    • DECIMAL18

      public static final TypeProtos.MinorType DECIMAL18
        a decimal supporting precision between 10 and 18
       
      DECIMAL18 = 8;
    • DECIMAL28SPARSE

      public static final TypeProtos.MinorType DECIMAL28SPARSE
        a decimal supporting precision between 19 and 28
       
      DECIMAL28SPARSE = 9;
    • DECIMAL38SPARSE

      public static final TypeProtos.MinorType DECIMAL38SPARSE
        a decimal supporting precision between 29 and 38
       
      DECIMAL38SPARSE = 10;
    • MONEY

      public static final TypeProtos.MinorType MONEY
        signed decimal with two digit scale
       
      MONEY = 11;
    • DATE

      public static final TypeProtos.MinorType DATE
        days since 4713bc
       
      DATE = 12;
    • TIME

      public static final TypeProtos.MinorType TIME
        time in micros before or after 2000/1/1
       
      TIME = 13;
    • TIMETZ

      public static final TypeProtos.MinorType TIMETZ
        time in micros before or after 2000/1/1 with timezone
       
      TIMETZ = 14;
    • TIMESTAMPTZ

      public static final TypeProtos.MinorType TIMESTAMPTZ
        unix epoch time in millis
       
      TIMESTAMPTZ = 15;
    • TIMESTAMP

      public static final TypeProtos.MinorType TIMESTAMP
        TBD
       
      TIMESTAMP = 16;
    • INTERVAL

      public static final TypeProtos.MinorType INTERVAL
        TBD
       
      INTERVAL = 17;
    • FLOAT4

      public static final TypeProtos.MinorType FLOAT4
        4 byte ieee 754
       
      FLOAT4 = 18;
    • FLOAT8

      public static final TypeProtos.MinorType FLOAT8
        8 byte ieee 754
       
      FLOAT8 = 19;
    • BIT

      public static final TypeProtos.MinorType BIT
        single bit value (boolean)
       
      BIT = 20;
    • FIXEDCHAR

      public static final TypeProtos.MinorType FIXEDCHAR
        utf8 fixed length string, padded with spaces
       
      FIXEDCHAR = 21;
    • FIXED16CHAR

      public static final TypeProtos.MinorType FIXED16CHAR
      FIXED16CHAR = 22;
    • FIXEDBINARY

      public static final TypeProtos.MinorType FIXEDBINARY
        fixed length binary, padded with 0 bytes
       
      FIXEDBINARY = 23;
    • VARCHAR

      public static final TypeProtos.MinorType VARCHAR
        utf8 variable length string
       
      VARCHAR = 24;
    • VAR16CHAR

      public static final TypeProtos.MinorType VAR16CHAR
       utf16 variable length string
       
      VAR16CHAR = 25;
    • VARBINARY

      public static final TypeProtos.MinorType VARBINARY
        variable length binary
       
      VARBINARY = 26;
    • UINT1

      public static final TypeProtos.MinorType UINT1
        unsigned 1 byte integer
       
      UINT1 = 29;
    • UINT2

      public static final TypeProtos.MinorType UINT2
        unsigned 2 byte integer
       
      UINT2 = 30;
    • UINT4

      public static final TypeProtos.MinorType UINT4
        unsigned 4 byte integer
       
      UINT4 = 31;
    • UINT8

      public static final TypeProtos.MinorType UINT8
        unsigned 8 byte integer
       
      UINT8 = 32;
    • DECIMAL28DENSE

      public static final TypeProtos.MinorType DECIMAL28DENSE
       dense decimal representation, supporting precision between 19 and 28
       
      DECIMAL28DENSE = 33;
    • DECIMAL38DENSE

      public static final TypeProtos.MinorType DECIMAL38DENSE
       dense decimal representation, supporting precision between 28 and 38
       
      DECIMAL38DENSE = 34;
    • NULL

      public static final TypeProtos.MinorType NULL
          PROTO2 = 33;   //  protobuf encoded complex type. (up to 2^16 in length)
          PROTO4 = 34;   //  protobuf encoded complex type. (up to 2^32 in length)
          MSGPACK2 = 35;   //  msgpack encoded complex type. (up to 2^16 in length)
          MSGPACK4 = 36;   //  msgpack encoded complex type. (up to 2^32 in length)
       
      NULL = 37;
    • INTERVALYEAR

      public static final TypeProtos.MinorType INTERVALYEAR
       Interval type specifying YEAR to MONTH
       
      INTERVALYEAR = 38;
    • INTERVALDAY

      public static final TypeProtos.MinorType INTERVALDAY
       Interval type specifying DAY to SECONDS
       
      INTERVALDAY = 39;
    • LIST

      public static final TypeProtos.MinorType LIST
      LIST = 40;
    • GENERIC_OBJECT

      public static final TypeProtos.MinorType GENERIC_OBJECT
      GENERIC_OBJECT = 41;
    • UNION

      public static final TypeProtos.MinorType UNION
      UNION = 42;
    • VARDECIMAL

      public static final TypeProtos.MinorType VARDECIMAL
       variable width decimal (arbitrary precision)
       
      VARDECIMAL = 43;
    • DICT

      public static final TypeProtos.MinorType DICT
      DICT = 44;
  • Field Details

    • LATE_VALUE

      public static final int LATE_VALUE
        late binding type
       
      LATE = 0;
      See Also:
    • MAP_VALUE

      public static final int MAP_VALUE
        an empty map column.  Useful for conceptual setup.  Children listed within here
       
      MAP = 1;
      See Also:
    • TINYINT_VALUE

      public static final int TINYINT_VALUE
        single byte signed integer
       
      TINYINT = 3;
      See Also:
    • SMALLINT_VALUE

      public static final int SMALLINT_VALUE
        two byte signed integer
       
      SMALLINT = 4;
      See Also:
    • INT_VALUE

      public static final int INT_VALUE
        four byte signed integer
       
      INT = 5;
      See Also:
    • BIGINT_VALUE

      public static final int BIGINT_VALUE
        eight byte signed integer
       
      BIGINT = 6;
      See Also:
    • DECIMAL9_VALUE

      public static final int DECIMAL9_VALUE
        a decimal supporting precision between 1 and 9
       
      DECIMAL9 = 7;
      See Also:
    • DECIMAL18_VALUE

      public static final int DECIMAL18_VALUE
        a decimal supporting precision between 10 and 18
       
      DECIMAL18 = 8;
      See Also:
    • DECIMAL28SPARSE_VALUE

      public static final int DECIMAL28SPARSE_VALUE
        a decimal supporting precision between 19 and 28
       
      DECIMAL28SPARSE = 9;
      See Also:
    • DECIMAL38SPARSE_VALUE

      public static final int DECIMAL38SPARSE_VALUE
        a decimal supporting precision between 29 and 38
       
      DECIMAL38SPARSE = 10;
      See Also:
    • MONEY_VALUE

      public static final int MONEY_VALUE
        signed decimal with two digit scale
       
      MONEY = 11;
      See Also:
    • DATE_VALUE

      public static final int DATE_VALUE
        days since 4713bc
       
      DATE = 12;
      See Also:
    • TIME_VALUE

      public static final int TIME_VALUE
        time in micros before or after 2000/1/1
       
      TIME = 13;
      See Also:
    • TIMETZ_VALUE

      public static final int TIMETZ_VALUE
        time in micros before or after 2000/1/1 with timezone
       
      TIMETZ = 14;
      See Also:
    • TIMESTAMPTZ_VALUE

      public static final int TIMESTAMPTZ_VALUE
        unix epoch time in millis
       
      TIMESTAMPTZ = 15;
      See Also:
    • TIMESTAMP_VALUE

      public static final int TIMESTAMP_VALUE
        TBD
       
      TIMESTAMP = 16;
      See Also:
    • INTERVAL_VALUE

      public static final int INTERVAL_VALUE
        TBD
       
      INTERVAL = 17;
      See Also:
    • FLOAT4_VALUE

      public static final int FLOAT4_VALUE
        4 byte ieee 754
       
      FLOAT4 = 18;
      See Also:
    • FLOAT8_VALUE

      public static final int FLOAT8_VALUE
        8 byte ieee 754
       
      FLOAT8 = 19;
      See Also:
    • BIT_VALUE

      public static final int BIT_VALUE
        single bit value (boolean)
       
      BIT = 20;
      See Also:
    • FIXEDCHAR_VALUE

      public static final int FIXEDCHAR_VALUE
        utf8 fixed length string, padded with spaces
       
      FIXEDCHAR = 21;
      See Also:
    • FIXED16CHAR_VALUE

      public static final int FIXED16CHAR_VALUE
      FIXED16CHAR = 22;
      See Also:
    • FIXEDBINARY_VALUE

      public static final int FIXEDBINARY_VALUE
        fixed length binary, padded with 0 bytes
       
      FIXEDBINARY = 23;
      See Also:
    • VARCHAR_VALUE

      public static final int VARCHAR_VALUE
        utf8 variable length string
       
      VARCHAR = 24;
      See Also:
    • VAR16CHAR_VALUE

      public static final int VAR16CHAR_VALUE
       utf16 variable length string
       
      VAR16CHAR = 25;
      See Also:
    • VARBINARY_VALUE

      public static final int VARBINARY_VALUE
        variable length binary
       
      VARBINARY = 26;
      See Also:
    • UINT1_VALUE

      public static final int UINT1_VALUE
        unsigned 1 byte integer
       
      UINT1 = 29;
      See Also:
    • UINT2_VALUE

      public static final int UINT2_VALUE
        unsigned 2 byte integer
       
      UINT2 = 30;
      See Also:
    • UINT4_VALUE

      public static final int UINT4_VALUE
        unsigned 4 byte integer
       
      UINT4 = 31;
      See Also:
    • UINT8_VALUE

      public static final int UINT8_VALUE
        unsigned 8 byte integer
       
      UINT8 = 32;
      See Also:
    • DECIMAL28DENSE_VALUE

      public static final int DECIMAL28DENSE_VALUE
       dense decimal representation, supporting precision between 19 and 28
       
      DECIMAL28DENSE = 33;
      See Also:
    • DECIMAL38DENSE_VALUE

      public static final int DECIMAL38DENSE_VALUE
       dense decimal representation, supporting precision between 28 and 38
       
      DECIMAL38DENSE = 34;
      See Also:
    • NULL_VALUE

      public static final int NULL_VALUE
          PROTO2 = 33;   //  protobuf encoded complex type. (up to 2^16 in length)
          PROTO4 = 34;   //  protobuf encoded complex type. (up to 2^32 in length)
          MSGPACK2 = 35;   //  msgpack encoded complex type. (up to 2^16 in length)
          MSGPACK4 = 36;   //  msgpack encoded complex type. (up to 2^32 in length)
       
      NULL = 37;
      See Also:
    • INTERVALYEAR_VALUE

      public static final int INTERVALYEAR_VALUE
       Interval type specifying YEAR to MONTH
       
      INTERVALYEAR = 38;
      See Also:
    • INTERVALDAY_VALUE

      public static final int INTERVALDAY_VALUE
       Interval type specifying DAY to SECONDS
       
      INTERVALDAY = 39;
      See Also:
    • LIST_VALUE

      public static final int LIST_VALUE
      LIST = 40;
      See Also:
    • GENERIC_OBJECT_VALUE

      public static final int GENERIC_OBJECT_VALUE
      GENERIC_OBJECT = 41;
      See Also:
    • UNION_VALUE

      public static final int UNION_VALUE
      UNION = 42;
      See Also:
    • VARDECIMAL_VALUE

      public static final int VARDECIMAL_VALUE
       variable width decimal (arbitrary precision)
       
      VARDECIMAL = 43;
      See Also:
    • DICT_VALUE

      public static final int DICT_VALUE
      DICT = 44;
      See Also:
  • Method Details

    • values

      public static TypeProtos.MinorType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TypeProtos.MinorType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static TypeProtos.MinorType valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static TypeProtos.MinorType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<TypeProtos.MinorType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static TypeProtos.MinorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null