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, getSelectionRoot, getSpecificScan, getTableMetadata, hasFiles, isDistributed, supportsFilterPushDown, supportsLimitPushdown, supportsPartitionFilterPushdown, usedMetastoreaccept, getCost, getInitialAllocation, getMaxAllocation, getNewWithChildren, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdacceptforEach, iterator, spliteratorgetDistributionAffinity, getOperatorAffinityint getRowKeyOrdinal()
void setRowCount(org.apache.calcite.rex.RexNode condition,
double count,
double capRowCount)
RexNode condition
Mainly used for debuggingcondition - count - capRowCount - double getRowCount(org.apache.calcite.rex.RexNode condition,
org.apache.calcite.rel.RelNode scanRel)
RexNode conditioncondition, - filter to applyvoid setStatistics(Statistics statistics)
IndexGroupScanstatistics - which is necessary for index planningvoid setColumns(List<SchemaPath> columns)
List<SchemaPath> getColumns()
GroupScangetColumns in interface GroupScanvoid setParallelizationWidth(int width)
Copyright © 2021 The Apache Software Foundation. All rights reserved.