Package org.apache.calcite.test
Class Fixtures
java.lang.Object
org.apache.calcite.test.Fixtures
Fluent test fixtures for typical Calcite tests (parser, validator,
sql-to-rel and rel-rules) that can easily be used in dependent projects.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RelMetadataFixture
Creates a fixture for metadata tests.static SqlOperatorFixture
forOperators
(boolean execute) Creates a fixture for operator tests.static SqlParserFixture
Creates a fixture for parser tests.static RelOptFixture
forRules()
Creates a fixture for rule tests.static SqlToRelFixture
Creates a fixture for SQL-to-Rel tests.static SqlValidatorFixture
Creates a fixture for validation tests.
-
Method Details
-
forParser
Creates a fixture for parser tests. -
forValidator
Creates a fixture for validation tests. -
forSqlToRel
Creates a fixture for SQL-to-Rel tests. -
forRules
Creates a fixture for rule tests. -
forOperators
Creates a fixture for operator tests. -
forMetadata
Creates a fixture for metadata tests.
-