Enum FieldRepetitionType

java.lang.Object
java.lang.Enum<FieldRepetitionType>
org.apache.parquet.format.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 Details

    • REQUIRED

      public static final FieldRepetitionType REQUIRED
      This field is required (can not be null) and each row has exactly 1 value.
    • OPTIONAL

      public static final FieldRepetitionType OPTIONAL
      The field is optional (can be null) and each row has 0 or 1 values.
    • REPEATED

      public static final FieldRepetitionType REPEATED
      The field is repeated and can contain 0 or more values
  • Method Details

    • values

      public static FieldRepetitionType[] 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

      public static FieldRepetitionType 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 name
      NullPointerException - 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:
      getValue in interface org.apache.thrift.TEnum
    • findByValue

      public static FieldRepetitionType findByValue(int value)
      Find a the enum type by its integer value, as defined in the Thrift IDL.
      Returns:
      null if the value is not found.