Class FilterTemplate2
java.lang.Object
org.apache.drill.exec.physical.impl.filter.FilterTemplate2
- All Implemented Interfaces:
Filterer
-
Field Summary
Fields inherited from interface org.apache.drill.exec.physical.impl.filter.Filterer
TEMPLATE_DEFINITION2, TEMPLATE_DEFINITION4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
doEval
(int inIndex, int outIndex) abstract void
doSetup
(FragmentContext context, RecordBatch incoming, RecordBatch outgoing) void
filterBatch
(int recordCount) void
setup
(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, TransferPair[] transfers) toString()
-
Constructor Details
-
FilterTemplate2
public FilterTemplate2()
-
-
Method Details
-
setup
public void setup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, TransferPair[] transfers) throws SchemaChangeException - Specified by:
setup
in interfaceFilterer
- Throws:
SchemaChangeException
-
filterBatch
- Specified by:
filterBatch
in interfaceFilterer
- 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 boolean doEval(@Named("inIndex") int inIndex, @Named("outIndex") int outIndex) throws SchemaChangeException - Throws:
SchemaChangeException
-
toString
-