Class IndirectContainerAccessor
java.lang.Object
org.apache.drill.exec.physical.impl.protocol.VectorContainerAccessor
org.apache.drill.exec.physical.impl.protocol.IndirectContainerAccessor
- All Implemented Interfaces:
BatchAccessor
Extension of the container accessor that holds an optional selection
vector, presenting the batch row count as the selection vector
count.
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.impl.protocol.VectorContainerAccessor
container -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBatch(RecordBatch batch) Add a record batch, performing schema checks and picking out a selection vector, if provided.voidrelease()introwCount()voidvoidMethods inherited from class org.apache.drill.exec.physical.impl.protocol.VectorContainerAccessor
addBatch, batchCount, container, getValueAccessorById, getValueVectorId, iterator, schema, schemaVersion, setSchema, writableBatch
-
Constructor Details
-
IndirectContainerAccessor
public IndirectContainerAccessor()
-
-
Method Details
-
addBatch
Add a record batch, performing schema checks and picking out a selection vector, if provided.- Parameters:
batch- batch of records in record batch format
-
setSelectionVector
-
setSelectionVector
-
selectionVector2
- Specified by:
selectionVector2in interfaceBatchAccessor- Overrides:
selectionVector2in classVectorContainerAccessor
-
selectionVector4
- Specified by:
selectionVector4in interfaceBatchAccessor- Overrides:
selectionVector4in classVectorContainerAccessor
-
rowCount
public int rowCount()- Specified by:
rowCountin interfaceBatchAccessor- Overrides:
rowCountin classVectorContainerAccessor
-
release
public void release()- Specified by:
releasein interfaceBatchAccessor- Overrides:
releasein classVectorContainerAccessor
-