public abstract class CalciteFactoryWrapper
extends org.apache.calcite.jdbc.CalciteFactory
CalciteFactory
.
This is a non-functional class to delegate to the underlying CalciteFactory
. The
purpose is to hide the delegation logic from the implementation (JdbcFactory
).
Modifier and Type | Field and Description |
---|---|
protected org.apache.calcite.jdbc.CalciteFactory |
factory |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.avatica.AvaticaConnection |
newConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
org.apache.calcite.avatica.AvaticaFactory avaticaFactory,
java.lang.String url,
java.util.Properties info,
org.apache.calcite.jdbc.CalciteSchema rootSchema,
org.apache.calcite.adapter.java.JavaTypeFactory typeFactory) |
org.apache.calcite.avatica.AvaticaSpecificDatabaseMetaData |
newDatabaseMetaData(org.apache.calcite.avatica.AvaticaConnection connection) |
org.apache.calcite.avatica.AvaticaPreparedStatement |
newPreparedStatement(org.apache.calcite.avatica.AvaticaConnection connection,
org.apache.calcite.avatica.Meta.StatementHandle h,
org.apache.calcite.avatica.Meta.Signature signature,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
org.apache.calcite.avatica.AvaticaResultSet |
newResultSet(org.apache.calcite.avatica.AvaticaStatement statement,
org.apache.calcite.avatica.QueryState state,
org.apache.calcite.avatica.Meta.Signature signature,
java.util.TimeZone timeZone,
org.apache.calcite.avatica.Meta.Frame firstFrame) |
java.sql.ResultSetMetaData |
newResultSetMetaData(org.apache.calcite.avatica.AvaticaStatement statement,
org.apache.calcite.avatica.Meta.Signature signature) |
org.apache.calcite.avatica.AvaticaStatement |
newStatement(org.apache.calcite.avatica.AvaticaConnection connection,
org.apache.calcite.avatica.Meta.StatementHandle h,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
public org.apache.calcite.avatica.AvaticaConnection newConnection(org.apache.calcite.avatica.UnregisteredDriver driver, org.apache.calcite.avatica.AvaticaFactory avaticaFactory, java.lang.String url, java.util.Properties info, org.apache.calcite.jdbc.CalciteSchema rootSchema, org.apache.calcite.adapter.java.JavaTypeFactory typeFactory)
newConnection
in class org.apache.calcite.jdbc.CalciteFactory
public org.apache.calcite.avatica.AvaticaStatement newStatement(org.apache.calcite.avatica.AvaticaConnection connection, org.apache.calcite.avatica.Meta.StatementHandle h, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
java.sql.SQLException
public org.apache.calcite.avatica.AvaticaPreparedStatement newPreparedStatement(org.apache.calcite.avatica.AvaticaConnection connection, org.apache.calcite.avatica.Meta.StatementHandle h, org.apache.calcite.avatica.Meta.Signature signature, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
java.sql.SQLException
public org.apache.calcite.avatica.AvaticaResultSet newResultSet(org.apache.calcite.avatica.AvaticaStatement statement, org.apache.calcite.avatica.QueryState state, org.apache.calcite.avatica.Meta.Signature signature, java.util.TimeZone timeZone, org.apache.calcite.avatica.Meta.Frame firstFrame) throws java.sql.SQLException
java.sql.SQLException
public org.apache.calcite.avatica.AvaticaSpecificDatabaseMetaData newDatabaseMetaData(org.apache.calcite.avatica.AvaticaConnection connection)
public java.sql.ResultSetMetaData newResultSetMetaData(org.apache.calcite.avatica.AvaticaStatement statement, org.apache.calcite.avatica.Meta.Signature signature) throws java.sql.SQLException
java.sql.SQLException