Package org.apache.parquet.schema
Enum ColumnOrder.ColumnOrderName
- java.lang.Object
-
- java.lang.Enum<ColumnOrder.ColumnOrderName>
-
- org.apache.parquet.schema.ColumnOrder.ColumnOrderName
-
- All Implemented Interfaces:
Serializable,Comparable<ColumnOrder.ColumnOrderName>
- Enclosing class:
- ColumnOrder
public static enum ColumnOrder.ColumnOrderName extends Enum<ColumnOrder.ColumnOrderName>
The enum type of the column order.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPE_DEFINED_ORDERType defined order meaning that the comparison order of the elements are based on its type.UNDEFINEDRepresenting the case when the defined column order is undefined (e.g.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColumnOrder.ColumnOrderNamevalueOf(String name)Returns the enum constant of this type with the specified name.static ColumnOrder.ColumnOrderName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final ColumnOrder.ColumnOrderName UNDEFINED
Representing the case when the defined column order is undefined (e.g. the file is written by a later API and the current one does not support the related column order). No statistics will be written/read in this case.
-
TYPE_DEFINED_ORDER
public static final ColumnOrder.ColumnOrderName TYPE_DEFINED_ORDER
Type defined order meaning that the comparison order of the elements are based on its type.
-
-
Method Detail
-
values
public static ColumnOrder.ColumnOrderName[] 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 (ColumnOrder.ColumnOrderName c : ColumnOrder.ColumnOrderName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColumnOrder.ColumnOrderName 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
-
-