| 接口 | 说明 |
|---|---|
| CalciteAssert.ConnectionPostProcessor |
Connection post-processor.
|
| CalciteAssert.PreparedStatementConsumer |
We want a consumer that can throw SqlException.
|
| ConnectionFactory |
Creates JDBC connections for tests.
|
| DiffRepository.Filter |
Callback to filter strings before returning them.
|
| IntervalTest.Fixture |
Fluent interface for binding an expression to create a fixture that can
be used to validate, check AST, or check type.
|
| IntervalTest.Fixture2 |
Fluent interface to validate an expression.
|
| RexImplicationCheckerFixtures |
Fixtures for verifying
RexImplicationChecker. |
| 类 | 说明 |
|---|---|
| AbstractModifiableTable |
Abstract base class for implementations of
ModifiableTable. |
| AbstractModifiableView |
Abstract base class for implementations of
ModifiableView. |
| CalciteAssert |
Fluid DSL for testing Calcite connections and queries.
|
| CalciteAssert.AssertMetaData |
Fluent interface for building a metadata query to be tested.
|
| CalciteAssert.AssertQuery |
Fluent interface for building a query to be tested.
|
| CalciteAssert.AssertThat |
Result of calling
CalciteAssert.that(). |
| ConnectionFactories |
Utilities for
ConnectionFactory and
CalciteAssert.ConnectionPostProcessor. |
| ConnectionSpec |
Information necessary to create a JDBC connection.
|
| DiffRepository |
A collection of resources used by tests.
|
| DiffTestCase |
DiffTestCase is an abstract base for JUnit tests which produce multi-line
output to be verified by diffing against a pre-existing reference file.
|
| Fixtures |
Fluent test fixtures for typical Calcite tests (parser, validator,
sql-to-rel and rel-rules) that can easily be used in dependent projects.
|
| IntervalTest |
Test cases for intervals.
|
| Matchers |
Matchers for testing SQL queries.
|
| Matchers.IsWithin<T extends Number> |
Matcher that tests whether the numeric value is within a given difference
another value.
|
| MockDdlExecutor |
Executes the few DDL commands.
|
| MockRelOptPlanner |
MockRelOptPlanner is a mock implementation of the
RelOptPlanner
interface. |
| MockSqlOperatorTable |
Mock operator table for testing purposes.
|
| MockSqlOperatorTable.BadTableFunction |
Another bad table function: declares itself as a table function but does
not return CURSOR.
|
| MockSqlOperatorTable.CompositeFunction |
"COMPOSITE" user-defined scalar function.
|
| MockSqlOperatorTable.DedupFunction |
"DEDUP" user-defined table function.
|
| MockSqlOperatorTable.DynamicTypeFunction |
"DYNTYPE" user-defined table function.
|
| MockSqlOperatorTable.InvalidTableFunction |
Invalid user-defined table function with multiple input tables with
row semantics.
|
| MockSqlOperatorTable.MapFunction |
"MAP" user-defined function.
|
| MockSqlOperatorTable.MyAggFunc |
"MYAGGFUNC" user-defined aggregate function.
|
| MockSqlOperatorTable.MyAvgAggFunction |
"MYAGG" user-defined aggregate function.
|
| MockSqlOperatorTable.MyFunction |
"MYFUN" user-defined scalar function.
|
| MockSqlOperatorTable.NotATableFunction |
Not valid as a table function, even though it returns CURSOR, because
it does not implement
SqlTableFunction. |
| MockSqlOperatorTable.RampFunction |
"RAMP" user-defined table function.
|
| MockSqlOperatorTable.RowFunction |
"ROW_FUNC" user-defined table function whose return type is
row type with nullable and non-nullable fields.
|
| MockSqlOperatorTable.ScoreTableFunction |
"Score" user-defined table function.
|
| MockSqlOperatorTable.SimilarlityTableFunction |
Similarity performs an analysis on two data sets, which are both tables
of two columns, treated as the x and y axes of a graph.
|
| MockSqlOperatorTable.SplitFunction |
"SPLIT" user-defined function.
|
| MockSqlOperatorTable.StructuredFunction |
"STRUCTURED_FUNC" user-defined function whose return type is structured type.
|
| MockSqlOperatorTable.TopNTableFunction |
"TopN" user-defined table function.
|
| QuidemTest |
Test that runs every Quidem file as a test.
|
| QuidemTest.QuidemConnectionFactory |
Quidem connection factory for Calcite's built-in test schemas.
|
| RelMetadataFixture |
Parameters for a Metadata test.
|
| RelMetadataFixture.MetadataConfig |
A configuration that describes how metadata should be configured.
|
| RelOptFixture |
A fixture for testing planner rules.
|
| RexImplicationCheckerFixtures.Fixture |
Contains all the nourishment a test case could possibly need.
|
| SqlOperatorTest |
Contains unit tests for all operators.
|
| SqlOperatorTest.TesterImpl |
Implementation of
SqlTester based on a
JDBC connection. |
| SqlToRelFixture |
Parameters for a SQL-to-RelNode test.
|
| SqlToRelTestBase |
SqlToRelTestBase is an abstract base for tests which involve conversion from
SQL to relational algebra.
|
| SqlToRelTestBase.CustomCorrelate |
Custom implementation of Correlate for testing.
|
| SqlValidatorFixture |
A fixture for testing the SQL validator.
|
| SqlValidatorTestCase |
An abstract base class for implementing tests against
SqlValidator. |
| Unsafe |
Contains methods that call JDK methods that the
forbidden
APIs checker does not approve of.
|
| 枚举 | 说明 |
|---|---|
| CalciteAssert.Config |
Connection configuration.
|
| CalciteAssert.DatabaseInstance |
Information necessary to create a JDBC connection.
|
| CalciteAssert.SchemaSpec |
Specification for common test schemas.
|
Copyright © 2012-2023 Apache Software Foundation. All Rights Reserved.