Package org.apache.parquet.format
Enum FieldRepetitionType
- All Implemented Interfaces:
Serializable,Comparable<FieldRepetitionType>,org.apache.thrift.TEnum
@Generated(value="Autogenerated by Thrift Compiler (0.23.0)",
date="2026-08-06")
public enum FieldRepetitionType
extends Enum<FieldRepetitionType>
implements org.apache.thrift.TEnum
Representation of Schemas
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldRepetitionTypefindByValue(int value) Find a the enum type by its integer value, as defined in the Thrift IDL.intgetValue()Get the integer value of this enum value, as defined in the Thrift IDL.static FieldRepetitionTypeReturns the enum constant of this type with the specified name.static FieldRepetitionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REQUIRED
This field is required (can not be null) and each row has exactly 1 value. -
OPTIONAL
The field is optional (can be null) and each row has 0 or 1 values. -
REPEATED
The field is repeated and can contain 0 or more values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
public int getValue()Get the integer value of this enum value, as defined in the Thrift IDL.- Specified by:
getValuein interfaceorg.apache.thrift.TEnum
-
findByValue
Find a the enum type by its integer value, as defined in the Thrift IDL.- Returns:
- null if the value is not found.
-