Class CachingSqlStatisticProvider

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private com.google.common.cache.Cache<java.util.List,​java.lang.Object> cache  
      private SqlStatisticProvider provider  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isForeignKey​(RelOptTable fromTable, java.util.List<java.lang.Integer> fromColumns, RelOptTable toTable, java.util.List<java.lang.Integer> toColumns)
      Returns whether a join is a foreign key; that is, whether every row in the referencing table is matched by at least one row in the referenced table.
      boolean isKey​(RelOptTable table, java.util.List<java.lang.Integer> columns)
      Returns whether a collection of columns is a unique (or primary) key.
      double tableCardinality​(RelOptTable table)
      Returns an estimate of the number of rows in table.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait