Package io.trino.plugin.hive
Enum HiveColumnHandle.ColumnType
- java.lang.Object
-
- java.lang.Enum<HiveColumnHandle.ColumnType>
-
- io.trino.plugin.hive.HiveColumnHandle.ColumnType
-
- All Implemented Interfaces:
Serializable,Comparable<HiveColumnHandle.ColumnType>
- Enclosing class:
- HiveColumnHandle
public static enum HiveColumnHandle.ColumnType extends Enum<HiveColumnHandle.ColumnType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PARTITION_KEYREGULARSYNTHESIZED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HiveColumnHandle.ColumnTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HiveColumnHandle.ColumnType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARTITION_KEY
public static final HiveColumnHandle.ColumnType PARTITION_KEY
-
REGULAR
public static final HiveColumnHandle.ColumnType REGULAR
-
SYNTHESIZED
public static final HiveColumnHandle.ColumnType SYNTHESIZED
-
-
Method Detail
-
values
public static HiveColumnHandle.ColumnType[] 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 (HiveColumnHandle.ColumnType c : HiveColumnHandle.ColumnType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HiveColumnHandle.ColumnType 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
-
-