public interface DbGroupScan extends GroupScan
ALL_COLUMNS
Modifier and Type | Method and Description |
---|---|
List<SchemaPath> |
getColumns()
Returns a list of columns scanned by this group scan
|
String |
getIndexHint() |
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.
|
double |
getRowCount(org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.RelNode scanRel)
Get the row count after applying the
RexNode condition |
String |
getRowKeyName() |
SchemaPath |
getRowKeyPath() |
IndexCollection |
getSecondaryIndexCollection(org.apache.calcite.rel.RelNode scan)
Get the index collection associated with this table if any
|
Statistics |
getStatistics()
Get the statistics for this
DbGroupScan |
boolean |
isFilterPushedDown() |
boolean |
isIndexScan() |
boolean |
isRestrictedScan()
Whether this DbGroupScan is itself a restricted scan
|
void |
setCostFactor(double sel) |
void |
setRowCount(org.apache.calcite.rex.RexNode condition,
double count,
double capRowCount)
Set the artificial row count after applying the
RexNode condition |
boolean |
supportsRestrictedScan()
Whether this DbGroupScan supports creating a restricted (skip) scan
|
boolean |
supportsSecondaryIndex() |
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
boolean supportsSecondaryIndex()
IndexCollection getSecondaryIndexCollection(org.apache.calcite.rel.RelNode scan)
void setRowCount(org.apache.calcite.rex.RexNode condition, double count, double capRowCount)
RexNode
conditioncondition
- row expressioncount
- right index row countcapRowCount
- row count limitdouble getRowCount(org.apache.calcite.rex.RexNode condition, org.apache.calcite.rel.RelNode scanRel)
RexNode
conditioncondition
- filter to applyscanRel
- the current scan relStatistics getStatistics()
DbGroupScan
Statistics
for this ScanList<SchemaPath> getColumns()
GroupScan
getColumns
in interface GroupScan
void setCostFactor(double sel)
boolean isIndexScan()
boolean supportsRestrictedScan()
boolean isRestrictedScan()
DbGroupScan getRestrictedScan(List<SchemaPath> columns)
columns
- list of column pathsString getRowKeyName()
String getIndexHint()
SchemaPath getRowKeyPath()
PartitionFunction getRangePartitionFunction(List<FieldReference> refList)
refList
- a list of FieldReference exprs that are participating in the range partitioningPluginCost getPluginCostModel()
boolean isFilterPushedDown()
Copyright © 1970 The Apache Software Foundation. All rights reserved.