public abstract class AbstractNestedBatchReader extends Object implements ColumnReader
| Modifier and Type | Field and Description |
|---|---|
protected RichColumnDescriptor |
columnDescriptor |
protected Field |
field |
protected int |
nextBatchSize |
protected int |
readOffset |
| Constructor and Description |
|---|
AbstractNestedBatchReader(RichColumnDescriptor columnDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
long |
getRetainedSizeInBytes() |
void |
init(PageReader pageReader,
Field field,
org.apache.parquet.internal.filter2.columnindex.RowRanges rowRanges) |
boolean |
isInitialized() |
void |
prepareNextRead(int batchSize) |
protected DefinitionLevelDecodingContext |
readDefinitionLevels(List<DefinitionLevelValuesDecoderContext> decoderInfos,
int batchSize) |
protected abstract ColumnChunk |
readNestedNoNull() |
protected abstract ColumnChunk |
readNestedWithNull() |
ColumnChunk |
readNext() |
protected void |
readNextPage() |
protected RepetitionLevelDecodingContext |
readRepetitionLevels(int batchSize) |
protected abstract void |
seek() |
protected final RichColumnDescriptor columnDescriptor
protected Field field
protected int nextBatchSize
protected int readOffset
public AbstractNestedBatchReader(RichColumnDescriptor columnDescriptor)
protected abstract ColumnChunk readNestedNoNull() throws IOException
IOExceptionprotected abstract ColumnChunk readNestedWithNull() throws IOException
IOExceptionprotected abstract void seek()
throws IOException
IOExceptionpublic boolean isInitialized()
isInitialized in interface ColumnReaderpublic void init(PageReader pageReader, Field field, org.apache.parquet.internal.filter2.columnindex.RowRanges rowRanges)
init in interface ColumnReaderpublic void prepareNextRead(int batchSize)
prepareNextRead in interface ColumnReaderpublic ColumnChunk readNext()
readNext in interface ColumnReaderpublic long getRetainedSizeInBytes()
getRetainedSizeInBytes in interface ColumnReaderprotected void readNextPage()
protected final RepetitionLevelDecodingContext readRepetitionLevels(int batchSize) throws IOException
IOExceptionprotected final DefinitionLevelDecodingContext readDefinitionLevels(List<DefinitionLevelValuesDecoderContext> decoderInfos, int batchSize) throws IOException
IOExceptionCopyright © 2012–2024. All rights reserved.