org.apache.parquet.format.BoundaryOrder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parquet-format-structures Show documentation
Show all versions of parquet-format-structures Show documentation
Parquet-mr related java classes to use the parquet-format thrift structures.
/**
* Autogenerated by Thrift Compiler (0.13.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.parquet.format;
/**
* Enum to annotate whether lists of min/max elements inside ColumnIndex
* are ordered and if so, in which direction.
*/
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.13.0)", date = "2021-01-15")
public enum BoundaryOrder implements org.apache.thrift.TEnum {
UNORDERED(0),
ASCENDING(1),
DESCENDING(2);
private final int value;
private BoundaryOrder(int value) {
this.value = value;
}
/**
* Get the integer value of this enum value, as defined in the Thrift IDL.
*/
public int getValue() {
return value;
}
/**
* Find a the enum type by its integer value, as defined in the Thrift IDL.
* @return null if the value is not found.
*/
@org.apache.thrift.annotation.Nullable
public static BoundaryOrder findByValue(int value) {
switch (value) {
case 0:
return UNORDERED;
case 1:
return ASCENDING;
case 2:
return DESCENDING;
default:
return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy