Class DruidSubScan
java.lang.Object
org.apache.drill.exec.physical.base.AbstractBase
org.apache.drill.exec.store.druid.DruidSubScan
- All Implemented Interfaces:
Iterable<PhysicalOperator>
,GraphValue<PhysicalOperator>
,FragmentLeaf
,Leaf
,PhysicalOperator
,Scan
,SubScan
A Class containing information to read a single druid data source.
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
-
Constructor Summary
ConstructorDescriptionDruidSubScan
(String userName, DruidStoragePlugin plugin, List<DruidSubScan.DruidSubScanSpec> dataSourceInfoList, List<SchemaPath> columns, int maxRecordsToRead) DruidSubScan
(StoragePluginRegistry registry, String userName, StoragePluginConfig config, LinkedList<DruidSubScan.DruidSubScanSpec> datasourceScanSpecList, List<SchemaPath> columns, int maxRecordsToRead) -
Method Summary
Modifier and TypeMethodDescription<T,
X, E extends Throwable>
Taccept
(PhysicalVisitor<T, X, E> physicalVisitor, X value) Provides capability to build a set of output based on traversing a query graph tree.int
getNewWithChildren
(List<PhysicalOperator> children) Regenerate with this node with a new set of children.boolean
Describes whether or not a particular physical operator can actually be executed.iterator()
Methods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.common.graph.GraphValue
accept
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.apache.drill.exec.physical.base.PhysicalOperator
getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
-
Field Details
-
OPERATOR_TYPE
- See Also:
-
-
Constructor Details
-
DruidSubScan
public DruidSubScan(StoragePluginRegistry registry, String userName, StoragePluginConfig config, LinkedList<DruidSubScan.DruidSubScanSpec> datasourceScanSpecList, List<SchemaPath> columns, int maxRecordsToRead) -
DruidSubScan
public DruidSubScan(String userName, DruidStoragePlugin plugin, List<DruidSubScan.DruidSubScanSpec> dataSourceInfoList, List<SchemaPath> columns, int maxRecordsToRead)
-
-
Method Details
-
accept
public <T,X, T acceptE extends Throwable> (PhysicalVisitor<T, X, throws EE> physicalVisitor, X value) Description copied from interface:PhysicalOperator
Provides capability to build a set of output based on traversing a query graph tree.- Specified by:
accept
in interfacePhysicalOperator
- Throws:
E extends Throwable
-
getScanSpec
-
getColumns
-
getMaxRecordsToRead
public int getMaxRecordsToRead() -
isExecutable
public boolean isExecutable()Description copied from interface:PhysicalOperator
Describes whether or not a particular physical operator can actually be executed. Most physical operators can be executed. However, Exchange nodes cannot be executed. In order to be executed, they must be converted into their Exec sub components.- Specified by:
isExecutable
in interfacePhysicalOperator
- Overrides:
isExecutable
in classAbstractBase
-
getStorageEngine
-
getNewWithChildren
Description copied from interface:PhysicalOperator
Regenerate with this node with a new set of children. This is used in the case of materialization or optimization.- Specified by:
getNewWithChildren
in interfacePhysicalOperator
-
getOperatorType
- Specified by:
getOperatorType
in interfacePhysicalOperator
-
iterator
- Specified by:
iterator
in interfaceIterable<PhysicalOperator>
-