public class RepeatedDictVector extends BaseRepeatedValueVector
Modifier and Type | Class and Description |
---|---|
class |
RepeatedDictVector.Accessor |
class |
RepeatedDictVector.Mutator |
class |
RepeatedDictVector.RepeatedDictTransferPair |
BaseRepeatedValueVector.BaseRepeatedAccessor, BaseRepeatedValueVector.BaseRepeatedMutator, BaseRepeatedValueVector.BaseRepeatedValueVectorTransferPair<T extends BaseRepeatedValueVector>
BaseValueVector.BaseAccessor, BaseValueVector.BaseMutator
RepeatedValueVector.RepeatedAccessor, RepeatedValueVector.RepeatedMutator
Modifier and Type | Field and Description |
---|---|
static TypeProtos.MajorType |
TYPE |
DATA_VECTOR_NAME, DEFAULT_DATA_VECTOR, offsets, OFFSETS_FIELD, OFFSETS_VECTOR_NAME, vector
allocator, field, INITIAL_VALUE_ALLOCATION, MAX_ALLOCATION_SIZE
DEFAULT_REPEAT_PER_RECORD
BITS_VECTOR_NAME, MAX_BUFFER_SIZE, MAX_ROW_COUNT, MIN_ROW_COUNT, VALUES_VECTOR_NAME
Constructor and Description |
---|
RepeatedDictVector(MaterializedField field,
BufferAllocator allocator,
CallBack callback) |
RepeatedDictVector(String path,
BufferAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
void |
allocateNew()
Allocate new buffers.
|
void |
copyEntry(int toIndex,
ValueVector from,
int fromIndex) |
RepeatedDictVector.Accessor |
getAccessor()
Returns an
accessor that is used to read from this vector
instance. |
MaterializedField |
getField()
Get information about how this field is materialized.
|
RepeatedDictVector.Mutator |
getMutator()
Returns an
mutator that is used to write to this vector
instance. |
FieldReader |
getReader()
Returns a
field reader that supports reading values
from this vector. |
TransferPair |
getTransferPair(String ref,
BufferAllocator allocator) |
TransferPair |
makeTransferPair(ValueVector target)
Returns a new
transfer pair that is used to transfer underlying
buffers into the target vector. |
addOrGetVector, allocateNewSafe, clear, collectLedgers, exchange, getAllocatedSize, getBuffers, getBufferSize, getBufferSizeFor, getDataVector, getMetadataBuilder, getOffsetVector, getPayloadByteCount, getValueCapacity, iterator, load, replaceDataVector, setChildVector, setInitialCapacity, size
checkBufRefs, close, fillBitsVector, getAllocator, getField, getMetadata, getTransferPair, toNullable, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, getAllocator, getMetadata, getTransferPair, toNullable
forEach, spliterator
public static final TypeProtos.MajorType TYPE
public RepeatedDictVector(String path, BufferAllocator allocator)
public RepeatedDictVector(MaterializedField field, BufferAllocator allocator, CallBack callback)
public void allocateNew() throws OutOfMemoryException
ValueVector
OutOfMemoryException
- Thrown if no memory can be allocated.public TransferPair getTransferPair(String ref, BufferAllocator allocator)
public TransferPair makeTransferPair(ValueVector target)
ValueVector
transfer pair
that is used to transfer underlying
buffers into the target vector.public MaterializedField getField()
ValueVector
getField
in interface ValueVector
getField
in class BaseValueVector
public RepeatedDictVector.Accessor getAccessor()
ValueVector
accessor
that is used to read from this vector
instance.public RepeatedDictVector.Mutator getMutator()
ValueVector
mutator
that is used to write to this vector
instance.public FieldReader getReader()
ValueVector
field reader
that supports reading values
from this vector.public void copyEntry(int toIndex, ValueVector from, int fromIndex)
Copyright © 1970 The Apache Software Foundation. All rights reserved.