public class CalciteJdbc41Factory extends CalciteFactory
AvaticaFactory
for Calcite and JDBC 4.1 (corresponds to JDK 1.7).major, minor| Modifier | Constructor and Description |
|---|---|
|
CalciteJdbc41Factory()
Creates a factory for JDBC version 4.1.
|
protected |
CalciteJdbc41Factory(int major,
int minor)
Creates a JDBC factory with given major/minor version number.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.jdbc.CalciteJdbc41Factory.CalciteJdbc41Connection |
newConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
org.apache.calcite.avatica.AvaticaFactory factory,
String url,
Properties info,
@Nullable CalciteSchema rootSchema,
@Nullable JavaTypeFactory typeFactory)
Creates a connection with a root schema.
|
org.apache.calcite.jdbc.CalciteJdbc41Factory.CalciteJdbc41DatabaseMetaData |
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) |
CalciteResultSet |
newResultSet(org.apache.calcite.avatica.AvaticaStatement statement,
org.apache.calcite.avatica.QueryState state,
org.apache.calcite.avatica.Meta.Signature signature,
TimeZone timeZone,
org.apache.calcite.avatica.Meta.Frame firstFrame) |
ResultSetMetaData |
newResultSetMetaData(org.apache.calcite.avatica.AvaticaStatement statement,
org.apache.calcite.avatica.Meta.Signature signature) |
org.apache.calcite.jdbc.CalciteJdbc41Factory.CalciteJdbc41Statement |
newStatement(org.apache.calcite.avatica.AvaticaConnection connection,
org.apache.calcite.avatica.Meta.StatementHandle h,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
getJdbcMajorVersion, getJdbcMinorVersion, newConnectionpublic CalciteJdbc41Factory()
protected CalciteJdbc41Factory(int major,
int minor)
public org.apache.calcite.jdbc.CalciteJdbc41Factory.CalciteJdbc41Connection newConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
org.apache.calcite.avatica.AvaticaFactory factory,
String url,
Properties info,
@Nullable CalciteSchema rootSchema,
@Nullable JavaTypeFactory typeFactory)
CalciteFactorynewConnection in class CalciteFactorypublic org.apache.calcite.jdbc.CalciteJdbc41Factory.CalciteJdbc41DatabaseMetaData newDatabaseMetaData(org.apache.calcite.avatica.AvaticaConnection connection)
public org.apache.calcite.jdbc.CalciteJdbc41Factory.CalciteJdbc41Statement 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.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 SQLException
SQLExceptionpublic CalciteResultSet newResultSet(org.apache.calcite.avatica.AvaticaStatement statement, org.apache.calcite.avatica.QueryState state, org.apache.calcite.avatica.Meta.Signature signature, TimeZone timeZone, org.apache.calcite.avatica.Meta.Frame firstFrame) throws SQLException
SQLExceptionpublic ResultSetMetaData newResultSetMetaData(org.apache.calcite.avatica.AvaticaStatement statement, org.apache.calcite.avatica.Meta.Signature signature)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.