public static final class VarLengthColumnReaders.NullableVarCharColumn extends NullableVarLengthValuesColumn<org.apache.drill.exec.vector.NullableVarCharVector>
Modifier and Type | Field and Description |
---|---|
protected org.apache.drill.exec.vector.NullableVarCharVector.Mutator |
mutator |
bulkReaderState
vectorData
Modifier and Type | Method and Description |
---|---|
int |
capacity() |
protected VarLenColumnBulkInput<org.apache.drill.exec.vector.NullableVarCharVector> |
newVLBulkInput(int recordsToRead) |
boolean |
setSafe(int index,
DrillBuf value,
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.
|
postPageRead, readAndStoreValueSizeInformation, readField, reset, updatePosition, updateReadyToReadPosition
readRecordsInBulk, skipReadyToReadPositionUpdate
processPageData
checkVectorCapacityReached, clear, determineSize, getRecordsReadInCurrentPass, hitRowGroupEnd, processPages, processPagesAsync, readIntLittleEndian, readPage, readPageAsync, readRecords, readRecordsAsync, readValues, totalValuesReadAndReadyToReadInPage
protected final org.apache.drill.exec.vector.NullableVarCharVector.Mutator mutator
public boolean setSafe(int index, DrillBuf value, int start, int length)
VarLengthValuesColumn
setSafe
in class NullableVarLengthValuesColumn<org.apache.drill.exec.vector.NullableVarCharVector>
index
- entry's indexvalue
- byte array containerstart
- start offsetlength
- entry's lengthpublic int capacity()
capacity
in class NullableVarLengthValuesColumn<org.apache.drill.exec.vector.NullableVarCharVector>
protected void setSafe(VarLenBulkInput<VarLenBulkEntry> bulkInput)
setSafe
in class VarLengthValuesColumn<org.apache.drill.exec.vector.NullableVarCharVector>
bulkInput
- set of variable length entriesprotected VarLenColumnBulkInput<org.apache.drill.exec.vector.NullableVarCharVector> newVLBulkInput(int recordsToRead) throws IOException
newVLBulkInput
in class VarLengthValuesColumn<org.apache.drill.exec.vector.NullableVarCharVector>
IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.