Class AbstractIndexStatistics
java.lang.Object
org.apache.drill.exec.planner.index.AbstractIndexStatistics
- All Implemented Interfaces:
IndexStatistics
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.apache.calcite.rex.RexNode
protected final org.apache.calcite.rel.RelNode
protected static final org.slf4j.Logger
protected final DrillTable
-
Constructor Summary
ConstructorDescriptionAbstractIndexStatistics
(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.RelDistribution
Returns the distribution of the data in query result table.abstract double
Returns 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:IndexStatistics
Returns the approximate number of rows in the table.- Specified by:
getRowCount
in interfaceIndexStatistics
-
getCollations
Description copied from interface:IndexStatistics
Returns the collections of columns on which this table is sorted.- Specified by:
getCollations
in interfaceIndexStatistics
-
getDistribution
public org.apache.calcite.rel.RelDistribution getDistribution()Description copied from interface:IndexStatistics
Returns the distribution of the data in query result table.- Specified by:
getDistribution
in interfaceIndexStatistics
-