Class AbstractIndexStatistics

java.lang.Object
org.apache.drill.exec.planner.index.AbstractIndexStatistics
All Implemented Interfaces:
IndexStatistics

public abstract class AbstractIndexStatistics extends Object implements IndexStatistics
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apache.calcite.rex.RexNode
     
    protected final org.apache.calcite.rel.RelNode
     
    protected static final org.slf4j.Logger
     
    protected final DrillTable
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractIndexStatistics(org.apache.calcite.rel.RelNode input, org.apache.calcite.rex.RexNode condition, DrillTable table)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected final DrillTable 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 interface IndexStatistics
    • getCollations

      public List<org.apache.calcite.rel.RelCollation> getCollations()
      Description copied from interface: IndexStatistics
      Returns the collections of columns on which this table is sorted.
      Specified by:
      getCollations in interface IndexStatistics
    • 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 interface IndexStatistics