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