public static enum TajoDataTypes.Type extends Enum<TajoDataTypes.Type> implements com.google.protobuf.ProtocolMessageEnum
Type
Enum Constant and Description |
---|
ANY
ANY = 51; |
BINARY
BINARY = 43; |
BIT
BIT = 41; |
BLOB
BLOB = 45; |
BOOLEAN
BOOLEAN = 1; |
BOOLEAN_ARRAY
BOOLEAN_ARRAY = 101; |
CHAR
CHAR = 21; |
CHAR_ARRAY
CHAR_ARRAY = 121; |
DATE
DATE = 31; |
DATE_ARRAY
DATE_ARRAY = 131; |
FLOAT4
FLOAT4 = 10; |
FLOAT4_ARRAY
FLOAT4_ARRAY = 110; |
FLOAT8
FLOAT8 = 11; |
FLOAT8_ARRAY
FLOAT8_ARRAY = 111; |
INET4
INET4 = 91; |
INET6
INET6 = 92; |
INT1
INT1 = 2; |
INT1_ARRAY
INT1_ARRAY = 102; |
INT2
INT2 = 3; |
INT2_ARRAY
INT2_ARRAY = 103; |
INT4
INT4 = 4; |
INT4_ARRAY
INT4_ARRAY = 104; |
INT8
INT8 = 5; |
INT8_ARRAY
INT8_ARRAY = 105; |
INTERVAL
INTERVAL = 36; |
INTERVAL_ARRAY
INTERVAL_ARRAY = 136; |
NCHAR
NCHAR = 22; |
NCHAR_ARRAY
NCHAR_ARRAY = 122; |
NULL_TYPE
NULL_TYPE = 0; |
NUMERIC
NUMERIC = 12; |
NUMERIC_ARRAY
NUMERIC_ARRAY = 112; |
NVARCHAR
NVARCHAR = 24; |
NVARCHAR_ARRAY
NVARCHAR_ARRAY = 124; |
PROTOBUF
PROTOBUF = 53; |
TEXT
TEXT = 25; |
TEXT_ARRAY
TEXT_ARRAY = 125; |
TIME
TIME = 32; |
TIME_ARRAY
TIME_ARRAY = 132; |
TIMESTAMP
TIMESTAMP = 34; |
TIMESTAMP_ARRAY
TIMESTAMP_ARRAY = 134; |
TIMESTAMPZ
TIMESTAMPZ = 35; |
TIMESTAMPZ_ARRAY
TIMESTAMPZ_ARRAY = 135; |
TIMEZ
TIMEZ = 33; |
TIMEZ_ARRAY
TIMEZ_ARRAY = 133; |
UDT
UDT = 52; |
UINT1
UINT1 = 6; |
UINT1_ARRAY
UINT1_ARRAY = 106; |
UINT2
UINT2 = 7; |
UINT2_ARRAY
UINT2_ARRAY = 107; |
UINT4
UINT4 = 8; |
UINT4_ARRAY
UINT4_ARRAY = 108; |
UINT8
UINT8 = 9; |
UINT8_ARRAY
UINT8_ARRAY = 109; |
VARBINARY
VARBINARY = 44; |
VARBIT
VARBIT = 42; |
VARCHAR
VARCHAR = 23; |
VARCHAR_ARRAY
VARCHAR_ARRAY = 123; |
Modifier and Type | Field and Description |
---|---|
static int |
ANY_VALUE
ANY = 51; |
static int |
BINARY_VALUE
BINARY = 43; |
static int |
BIT_VALUE
BIT = 41; |
static int |
BLOB_VALUE
BLOB = 45; |
static int |
BOOLEAN_ARRAY_VALUE
BOOLEAN_ARRAY = 101; |
static int |
BOOLEAN_VALUE
BOOLEAN = 1; |
static int |
CHAR_ARRAY_VALUE
CHAR_ARRAY = 121; |
static int |
CHAR_VALUE
CHAR = 21; |
static int |
DATE_ARRAY_VALUE
DATE_ARRAY = 131; |
static int |
DATE_VALUE
DATE = 31; |
static int |
FLOAT4_ARRAY_VALUE
FLOAT4_ARRAY = 110; |
static int |
FLOAT4_VALUE
FLOAT4 = 10; |
static int |
FLOAT8_ARRAY_VALUE
FLOAT8_ARRAY = 111; |
static int |
FLOAT8_VALUE
FLOAT8 = 11; |
static int |
INET4_VALUE
INET4 = 91; |
static int |
INET6_VALUE
INET6 = 92; |
static int |
INT1_ARRAY_VALUE
INT1_ARRAY = 102; |
static int |
INT1_VALUE
INT1 = 2; |
static int |
INT2_ARRAY_VALUE
INT2_ARRAY = 103; |
static int |
INT2_VALUE
INT2 = 3; |
static int |
INT4_ARRAY_VALUE
INT4_ARRAY = 104; |
static int |
INT4_VALUE
INT4 = 4; |
static int |
INT8_ARRAY_VALUE
INT8_ARRAY = 105; |
static int |
INT8_VALUE
INT8 = 5; |
static int |
INTERVAL_ARRAY_VALUE
INTERVAL_ARRAY = 136; |
static int |
INTERVAL_VALUE
INTERVAL = 36; |
static int |
NCHAR_ARRAY_VALUE
NCHAR_ARRAY = 122; |
static int |
NCHAR_VALUE
NCHAR = 22; |
static int |
NULL_TYPE_VALUE
NULL_TYPE = 0; |
static int |
NUMERIC_ARRAY_VALUE
NUMERIC_ARRAY = 112; |
static int |
NUMERIC_VALUE
NUMERIC = 12; |
static int |
NVARCHAR_ARRAY_VALUE
NVARCHAR_ARRAY = 124; |
static int |
NVARCHAR_VALUE
NVARCHAR = 24; |
static int |
PROTOBUF_VALUE
PROTOBUF = 53; |
static int |
TEXT_ARRAY_VALUE
TEXT_ARRAY = 125; |
static int |
TEXT_VALUE
TEXT = 25; |
static int |
TIME_ARRAY_VALUE
TIME_ARRAY = 132; |
static int |
TIME_VALUE
TIME = 32; |
static int |
TIMESTAMP_ARRAY_VALUE
TIMESTAMP_ARRAY = 134; |
static int |
TIMESTAMP_VALUE
TIMESTAMP = 34; |
static int |
TIMESTAMPZ_ARRAY_VALUE
TIMESTAMPZ_ARRAY = 135; |
static int |
TIMESTAMPZ_VALUE
TIMESTAMPZ = 35; |
static int |
TIMEZ_ARRAY_VALUE
TIMEZ_ARRAY = 133; |
static int |
TIMEZ_VALUE
TIMEZ = 33; |
static int |
UDT_VALUE
UDT = 52; |
static int |
UINT1_ARRAY_VALUE
UINT1_ARRAY = 106; |
static int |
UINT1_VALUE
UINT1 = 6; |
static int |
UINT2_ARRAY_VALUE
UINT2_ARRAY = 107; |
static int |
UINT2_VALUE
UINT2 = 7; |
static int |
UINT4_ARRAY_VALUE
UINT4_ARRAY = 108; |
static int |
UINT4_VALUE
UINT4 = 8; |
static int |
UINT8_ARRAY_VALUE
UINT8_ARRAY = 109; |
static int |
UINT8_VALUE
UINT8 = 9; |
static int |
VARBINARY_VALUE
VARBINARY = 44; |
static int |
VARBIT_VALUE
VARBIT = 42; |
static int |
VARCHAR_ARRAY_VALUE
VARCHAR_ARRAY = 123; |
static int |
VARCHAR_VALUE
VARCHAR = 23; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<TajoDataTypes.Type> |
internalGetValueMap() |
static TajoDataTypes.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TajoDataTypes.Type |
valueOf(int value) |
static TajoDataTypes.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TajoDataTypes.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TajoDataTypes.Type NULL_TYPE
NULL_TYPE = 0;
NULL type
public static final TajoDataTypes.Type BOOLEAN
BOOLEAN = 1;
state of true of false [1 byte]
public static final TajoDataTypes.Type INT1
INT1 = 2;
tinyint [1 byte] [0-255]
public static final TajoDataTypes.Type INT2
INT2 = 3;
smallint [2 bytes] [-2^15(-32,768) ~ 2^15-1(32,767)]
public static final TajoDataTypes.Type INT4
INT4 = 4;
int [4 bytes] [-2^31(-2,147,483,648) ~ 2^31-1(2,147,483,647)]
public static final TajoDataTypes.Type INT8
INT8 = 5;
bigint [8 bytes] [-2^63(-9,223,372,036,854,775,808) ~ 2^63-1(9,223,372,036,854,775,807)]
public static final TajoDataTypes.Type UINT1
UINT1 = 6;
unsigned int1
public static final TajoDataTypes.Type UINT2
UINT2 = 7;
unsigned int2
public static final TajoDataTypes.Type UINT4
UINT4 = 8;
unsigned int4
public static final TajoDataTypes.Type UINT8
UINT8 = 9;
unsigned int8
public static final TajoDataTypes.Type FLOAT4
FLOAT4 = 10;
variable-precision, inexact [4 bytes]
public static final TajoDataTypes.Type FLOAT8
FLOAT8 = 11;
variable-precision, inexact [8 bytes]
public static final TajoDataTypes.Type NUMERIC
NUMERIC = 12;
variable length
public static final TajoDataTypes.Type CHAR
CHAR = 21;
fixed-width n-character string
public static final TajoDataTypes.Type NCHAR
NCHAR = 22;
fixed width string supporting an international character set
public static final TajoDataTypes.Type VARCHAR
VARCHAR = 23;
variable-width string
public static final TajoDataTypes.Type NVARCHAR
NVARCHAR = 24;
variable-width NCHAR string
public static final TajoDataTypes.Type TEXT
TEXT = 25;
variable unlimited length
public static final TajoDataTypes.Type DATE
DATE = 31;
public static final TajoDataTypes.Type TIME
TIME = 32;
public static final TajoDataTypes.Type TIMEZ
TIMEZ = 33;
public static final TajoDataTypes.Type TIMESTAMP
TIMESTAMP = 34;
public static final TajoDataTypes.Type TIMESTAMPZ
TIMESTAMPZ = 35;
public static final TajoDataTypes.Type INTERVAL
INTERVAL = 36;
public static final TajoDataTypes.Type BIT
BIT = 41;
fixed-width bits. BIT without the length L means a single bit. It can be used for boolean type.
public static final TajoDataTypes.Type VARBIT
VARBIT = 42;
variable-width bits
public static final TajoDataTypes.Type BINARY
BINARY = 43;
fixed-width binary strings. BINARY without the length L means a single byte.
public static final TajoDataTypes.Type VARBINARY
VARBINARY = 44;
variable-width binary strings
public static final TajoDataTypes.Type BLOB
BLOB = 45;
public static final TajoDataTypes.Type ANY
ANY = 51;
Any type
public static final TajoDataTypes.Type UDT
UDT = 52;
user-defined function
public static final TajoDataTypes.Type PROTOBUF
PROTOBUF = 53;
protocol buffer type
public static final TajoDataTypes.Type INET4
INET4 = 91;
public static final TajoDataTypes.Type INET6
INET6 = 92;
public static final TajoDataTypes.Type BOOLEAN_ARRAY
BOOLEAN_ARRAY = 101;
array types
public static final TajoDataTypes.Type INT1_ARRAY
INT1_ARRAY = 102;
public static final TajoDataTypes.Type INT2_ARRAY
INT2_ARRAY = 103;
public static final TajoDataTypes.Type INT4_ARRAY
INT4_ARRAY = 104;
public static final TajoDataTypes.Type INT8_ARRAY
INT8_ARRAY = 105;
public static final TajoDataTypes.Type UINT1_ARRAY
UINT1_ARRAY = 106;
public static final TajoDataTypes.Type UINT2_ARRAY
UINT2_ARRAY = 107;
public static final TajoDataTypes.Type UINT4_ARRAY
UINT4_ARRAY = 108;
public static final TajoDataTypes.Type UINT8_ARRAY
UINT8_ARRAY = 109;
public static final TajoDataTypes.Type FLOAT4_ARRAY
FLOAT4_ARRAY = 110;
public static final TajoDataTypes.Type FLOAT8_ARRAY
FLOAT8_ARRAY = 111;
public static final TajoDataTypes.Type NUMERIC_ARRAY
NUMERIC_ARRAY = 112;
public static final TajoDataTypes.Type CHAR_ARRAY
CHAR_ARRAY = 121;
public static final TajoDataTypes.Type NCHAR_ARRAY
NCHAR_ARRAY = 122;
public static final TajoDataTypes.Type VARCHAR_ARRAY
VARCHAR_ARRAY = 123;
public static final TajoDataTypes.Type NVARCHAR_ARRAY
NVARCHAR_ARRAY = 124;
public static final TajoDataTypes.Type TEXT_ARRAY
TEXT_ARRAY = 125;
public static final TajoDataTypes.Type DATE_ARRAY
DATE_ARRAY = 131;
public static final TajoDataTypes.Type TIME_ARRAY
TIME_ARRAY = 132;
public static final TajoDataTypes.Type TIMEZ_ARRAY
TIMEZ_ARRAY = 133;
public static final TajoDataTypes.Type TIMESTAMP_ARRAY
TIMESTAMP_ARRAY = 134;
public static final TajoDataTypes.Type TIMESTAMPZ_ARRAY
TIMESTAMPZ_ARRAY = 135;
public static final TajoDataTypes.Type INTERVAL_ARRAY
INTERVAL_ARRAY = 136;
public static final int NULL_TYPE_VALUE
NULL_TYPE = 0;
NULL type
public static final int BOOLEAN_VALUE
BOOLEAN = 1;
state of true of false [1 byte]
public static final int INT1_VALUE
INT1 = 2;
tinyint [1 byte] [0-255]
public static final int INT2_VALUE
INT2 = 3;
smallint [2 bytes] [-2^15(-32,768) ~ 2^15-1(32,767)]
public static final int INT4_VALUE
INT4 = 4;
int [4 bytes] [-2^31(-2,147,483,648) ~ 2^31-1(2,147,483,647)]
public static final int INT8_VALUE
INT8 = 5;
bigint [8 bytes] [-2^63(-9,223,372,036,854,775,808) ~ 2^63-1(9,223,372,036,854,775,807)]
public static final int UINT1_VALUE
UINT1 = 6;
unsigned int1
public static final int UINT2_VALUE
UINT2 = 7;
unsigned int2
public static final int UINT4_VALUE
UINT4 = 8;
unsigned int4
public static final int UINT8_VALUE
UINT8 = 9;
unsigned int8
public static final int FLOAT4_VALUE
FLOAT4 = 10;
variable-precision, inexact [4 bytes]
public static final int FLOAT8_VALUE
FLOAT8 = 11;
variable-precision, inexact [8 bytes]
public static final int NUMERIC_VALUE
NUMERIC = 12;
variable length
public static final int CHAR_VALUE
CHAR = 21;
fixed-width n-character string
public static final int NCHAR_VALUE
NCHAR = 22;
fixed width string supporting an international character set
public static final int VARCHAR_VALUE
VARCHAR = 23;
variable-width string
public static final int NVARCHAR_VALUE
NVARCHAR = 24;
variable-width NCHAR string
public static final int TEXT_VALUE
TEXT = 25;
variable unlimited length
public static final int DATE_VALUE
DATE = 31;
public static final int TIME_VALUE
TIME = 32;
public static final int TIMEZ_VALUE
TIMEZ = 33;
public static final int TIMESTAMP_VALUE
TIMESTAMP = 34;
public static final int TIMESTAMPZ_VALUE
TIMESTAMPZ = 35;
public static final int INTERVAL_VALUE
INTERVAL = 36;
public static final int BIT_VALUE
BIT = 41;
fixed-width bits. BIT without the length L means a single bit. It can be used for boolean type.
public static final int VARBIT_VALUE
VARBIT = 42;
variable-width bits
public static final int BINARY_VALUE
BINARY = 43;
fixed-width binary strings. BINARY without the length L means a single byte.
public static final int VARBINARY_VALUE
VARBINARY = 44;
variable-width binary strings
public static final int BLOB_VALUE
BLOB = 45;
public static final int ANY_VALUE
ANY = 51;
Any type
public static final int UDT_VALUE
UDT = 52;
user-defined function
public static final int PROTOBUF_VALUE
PROTOBUF = 53;
protocol buffer type
public static final int INET4_VALUE
INET4 = 91;
public static final int INET6_VALUE
INET6 = 92;
public static final int BOOLEAN_ARRAY_VALUE
BOOLEAN_ARRAY = 101;
array types
public static final int INT1_ARRAY_VALUE
INT1_ARRAY = 102;
public static final int INT2_ARRAY_VALUE
INT2_ARRAY = 103;
public static final int INT4_ARRAY_VALUE
INT4_ARRAY = 104;
public static final int INT8_ARRAY_VALUE
INT8_ARRAY = 105;
public static final int UINT1_ARRAY_VALUE
UINT1_ARRAY = 106;
public static final int UINT2_ARRAY_VALUE
UINT2_ARRAY = 107;
public static final int UINT4_ARRAY_VALUE
UINT4_ARRAY = 108;
public static final int UINT8_ARRAY_VALUE
UINT8_ARRAY = 109;
public static final int FLOAT4_ARRAY_VALUE
FLOAT4_ARRAY = 110;
public static final int FLOAT8_ARRAY_VALUE
FLOAT8_ARRAY = 111;
public static final int NUMERIC_ARRAY_VALUE
NUMERIC_ARRAY = 112;
public static final int CHAR_ARRAY_VALUE
CHAR_ARRAY = 121;
public static final int NCHAR_ARRAY_VALUE
NCHAR_ARRAY = 122;
public static final int VARCHAR_ARRAY_VALUE
VARCHAR_ARRAY = 123;
public static final int NVARCHAR_ARRAY_VALUE
NVARCHAR_ARRAY = 124;
public static final int TEXT_ARRAY_VALUE
TEXT_ARRAY = 125;
public static final int DATE_ARRAY_VALUE
DATE_ARRAY = 131;
public static final int TIME_ARRAY_VALUE
TIME_ARRAY = 132;
public static final int TIMEZ_ARRAY_VALUE
TIMEZ_ARRAY = 133;
public static final int TIMESTAMP_ARRAY_VALUE
TIMESTAMP_ARRAY = 134;
public static final int TIMESTAMPZ_ARRAY_VALUE
TIMESTAMPZ_ARRAY = 135;
public static final int INTERVAL_ARRAY_VALUE
INTERVAL_ARRAY = 136;
public static TajoDataTypes.Type[] values()
for (TajoDataTypes.Type c : TajoDataTypes.Type.values()) System.out.println(c);
public static TajoDataTypes.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static TajoDataTypes.Type valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<TajoDataTypes.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TajoDataTypes.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.