Class ImplCreator
java.lang.Object
org.apache.drill.exec.physical.impl.ImplCreator
Create RecordBatch tree (PhysicalOperator implementations) for a given
PhysicalOperator tree.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RootExec
getExec
(ExecutorFragmentContext context, FragmentRoot root) Create and return fragment RootExec for given FragmentRoot.getRecordBatch
(PhysicalOperator op, ExecutorFragmentContext context) Create a RecordBatch and its children for given PhysicalOperator
-
Method Details
-
getExec
public static RootExec getExec(ExecutorFragmentContext context, FragmentRoot root) throws ExecutionSetupException Create and return fragment RootExec for given FragmentRoot. RootExec has one or more RecordBatches as children (which may contain child RecordBatches and so on).- Parameters:
context
- FragmentContext.root
- FragmentRoot.- Returns:
- RootExec of fragment.
- Throws:
ExecutionSetupException
-
getRecordBatch
public RecordBatch getRecordBatch(PhysicalOperator op, ExecutorFragmentContext context) throws ExecutionSetupException Create a RecordBatch and its children for given PhysicalOperator- Throws:
ExecutionSetupException
-