Enum ColumnIndex._Fields

    • Enum Constant Detail

      • NULL_PAGES

        public static final ColumnIndex._Fields NULL_PAGES
        A list of Boolean values to determine the validity of the corresponding min and max values. If true, a page contains only null values, and writers have to set the corresponding entries in min_values and max_values to byte[0], so that all lists have the same length. If false, the corresponding entries in min_values and max_values must be valid.
      • MIN_VALUES

        public static final ColumnIndex._Fields MIN_VALUES
        Two lists containing lower and upper bounds for the values of each page. These may be the actual minimum and maximum values found on a page, but can also be (more compact) values that do not exist on a page. For example, instead of storing ""Blart Versenwald III", a writer may set min_values[i]="B", max_values[i]="C". Such more compact values must still be valid values within the column's logical type. Readers must make sure that list entries are populated before using them by inspecting null_pages.
      • BOUNDARY_ORDER

        public static final ColumnIndex._Fields BOUNDARY_ORDER
        Stores whether both min_values and max_values are orderd and if so, in which direction. This allows readers to perform binary searches in both lists. Readers cannot assume that max_values[i] <= min_values[i+1], even if the lists are ordered.
        See Also:
        BoundaryOrder
      • NULL_COUNTS

        public static final ColumnIndex._Fields NULL_COUNTS
        A list containing the number of null values for each page *
    • Method Detail

      • values

        public static ColumnIndex._Fields[] 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 (ColumnIndex._Fields c : ColumnIndex._Fields.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ColumnIndex._Fields 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
      • findByThriftId

        public static ColumnIndex._Fields findByThriftId​(int fieldId)
        Find the _Fields constant that matches fieldId, or null if its not found.
      • findByThriftIdOrThrow

        public static ColumnIndex._Fields findByThriftIdOrThrow​(int fieldId)
        Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
      • findByName

        public static ColumnIndex._Fields findByName​(String name)
        Find the _Fields constant that matches name, or null if its not found.
      • getThriftFieldId

        public short getThriftFieldId()
        Specified by:
        getThriftFieldId in interface org.apache.thrift.TFieldIdEnum
      • getFieldName

        public String getFieldName()
        Specified by:
        getFieldName in interface org.apache.thrift.TFieldIdEnum