Package org.apache.calcite.sql
Class SqlUtil.DatabaseMetaDataInvocationHandler
- java.lang.Object
-
- org.apache.calcite.util.BarfingInvocationHandler
-
- org.apache.calcite.sql.SqlUtil.DatabaseMetaDataInvocationHandler
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
- Enclosing class:
- SqlUtil
public static class SqlUtil.DatabaseMetaDataInvocationHandler extends BarfingInvocationHandler
Handles particularDatabaseMetaData
methods; invocations of other methods will fall through to the base class,BarfingInvocationHandler
, which will throw an error.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
databaseProductName
private java.lang.String
identifierQuoteString
-
Constructor Summary
Constructors Constructor Description DatabaseMetaDataInvocationHandler(java.lang.String databaseProductName, java.lang.String identifierQuoteString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDatabaseProductName()
java.lang.String
getIdentifierQuoteString()
-
Methods inherited from class org.apache.calcite.util.BarfingInvocationHandler
invoke, noMethod
-
-