Class AbstractDbGroupScan
java.lang.Object
org.apache.drill.exec.physical.base.AbstractBase
org.apache.drill.exec.physical.base.AbstractGroupScan
org.apache.drill.exec.physical.base.AbstractDbGroupScan
- All Implemented Interfaces:
Iterable<PhysicalOperator>,GraphValue<PhysicalOperator>,DbGroupScan,FragmentLeaf,GroupScan,HasAffinity,Leaf,PhysicalOperator,Scan
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userNameFields inherited from interface org.apache.drill.exec.physical.base.GroupScan
ALL_COLUMNS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the format plugin cost model.getRangePartitionFunction(List<FieldReference> refList) Get a partition function instance for range based partitioninggetRestrictedScan(List<SchemaPath> columns) If this DbGroupScan supports restricted scan, create a restricted scan from this DbGroupScan.getSecondaryIndexCollection(org.apache.calcite.rel.RelNode scanrel) Get the index collection associated with this table if anyabstract StoragePluginConfigabstract AbstractStoragePluginbooleanWhether this DbGroupScan is itself a restricted scanbooleanWhether this DbGroupScan supports creating a restricted (skip) scanbooleanMethods inherited from class org.apache.drill.exec.physical.base.AbstractGroupScan
accept, applyFilter, applyLimit, canPushdownProjects, clone, enforceWidth, getAnalyzeInfoProvider, getColumns, getColumnValueCount, getDistributionAffinity, getFiles, getFilter, getInitialAllocation, getMaxAllocation, getMetadataProvider, getMinParallelizationWidth, getOperatorAffinity, getOperatorType, getPartitionColumns, getScanStats, getScanStats, getScanStats, getSelectionRoot, getTableMetadata, hasFiles, isDistributed, isExecutable, iterator, supportsFilterPushDown, supportsLimitPushdown, supportsPartitionFilterPushdown, usedMetastoreMethods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, 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.exec.physical.base.DbGroupScan
getColumns, getIndexHint, getRowCount, getStatistics, isFilterPushedDown, isIndexScan, setCostFactor, setRowCountMethods inherited from interface org.apache.drill.common.graph.GraphValue
acceptMethods inherited from interface org.apache.drill.exec.physical.base.GroupScan
applyAssignments, applyFilter, applyLimit, canPushdownProjects, clone, enforceWidth, getAnalyzeInfoProvider, getColumnValueCount, getDigest, getFiles, getFilter, getMaxParallelizationWidth, getMetadataProvider, getMinParallelizationWidth, getPartitionColumns, getScanStats, getScanStats, getSelectionRoot, getSpecificScan, getTableMetadata, hasFiles, isDistributed, supportsFilterPushDown, supportsLimitPushdown, supportsPartitionFilterPushdown, usedMetastoreMethods inherited from interface org.apache.drill.exec.physical.base.HasAffinity
getDistributionAffinity, getOperatorAffinityMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.apache.drill.exec.physical.base.PhysicalOperator
accept, getCost, getInitialAllocation, getMaxAllocation, getNewWithChildren, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
-
Constructor Details
-
AbstractDbGroupScan
-
AbstractDbGroupScan
-
-
Method Details
-
getStoragePlugin
-
getStorageConfig
-
supportsSecondaryIndex
public boolean supportsSecondaryIndex()- Specified by:
supportsSecondaryIndexin interfaceDbGroupScan
-
getSecondaryIndexCollection
Description copied from interface:DbGroupScanGet the index collection associated with this table if any- Specified by:
getSecondaryIndexCollectionin interfaceDbGroupScan
-
supportsRestrictedScan
public boolean supportsRestrictedScan()Description copied from interface:DbGroupScanWhether this DbGroupScan supports creating a restricted (skip) scan- Specified by:
supportsRestrictedScanin interfaceDbGroupScan- Returns:
- true if restricted scan is supported, false otherwise
-
isRestrictedScan
public boolean isRestrictedScan()Description copied from interface:DbGroupScanWhether this DbGroupScan is itself a restricted scan- Specified by:
isRestrictedScanin interfaceDbGroupScan- Returns:
- true if this DbGroupScan is itself a restricted scan, false otherwise
-
getRestrictedScan
Description copied from interface:DbGroupScanIf this DbGroupScan supports restricted scan, create a restricted scan from this DbGroupScan.- Specified by:
getRestrictedScanin interfaceDbGroupScan- Parameters:
columns- list of column paths- Returns:
- a non-null DbGroupScan if restricted scan is supported, null otherwise
-
getRowKeyName
- Specified by:
getRowKeyNamein interfaceDbGroupScan
-
getRowKeyPath
- Specified by:
getRowKeyPathin interfaceDbGroupScan
-
getRangePartitionFunction
Description copied from interface:DbGroupScanGet a partition function instance for range based partitioning- Specified by:
getRangePartitionFunctionin interfaceDbGroupScan- Parameters:
refList- a list of FieldReference exprs that are participating in the range partitioning- Returns:
- instance of a partitioning function
-
getPluginCostModel
Description copied from interface:DbGroupScanGet the format plugin cost model. The cost model will provide cost factors such as seq. scan cost, random scan cost, block size- Specified by:
getPluginCostModelin interfaceDbGroupScan- Returns:
- a PluginCost cost model
-