Class SizeStatistics.Builder
java.lang.Object
org.apache.parquet.column.statistics.SizeStatistics.Builder
- Enclosing class:
- SizeStatistics
Builder to create a SizeStatistics.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
type
-
-
Method Details
-
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 valuedefinitionLevel- definition level of the value
-
add
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 valuedefinitionLevel- definition level of the valuevalue- value of to be added
-
build
Build a SizeStatistics from the builder.
-