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()
Returns an
accessor that is used to read from this vector
instance. |
int |
getByteCapacity()
Provide the maximum amount of variable width bytes that can be stored in this vector.
|
int |
getCurrentSizeInBytes() |
VariableWidthVector.VariableWidthMutator |
getMutator()
Returns an
mutator that is used to write to this vector
instance. |
allocateNew, allocateNewSafe, clear, close, getAllocator, getBuffers, getBufferSize, getBufferSizeFor, getField, getMinorType, getReader, getTransferPair, getTransferPair, getValueCapacity, makeTransferPair, setInitialCapacityvoid 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()
ValueVectormutator that is used to write to this vector
instance.getMutator in interface ValueVectorVariableWidthVector.VariableWidthAccessor getAccessor()
ValueVectoraccessor that is used to read from this vector
instance.getAccessor in interface ValueVectorint getCurrentSizeInBytes()
Copyright © 2016 The Apache Software Foundation. All rights reserved.