public interface RepeatedValueVector extends ValueVector, ContainerVectorLike
A repeated vector contains values that may either be flat or nested. A value consists of zero or more cells(inner values). Current design maintains data and offsets vectors. Each cell is stored in the data vector. Repeated vector uses the offset vector to determine the sequence of cells pertaining to an individual value.
Modifier and Type | Interface and Description |
---|---|
static interface |
RepeatedValueVector.RepeatedAccessor |
static interface |
RepeatedValueVector.RepeatedMutator |
ValueVector.Accessor, ValueVector.Mutator
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_REPEAT_PER_RECORD |
BITS_VECTOR_NAME, MAX_BUFFER_SIZE, MAX_ROW_COUNT, MIN_ROW_COUNT, OFFSETS_VECTOR_NAME, VALUES_VECTOR_NAME
Modifier and Type | Method and Description |
---|---|
RepeatedValueVector.RepeatedAccessor |
getAccessor()
Returns an
accessor that is used to read from this vector
instance. |
ValueVector |
getDataVector() |
RepeatedValueVector.RepeatedMutator |
getMutator()
Returns an
mutator that is used to write to this vector
instance. |
UInt4Vector |
getOffsetVector() |
allocateNew, allocateNewSafe, clear, close, collectLedgers, copyEntry, exchange, getAllocatedSize, getAllocator, getBuffers, getBufferSize, getBufferSizeFor, getField, getMetadata, getPayloadByteCount, getReader, getTransferPair, getTransferPair, getValueCapacity, load, makeTransferPair, setInitialCapacity, toNullable
forEach, iterator, spliterator
addOrGetVector, size
static final int DEFAULT_REPEAT_PER_RECORD
UInt4Vector getOffsetVector()
ValueVector getDataVector()
RepeatedValueVector.RepeatedAccessor getAccessor()
ValueVector
accessor
that is used to read from this vector
instance.getAccessor
in interface ValueVector
RepeatedValueVector.RepeatedMutator getMutator()
ValueVector
mutator
that is used to write to this vector
instance.getMutator
in interface ValueVector
Copyright © 1970 The Apache Software Foundation. All rights reserved.