Class AbstractIndexStatistics
java.lang.Object
org.apache.drill.exec.planner.index.AbstractIndexStatistics
- All Implemented Interfaces:
IndexStatistics
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.calcite.rex.RexNodeprotected final org.apache.calcite.rel.RelNodeprotected static final org.slf4j.Loggerprotected final DrillTable -
Constructor Summary
ConstructorsConstructorDescriptionAbstractIndexStatistics(org.apache.calcite.rel.RelNode input, org.apache.calcite.rex.RexNode condition, DrillTable table) -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.calcite.rel.RelCollation> Returns the collections of columns on which this table is sorted.org.apache.calcite.rel.RelDistributionReturns the distribution of the data in query result table.abstract doubleReturns the approximate number of rows in the table.
-
Field Details
-
logger
protected static final org.slf4j.Logger logger -
input
protected final org.apache.calcite.rel.RelNode input -
condition
protected final org.apache.calcite.rex.RexNode condition -
table
-
-
Constructor Details
-
AbstractIndexStatistics
public AbstractIndexStatistics(org.apache.calcite.rel.RelNode input, org.apache.calcite.rex.RexNode condition, DrillTable table)
-
-
Method Details
-
getRowCount
public abstract double getRowCount()Description copied from interface:IndexStatisticsReturns the approximate number of rows in the table.- Specified by:
getRowCountin interfaceIndexStatistics
-
getCollations
Description copied from interface:IndexStatisticsReturns the collections of columns on which this table is sorted.- Specified by:
getCollationsin interfaceIndexStatistics
-
getDistribution
public org.apache.calcite.rel.RelDistribution getDistribution()Description copied from interface:IndexStatisticsReturns the distribution of the data in query result table.- Specified by:
getDistributionin interfaceIndexStatistics
-