Package org.apache.calcite.test
Class CalciteAssert.AddSchemaPostProcessor
- java.lang.Object
-
- org.apache.calcite.test.CalciteAssert.AddSchemaPostProcessor
-
- All Implemented Interfaces:
CalciteAssert.ConnectionPostProcessor
- Enclosing class:
- CalciteAssert
public static class CalciteAssert.AddSchemaPostProcessor extends java.lang.Object implements CalciteAssert.ConnectionPostProcessor
AddsSchema
and sets it as default.
-
-
Constructor Summary
Constructors Constructor Description AddSchemaPostProcessor(java.lang.String name, org.apache.calcite.schema.Schema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.Connection
apply(java.sql.Connection connection)
-
-
-
Method Detail
-
apply
public java.sql.Connection apply(java.sql.Connection connection) throws java.sql.SQLException
- Specified by:
apply
in interfaceCalciteAssert.ConnectionPostProcessor
- Throws:
java.sql.SQLException
-
-