Class EnumerableRepeatUnionHierarchyTest

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String EMP1  
      private static java.lang.String EMP2  
      private static java.lang.String EMP3  
      private static java.lang.String EMP4  
      private static java.lang.String EMP5  
      private java.lang.String[] expected  
      private java.lang.String fromField  
      private int maxDepth  
      private int startId  
      private java.lang.String toField  
    • Constructor Summary

      Constructors 
      Constructor Description
      EnumerableRepeatUnionHierarchyTest​(int startId, boolean ascendant, int maxDepth, java.lang.String[] expected)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Iterable<java.lang.Object[]> data()  
      private java.util.function.Function<org.apache.calcite.tools.RelBuilder,​org.apache.calcite.rel.RelNode> hierarchy()  
      void testHierarchy()  
      • Methods inherited from class java.lang.Object

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

      • startId

        private final int startId
      • maxDepth

        private final int maxDepth
      • fromField

        private final java.lang.String fromField
      • toField

        private final java.lang.String toField
      • expected

        private final java.lang.String[] expected
    • Constructor Detail

      • EnumerableRepeatUnionHierarchyTest

        public EnumerableRepeatUnionHierarchyTest​(int startId,
                                                  boolean ascendant,
                                                  int maxDepth,
                                                  java.lang.String[] expected)
    • Method Detail

      • data

        public static java.lang.Iterable<java.lang.Object[]> data()
      • testHierarchy

        public void testHierarchy()
      • hierarchy

        private java.util.function.Function<org.apache.calcite.tools.RelBuilder,​org.apache.calcite.rel.RelNode> hierarchy()