Search in sources :

Example 1 with MockSqlOperatorTable

use of org.apache.calcite.test.MockSqlOperatorTable in project calcite by apache.

the class DefaultSqlTestFactory method createOperatorTable.

public SqlOperatorTable createOperatorTable(SqlTestFactory factory) {
    final SqlOperatorTable opTab0 = (SqlOperatorTable) factory.get("operatorTable");
    MockSqlOperatorTable opTab = new MockSqlOperatorTable(opTab0);
    MockSqlOperatorTable.addRamp(opTab);
    return opTab;
}
Also used : MockSqlOperatorTable(org.apache.calcite.test.MockSqlOperatorTable) SqlOperatorTable(org.apache.calcite.sql.SqlOperatorTable) MockSqlOperatorTable(org.apache.calcite.test.MockSqlOperatorTable)

Aggregations

SqlOperatorTable (org.apache.calcite.sql.SqlOperatorTable)1 MockSqlOperatorTable (org.apache.calcite.test.MockSqlOperatorTable)1