Class VarLengthColumnReaders.NullableVarDecimalColumn
java.lang.Object
org.apache.drill.exec.store.parquet.columnreaders.ColumnReader<V>
org.apache.drill.exec.store.parquet.columnreaders.VarLengthColumn
org.apache.drill.exec.store.parquet.columnreaders.VarLengthValuesColumn<V>
org.apache.drill.exec.store.parquet.columnreaders.NullableVarLengthValuesColumn<NullableVarDecimalVector>
org.apache.drill.exec.store.parquet.columnreaders.VarLengthColumnReaders.NullableVarDecimalColumn
- Enclosing class:
- VarLengthColumnReaders
public static class VarLengthColumnReaders.NullableVarDecimalColumn
extends NullableVarLengthValuesColumn<NullableVarDecimalVector>
-
Field Summary
Modifier and TypeFieldDescriptionprotected NullableVarDecimalVector.Mutator
protected NullableVarDecimalVector
Fields inherited from class org.apache.drill.exec.store.parquet.columnreaders.VarLengthValuesColumn
bulkReaderState
Fields inherited from class org.apache.drill.exec.store.parquet.columnreaders.ColumnReader
DICTIONARY_ENCODINGS, VALUE_ENCODINGS, vectorData
-
Method Summary
Modifier and TypeMethodDescriptionint
capacity()
protected VarLenColumnBulkInput<NullableVarDecimalVector>
newVLBulkInput
(int recordsToRead) boolean
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.Methods inherited from class org.apache.drill.exec.store.parquet.columnreaders.NullableVarLengthValuesColumn
postPageRead, readAndStoreValueSizeInformation, readField, reset, updatePosition, updateReadyToReadPosition
Methods inherited from class org.apache.drill.exec.store.parquet.columnreaders.VarLengthValuesColumn
readRecordsInBulk, skipReadyToReadPositionUpdate
Methods inherited from class org.apache.drill.exec.store.parquet.columnreaders.VarLengthColumn
processPageData
Methods inherited from class org.apache.drill.exec.store.parquet.columnreaders.ColumnReader
checkVectorCapacityReached, clear, determineSize, getRecordsReadInCurrentPass, hitRowGroupEnd, processPages, processPagesAsync, readIntLittleEndian, readPage, readPageAsync, readRecords, readRecordsAsync, readValues, recordsRequireDecoding, totalValuesReadAndReadyToReadInPage
-
Field Details
-
nullableVarDecimalVector
-
mutator
-
-
Method Details
-
setSafe
Description copied from class:VarLengthValuesColumn
Store a variable length entry if there is enough memory.- Specified by:
setSafe
in classNullableVarLengthValuesColumn<NullableVarDecimalVector>
- Parameters:
index
- entry's indexvalue
- byte array containerstart
- start offsetlength
- entry's length- Returns:
- true if the entry was successfully inserted; false otherwise
-
capacity
public int capacity()- Specified by:
capacity
in classNullableVarLengthValuesColumn<NullableVarDecimalVector>
-
setSafe
Store a set of variable entries in bulk; this method will automatically extend the underlying value vector if needed.- Specified by:
setSafe
in classVarLengthValuesColumn<NullableVarDecimalVector>
- Parameters:
bulkInput
- set of variable length entries
-
newVLBulkInput
protected VarLenColumnBulkInput<NullableVarDecimalVector> newVLBulkInput(int recordsToRead) throws IOException - Specified by:
newVLBulkInput
in classVarLengthValuesColumn<NullableVarDecimalVector>
- Returns:
- new variable bulk input object
- Throws:
IOException
-