Package io.trino.orc.metadata
Enum PostScript.HiveWriterVersion
- java.lang.Object
-
- java.lang.Enum<PostScript.HiveWriterVersion>
-
- io.trino.orc.metadata.PostScript.HiveWriterVersion
-
- All Implemented Interfaces:
Serializable,Comparable<PostScript.HiveWriterVersion>
- Enclosing class:
- PostScript
public static enum PostScript.HiveWriterVersion extends Enum<PostScript.HiveWriterVersion>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ORC_HIVE_8732ORIGINAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOrcWriterVersion()static PostScript.HiveWriterVersionvalueOf(String name)Returns the enum constant of this type with the specified name.static PostScript.HiveWriterVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORIGINAL
public static final PostScript.HiveWriterVersion ORIGINAL
-
ORC_HIVE_8732
public static final PostScript.HiveWriterVersion ORC_HIVE_8732
-
-
Method Detail
-
values
public static PostScript.HiveWriterVersion[] 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 (PostScript.HiveWriterVersion c : PostScript.HiveWriterVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostScript.HiveWriterVersion 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
-
getOrcWriterVersion
public int getOrcWriterVersion()
-
-