public abstract class AbstractDbGroupScan extends AbstractGroupScan implements DbGroupScan
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
ALL_COLUMNS
Constructor and Description |
---|
AbstractDbGroupScan(AbstractDbGroupScan that) |
AbstractDbGroupScan(String userName) |
Modifier and Type | Method and Description |
---|---|
PluginCost |
getPluginCostModel()
Get the format plugin cost model.
|
PartitionFunction |
getRangePartitionFunction(List<FieldReference> refList)
Get a partition function instance for range based partitioning
|
DbGroupScan |
getRestrictedScan(List<SchemaPath> columns)
If this DbGroupScan supports restricted scan, create a restricted scan from this DbGroupScan.
|
String |
getRowKeyName() |
SchemaPath |
getRowKeyPath() |
IndexCollection |
getSecondaryIndexCollection(org.apache.calcite.rel.RelNode scanrel)
Get the index collection associated with this table if any
|
abstract StoragePluginConfig |
getStorageConfig() |
abstract AbstractStoragePlugin |
getStoragePlugin() |
boolean |
isRestrictedScan()
Whether this DbGroupScan is itself a restricted scan
|
boolean |
supportsRestrictedScan()
Whether this DbGroupScan supports creating a restricted (skip) scan
|
boolean |
supportsSecondaryIndex() |
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, usedMetastore
accept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumns, getIndexHint, getRowCount, getStatistics, isFilterPushedDown, isIndexScan, setCostFactor, setRowCount
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, usedMetastore
accept, getCost, getInitialAllocation, getMaxAllocation, getNewWithChildren, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
accept
forEach, iterator, spliterator
getDistributionAffinity, getOperatorAffinity
public AbstractDbGroupScan(String userName)
public AbstractDbGroupScan(AbstractDbGroupScan that)
public abstract AbstractStoragePlugin getStoragePlugin()
public abstract StoragePluginConfig getStorageConfig()
public boolean supportsSecondaryIndex()
supportsSecondaryIndex
in interface DbGroupScan
public IndexCollection getSecondaryIndexCollection(org.apache.calcite.rel.RelNode scanrel)
DbGroupScan
getSecondaryIndexCollection
in interface DbGroupScan
public boolean supportsRestrictedScan()
DbGroupScan
supportsRestrictedScan
in interface DbGroupScan
public boolean isRestrictedScan()
DbGroupScan
isRestrictedScan
in interface DbGroupScan
public DbGroupScan getRestrictedScan(List<SchemaPath> columns)
DbGroupScan
getRestrictedScan
in interface DbGroupScan
columns
- list of column pathspublic String getRowKeyName()
getRowKeyName
in interface DbGroupScan
public SchemaPath getRowKeyPath()
getRowKeyPath
in interface DbGroupScan
public PartitionFunction getRangePartitionFunction(List<FieldReference> refList)
DbGroupScan
getRangePartitionFunction
in interface DbGroupScan
refList
- a list of FieldReference exprs that are participating in the range partitioningpublic PluginCost getPluginCostModel()
DbGroupScan
getPluginCostModel
in interface DbGroupScan
Copyright © 1970 The Apache Software Foundation. All rights reserved.