Package org.apache.calcite.materialize
Class LatticeSuggesterTest.Tester
- java.lang.Object
-
- org.apache.calcite.materialize.LatticeSuggesterTest.Tester
-
- Enclosing class:
- LatticeSuggesterTest
private static class LatticeSuggesterTest.Tester extends java.lang.Object
Test helper.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.util.List<org.apache.calcite.materialize.Lattice>
addQuery(java.lang.String q)
private org.apache.calcite.tools.Frameworks.ConfigBuilder
builder()
(package private) LatticeSuggesterTest.Tester
foodmart()
(package private) org.apache.calcite.materialize.LatticeRootNode
node(java.lang.String q)
Parses a query returns its graph.private LatticeSuggesterTest.Tester
schema(CalciteAssert.SchemaSpec schemaSpec)
private static org.apache.calcite.schema.SchemaPlus
schemaFrom(CalciteAssert.SchemaSpec spec)
(package private) LatticeSuggesterTest.Tester
withConfig(org.apache.calcite.tools.FrameworkConfig config)
(package private) LatticeSuggesterTest.Tester
withEvolve(boolean evolve)
-
-
-
Method Detail
-
withConfig
LatticeSuggesterTest.Tester withConfig(org.apache.calcite.tools.FrameworkConfig config)
-
foodmart
LatticeSuggesterTest.Tester foodmart()
-
schema
private LatticeSuggesterTest.Tester schema(CalciteAssert.SchemaSpec schemaSpec)
-
builder
private org.apache.calcite.tools.Frameworks.ConfigBuilder builder()
-
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
-
schemaFrom
private static org.apache.calcite.schema.SchemaPlus schemaFrom(CalciteAssert.SchemaSpec spec)
-
withEvolve
LatticeSuggesterTest.Tester withEvolve(boolean evolve)
-
-