Class ProjectBatchBuilder
java.lang.Object
org.apache.drill.exec.physical.impl.project.ProjectBatchBuilder
- All Implemented Interfaces:
org.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
public class ProjectBatchBuilder
extends Object
implements org.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
Implements callbacks to build the physical vectors for the project
record batch.
-
Constructor Summary
ConstructorDescriptionProjectBatchBuilder
(ProjectRecordBatch projectBatch, VectorContainer container, SchemaChangeCallBack callBack, RecordBatch incomingBatch) -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
addDirectTransfer
(FieldReference ref, ValueVectorReadExpression vectorRead) addEvalVector
(String outputName, LogicalExpression expr) addOutputVector
(String name, LogicalExpression expr) void
addTransferField
(String name, ValueVector vvIn)
-
Constructor Details
-
ProjectBatchBuilder
public ProjectBatchBuilder(ProjectRecordBatch projectBatch, VectorContainer container, SchemaChangeCallBack callBack, RecordBatch incomingBatch)
-
-
Method Details
-
transfers
-
addTransferField
- Specified by:
addTransferField
in interfaceorg.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
-
addDirectTransfer
- Specified by:
addDirectTransfer
in interfaceorg.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
-
addOutputVector
- Specified by:
addOutputVector
in interfaceorg.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
-
addComplexField
- Specified by:
addComplexField
in interfaceorg.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
-
addEvalVector
- Specified by:
addEvalVector
in interfaceorg.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
-