Class MongoSubScan
java.lang.Object
org.apache.drill.exec.physical.base.AbstractBase
org.apache.drill.exec.store.mongo.MongoSubScan
- All Implemented Interfaces:
Iterable<PhysicalOperator>,GraphValue<PhysicalOperator>,FragmentLeaf,Leaf,PhysicalOperator,Scan,SubScan
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsFields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName -
Constructor Summary
ConstructorsConstructorDescriptionMongoSubScan(String userName, MongoStoragePlugin storagePlugin, MongoStoragePluginConfig storagePluginConfig, List<BaseMongoSubScanSpec> chunkScanSpecList, List<SchemaPath> columns) MongoSubScan(StoragePluginRegistry registry, String userName, StoragePluginConfig mongoPluginConfig, LinkedList<BaseMongoSubScanSpec> chunkScanSpecList, List<SchemaPath> columns) -
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.getNewWithChildren(List<PhysicalOperator> children) Regenerate with this node with a new set of children.iterator()Methods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.drill.common.graph.GraphValue
acceptMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.apache.drill.exec.physical.base.PhysicalOperator
getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
-
Field Details
-
OPERATOR_TYPE
- See Also:
-
-
Constructor Details
-
MongoSubScan
public MongoSubScan(StoragePluginRegistry registry, String userName, StoragePluginConfig mongoPluginConfig, LinkedList<BaseMongoSubScanSpec> chunkScanSpecList, List<SchemaPath> columns) -
MongoSubScan
public MongoSubScan(String userName, MongoStoragePlugin storagePlugin, MongoStoragePluginConfig storagePluginConfig, List<BaseMongoSubScanSpec> chunkScanSpecList, List<SchemaPath> columns)
-
-
Method Details
-
accept
public <T,X, T acceptE extends Throwable> (PhysicalVisitor<T, X, throws EE> physicalVisitor, X value) Description copied from interface:PhysicalOperatorProvides capability to build a set of output based on traversing a query graph tree.- Specified by:
acceptin interfacePhysicalOperator- Parameters:
physicalVisitor-- Throws:
E
-
getMongoStoragePlugin
-
getColumns
-
getChunkScanSpecList
-
getNewWithChildren
Description copied from interface:PhysicalOperatorRegenerate with this node with a new set of children. This is used in the case of materialization or optimization.- Specified by:
getNewWithChildrenin interfacePhysicalOperator- Parameters:
children-
-
getOperatorType
- Specified by:
getOperatorTypein interfacePhysicalOperator
-
iterator
- Specified by:
iteratorin interfaceIterable<PhysicalOperator>
-