public interface VariableWidthVector extends ValueVector
| Modifier and Type | Interface and Description |
|---|---|
static interface |
VariableWidthVector.VariableWidthAccessor |
static interface |
VariableWidthVector.VariableWidthMutator |
ValueVector.Accessor, ValueVector.Mutator| Modifier and Type | Method and Description |
|---|---|
void |
allocateNew(int totalBytes,
int valueCount)
Allocate a new memory space for this vector.
|
VariableWidthVector.VariableWidthAccessor |
getAccessor() |
int |
getByteCapacity()
Provide the maximum amount of variable width bytes that can be stored in this vector.
|
int |
getCurrentSizeInBytes() |
VariableWidthVector.VariableWidthMutator |
getMutator() |
allocateNew, allocateNewSafe, clear, close, getAllocator, getBuffers, getBufferSize, getBufferSizeFor, getDataBuffer, getField, getMinorType, getOffsetBuffer, getReader, getTransferPair, getTransferPair, getTransferPair, getValidityBuffer, getValueCapacity, makeTransferPair, reAlloc, setInitialCapacityforEach, iterator, spliteratorvoid allocateNew(int totalBytes,
int valueCount)
totalBytes - Desired size of the underlying data buffer.valueCount - Number of values in the vector.int getByteCapacity()
VariableWidthVector.VariableWidthMutator getMutator()
getMutator in interface ValueVectormutator that is used to write to this vector
instance.VariableWidthVector.VariableWidthAccessor getAccessor()
getAccessor in interface ValueVectoraccessor that is used to read from this vector
instance.int getCurrentSizeInBytes()
Copyright © 2017 The Apache Software Foundation. All rights reserved.