Class RelWriterTest


  • public class RelWriterTest
    extends java.lang.Object
    Unit test for RelJson.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String XX  
      static java.lang.String XX2  
      static java.lang.String XXNULL  
    • Constructor Summary

      Constructors 
      Constructor Description
      RelWriterTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private org.apache.calcite.plan.RelOptSchema getSchema​(org.apache.calcite.rel.RelNode rel)
      Returns the schema of a TableScan in this plan, or null if there are no scans.
      void testAggregateWithAlias()  
      void testAggregateWithoutAlias()  
      void testPlusOperator()  
      void testReader()
      Unit test for RelJsonReader.
      void testReader2()
      Unit test for RelJsonReader.
      void testReaderNull()
      Unit test for RelJsonReader.
      void testTrim()  
      void testWriter()
      Unit test for RelJsonWriter on a simple tree of relational expressions, consisting of a table and a project including window expressions.
      void testWriter2()
      Unit test for RelJsonWriter on a simple tree of relational expressions, consisting of a table, a filter and an aggregate node.
      • Methods inherited from class java.lang.Object

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

      • RelWriterTest

        public RelWriterTest()
    • Method Detail

      • testWriter

        public void testWriter()
        Unit test for RelJsonWriter on a simple tree of relational expressions, consisting of a table and a project including window expressions.
      • testWriter2

        public void testWriter2()
        Unit test for RelJsonWriter on a simple tree of relational expressions, consisting of a table, a filter and an aggregate node.
      • testReader

        public void testReader()
        Unit test for RelJsonReader.
      • testReader2

        public void testReader2()
        Unit test for RelJsonReader.
      • testReaderNull

        public void testReaderNull()
        Unit test for RelJsonReader.
      • testTrim

        public void testTrim()
      • testPlusOperator

        public void testPlusOperator()
      • testAggregateWithAlias

        public void testAggregateWithAlias()
      • testAggregateWithoutAlias

        public void testAggregateWithoutAlias()
      • getSchema

        private org.apache.calcite.plan.RelOptSchema getSchema​(org.apache.calcite.rel.RelNode rel)
        Returns the schema of a TableScan in this plan, or null if there are no scans.