public interface VariableWidthVector extends ValueVector
| Modifier and Type | Method and Description |
|---|---|
void |
allocateNew(int totalBytes,
int valueCount)
Allocate a new memory space for this vector.
|
int |
getByteCapacity()
Provide the maximum amount of variable width bytes that can be stored in this vector.
|
int |
getCurrentSizeInBytes() |
allocateNew, allocateNewSafe, clear, close, getAllocator, getBuffers, getBufferSize, getBufferSizeFor, getDataBuffer, getField, getMinorType, getNullCount, getObject, getOffsetBuffer, getReader, getTransferPair, getTransferPair, getTransferPair, getValidityBuffer, getValueCapacity, getValueCount, isNull, makeTransferPair, reAlloc, setInitialCapacity, setValueCountvoid allocateNew(int totalBytes,
int valueCount)
totalBytes - Desired size of the underlying data buffer.valueCount - Number of values in the vector.int getByteCapacity()
int getCurrentSizeInBytes()
Copyright © 2017 The Apache Software Foundation. All rights reserved.