Package io.trino.orc.proto
Enum OrcProto.Type.Kind
- java.lang.Object
-
- java.lang.Enum<OrcProto.Type.Kind>
-
- io.trino.orc.proto.OrcProto.Type.Kind
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OrcProto.Type.Kind>
- Enclosing class:
- OrcProto.Type
public static enum OrcProto.Type.Kind extends Enum<OrcProto.Type.Kind> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumorc.proto.Type.Kind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARYBINARY = 8;BOOLEANBOOLEAN = 0;BYTEBYTE = 1;CHARCHAR = 17;DATEDATE = 15;DECIMALDECIMAL = 14;DOUBLEDOUBLE = 6;FLOATFLOAT = 5;INTINT = 3;LISTLIST = 10;LONGLONG = 4;MAPMAP = 11;SHORTSHORT = 2;STRINGSTRING = 7;STRUCTSTRUCT = 12;TIMESTAMPTIMESTAMP = 9;TIMESTAMP_INSTANTTIMESTAMP_INSTANT = 18;UNIONUNION = 13;VARCHARVARCHAR = 16;
-
Field Summary
Fields Modifier and Type Field Description static intBINARY_VALUEBINARY = 8;static intBOOLEAN_VALUEBOOLEAN = 0;static intBYTE_VALUEBYTE = 1;static intCHAR_VALUECHAR = 17;static intDATE_VALUEDATE = 15;static intDECIMAL_VALUEDECIMAL = 14;static intDOUBLE_VALUEDOUBLE = 6;static intFLOAT_VALUEFLOAT = 5;static intINT_VALUEINT = 3;static intLIST_VALUELIST = 10;static intLONG_VALUELONG = 4;static intMAP_VALUEMAP = 11;static intSHORT_VALUESHORT = 2;static intSTRING_VALUESTRING = 7;static intSTRUCT_VALUESTRUCT = 12;static intTIMESTAMP_INSTANT_VALUETIMESTAMP_INSTANT = 18;static intTIMESTAMP_VALUETIMESTAMP = 9;static intUNION_VALUEUNION = 13;static intVARCHAR_VALUEVARCHAR = 16;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OrcProto.Type.KindforNumber(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<OrcProto.Type.Kind>internalGetValueMap()static OrcProto.Type.KindvalueOf(int value)Deprecated.static OrcProto.Type.KindvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OrcProto.Type.KindvalueOf(String name)Returns the enum constant of this type with the specified name.static OrcProto.Type.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final OrcProto.Type.Kind BOOLEAN
BOOLEAN = 0;
-
BYTE
public static final OrcProto.Type.Kind BYTE
BYTE = 1;
-
SHORT
public static final OrcProto.Type.Kind SHORT
SHORT = 2;
-
INT
public static final OrcProto.Type.Kind INT
INT = 3;
-
LONG
public static final OrcProto.Type.Kind LONG
LONG = 4;
-
FLOAT
public static final OrcProto.Type.Kind FLOAT
FLOAT = 5;
-
DOUBLE
public static final OrcProto.Type.Kind DOUBLE
DOUBLE = 6;
-
STRING
public static final OrcProto.Type.Kind STRING
STRING = 7;
-
BINARY
public static final OrcProto.Type.Kind BINARY
BINARY = 8;
-
TIMESTAMP
public static final OrcProto.Type.Kind TIMESTAMP
TIMESTAMP = 9;
-
LIST
public static final OrcProto.Type.Kind LIST
LIST = 10;
-
MAP
public static final OrcProto.Type.Kind MAP
MAP = 11;
-
STRUCT
public static final OrcProto.Type.Kind STRUCT
STRUCT = 12;
-
UNION
public static final OrcProto.Type.Kind UNION
UNION = 13;
-
DECIMAL
public static final OrcProto.Type.Kind DECIMAL
DECIMAL = 14;
-
DATE
public static final OrcProto.Type.Kind DATE
DATE = 15;
-
VARCHAR
public static final OrcProto.Type.Kind VARCHAR
VARCHAR = 16;
-
CHAR
public static final OrcProto.Type.Kind CHAR
CHAR = 17;
-
TIMESTAMP_INSTANT
public static final OrcProto.Type.Kind TIMESTAMP_INSTANT
TIMESTAMP_INSTANT = 18;
-
-
Field Detail
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUE
BOOLEAN = 0;- See Also:
- Constant Field Values
-
BYTE_VALUE
public static final int BYTE_VALUE
BYTE = 1;- See Also:
- Constant Field Values
-
SHORT_VALUE
public static final int SHORT_VALUE
SHORT = 2;- See Also:
- Constant Field Values
-
INT_VALUE
public static final int INT_VALUE
INT = 3;- See Also:
- Constant Field Values
-
LONG_VALUE
public static final int LONG_VALUE
LONG = 4;- See Also:
- Constant Field Values
-
FLOAT_VALUE
public static final int FLOAT_VALUE
FLOAT = 5;- See Also:
- Constant Field Values
-
DOUBLE_VALUE
public static final int DOUBLE_VALUE
DOUBLE = 6;- See Also:
- Constant Field Values
-
STRING_VALUE
public static final int STRING_VALUE
STRING = 7;- See Also:
- Constant Field Values
-
BINARY_VALUE
public static final int BINARY_VALUE
BINARY = 8;- See Also:
- Constant Field Values
-
TIMESTAMP_VALUE
public static final int TIMESTAMP_VALUE
TIMESTAMP = 9;- See Also:
- Constant Field Values
-
LIST_VALUE
public static final int LIST_VALUE
LIST = 10;- See Also:
- Constant Field Values
-
MAP_VALUE
public static final int MAP_VALUE
MAP = 11;- See Also:
- Constant Field Values
-
STRUCT_VALUE
public static final int STRUCT_VALUE
STRUCT = 12;- See Also:
- Constant Field Values
-
UNION_VALUE
public static final int UNION_VALUE
UNION = 13;- See Also:
- Constant Field Values
-
DECIMAL_VALUE
public static final int DECIMAL_VALUE
DECIMAL = 14;- See Also:
- Constant Field Values
-
DATE_VALUE
public static final int DATE_VALUE
DATE = 15;- See Also:
- Constant Field Values
-
VARCHAR_VALUE
public static final int VARCHAR_VALUE
VARCHAR = 16;- See Also:
- Constant Field Values
-
CHAR_VALUE
public static final int CHAR_VALUE
CHAR = 17;- See Also:
- Constant Field Values
-
TIMESTAMP_INSTANT_VALUE
public static final int TIMESTAMP_INSTANT_VALUE
TIMESTAMP_INSTANT = 18;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OrcProto.Type.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OrcProto.Type.Kind c : OrcProto.Type.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrcProto.Type.Kind 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 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 public static OrcProto.Type.Kind 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 nameNullPointerException- if the argument is null
-
forNumber
public static OrcProto.Type.Kind 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<OrcProto.Type.Kind> 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 OrcProto.Type.Kind 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
-
-