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
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
doEval
(int inIndex, int outIndex) abstract void
doSetup
(FragmentContext context, RecordBatch incoming, RecordBatch outgoing) final int
projectRecords
(RecordBatch incomingRecordBatch, int startIndex, int recordCount, int firstOutputIndex) final void
setup
(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:
projectRecords
in interfaceProjector
-
setup
public final void setup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, List<TransferPair> transfers) throws SchemaChangeException - Specified by:
setup
in 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
-