public class KylinJdbcFactory extends Object implements org.apache.calcite.avatica.AvaticaFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
KylinJdbcFactory.Version40 |
static class |
KylinJdbcFactory.Version41 |
| Modifier | Constructor and Description |
|---|---|
protected |
KylinJdbcFactory(int major,
int minor)
Creates a JDBC factory with given major/minor version number.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getJdbcMajorVersion() |
int |
getJdbcMinorVersion() |
org.apache.calcite.avatica.AvaticaConnection |
newConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
org.apache.calcite.avatica.AvaticaFactory factory,
String url,
Properties info) |
org.apache.calcite.avatica.AvaticaDatabaseMetaData |
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) |
IRemoteClient |
newRemoteClient(KylinConnection conn) |
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,
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.avatica.AvaticaStatement |
newStatement(org.apache.calcite.avatica.AvaticaConnection connection,
org.apache.calcite.avatica.Meta.StatementHandle h,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
protected KylinJdbcFactory(int major,
int minor)
public int getJdbcMajorVersion()
getJdbcMajorVersion in interface org.apache.calcite.avatica.AvaticaFactorypublic int getJdbcMinorVersion()
getJdbcMinorVersion in interface org.apache.calcite.avatica.AvaticaFactorypublic org.apache.calcite.avatica.AvaticaConnection newConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
org.apache.calcite.avatica.AvaticaFactory factory,
String url,
Properties info)
throws SQLException
newConnection in interface org.apache.calcite.avatica.AvaticaFactorySQLExceptionpublic org.apache.calcite.avatica.AvaticaDatabaseMetaData newDatabaseMetaData(org.apache.calcite.avatica.AvaticaConnection connection)
newDatabaseMetaData in interface org.apache.calcite.avatica.AvaticaFactorypublic 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 SQLException
newStatement in interface org.apache.calcite.avatica.AvaticaFactorySQLExceptionpublic 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
newPreparedStatement in interface org.apache.calcite.avatica.AvaticaFactorySQLExceptionpublic 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,
TimeZone timeZone,
org.apache.calcite.avatica.Meta.Frame firstFrame)
throws SQLException
newResultSet in interface org.apache.calcite.avatica.AvaticaFactorySQLExceptionpublic ResultSetMetaData newResultSetMetaData(org.apache.calcite.avatica.AvaticaStatement statement, org.apache.calcite.avatica.Meta.Signature signature) throws SQLException
newResultSetMetaData in interface org.apache.calcite.avatica.AvaticaFactorySQLExceptionpublic IRemoteClient newRemoteClient(KylinConnection conn)
Copyright © 2014–2017 Apache Software Foundation. All rights reserved.