Class TpcdsLatticeSuggesterTest.Tester

  • Enclosing class:
    TpcdsLatticeSuggesterTest

    private static class TpcdsLatticeSuggesterTest.Tester
    extends java.lang.Object
    Test helper.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.calcite.tools.FrameworkConfig config  
      (package private) org.apache.calcite.materialize.LatticeSuggester suggester  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      (package private) Tester()  
      private Tester​(org.apache.calcite.tools.FrameworkConfig config)  
    • Field Detail

      • suggester

        final org.apache.calcite.materialize.LatticeSuggester suggester
      • config

        private final org.apache.calcite.tools.FrameworkConfig config
    • Constructor Detail

      • Tester

        Tester()
      • Tester

        private Tester​(org.apache.calcite.tools.FrameworkConfig config)
    • Method Detail

      • addQuery

        java.util.List<org.apache.calcite.materialize.Lattice> addQuery​(java.lang.String q)
                                                                 throws org.apache.calcite.sql.parser.SqlParseException,
                                                                        org.apache.calcite.tools.ValidationException,
                                                                        org.apache.calcite.tools.RelConversionException
        Throws:
        org.apache.calcite.sql.parser.SqlParseException
        org.apache.calcite.tools.ValidationException
        org.apache.calcite.tools.RelConversionException
      • node

        org.apache.calcite.materialize.LatticeRootNode node​(java.lang.String q)
                                                     throws org.apache.calcite.sql.parser.SqlParseException,
                                                            org.apache.calcite.tools.ValidationException,
                                                            org.apache.calcite.tools.RelConversionException
        Parses a query returns its graph.
        Throws:
        org.apache.calcite.sql.parser.SqlParseException
        org.apache.calcite.tools.ValidationException
        org.apache.calcite.tools.RelConversionException