Class SqlStatisticProviderTest


  • public class SqlStatisticProviderTest
    extends java.lang.Object
    Unit test for SqlStatisticProvider and implementations of it.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void check​(org.apache.calcite.materialize.SqlStatisticProvider provider)  
      private java.util.List<java.lang.Integer> columns​(org.apache.calcite.plan.RelOptTable table, java.lang.String... columnNames)  
      static org.apache.calcite.tools.Frameworks.ConfigBuilder config()
      Creates a config based on the "foodmart" schema.
      void testMapProvider()  
      void testQueryProvider()  
      void testQueryProviderWithCache()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SqlStatisticProviderTest

        public SqlStatisticProviderTest()
    • Method Detail

      • config

        public static org.apache.calcite.tools.Frameworks.ConfigBuilder config()
        Creates a config based on the "foodmart" schema.
      • testMapProvider

        public void testMapProvider()
      • testQueryProvider

        public void testQueryProvider()
      • testQueryProviderWithCache

        public void testQueryProviderWithCache()
      • check

        private void check​(org.apache.calcite.materialize.SqlStatisticProvider provider)
      • columns

        private java.util.List<java.lang.Integer> columns​(org.apache.calcite.plan.RelOptTable table,
                                                          java.lang.String... columnNames)