public abstract class BaseValueVector extends Object implements ValueVector
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseValueVector.BaseAccessor |
static class |
BaseValueVector.BaseMutator |
ValueVector.Accessor, ValueVector.Mutator| Modifier and Type | Field and Description |
|---|---|
protected BufferAllocator |
allocator |
static int |
INITIAL_VALUE_ALLOCATION |
static int |
MAX_ALLOCATION_SIZE |
static String |
MAX_ALLOCATION_SIZE_PROPERTY |
protected String |
name |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseValueVector(String name,
BufferAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkBufRefs(ValueVector vv) |
void |
clear()
Release the underlying ArrowBuf and reset the ValueVector to empty.
|
void |
close()
Alternative to clear().
|
BufferAllocator |
getAllocator() |
TransferPair |
getTransferPair(BufferAllocator allocator)
to transfer quota responsibility
|
Iterator<ValueVector> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitallocateNew, allocateNewSafe, getAccessor, getBuffers, getBufferSize, getBufferSizeFor, getDataBuffer, getField, getMinorType, getMutator, getOffsetBuffer, getReader, getTransferPair, getTransferPair, getValidityBuffer, getValueCapacity, makeTransferPair, reAlloc, setInitialCapacityforEach, spliteratorpublic static final String MAX_ALLOCATION_SIZE_PROPERTY
public static final int MAX_ALLOCATION_SIZE
public static final int INITIAL_VALUE_ALLOCATION
protected final BufferAllocator allocator
protected final String name
protected BaseValueVector(String name, BufferAllocator allocator)
public void clear()
ValueVectorclear in interface ValueVectorpublic void close()
ValueVectorclose in interface Closeableclose in interface AutoCloseableclose in interface ValueVectorpublic TransferPair getTransferPair(BufferAllocator allocator)
ValueVectorgetTransferPair in interface ValueVectorallocator - the target allocatortransfer pair, creating a new target vector of
the same type.public Iterator<ValueVector> iterator()
iterator in interface Iterable<ValueVector>public static boolean checkBufRefs(ValueVector vv)
public BufferAllocator getAllocator()
getAllocator in interface ValueVectorCopyright © 2017 The Apache Software Foundation. All rights reserved.