Package org.apache.parquet.column
Class EncodingStats
java.lang.Object
org.apache.parquet.column.EncodingStats
EncodingStats track dictionary and data page encodings for a single column within a row group.
These are used when filtering row groups. For example, to filter a row group based on a column's
dictionary, all of the data pages in that column must be dictionary-encoded. This class provides
convenience methods for those checks, like
hasNonDictionaryEncodedPages().-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUsed to buildEncodingStatsfrom metadata or to accumulate stats as pages are written. -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanbooleanbooleanboolean
-
Method Details
-
getDictionaryEncodings
-
getDataEncodings
-
getNumDictionaryPagesEncodedAs
-
getNumDataPagesEncodedAs
-
hasDictionaryPages
public boolean hasDictionaryPages() -
hasDictionaryEncodedPages
public boolean hasDictionaryEncodedPages() -
hasNonDictionaryEncodedPages
public boolean hasNonDictionaryEncodedPages() -
usesV2Pages
public boolean usesV2Pages()
-