public interface IndexGroupScan extends GroupScan
ALL_COLUMNS
Modifier and Type | Method and Description |
---|---|
List<SchemaPath> |
getColumns()
Returns a list of columns scanned by this group scan
|
double |
getRowCount(org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.RelNode scanRel)
Get the row count after applying the
RexNode condition |
int |
getRowKeyOrdinal()
Get the column ordinal of the rowkey column from the output schema of the IndexGroupScan
|
void |
setColumns(List<SchemaPath> columns) |
void |
setParallelizationWidth(int width) |
void |
setRowCount(org.apache.calcite.rex.RexNode condition,
double count,
double capRowCount)
Set the artificial row count after applying the
RexNode condition
Mainly used for debugging |
void |
setStatistics(Statistics statistics)
Set the statistics for
IndexGroupScan |
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
int getRowKeyOrdinal()
void setRowCount(org.apache.calcite.rex.RexNode condition, double count, double capRowCount)
RexNode
condition
Mainly used for debuggingcondition
- filter to applycount
- 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 relvoid setStatistics(Statistics statistics)
IndexGroupScan
statistics
- which is necessary for index planningvoid setColumns(List<SchemaPath> columns)
List<SchemaPath> getColumns()
GroupScan
getColumns
in interface GroupScan
void setParallelizationWidth(int width)
Copyright © 1970 The Apache Software Foundation. All rights reserved.