Class RepeatedListVector.DelegateRepeatedVector
java.lang.Object
org.apache.drill.exec.vector.BaseValueVector
org.apache.drill.exec.vector.complex.BaseRepeatedValueVector
org.apache.drill.exec.vector.complex.RepeatedListVector.DelegateRepeatedVector
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<ValueVector>
,ContainerVectorLike
,RepeatedValueVector
,ValueVector
- Enclosing class:
- RepeatedListVector
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
class
class
Nested classes/interfaces inherited from class org.apache.drill.exec.vector.complex.BaseRepeatedValueVector
BaseRepeatedValueVector.BaseRepeatedAccessor, BaseRepeatedValueVector.BaseRepeatedMutator, BaseRepeatedValueVector.BaseRepeatedValueVectorTransferPair<T extends BaseRepeatedValueVector>
Nested classes/interfaces inherited from class org.apache.drill.exec.vector.BaseValueVector
BaseValueVector.BaseAccessor, BaseValueVector.BaseMutator
Nested classes/interfaces inherited from interface org.apache.drill.exec.vector.complex.RepeatedValueVector
RepeatedValueVector.RepeatedAccessor, RepeatedValueVector.RepeatedMutator
Nested classes/interfaces inherited from interface org.apache.drill.exec.vector.ValueVector
ValueVector.Accessor, ValueVector.Mutator
-
Field Summary
Fields inherited from class org.apache.drill.exec.vector.complex.BaseRepeatedValueVector
DATA_VECTOR_NAME, DEFAULT_DATA_VECTOR, offsets, OFFSETS_FIELD, OFFSETS_VECTOR_NAME, vector
Fields inherited from class org.apache.drill.exec.vector.BaseValueVector
allocator, field, INITIAL_VALUE_ALLOCATION, MAX_ALLOCATION_SIZE
Fields inherited from interface org.apache.drill.exec.vector.complex.RepeatedValueVector
DEFAULT_REPEAT_PER_RECORD
Fields inherited from interface org.apache.drill.exec.vector.ValueVector
BITS_VECTOR_NAME, MAX_BUFFER_SIZE, MAX_ROW_COUNT, MIN_ROW_COUNT, VALUES_VECTOR_NAME
-
Constructor Summary
ConstructorDescriptionDelegateRepeatedVector
(String path, BufferAllocator allocator) DelegateRepeatedVector
(MaterializedField field, BufferAllocator allocator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Allocate new buffers.void
copyEntry
(int toIndex, ValueVector from, int fromIndex) void
copyFromSafe
(int fromIndex, int thisIndex, RepeatedListVector.DelegateRepeatedVector from) Returns anaccessor
that is used to read from this vector instance.Returns anmutator
that is used to write to this vector instance.Returns afield reader
that supports reading values from this vector.getTransferPair
(String ref, BufferAllocator allocator) makeTransferPair
(ValueVector target) Returns a newtransfer pair
that is used to transfer underlying buffers into the target vector.Methods inherited from class org.apache.drill.exec.vector.complex.BaseRepeatedValueVector
addOrGetVector, allocateNewSafe, clear, collectLedgers, exchange, getAllocatedSize, getBuffers, getBufferSize, getBufferSizeFor, getDataVector, getMetadataBuilder, getOffsetVector, getPayloadByteCount, getValueCapacity, iterator, load, replaceDataVector, setChildVector, setInitialCapacity, size
Methods inherited from class org.apache.drill.exec.vector.BaseValueVector
checkBufRefs, close, fillBitsVector, getAllocator, getField, getField, getMetadata, getTransferPair, toNullable, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.apache.drill.exec.vector.ValueVector
close, getAllocator, getField, getMetadata, getTransferPair, toNullable
-
Constructor Details
-
DelegateRepeatedVector
-
DelegateRepeatedVector
-
-
Method Details
-
allocateNew
Description copied from interface:ValueVector
Allocate new buffers. ValueVector implements logic to determine how much to allocate.- Throws:
OutOfMemoryException
- Thrown if no memory can be allocated.
-
getTransferPair
-
makeTransferPair
Description copied from interface:ValueVector
Returns a newtransfer pair
that is used to transfer underlying buffers into the target vector. -
getAccessor
Description copied from interface:ValueVector
Returns anaccessor
that is used to read from this vector instance. -
getMutator
Description copied from interface:ValueVector
Returns anmutator
that is used to write to this vector instance. -
getReader
Description copied from interface:ValueVector
Returns afield reader
that supports reading values from this vector. -
copyFromSafe
public void copyFromSafe(int fromIndex, int thisIndex, RepeatedListVector.DelegateRepeatedVector from) -
copyEntry
-