Class VarLengthColumnReaders.VarDecimalColumn
java.lang.Object
org.apache.drill.exec.store.parquet.columnreaders.ColumnReader
org.apache.drill.exec.store.parquet.columnreaders.VarLengthColumn
org.apache.drill.exec.store.parquet.columnreaders.VarLengthValuesColumn<VarDecimalVector>
org.apache.drill.exec.store.parquet.columnreaders.VarLengthColumnReaders.VarDecimalColumn
- Enclosing class:
VarLengthColumnReaders
public static class VarLengthColumnReaders.VarDecimalColumn
extends VarLengthValuesColumn<VarDecimalVector>
-
Field Summary
FieldsFields inherited from class org.apache.drill.exec.store.parquet.columnreaders.VarLengthValuesColumn
bulkReaderStateFields inherited from class org.apache.drill.exec.store.parquet.columnreaders.ColumnReader
DICTIONARY_ENCODINGS, VALUE_ENCODINGS, vectorData -
Method Summary
Modifier and TypeMethodDescriptionintcapacity()protected VarLenColumnBulkInput<VarDecimalVector> newVLBulkInput(int recordsToRead) booleanStore a variable length entry if there is enough memory.protected voidsetSafe(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.VarLengthValuesColumn
readAndStoreValueSizeInformation, readField, readRecordsInBulk, skipReadyToReadPositionUpdate, updatePosition, updateReadyToReadPositionMethods inherited from class org.apache.drill.exec.store.parquet.columnreaders.VarLengthColumn
processPageData, resetMethods inherited from class org.apache.drill.exec.store.parquet.columnreaders.ColumnReader
checkVectorCapacityReached, clear, determineSize, getRecordsReadInCurrentPass, hitRowGroupEnd, postPageRead, processPages, processPagesAsync, readIntLittleEndian, readPage, readPageAsync, readRecords, readRecordsAsync, readValues, recordsRequireDecoding, totalValuesReadAndReadyToReadInPage
-
Field Details
-
varDecimalVector
-
mutator
-
-
Method Details
-
setSafe
Description copied from class:VarLengthValuesColumnStore a variable length entry if there is enough memory.- Specified by:
setSafein classVarLengthValuesColumn<VarDecimalVector>- 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()- Overrides:
capacityin classColumnReader
-
setSafe
Store a set of variable entries in bulk; this method will automatically extend the underlying value vector if needed.- Specified by:
setSafein classVarLengthValuesColumn<VarDecimalVector>- Parameters:
bulkInput- set of variable length entries
-
newVLBulkInput
protected VarLenColumnBulkInput<VarDecimalVector> newVLBulkInput(int recordsToRead) throws IOException - Specified by:
newVLBulkInputin classVarLengthValuesColumn<VarDecimalVector>- Returns:
- new variable bulk input object
- Throws:
IOException
-