Package org.apache.parquet.hadoop
Enum ColumnIndexValidator.Contract
- java.lang.Object
-
- java.lang.Enum<ColumnIndexValidator.Contract>
-
- org.apache.parquet.hadoop.ColumnIndexValidator.Contract
-
- All Implemented Interfaces:
Serializable,Comparable<ColumnIndexValidator.Contract>
- Enclosing class:
- ColumnIndexValidator
public static enum ColumnIndexValidator.Contract extends Enum<ColumnIndexValidator.Contract>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAX_ASCENDINGMAX_DESCENDINGMAX_GTEQ_VALUEMIN_ASCENDINGMIN_DESCENDINGMIN_LTEQ_VALUENULL_COUNT_CORRECTNULL_PAGE_HAS_NO_MAXNULL_PAGE_HAS_NO_MINNULL_PAGE_HAS_NO_VALUES
-
Field Summary
Fields Modifier and Type Field Description Stringdescription
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColumnIndexValidator.ContractvalueOf(String name)Returns the enum constant of this type with the specified name.static ColumnIndexValidator.Contract[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MIN_LTEQ_VALUE
public static final ColumnIndexValidator.Contract MIN_LTEQ_VALUE
-
MAX_GTEQ_VALUE
public static final ColumnIndexValidator.Contract MAX_GTEQ_VALUE
-
NULL_COUNT_CORRECT
public static final ColumnIndexValidator.Contract NULL_COUNT_CORRECT
-
NULL_PAGE_HAS_NO_VALUES
public static final ColumnIndexValidator.Contract NULL_PAGE_HAS_NO_VALUES
-
NULL_PAGE_HAS_NO_MIN
public static final ColumnIndexValidator.Contract NULL_PAGE_HAS_NO_MIN
-
NULL_PAGE_HAS_NO_MAX
public static final ColumnIndexValidator.Contract NULL_PAGE_HAS_NO_MAX
-
MIN_ASCENDING
public static final ColumnIndexValidator.Contract MIN_ASCENDING
-
MAX_ASCENDING
public static final ColumnIndexValidator.Contract MAX_ASCENDING
-
MIN_DESCENDING
public static final ColumnIndexValidator.Contract MIN_DESCENDING
-
MAX_DESCENDING
public static final ColumnIndexValidator.Contract MAX_DESCENDING
-
-
Field Detail
-
description
public final String description
-
-
Method Detail
-
values
public static ColumnIndexValidator.Contract[] 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 (ColumnIndexValidator.Contract c : ColumnIndexValidator.Contract.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColumnIndexValidator.Contract 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
-
-