Package org.apache.calcite.test
Class CalciteAssert.DefaultSchemaPostProcessor
- java.lang.Object
-
- org.apache.calcite.test.CalciteAssert.DefaultSchemaPostProcessor
-
- All Implemented Interfaces:
CalciteAssert.ConnectionPostProcessor
- Enclosing class:
- CalciteAssert
public static class CalciteAssert.DefaultSchemaPostProcessor extends java.lang.Object implements CalciteAssert.ConnectionPostProcessor
Sets a default schema name.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
-
Constructor Summary
Constructors Constructor Description DefaultSchemaPostProcessor(java.lang.String name)
-
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
-
-