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()
IndexStatistics
getRowCount
in interface IndexStatistics
public List<org.apache.calcite.rel.RelCollation> getCollations()
IndexStatistics
getCollations
in interface IndexStatistics
public org.apache.calcite.rel.RelDistribution getDistribution()
IndexStatistics
getDistribution
in interface IndexStatistics
Copyright © 1970 The Apache Software Foundation. All rights reserved.