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)
Returns a
transfer pair, creating a new target vector of
the same type. |
Iterator<ValueVector> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitallocateNew, allocateNewSafe, getAccessor, getBuffers, getBufferSize, getBufferSizeFor, getField, getMinorType, getMutator, getReader, getTransferPair, getValueCapacity, makeTransferPair, setInitialCapacitypublic 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)
ValueVectortransfer pair, creating a new target vector of
the same type.getTransferPair in interface ValueVectorpublic Iterator<ValueVector> iterator()
iterator in interface Iterable<ValueVector>public static boolean checkBufRefs(ValueVector vv)
public BufferAllocator getAllocator()
getAllocator in interface ValueVectorCopyright © 2016 The Apache Software Foundation. All rights reserved.