public interface VariableWidthVector extends ElementAddressableVector, DensityAwareVector
| Modifier and Type | Method and Description |
|---|---|
void |
allocateNew(int valueCount)
Allocate a new memory space for this vector.
|
void |
allocateNew(long 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 |
sizeOfValueBuffer()
Provide the number of bytes contained in the valueBuffer.
|
getDataPointer, getDataPointeraccept, allocateNew, allocateNewSafe, clear, close, copyFrom, copyFromSafe, getAllocator, getBuffers, getBufferSize, getBufferSizeFor, getDataBuffer, getField, getMinorType, getName, getNullCount, getObject, getOffsetBuffer, getReader, getTransferPair, getTransferPair, getTransferPair, getTransferPair, getTransferPair, getValidityBuffer, getValueCapacity, getValueCount, hashCode, hashCode, isNull, makeTransferPair, reAlloc, reset, setInitialCapacity, setValueCount, validate, validateFullforEach, iterator, spliteratorsetInitialCapacityvoid allocateNew(long totalBytes,
int valueCount)
totalBytes - Desired size of the underlying data buffer.valueCount - Number of values in the vector.void allocateNew(int valueCount)
valueCount - Number of values in the vector.int getByteCapacity()
int sizeOfValueBuffer()
Copyright © 2024 The Apache Software Foundation. All rights reserved.