Package io.trino.orc.metadata
Enum OrcType.OrcTypeKind
- java.lang.Object
-
- java.lang.Enum<OrcType.OrcTypeKind>
-
- io.trino.orc.metadata.OrcType.OrcTypeKind
-
- All Implemented Interfaces:
Serializable,Comparable<OrcType.OrcTypeKind>
- Enclosing class:
- OrcType
public static enum OrcType.OrcTypeKind extends Enum<OrcType.OrcTypeKind>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrcType.OrcTypeKindvalueOf(String name)Returns the enum constant of this type with the specified name.static OrcType.OrcTypeKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final OrcType.OrcTypeKind BOOLEAN
-
BYTE
public static final OrcType.OrcTypeKind BYTE
-
SHORT
public static final OrcType.OrcTypeKind SHORT
-
INT
public static final OrcType.OrcTypeKind INT
-
LONG
public static final OrcType.OrcTypeKind LONG
-
DECIMAL
public static final OrcType.OrcTypeKind DECIMAL
-
FLOAT
public static final OrcType.OrcTypeKind FLOAT
-
DOUBLE
public static final OrcType.OrcTypeKind DOUBLE
-
STRING
public static final OrcType.OrcTypeKind STRING
-
VARCHAR
public static final OrcType.OrcTypeKind VARCHAR
-
CHAR
public static final OrcType.OrcTypeKind CHAR
-
BINARY
public static final OrcType.OrcTypeKind BINARY
-
DATE
public static final OrcType.OrcTypeKind DATE
-
TIMESTAMP
public static final OrcType.OrcTypeKind TIMESTAMP
-
TIMESTAMP_INSTANT
public static final OrcType.OrcTypeKind TIMESTAMP_INSTANT
-
LIST
public static final OrcType.OrcTypeKind LIST
-
MAP
public static final OrcType.OrcTypeKind MAP
-
STRUCT
public static final OrcType.OrcTypeKind STRUCT
-
UNION
public static final OrcType.OrcTypeKind UNION
-
-
Method Detail
-
values
public static OrcType.OrcTypeKind[] 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 (OrcType.OrcTypeKind c : OrcType.OrcTypeKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrcType.OrcTypeKind 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
-
-