Class RepeatedMapVector
java.lang.Object
org.apache.drill.exec.vector.complex.AbstractContainerVector
org.apache.drill.exec.vector.complex.AbstractMapVector
org.apache.drill.exec.vector.complex.AbstractRepeatedMapVector
org.apache.drill.exec.vector.complex.RepeatedMapVector
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<ValueVector>
,ContainerVectorLike
,RepeatedValueVector
,ValueVector
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
protected static class
class
Nested classes/interfaces inherited from interface org.apache.drill.exec.vector.complex.RepeatedValueVector
RepeatedValueVector.RepeatedAccessor, RepeatedValueVector.RepeatedMutator
-
Field Summary
Fields inherited from class org.apache.drill.exec.vector.complex.AbstractRepeatedMapVector
emptyPopulator, offsets
Fields inherited from class org.apache.drill.exec.vector.complex.AbstractContainerVector
allocator, callBack, field
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, OFFSETS_VECTOR_NAME, VALUES_VECTOR_NAME
-
Constructor Summary
ConstructorDescriptionRepeatedMapVector
(MaterializedField field, BufferAllocator allocator, CallBack callBack) RepeatedMapVector
(MaterializedField field, UInt4Vector offsets, CallBack callBack) -
Method Summary
Modifier and TypeMethodDescriptionReturns 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) getTransferPair
(BufferAllocator allocator) Returns atransfer pair
, creating a new target vector of the same type.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.AbstractRepeatedMapVector
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
Methods inherited from class org.apache.drill.exec.vector.complex.AbstractMapVector
addOrGet, getChild, getChildByOrdinal, getChildren, getChildVectorWithOrdinal, iterator, putChild, putVector, size
Methods inherited from class org.apache.drill.exec.vector.complex.AbstractContainerVector
allocateNew, getAllocator, getChild, getChildFieldNames, getField, supportsDirectRead, typeify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.vector.complex.ContainerVectorLike
size
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.apache.drill.exec.vector.ValueVector
allocateNew, getAllocator, getField
-
Field Details
-
TYPE
-
-
Constructor Details
-
RepeatedMapVector
-
RepeatedMapVector
-
-
Method Details
-
getReader
Description copied from interface:ValueVector
Returns afield reader
that supports reading values from this vector. -
getTransferPair
Description copied from interface:ValueVector
Returns atransfer pair
, creating a new target vector of the same type. -
makeTransferPair
Description copied from interface:ValueVector
Returns a newtransfer pair
that is used to transfer underlying buffers into the target vector. -
getTransferPair
-
getAccessor
Description copied from interface:ValueVector
Returns anaccessor
that is used to read from this vector instance.- Specified by:
getAccessor
in interfaceRepeatedValueVector
- Specified by:
getAccessor
in interfaceValueVector
- Specified by:
getAccessor
in classAbstractRepeatedMapVector
-
getMutator
Description copied from interface:ValueVector
Returns anmutator
that is used to write to this vector instance.
-