Package org.apache.calcite.sql.test
package org.apache.calcite.sql.test
Classes for testing SQL.
-
ClassDescriptionAbstract implementation of
SqlTester
that talks to a mock catalog.Utilities forSqlTester.ResultChecker
.A fixture for testing the SQL operators.Types for cast.Name of a virtual machine that can potentially implement an operator.Callback for testing SQL queries and expressions.Parameter checker.Result checker.Type checker.Action that is called after validation.A function to apply to the result of validation.Name of a virtual machine that can potentially implement an operator.AsSqlTestFactory
but has no state, and therefore configuration is passed to each method.Creates aSqlValidatorCatalogReader
for tests.Creates aRelOptPlanner
for tests.Creates aRelDataTypeFactory
for tests.CreatesSqlValidator
for tests.Utility methods.Stage of query processing.Type checker which compares types to a specified string.Implementation ofSqlTester
that can parse and validate SQL, and convert it to relational algebra.