public class RepeatedMapVector extends AbstractRepeatedMapVector
Modifier and Type | Class and Description |
---|---|
class |
RepeatedMapVector.Accessor |
protected static class |
RepeatedMapVector.MapSingleCopier |
class |
RepeatedMapVector.Mutator |
RepeatedValueVector.RepeatedAccessor, RepeatedValueVector.RepeatedMutator
Modifier and Type | Field and Description |
---|---|
static TypeProtos.MajorType |
TYPE |
emptyPopulator, offsets
allocator, callBack, field
DEFAULT_REPEAT_PER_RECORD
BITS_VECTOR_NAME, MAX_BUFFER_SIZE, MAX_ROW_COUNT, MIN_ROW_COUNT, OFFSETS_VECTOR_NAME, VALUES_VECTOR_NAME
Constructor and Description |
---|
RepeatedMapVector(MaterializedField field,
BufferAllocator allocator,
CallBack callBack) |
RepeatedMapVector(MaterializedField field,
UInt4Vector offsets,
CallBack callBack) |
Modifier and Type | Method and Description |
---|---|
RepeatedMapVector.Accessor |
getAccessor()
Returns an
accessor that is used to read from this vector
instance. |
RepeatedMapVector.Mutator |
getMutator()
Returns an
mutator that is used to write to this vector
instance. |
RepeatedMapReaderImpl |
getReader()
Returns a
field reader that supports reading values
from this vector. |
TransferPair |
getTransferPair(BufferAllocator allocator)
Returns a
transfer pair , creating a new target vector of
the same type. |
TransferPair |
getTransferPair(String ref,
BufferAllocator allocator) |
TransferPair |
makeTransferPair(ValueVector to)
Returns a new
transfer pair that is used to transfer underlying
buffers into the target vector. |
addOrGetVector, allocateNew, allocateNewSafe, allocateOffsetsNew, clear, close, collectLedgers, copyEntry, copyFromSafe, exchange, fieldNameIterator, getAllocatedSize, getBuffers, getBufferSize, getBufferSizeFor, getDataVector, getMetadata, getOffsetVector, getPayloadByteCount, getPrimitiveVectors, getTransferPairToSingleMap, getValueCapacity, load, setInitialCapacity, toNullable
addOrGet, getChild, getChildByOrdinal, getChildren, getChildVectorWithOrdinal, iterator, putChild, putVector, size
allocateNew, getAllocator, getChild, getChildFieldNames, getField, supportsDirectRead, typeify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allocateNew, getAllocator, getField
forEach, iterator, spliterator
size
public static final TypeProtos.MajorType TYPE
public RepeatedMapVector(MaterializedField field, BufferAllocator allocator, CallBack callBack)
public RepeatedMapVector(MaterializedField field, UInt4Vector offsets, CallBack callBack)
public RepeatedMapReaderImpl getReader()
ValueVector
field reader
that supports reading values
from this vector.public TransferPair getTransferPair(BufferAllocator allocator)
ValueVector
transfer pair
, creating a new target vector of
the same type.public TransferPair makeTransferPair(ValueVector to)
ValueVector
transfer pair
that is used to transfer underlying
buffers into the target vector.public TransferPair getTransferPair(String ref, BufferAllocator allocator)
public RepeatedMapVector.Accessor getAccessor()
ValueVector
accessor
that is used to read from this vector
instance.getAccessor
in interface RepeatedValueVector
getAccessor
in interface ValueVector
getAccessor
in class AbstractRepeatedMapVector
public RepeatedMapVector.Mutator getMutator()
ValueVector
mutator
that is used to write to this vector
instance.Copyright © 1970 The Apache Software Foundation. All rights reserved.