public static final class VarLengthColumnReaders.VarCharColumn extends VarLengthValuesColumn<VarCharVector>
bulkReaderState
DICTIONARY_ENCODINGS, VALUE_ENCODINGS, vectorData
Modifier and Type | Method and Description |
---|---|
int |
capacity() |
protected VarLenColumnBulkInput<VarCharVector> |
newVLBulkInput(int recordsToRead) |
boolean |
setSafe(int index,
DrillBuf bytebuf,
int start,
int length)
Store a variable length entry if there is enough memory.
|
protected void |
setSafe(VarLenBulkInput<VarLenBulkEntry> bulkInput)
Store a set of variable entries in bulk; this method will automatically extend the underlying
value vector if needed.
|
readAndStoreValueSizeInformation, readField, readRecordsInBulk, skipReadyToReadPositionUpdate, updatePosition, updateReadyToReadPosition
processPageData, reset
checkVectorCapacityReached, clear, determineSize, getRecordsReadInCurrentPass, hitRowGroupEnd, postPageRead, processPages, processPagesAsync, readIntLittleEndian, readPage, readPageAsync, readRecords, readRecordsAsync, readValues, recordsRequireDecoding, totalValuesReadAndReadyToReadInPage
public boolean setSafe(int index, DrillBuf bytebuf, int start, int length)
VarLengthValuesColumn
setSafe
in class VarLengthValuesColumn<VarCharVector>
index
- entry's indexbytebuf
- byte array containerstart
- start offsetlength
- entry's lengthpublic int capacity()
capacity
in class ColumnReader
protected void setSafe(VarLenBulkInput<VarLenBulkEntry> bulkInput)
setSafe
in class VarLengthValuesColumn<VarCharVector>
bulkInput
- set of variable length entriesprotected VarLenColumnBulkInput<VarCharVector> newVLBulkInput(int recordsToRead) throws IOException
newVLBulkInput
in class VarLengthValuesColumn<VarCharVector>
IOException
Copyright © 1970 The Apache Software Foundation. All rights reserved.