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 Details

  • Method Details

    • transfers

      public List<TransferPair> transfers()
    • addTransferField

      public void addTransferField(String name, ValueVector vvIn)
      Specified by:
      addTransferField in interface org.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
    • addDirectTransfer

      public int addDirectTransfer(FieldReference ref, ValueVectorReadExpression vectorRead)
      Specified by:
      addDirectTransfer in interface org.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
    • addOutputVector

      public ValueVectorWriteExpression addOutputVector(String name, LogicalExpression expr)
      Specified by:
      addOutputVector in interface org.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
    • addComplexField

      public void addComplexField(FieldReference ref)
      Specified by:
      addComplexField in interface org.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder
    • addEvalVector

      public ValueVectorWriteExpression addEvalVector(String outputName, LogicalExpression expr)
      Specified by:
      addEvalVector in interface org.apache.drill.exec.physical.impl.project.ProjectionMaterializer.BatchBuilder