Package org.apache.drill.exec.store.sys
Class SystemTableBatchCreator
java.lang.Object
org.apache.drill.exec.store.sys.SystemTableBatchCreator
- All Implemented Interfaces:
BatchCreator<SystemTableScan>
This class creates batches based on the the type of
SystemTable.
The distributed tables and the local tables use different record readers.
Local system tables do not require a full-fledged query because these records are present on every Drillbit.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBatch(ExecutorFragmentContext context, SystemTableScan scan, List<RecordBatch> children)
-
Constructor Details
-
SystemTableBatchCreator
public SystemTableBatchCreator()
-
-
Method Details
-
getBatch
public ScanBatch getBatch(ExecutorFragmentContext context, SystemTableScan scan, List<RecordBatch> children) throws ExecutionSetupException - Specified by:
getBatchin interfaceBatchCreator<SystemTableScan>- Throws:
ExecutionSetupException
-