public abstract class AbstractIndexStatistics extends Object implements IndexStatistics
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.calcite.rex.RexNode |
condition |
protected org.apache.calcite.rel.RelNode |
input |
protected static org.slf4j.Logger |
logger |
protected DrillTable |
table |
| Constructor and Description |
|---|
AbstractIndexStatistics(org.apache.calcite.rel.RelNode input,
org.apache.calcite.rex.RexNode condition,
DrillTable table) |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.calcite.rel.RelCollation> |
getCollations()
Returns the collections of columns on which this table is sorted.
|
org.apache.calcite.rel.RelDistribution |
getDistribution()
Returns the distribution of the data in query result table.
|
abstract double |
getRowCount()
Returns the approximate number of rows in the table.
|
protected static final org.slf4j.Logger logger
protected final org.apache.calcite.rel.RelNode input
protected final org.apache.calcite.rex.RexNode condition
protected final DrillTable table
public AbstractIndexStatistics(org.apache.calcite.rel.RelNode input,
org.apache.calcite.rex.RexNode condition,
DrillTable table)
public abstract double getRowCount()
IndexStatisticsgetRowCount in interface IndexStatisticspublic List<org.apache.calcite.rel.RelCollation> getCollations()
IndexStatisticsgetCollations in interface IndexStatisticspublic org.apache.calcite.rel.RelDistribution getDistribution()
IndexStatisticsgetDistribution in interface IndexStatisticsCopyright © 2021 The Apache Software Foundation. All rights reserved.