Package io.trino.parquet.reader.flat
Interface FlatDefinitionLevelDecoder
- All Known Implementing Classes:
NullsDecoder,ZeroDefinitionLevelDecoder
public interface FlatDefinitionLevelDecoder
-
Method Summary
-
Method Details
-
readNext
int readNext(boolean[] values, int offset, int length) Populate 'values' with true for nulls and return the number of non-nulls encountered. 'values' array is assumed to be empty at the start of reading a batch, i.e. contain only false values. -
skip
int skip(int length) Skip 'length' values and return the number of non-nulls encountered
-