Package org.apache.calcite.sql.test
package org.apache.calcite.sql.test
Classes for testing SQL.
-
ClassDescriptionAbstract implementation of
SqlTesterthat 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.AsSqlTestFactorybut has no state, and therefore configuration is passed to each method.Creates aSqlValidatorCatalogReaderfor tests.Creates aRelOptPlannerfor tests.Creates aRelDataTypeFactoryfor tests.CreatesSqlValidatorfor tests.Utility methods.Stage of query processing.Type checker which compares types to a specified string.Implementation ofSqlTesterthat can parse and validate SQL, and convert it to relational algebra.