Package com.ocient.jdbc.proto
Enum PlanProtocol.SqlColType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PlanProtocol.SqlColType>,java.lang.constant.Constable
- Enclosing class:
- PlanProtocol
public static enum PlanProtocol.SqlColType extends Enum<PlanProtocol.SqlColType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
xg.db.sqlPlans.SqlColType-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALIDINVALID = 0;TYPE_ARRAYTYPE_ARRAY = 30;TYPE_BIGINT8 bytes signedTYPE_BINARYbinary stringTYPE_BOOLEANTYPE_BOOLEAN = 9;TYPE_BYTE1 byte signed intTYPE_DATEjust dateTYPE_DAYSTYPE_DAYS = 17;TYPE_DECIMALTYPE_DECIMAL = 27;TYPE_DOUBLE8 bytes floatTYPE_FLOAT4 bytes floatTYPE_HASHFixed length binary typeTYPE_HOURSTYPE_HOURS = 16;TYPE_INT4 bytes signedTYPE_IPIPv6 typeTYPE_IPV4TYPE_IPV4 = 6;TYPE_MATRIXThis type can appear anywhere in the plan, but will go away before the final output that gets returned to the userTYPE_MICROSECONDSTYPE_MICROSECONDS = 28;TYPE_MILLISECONDSThe following types can only appear in intermediate results in an extend operationTYPE_MINUTESTYPE_MINUTES = 15;TYPE_MONTHSTYPE_MONTHS = 18;TYPE_NANOSECONDSTYPE_NANOSECONDS = 29;TYPE_NULLIndicates a NULL literal known at compile timeTYPE_SECONDSTYPE_SECONDS = 14;TYPE_SMALLINT2 bytes signedTYPE_ST_POINTST POINTTYPE_TIMETYPE_TIME = 26;TYPE_TIMESTAMPtime + dateTYPE_TUPLETYPE_TUPLE = 31;TYPE_UUIDTYPE_UUID = 22;TYPE_VARCHARTYPE_VARCHAR = 5;TYPE_WEEKSTYPE_WEEKS = 32;TYPE_YEARSTYPE_YEARS = 19;UNRECOGNIZED -
Field Summary
Fields Modifier and Type Field Description static intINVALID_VALUEINVALID = 0;static intTYPE_ARRAY_VALUETYPE_ARRAY = 30;static intTYPE_BIGINT_VALUE8 bytes signedstatic intTYPE_BINARY_VALUEbinary stringstatic intTYPE_BOOLEAN_VALUETYPE_BOOLEAN = 9;static intTYPE_BYTE_VALUE1 byte signed intstatic intTYPE_DATE_VALUEjust datestatic intTYPE_DAYS_VALUETYPE_DAYS = 17;static intTYPE_DECIMAL_VALUETYPE_DECIMAL = 27;static intTYPE_DOUBLE_VALUE8 bytes floatstatic intTYPE_FLOAT_VALUE4 bytes floatstatic intTYPE_HASH_VALUEFixed length binary typestatic intTYPE_HOURS_VALUETYPE_HOURS = 16;static intTYPE_INT_VALUE4 bytes signedstatic intTYPE_IP_VALUEIPv6 typestatic intTYPE_IPV4_VALUETYPE_IPV4 = 6;static intTYPE_MATRIX_VALUEThis type can appear anywhere in the plan, but will go away before the final output that gets returned to the userstatic intTYPE_MICROSECONDS_VALUETYPE_MICROSECONDS = 28;static intTYPE_MILLISECONDS_VALUEThe following types can only appear in intermediate results in an extend operationstatic intTYPE_MINUTES_VALUETYPE_MINUTES = 15;static intTYPE_MONTHS_VALUETYPE_MONTHS = 18;static intTYPE_NANOSECONDS_VALUETYPE_NANOSECONDS = 29;static intTYPE_NULL_VALUEIndicates a NULL literal known at compile timestatic intTYPE_SECONDS_VALUETYPE_SECONDS = 14;static intTYPE_SMALLINT_VALUE2 bytes signedstatic intTYPE_ST_POINT_VALUEST POINTstatic intTYPE_TIME_VALUETYPE_TIME = 26;static intTYPE_TIMESTAMP_VALUEtime + datestatic intTYPE_TUPLE_VALUETYPE_TUPLE = 31;static intTYPE_UUID_VALUETYPE_UUID = 22;static intTYPE_VARCHAR_VALUETYPE_VARCHAR = 5;static intTYPE_WEEKS_VALUETYPE_WEEKS = 32;static intTYPE_YEARS_VALUETYPE_YEARS = 19; -
Method Summary
Modifier and Type Method Description static PlanProtocol.SqlColTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<PlanProtocol.SqlColType>internalGetValueMap()static PlanProtocol.SqlColTypevalueOf(int value)Deprecated.static PlanProtocol.SqlColTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static PlanProtocol.SqlColTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PlanProtocol.SqlColType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INVALID
INVALID = 0; -
TYPE_INT
4 bytes signed
TYPE_INT = 1; -
TYPE_BIGINT
8 bytes signed
TYPE_BIGINT = 2; -
TYPE_FLOAT
4 bytes float
TYPE_FLOAT = 3; -
TYPE_DOUBLE
8 bytes float
TYPE_DOUBLE = 4; -
TYPE_VARCHAR
TYPE_VARCHAR = 5; -
TYPE_IPV4
TYPE_IPV4 = 6; -
TYPE_TIMESTAMP
time + date
TYPE_TIMESTAMP = 7; -
TYPE_DATE
just date
TYPE_DATE = 8; -
TYPE_BOOLEAN
TYPE_BOOLEAN = 9; -
TYPE_BINARY
binary string
TYPE_BINARY = 10; -
TYPE_SMALLINT
2 bytes signed
TYPE_SMALLINT = 11; -
TYPE_BYTE
1 byte signed int
TYPE_BYTE = 12; -
TYPE_MILLISECONDS
The following types can only appear in intermediate results in an extend operation
TYPE_MILLISECONDS = 13; -
TYPE_SECONDS
TYPE_SECONDS = 14; -
TYPE_MINUTES
TYPE_MINUTES = 15; -
TYPE_HOURS
TYPE_HOURS = 16; -
TYPE_DAYS
TYPE_DAYS = 17; -
TYPE_MONTHS
TYPE_MONTHS = 18; -
TYPE_YEARS
TYPE_YEARS = 19; -
TYPE_MATRIX
This type can appear anywhere in the plan, but will go away before the final output that gets returned to the user
TYPE_MATRIX = 20; -
TYPE_NULL
Indicates a NULL literal known at compile time
TYPE_NULL = 21; -
TYPE_UUID
TYPE_UUID = 22; -
TYPE_HASH
Fixed length binary type
TYPE_HASH = 23; -
TYPE_IP
IPv6 type
TYPE_IP = 24; -
TYPE_ST_POINT
ST POINT
TYPE_ST_POINT = 25; -
TYPE_TIME
TYPE_TIME = 26; -
TYPE_DECIMAL
TYPE_DECIMAL = 27; -
TYPE_MICROSECONDS
TYPE_MICROSECONDS = 28; -
TYPE_NANOSECONDS
TYPE_NANOSECONDS = 29; -
TYPE_ARRAY
TYPE_ARRAY = 30; -
TYPE_TUPLE
TYPE_TUPLE = 31; -
TYPE_WEEKS
TYPE_WEEKS = 32; -
UNRECOGNIZED
-
-
Field Details
-
INVALID_VALUE
public static final int INVALID_VALUEINVALID = 0;- See Also:
- Constant Field Values
-
TYPE_INT_VALUE
public static final int TYPE_INT_VALUE4 bytes signed
TYPE_INT = 1;- See Also:
- Constant Field Values
-
TYPE_BIGINT_VALUE
public static final int TYPE_BIGINT_VALUE8 bytes signed
TYPE_BIGINT = 2;- See Also:
- Constant Field Values
-
TYPE_FLOAT_VALUE
public static final int TYPE_FLOAT_VALUE4 bytes float
TYPE_FLOAT = 3;- See Also:
- Constant Field Values
-
TYPE_DOUBLE_VALUE
public static final int TYPE_DOUBLE_VALUE8 bytes float
TYPE_DOUBLE = 4;- See Also:
- Constant Field Values
-
TYPE_VARCHAR_VALUE
public static final int TYPE_VARCHAR_VALUETYPE_VARCHAR = 5;- See Also:
- Constant Field Values
-
TYPE_IPV4_VALUE
public static final int TYPE_IPV4_VALUETYPE_IPV4 = 6;- See Also:
- Constant Field Values
-
TYPE_TIMESTAMP_VALUE
public static final int TYPE_TIMESTAMP_VALUEtime + date
TYPE_TIMESTAMP = 7;- See Also:
- Constant Field Values
-
TYPE_DATE_VALUE
public static final int TYPE_DATE_VALUEjust date
TYPE_DATE = 8;- See Also:
- Constant Field Values
-
TYPE_BOOLEAN_VALUE
public static final int TYPE_BOOLEAN_VALUETYPE_BOOLEAN = 9;- See Also:
- Constant Field Values
-
TYPE_BINARY_VALUE
public static final int TYPE_BINARY_VALUEbinary string
TYPE_BINARY = 10;- See Also:
- Constant Field Values
-
TYPE_SMALLINT_VALUE
public static final int TYPE_SMALLINT_VALUE2 bytes signed
TYPE_SMALLINT = 11;- See Also:
- Constant Field Values
-
TYPE_BYTE_VALUE
public static final int TYPE_BYTE_VALUE1 byte signed int
TYPE_BYTE = 12;- See Also:
- Constant Field Values
-
TYPE_MILLISECONDS_VALUE
public static final int TYPE_MILLISECONDS_VALUEThe following types can only appear in intermediate results in an extend operation
TYPE_MILLISECONDS = 13;- See Also:
- Constant Field Values
-
TYPE_SECONDS_VALUE
public static final int TYPE_SECONDS_VALUETYPE_SECONDS = 14;- See Also:
- Constant Field Values
-
TYPE_MINUTES_VALUE
public static final int TYPE_MINUTES_VALUETYPE_MINUTES = 15;- See Also:
- Constant Field Values
-
TYPE_HOURS_VALUE
public static final int TYPE_HOURS_VALUETYPE_HOURS = 16;- See Also:
- Constant Field Values
-
TYPE_DAYS_VALUE
public static final int TYPE_DAYS_VALUETYPE_DAYS = 17;- See Also:
- Constant Field Values
-
TYPE_MONTHS_VALUE
public static final int TYPE_MONTHS_VALUETYPE_MONTHS = 18;- See Also:
- Constant Field Values
-
TYPE_YEARS_VALUE
public static final int TYPE_YEARS_VALUETYPE_YEARS = 19;- See Also:
- Constant Field Values
-
TYPE_MATRIX_VALUE
public static final int TYPE_MATRIX_VALUEThis type can appear anywhere in the plan, but will go away before the final output that gets returned to the user
TYPE_MATRIX = 20;- See Also:
- Constant Field Values
-
TYPE_NULL_VALUE
public static final int TYPE_NULL_VALUEIndicates a NULL literal known at compile time
TYPE_NULL = 21;- See Also:
- Constant Field Values
-
TYPE_UUID_VALUE
public static final int TYPE_UUID_VALUETYPE_UUID = 22;- See Also:
- Constant Field Values
-
TYPE_HASH_VALUE
public static final int TYPE_HASH_VALUEFixed length binary type
TYPE_HASH = 23;- See Also:
- Constant Field Values
-
TYPE_IP_VALUE
public static final int TYPE_IP_VALUEIPv6 type
TYPE_IP = 24;- See Also:
- Constant Field Values
-
TYPE_ST_POINT_VALUE
public static final int TYPE_ST_POINT_VALUEST POINT
TYPE_ST_POINT = 25;- See Also:
- Constant Field Values
-
TYPE_TIME_VALUE
public static final int TYPE_TIME_VALUETYPE_TIME = 26;- See Also:
- Constant Field Values
-
TYPE_DECIMAL_VALUE
public static final int TYPE_DECIMAL_VALUETYPE_DECIMAL = 27;- See Also:
- Constant Field Values
-
TYPE_MICROSECONDS_VALUE
public static final int TYPE_MICROSECONDS_VALUETYPE_MICROSECONDS = 28;- See Also:
- Constant Field Values
-
TYPE_NANOSECONDS_VALUE
public static final int TYPE_NANOSECONDS_VALUETYPE_NANOSECONDS = 29;- See Also:
- Constant Field Values
-
TYPE_ARRAY_VALUE
public static final int TYPE_ARRAY_VALUETYPE_ARRAY = 30;- See Also:
- Constant Field Values
-
TYPE_TUPLE_VALUE
public static final int TYPE_TUPLE_VALUETYPE_TUPLE = 31;- See Also:
- Constant Field Values
-
TYPE_WEEKS_VALUE
public static final int TYPE_WEEKS_VALUETYPE_WEEKS = 32;- See Also:
- Constant Field Values
-
-
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PlanProtocol.SqlColType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static PlanProtocol.SqlColType 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
-