public class CalciteJdbc41Factory extends CalciteFactory
AvaticaFactory
for Calcite and JDBC 4.1 (corresponds to JDK 1.7).Modifier and Type | Class and Description |
---|---|
private static class |
CalciteJdbc41Factory.CalciteJdbc41Connection
Implementation of connection for JDBC 4.1.
|
private static class |
CalciteJdbc41Factory.CalciteJdbc41DatabaseMetaData
Implementation of database metadata for JDBC 4.1.
|
private static class |
CalciteJdbc41Factory.CalciteJdbc41PreparedStatement
Implementation of prepared statement for JDBC 4.1.
|
private static class |
CalciteJdbc41Factory.CalciteJdbc41Statement
Implementation of statement for JDBC 4.1.
|
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 |
---|---|
CalciteJdbc41Factory.CalciteJdbc41Connection |
newConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
org.apache.calcite.avatica.AvaticaFactory factory,
java.lang.String url,
java.util.Properties info,
CalciteSchema rootSchema,
JavaTypeFactory typeFactory)
Creates a connection with a root schema.
|
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,
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) |
CalciteJdbc41Factory.CalciteJdbc41Statement |
newStatement(org.apache.calcite.avatica.AvaticaConnection connection,
org.apache.calcite.avatica.Meta.StatementHandle h,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
getJdbcMajorVersion, getJdbcMinorVersion, newConnection
public CalciteJdbc41Factory()
protected CalciteJdbc41Factory(int major, int minor)
public CalciteJdbc41Factory.CalciteJdbc41Connection newConnection(org.apache.calcite.avatica.UnregisteredDriver driver, org.apache.calcite.avatica.AvaticaFactory factory, java.lang.String url, java.util.Properties info, CalciteSchema rootSchema, JavaTypeFactory typeFactory)
CalciteFactory
newConnection
in class CalciteFactory
public CalciteJdbc41Factory.CalciteJdbc41DatabaseMetaData newDatabaseMetaData(org.apache.calcite.avatica.AvaticaConnection connection)
public 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 java.sql.SQLException
java.sql.SQLException
public CalciteResultSet 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 java.sql.ResultSetMetaData newResultSetMetaData(org.apache.calcite.avatica.AvaticaStatement statement, org.apache.calcite.avatica.Meta.Signature signature)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.