Package org.apache.calcite.sql.test
Class SqlValidatorTester
java.lang.Object
org.apache.calcite.sql.test.AbstractSqlTester
org.apache.calcite.sql.test.SqlValidatorTester
- All Implemented Interfaces:
- AutoCloseable,- SqlTester
Implementation of 
SqlTester that can parse and validate SQL,
 and convert it to relational algebra.
 This tester is therefore suitable for many general-purpose tests, including SQL parsing, validation, and SQL-to-Rel conversion.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.calcite.sql.test.SqlTesterSqlTester.ParameterChecker, SqlTester.ResultChecker, SqlTester.TypeChecker, SqlTester.ValidatedNodeConsumer, SqlTester.ValidatedNodeFunction<R>, SqlTester.VmName
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final SqlValidatorTesterDefault instance of this tester.
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.calcite.sql.test.AbstractSqlTesterassertConvertsTo, assertExceptionIsThrown, buildQuery, buildQuery2, buildQueryAgg, check, checkAgg, checkAggFails, checkColumnType, checkFails, checkParseEx, checkQueryFails, checkWinAgg, close, convertSqlToRel2, createFieldTrimmer, forEachQuery, getColumnType, getResultType, parseExpression, parseQuery, setFor, trimRelNode, validateAndApply, validateAndThenMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.calcite.sql.test.SqlTestercheck, checkFails, convertSqlToRel
- 
Field Details- 
DEFAULTDefault instance of this tester.
 
- 
- 
Constructor Details- 
SqlValidatorTesterpublic SqlValidatorTester()
 
-