Package org.apache.arrow.vector.complex
Interface RepeatedValueVector
- All Superinterfaces:
AutoCloseable
,Closeable
,DensityAwareVector
,Iterable<ValueVector>
,ValueVector
- All Known Implementing Classes:
BaseRepeatedValueVector
,BaseRepeatedValueViewVector
,LargeListVector
,ListVector
,ListViewVector
,MapVector
An abstraction representing repeated value vectors.
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.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the data vector.Deprecated.This API will be removed, as the current implementations no longer hold inner offset vectors.Methods inherited from interface org.apache.arrow.vector.DensityAwareVector
setInitialCapacity
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.apache.arrow.vector.ValueVector
accept, allocateNew, allocateNewSafe, clear, close, copyFrom, copyFromSafe, getAllocator, getBuffers, getBufferSize, getBufferSizeFor, getDataBuffer, getField, getMinorType, getName, getNullCount, getObject, getOffsetBuffer, getReader, getTransferPair, getTransferPair, getTransferPair, getTransferPair, getTransferPair, getValidityBuffer, getValueCapacity, getValueCount, hashCode, hashCode, isNull, makeTransferPair, reAlloc, reset, setInitialCapacity, setValueCount, validate, validateFull
-
Field Details
-
DEFAULT_REPEAT_PER_RECORD
static final int DEFAULT_REPEAT_PER_RECORD- See Also:
-
-
Method Details
-
getOffsetVector
Deprecated.This API will be removed, as the current implementations no longer hold inner offset vectors.Get the offset vector.- Returns:
- the underlying offset vector or null if none exists.
-
getDataVector
ValueVector getDataVector()Get the data vector.- Returns:
- the underlying data vector or null if none exists.
-