Class SizeStatistics.Builder

  • Enclosing class:
    SizeStatistics

    public static class SizeStatistics.Builder
    extends Object
    Builder to create a SizeStatistics.
    • Method Detail

      • add

        public void add​(int repetitionLevel,
                        int definitionLevel)
        Add repetition and definition level of a value to the statistics. It is called when value is null, or the column is not of BYTE_ARRAY type.
        Parameters:
        repetitionLevel - repetition level of the value
        definitionLevel - definition level of the value
      • add

        public void add​(int repetitionLevel,
                        int definitionLevel,
                        Binary value)
        Add repetition and definition level of a value to the statistics. It is called when the column is of BYTE_ARRAY type.
        Parameters:
        repetitionLevel - repetition level of the value
        definitionLevel - definition level of the value
        value - value of to be added
      • build

        public SizeStatistics build()
        Build a SizeStatistics from the builder.