Class RepeatedDictVector
java.lang.Object
org.apache.drill.exec.vector.BaseValueVector
org.apache.drill.exec.vector.complex.BaseRepeatedValueVector
org.apache.drill.exec.vector.complex.RepeatedDictVector
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<ValueVector>,ContainerVectorLike,RepeatedValueVector,ValueVector
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassNested 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.BaseMutatorNested classes/interfaces inherited from interface org.apache.drill.exec.vector.complex.RepeatedValueVector
RepeatedValueVector.RepeatedAccessor, RepeatedValueVector.RepeatedMutator -
Field Summary
FieldsFields inherited from class org.apache.drill.exec.vector.complex.BaseRepeatedValueVector
DATA_VECTOR_NAME, DEFAULT_DATA_VECTOR, offsets, OFFSETS_FIELD, OFFSETS_VECTOR_NAME, vectorFields inherited from class org.apache.drill.exec.vector.BaseValueVector
allocator, field, INITIAL_VALUE_ALLOCATION, MAX_ALLOCATION_SIZEFields inherited from interface org.apache.drill.exec.vector.complex.RepeatedValueVector
DEFAULT_REPEAT_PER_RECORDFields 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
ConstructorsConstructorDescriptionRepeatedDictVector(String path, BufferAllocator allocator) RepeatedDictVector(MaterializedField field, BufferAllocator allocator, CallBack callback) -
Method Summary
Modifier and TypeMethodDescriptionvoidAllocate new buffers.voidcopyEntry(int toIndex, ValueVector from, int fromIndex) Returns anaccessorthat is used to read from this vector instance.getField()Get information about how this field is materialized.Returns anmutatorthat is used to write to this vector instance.Returns afield readerthat supports reading values from this vector.getTransferPair(String ref, BufferAllocator allocator) makeTransferPair(ValueVector target) Returns a newtransfer pairthat 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, sizeMethods inherited from class org.apache.drill.exec.vector.BaseValueVector
checkBufRefs, close, fillBitsVector, getAllocator, getField, getMetadata, getTransferPair, toNullable, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.apache.drill.exec.vector.ValueVector
close, getAllocator, getMetadata, getTransferPair, toNullable
-
Field Details
-
TYPE
-
-
Constructor Details
-
RepeatedDictVector
-
RepeatedDictVector
-
-
Method Details
-
allocateNew
Description copied from interface:ValueVectorAllocate 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:ValueVectorReturns a newtransfer pairthat is used to transfer underlying buffers into the target vector. -
getField
Description copied from interface:ValueVectorGet information about how this field is materialized.- Specified by:
getFieldin interfaceValueVector- Overrides:
getFieldin classBaseValueVector
-
getAccessor
Description copied from interface:ValueVectorReturns anaccessorthat is used to read from this vector instance. -
getMutator
Description copied from interface:ValueVectorReturns anmutatorthat is used to write to this vector instance. -
getReader
Description copied from interface:ValueVectorReturns afield readerthat supports reading values from this vector. -
copyEntry
-