Package org.apache.drill.common.types
Enum 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 Summary
Enum ConstantDescriptioneight byte signed integersingle bit value (boolean)days since 4713bca decimal supporting precision between 10 and 18dense decimal representation, supporting precision between 19 and 28a decimal supporting precision between 19 and 28dense decimal representation, supporting precision between 28 and 38a decimal supporting precision between 29 and 38a decimal supporting precision between 1 and 9DICT = 44;
FIXED16CHAR = 22;
fixed length binary, padded with 0 bytesutf8 fixed length string, padded with spaces4 byte ieee 7548 byte ieee 754GENERIC_OBJECT = 41;
four byte signed integerTBDInterval type specifying DAY to SECONDSInterval type specifying YEAR to MONTHlate binding typeLIST = 40;
an empty map column.signed decimal with two digit scalePROTO2 = 33; // protobuf encoded complex type.two byte signed integertime in micros before or after 2000/1/1TBDunix epoch time in millistime in micros before or after 2000/1/1 with timezonesingle byte signed integerunsigned 1 byte integerunsigned 2 byte integerunsigned 4 byte integerunsigned 8 byte integerUNION = 42;
utf16 variable length stringvariable length binaryutf8 variable length stringvariable width decimal (arbitrary precision) -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
eight byte signed integerstatic final int
single bit value (boolean)static final int
days since 4713bcstatic final int
a decimal supporting precision between 10 and 18static final int
dense decimal representation, supporting precision between 19 and 28static final int
a decimal supporting precision between 19 and 28static final int
dense decimal representation, supporting precision between 28 and 38static final int
a decimal supporting precision between 29 and 38static final int
a decimal supporting precision between 1 and 9static final int
DICT = 44;
static final int
FIXED16CHAR = 22;
static final int
fixed length binary, padded with 0 bytesstatic final int
utf8 fixed length string, padded with spacesstatic final int
4 byte ieee 754static final int
8 byte ieee 754static final int
GENERIC_OBJECT = 41;
static final int
four byte signed integerstatic final int
TBDstatic final int
Interval type specifying DAY to SECONDSstatic final int
Interval type specifying YEAR to MONTHstatic final int
late binding typestatic final int
LIST = 40;
static final int
an empty map column.static final int
signed decimal with two digit scalestatic final int
PROTO2 = 33; // protobuf encoded complex type.static final int
two byte signed integerstatic final int
time in micros before or after 2000/1/1static final int
TBDstatic final int
unix epoch time in millisstatic final int
time in micros before or after 2000/1/1 with timezonestatic final int
single byte signed integerstatic final int
unsigned 1 byte integerstatic final int
unsigned 2 byte integerstatic final int
unsigned 4 byte integerstatic final int
unsigned 8 byte integerstatic final int
UNION = 42;
static final int
utf16 variable length stringstatic final int
variable length binarystatic final int
utf8 variable length stringstatic final int
variable width decimal (arbitrary precision) -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeProtos.MinorType
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<TypeProtos.MinorType>
static TypeProtos.MinorType
valueOf
(int value) Deprecated.static TypeProtos.MinorType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TypeProtos.MinorType
Returns the enum constant of this type with the specified name.static TypeProtos.MinorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LATE
late binding type
LATE = 0;
-
MAP
an empty map column. Useful for conceptual setup. Children listed within here
MAP = 1;
-
TINYINT
single byte signed integer
TINYINT = 3;
-
SMALLINT
two byte signed integer
SMALLINT = 4;
-
INT
four byte signed integer
INT = 5;
-
BIGINT
eight byte signed integer
BIGINT = 6;
-
DECIMAL9
a decimal supporting precision between 1 and 9
DECIMAL9 = 7;
-
DECIMAL18
a decimal supporting precision between 10 and 18
DECIMAL18 = 8;
-
DECIMAL28SPARSE
a decimal supporting precision between 19 and 28
DECIMAL28SPARSE = 9;
-
DECIMAL38SPARSE
a decimal supporting precision between 29 and 38
DECIMAL38SPARSE = 10;
-
MONEY
signed decimal with two digit scale
MONEY = 11;
-
DATE
days since 4713bc
DATE = 12;
-
TIME
time in micros before or after 2000/1/1
TIME = 13;
-
TIMETZ
time in micros before or after 2000/1/1 with timezone
TIMETZ = 14;
-
TIMESTAMPTZ
unix epoch time in millis
TIMESTAMPTZ = 15;
-
TIMESTAMP
TBD
TIMESTAMP = 16;
-
INTERVAL
TBD
INTERVAL = 17;
-
FLOAT4
4 byte ieee 754
FLOAT4 = 18;
-
FLOAT8
8 byte ieee 754
FLOAT8 = 19;
-
BIT
single bit value (boolean)
BIT = 20;
-
FIXEDCHAR
utf8 fixed length string, padded with spaces
FIXEDCHAR = 21;
-
FIXED16CHAR
FIXED16CHAR = 22;
-
FIXEDBINARY
fixed length binary, padded with 0 bytes
FIXEDBINARY = 23;
-
VARCHAR
utf8 variable length string
VARCHAR = 24;
-
VAR16CHAR
utf16 variable length string
VAR16CHAR = 25;
-
VARBINARY
variable length binary
VARBINARY = 26;
-
UINT1
unsigned 1 byte integer
UINT1 = 29;
-
UINT2
unsigned 2 byte integer
UINT2 = 30;
-
UINT4
unsigned 4 byte integer
UINT4 = 31;
-
UINT8
unsigned 8 byte integer
UINT8 = 32;
-
DECIMAL28DENSE
dense decimal representation, supporting precision between 19 and 28
DECIMAL28DENSE = 33;
-
DECIMAL38DENSE
dense decimal representation, supporting precision between 28 and 38
DECIMAL38DENSE = 34;
-
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
Interval type specifying YEAR to MONTH
INTERVALYEAR = 38;
-
INTERVALDAY
Interval type specifying DAY to SECONDS
INTERVALDAY = 39;
-
LIST
LIST = 40;
-
GENERIC_OBJECT
GENERIC_OBJECT = 41;
-
UNION
UNION = 42;
-
VARDECIMAL
variable width decimal (arbitrary precision)
VARDECIMAL = 43;
-
DICT
DICT = 44;
-
-
Field Details
-
LATE_VALUE
public static final int LATE_VALUElate binding type
LATE = 0;
- See Also:
-
MAP_VALUE
public static final int MAP_VALUEan empty map column. Useful for conceptual setup. Children listed within here
MAP = 1;
- See Also:
-
TINYINT_VALUE
public static final int TINYINT_VALUEsingle byte signed integer
TINYINT = 3;
- See Also:
-
SMALLINT_VALUE
public static final int SMALLINT_VALUEtwo byte signed integer
SMALLINT = 4;
- See Also:
-
INT_VALUE
public static final int INT_VALUEfour byte signed integer
INT = 5;
- See Also:
-
BIGINT_VALUE
public static final int BIGINT_VALUEeight byte signed integer
BIGINT = 6;
- See Also:
-
DECIMAL9_VALUE
public static final int DECIMAL9_VALUEa decimal supporting precision between 1 and 9
DECIMAL9 = 7;
- See Also:
-
DECIMAL18_VALUE
public static final int DECIMAL18_VALUEa decimal supporting precision between 10 and 18
DECIMAL18 = 8;
- See Also:
-
DECIMAL28SPARSE_VALUE
public static final int DECIMAL28SPARSE_VALUEa decimal supporting precision between 19 and 28
DECIMAL28SPARSE = 9;
- See Also:
-
DECIMAL38SPARSE_VALUE
public static final int DECIMAL38SPARSE_VALUEa decimal supporting precision between 29 and 38
DECIMAL38SPARSE = 10;
- See Also:
-
MONEY_VALUE
public static final int MONEY_VALUEsigned decimal with two digit scale
MONEY = 11;
- See Also:
-
DATE_VALUE
public static final int DATE_VALUEdays since 4713bc
DATE = 12;
- See Also:
-
TIME_VALUE
public static final int TIME_VALUEtime in micros before or after 2000/1/1
TIME = 13;
- See Also:
-
TIMETZ_VALUE
public static final int TIMETZ_VALUEtime in micros before or after 2000/1/1 with timezone
TIMETZ = 14;
- See Also:
-
TIMESTAMPTZ_VALUE
public static final int TIMESTAMPTZ_VALUEunix epoch time in millis
TIMESTAMPTZ = 15;
- See Also:
-
TIMESTAMP_VALUE
public static final int TIMESTAMP_VALUETBD
TIMESTAMP = 16;
- See Also:
-
INTERVAL_VALUE
public static final int INTERVAL_VALUETBD
INTERVAL = 17;
- See Also:
-
FLOAT4_VALUE
public static final int FLOAT4_VALUE4 byte ieee 754
FLOAT4 = 18;
- See Also:
-
FLOAT8_VALUE
public static final int FLOAT8_VALUE8 byte ieee 754
FLOAT8 = 19;
- See Also:
-
BIT_VALUE
public static final int BIT_VALUEsingle bit value (boolean)
BIT = 20;
- See Also:
-
FIXEDCHAR_VALUE
public static final int FIXEDCHAR_VALUEutf8 fixed length string, padded with spaces
FIXEDCHAR = 21;
- See Also:
-
FIXED16CHAR_VALUE
public static final int FIXED16CHAR_VALUEFIXED16CHAR = 22;
- See Also:
-
FIXEDBINARY_VALUE
public static final int FIXEDBINARY_VALUEfixed length binary, padded with 0 bytes
FIXEDBINARY = 23;
- See Also:
-
VARCHAR_VALUE
public static final int VARCHAR_VALUEutf8 variable length string
VARCHAR = 24;
- See Also:
-
VAR16CHAR_VALUE
public static final int VAR16CHAR_VALUEutf16 variable length string
VAR16CHAR = 25;
- See Also:
-
VARBINARY_VALUE
public static final int VARBINARY_VALUEvariable length binary
VARBINARY = 26;
- See Also:
-
UINT1_VALUE
public static final int UINT1_VALUEunsigned 1 byte integer
UINT1 = 29;
- See Also:
-
UINT2_VALUE
public static final int UINT2_VALUEunsigned 2 byte integer
UINT2 = 30;
- See Also:
-
UINT4_VALUE
public static final int UINT4_VALUEunsigned 4 byte integer
UINT4 = 31;
- See Also:
-
UINT8_VALUE
public static final int UINT8_VALUEunsigned 8 byte integer
UINT8 = 32;
- See Also:
-
DECIMAL28DENSE_VALUE
public static final int DECIMAL28DENSE_VALUEdense decimal representation, supporting precision between 19 and 28
DECIMAL28DENSE = 33;
- See Also:
-
DECIMAL38DENSE_VALUE
public static final int DECIMAL38DENSE_VALUEdense decimal representation, supporting precision between 28 and 38
DECIMAL38DENSE = 34;
- See Also:
-
NULL_VALUE
public static final int NULL_VALUEPROTO2 = 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_VALUEInterval type specifying YEAR to MONTH
INTERVALYEAR = 38;
- See Also:
-
INTERVALDAY_VALUE
public static final int INTERVALDAY_VALUEInterval type specifying DAY to SECONDS
INTERVALDAY = 39;
- See Also:
-
LIST_VALUE
public static final int LIST_VALUELIST = 40;
- See Also:
-
GENERIC_OBJECT_VALUE
public static final int GENERIC_OBJECT_VALUEGENERIC_OBJECT = 41;
- See Also:
-
UNION_VALUE
public static final int UNION_VALUEUNION = 42;
- See Also:
-
VARDECIMAL_VALUE
public static final int VARDECIMAL_VALUEvariable width decimal (arbitrary precision)
VARDECIMAL = 43;
- See Also:
-
DICT_VALUE
public static final int DICT_VALUEDICT = 44;
- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.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 nameNullPointerException
- if the argument is null
-