Class ProjectorTemplate
java.lang.Object
org.apache.drill.exec.physical.impl.project.ProjectorTemplate
- All Implemented Interfaces:
Projector
-
Field Summary
Fields inherited from interface org.apache.drill.exec.physical.impl.project.Projector
TEMPLATE_DEFINITION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddoEval(int inIndex, int outIndex) abstract voiddoSetup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing) final intprojectRecords(RecordBatch incomingRecordBatch, int startIndex, int recordCount, int firstOutputIndex) final voidsetup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, List<TransferPair> transfers) toString()
-
Constructor Details
-
ProjectorTemplate
public ProjectorTemplate()
-
-
Method Details
-
projectRecords
public final int projectRecords(RecordBatch incomingRecordBatch, int startIndex, int recordCount, int firstOutputIndex) - Specified by:
projectRecordsin interfaceProjector
-
setup
public final void setup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, List<TransferPair> transfers) throws SchemaChangeException - Specified by:
setupin interfaceProjector- Throws:
SchemaChangeException
-
doSetup
public abstract void doSetup(@Named("context") FragmentContext context, @Named("incoming") RecordBatch incoming, @Named("outgoing") RecordBatch outgoing) throws SchemaChangeException - Throws:
SchemaChangeException
-
doEval
public abstract void doEval(@Named("inIndex") int inIndex, @Named("outIndex") int outIndex) throws SchemaChangeException - Throws:
SchemaChangeException
-
toString
-