Class UnionAllerTemplate
java.lang.Object
org.apache.drill.exec.physical.impl.union.UnionAllerTemplate
- All Implemented Interfaces:
UnionAller
-
Field Summary
Fields inherited from interface org.apache.drill.exec.physical.impl.union.UnionAller
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 void
setup
(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, List<TransferPair> transfers) final int
unionRecords
(int startIndex, int recordCount, int firstOutputIndex)
-
Constructor Details
-
UnionAllerTemplate
public UnionAllerTemplate()
-
-
Method Details
-
unionRecords
public final int unionRecords(int startIndex, int recordCount, int firstOutputIndex) - Specified by:
unionRecords
in interfaceUnionAller
-
setup
public final void setup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, List<TransferPair> transfers) throws SchemaChangeException - Specified by:
setup
in interfaceUnionAller
- 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
-