public abstract class VarLengthValuesColumn<V extends ValueVector> extends VarLengthColumn
Modifier and Type | Field and Description |
---|---|
protected org.apache.drill.exec.store.parquet.columnreaders.VarLenColumnBulkInput.BulkReaderState |
bulkReaderState
Bulk read operation state that needs to be maintained across batch calls
|
DICTIONARY_ENCODINGS, VALUE_ENCODINGS, vectorData
Modifier and Type | Method and Description |
---|---|
protected abstract VarLenColumnBulkInput<V> |
newVLBulkInput(int recordsToRead) |
protected boolean |
readAndStoreValueSizeInformation() |
protected void |
readField(long recordToRead) |
protected int |
readRecordsInBulk(int recordsToRead) |
abstract boolean |
setSafe(int index,
DrillBuf bytes,
int start,
int length)
Store a variable length entry if there is enough memory.
|
protected abstract void |
setSafe(VarLenBulkInput<VarLenBulkEntry> bulkInput)
Store a set of variable entries in bulk; this method will automatically extend the underlying
value vector if needed.
|
boolean |
skipReadyToReadPositionUpdate() |
void |
updatePosition() |
void |
updateReadyToReadPosition() |
processPageData, reset
capacity, checkVectorCapacityReached, clear, determineSize, getRecordsReadInCurrentPass, hitRowGroupEnd, postPageRead, processPages, processPagesAsync, readIntLittleEndian, readPage, readPageAsync, readRecords, readRecordsAsync, readValues, recordsRequireDecoding, totalValuesReadAndReadyToReadInPage
protected final org.apache.drill.exec.store.parquet.columnreaders.VarLenColumnBulkInput.BulkReaderState bulkReaderState
public abstract boolean setSafe(int index, DrillBuf bytes, int start, int length)
index
- entry's indexbytes
- byte array containerstart
- start offsetlength
- entry's lengthprotected abstract void setSafe(VarLenBulkInput<VarLenBulkEntry> bulkInput)
bulkInput
- set of variable length entriesprotected abstract VarLenColumnBulkInput<V> newVLBulkInput(int recordsToRead) throws IOException
IOException
protected final int readRecordsInBulk(int recordsToRead) throws IOException
readRecordsInBulk
in class ColumnReader
IOException
protected void readField(long recordToRead)
readField
in class ColumnReader
public void updateReadyToReadPosition()
updateReadyToReadPosition
in class ColumnReader
public void updatePosition()
updatePosition
in class ColumnReader
public boolean skipReadyToReadPositionUpdate()
skipReadyToReadPositionUpdate
in class VarLengthColumn
protected boolean readAndStoreValueSizeInformation() throws IOException
readAndStoreValueSizeInformation
in class VarLengthColumn
IOException
Copyright © 1970 The Apache Software Foundation. All rights reserved.