Class PigRelOpTest.Fluent

  • Enclosing class:
    PigRelOpTest

    class PigRelOpTest.Fluent
    extends java.lang.Object
    Contains a Pig script and has various methods to translate and run that script and check the results. Each method returns this, so that method calls for the same script can be chained.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String script  
    • Constructor Summary

      Constructors 
      Constructor Description
      Fluent​(java.lang.String script)  
    • Field Detail

      • script

        private final java.lang.String script
    • Constructor Detail

      • Fluent

        Fluent​(java.lang.String script)
    • Method Detail

      • assertRel

        private PigRelOpTest.Fluent assertRel​(java.lang.String pigAlias,
                                              boolean optimized,
                                              org.hamcrest.Matcher<org.apache.calcite.rel.RelNode> relMatcher)
      • assertRel

        private PigRelOpTest.Fluent assertRel​(org.hamcrest.Matcher<org.apache.calcite.rel.RelNode> relMatcher)
      • assertOptimizedRel

        private PigRelOpTest.Fluent assertOptimizedRel​(org.hamcrest.Matcher<org.apache.calcite.rel.RelNode> relMatcher)
      • assertSql

        private PigRelOpTest.Fluent assertSql​(org.hamcrest.Matcher<java.lang.String> sqlMatcher)
      • assertResult

        private PigRelOpTest.Fluent assertResult​(org.hamcrest.Matcher<java.lang.String> resultMatcher)