Class ToLogicalConverterTest


  • public class ToLogicalConverterTest
    extends java.lang.Object
    Tests for ToLogicalConverter.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.apache.calcite.sql2rel.SqlToRelConverter.Config DEFAULT_REL_CONFIG  
      private static com.google.common.collect.ImmutableSet<org.apache.calcite.plan.RelOptRule> RULE_SET  
    • Field Detail

      • RULE_SET

        private static final com.google.common.collect.ImmutableSet<org.apache.calcite.plan.RelOptRule> RULE_SET
      • DEFAULT_REL_CONFIG

        private static final org.apache.calcite.sql2rel.SqlToRelConverter.Config DEFAULT_REL_CONFIG
    • Constructor Detail

      • ToLogicalConverterTest

        public ToLogicalConverterTest()
    • Method Detail

      • frameworkConfig

        private static org.apache.calcite.tools.FrameworkConfig frameworkConfig()
      • builder

        private static org.apache.calcite.tools.RelBuilder builder()
      • rel

        private static org.apache.calcite.rel.RelNode rel​(java.lang.String sql)
      • toPhysical

        private static org.apache.calcite.rel.RelNode toPhysical​(org.apache.calcite.rel.RelNode rel)
      • toLogical

        private static org.apache.calcite.rel.RelNode toLogical​(org.apache.calcite.rel.RelNode rel)
      • verify

        private void verify​(org.apache.calcite.rel.RelNode rel,
                            java.lang.String expectedPhysical,
                            java.lang.String expectedLogical)
      • testValues

        public void testValues()
      • testScan

        public void testScan()
      • testProject

        public void testProject()
      • testFilter

        public void testFilter()
      • testSort

        public void testSort()
      • testLimit

        public void testLimit()
      • testSortLimit

        public void testSortLimit()
      • testAggregate

        public void testAggregate()
      • testJoin

        public void testJoin()
      • testCorrelation

        public void testCorrelation()
      • testUnion

        public void testUnion()
      • testUncollect

        public void testUncollect()
      • testWindow

        public void testWindow()