METHOD_0 ( ) { final org . apache . calcite . tools . IDENT_0 builder = org . apache . calcite . tools . IDENT_0 . create ( org . apache . calcite . test . IDENT_1 . config ( ) . build ( ) ) . METHOD_1 ( STRING_0 ) ; final org . apache . calcite . IDENT_2 . type . IDENT_3 IDENT_4 = builder . METHOD_2 ( ) ; final org . apache . calcite . IDENT_2 . type . IDENT_5 IDENT_6 = IDENT_4 . METHOD_3 ( IDENT_7 . IDENT_8 ) ; org . apache . calcite . IDENT_9 . IDENT_10 pattern = builder . METHOD_4 ( builder . METHOD_5 ( STRING_1 ) , builder . METHOD_6 ( builder . METHOD_5 ( STRING_2 2 ) , builder . METHOD_5 ( 1 ) , builder . METHOD_5 ( ( - 1 ) ) , builder . METHOD_5 ( false ) ) , builder . METHOD_6 ( builder . METHOD_5 ( STRING_2 9 ) , builder . METHOD_5 ( 1 ) , builder . METHOD_5 ( ( - 1 ) ) , builder . METHOD_5 ( false ) ) ) ; ImmutableMap . Builder < java . lang . String , org . apache . calcite . IDENT_9 . IDENT_10 > IDENT_11 = new com . google . common . collect . ImmutableMap . Builder < > ( ) ; org . apache . calcite . IDENT_9 . IDENT_10 IDENT_12 = builder . call ( IDENT_13 . IDENT_14 , builder . call ( IDENT_13 . IDENT_15 , builder . METHOD_7 ( STRING_2 2 , IDENT_6 , 3 ) , builder . METHOD_5 ( 0 ) ) , builder . call ( IDENT_13 . IDENT_15 , builder . METHOD_7 ( STRING_2 2 , IDENT_6 , 3 ) , builder . METHOD_5 ( 1 ) ) ) ; IDENT_11 . put ( STRING_2 2 , IDENT_12 ) ; org . apache . calcite . IDENT_9 . IDENT_10 IDENT_16 = builder . call ( IDENT_13 . IDENT_17 , builder . call ( IDENT_13 . IDENT_15 , builder . METHOD_7 ( STRING_2 9 , IDENT_6 , 3 ) , builder . METHOD_5 ( 0 ) ) , builder . call ( IDENT_13 . IDENT_15 , builder . METHOD_7 ( STRING_2 9 , IDENT_6 , 3 ) , builder . METHOD_5 ( 1 ) ) ) ; IDENT_11 . put ( STRING_2 9 , IDENT_16 ) ; com . google . common . collect . ImmutableList . Builder < org . apache . calcite . IDENT_9 . IDENT_10 > IDENT_18 = new com . google . common . collect . ImmutableList . Builder < > ( ) ; IDENT_18 . add ( builder . METHOD_8 ( builder . METHOD_7 ( STRING_1 , IDENT_6 , 3 ) , STRING_3 ) ) ; IDENT_18 . add ( builder . METHOD_8 ( builder . call ( IDENT_13 . IDENT_19 , builder . METHOD_7 ( STRING_2 2 , IDENT_6 , 3 ) , builder . METHOD_5 ( 0 ) ) , STRING_4 ) ) ; org . apache . calcite . IDENT_9 . IDENT_10 IDENT_20 = builder . METHOD_9 ( ) . METHOD_10 ( IDENT_21 . IDENT_22 . IDENT_23 ) ; com . google . common . collect . ImmutableList . Builder < org . apache . calcite . IDENT_9 . IDENT_10 > IDENT_24 = new com . google . common . collect . ImmutableList . Builder < > ( ) ; IDENT_24 . add ( builder . field ( STRING_2 1 ) ) ; com . google . common . collect . ImmutableList . Builder < org . apache . calcite . IDENT_9 . IDENT_10 > IDENT_25 = new com . google . common . collect . ImmutableList . Builder < > ( ) ; IDENT_25 . add ( builder . field ( STRING_5 ) ) ; org . apache . calcite . IDENT_9 . IDENT_10 IDENT_26 = builder . METHOD_5 ( STRING_2 7 ) ; final com . google . common . collect . ImmutableMap < java . lang . String , java . util . IDENT_27 < java . lang . String > > IDENT_28 = com . google . common . collect . ImmutableMap . of ( ) ; final org . apache . calcite . IDENT_2 . IDENT_29 root = builder . match ( pattern , false , false , IDENT_11 . build ( ) , IDENT_18 . build ( ) , IDENT_20 , IDENT_28 , false , IDENT_24 . build ( ) , IDENT_25 . build ( ) , IDENT_26 ) . build ( ) ; final java . lang . String expected = STRING_2 8 + ( ( ( ( ( ( ( ( ( STRING_6 + STRING_7 ) + STRING_8 ) + STRING_2 6 ) + STRING_2 3 ) + STRING_2 4 ) + STRING_2 ) + STRING_2 5 ) + STRING_2 0 ) + STRING_9 ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( java . lang . String ) { return org . apache . calcite . test . Matchers . METHOD_12 ( org . hamcrest . core . Is . is ( value ) , ( input ) -> { return org . apache . calcite . util . IDENT_30 . METHOD_13 ( org . apache . calcite . plan . IDENT_31 . toString ( input ) ) ; } ) ; }
org . junit . Assert . assertThat ( root , org . apache . calcite . test . Matchers . METHOD_11 ( expected ) )