public class KylinConnection
extends org.apache.calcite.avatica.AvaticaConnection
driver, factory, handle, helper, id, info, meta, metaData, properties, statementCount, statementMapTRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Modifier | Constructor and Description |
|---|---|
protected |
KylinConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
KylinJdbcFactory factory,
String url,
Properties info) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.calcite.avatica.AvaticaStatement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
boolean |
getAutoCommit() |
IRemoteClient |
getRemoteClient() |
boolean |
isReadOnly() |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
abort, clearWarnings, commit, config, createArrayOf, createBlob, createClob, createNClob, createResultSet, createSQLXML, createStatement, createStatement, createStruct, createTrojan, executeQueryInternal, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTimeZone, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isValid, isWrapperFor, lookupStatement, nativeSQL, prepareAndExecuteInternal, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap, unwrapprotected KylinConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
KylinJdbcFactory factory,
String url,
Properties info)
throws SQLException
SQLExceptionpublic boolean getAutoCommit()
throws SQLException
getAutoCommit in interface ConnectiongetAutoCommit in class org.apache.calcite.avatica.AvaticaConnectionSQLExceptionpublic boolean isReadOnly()
throws SQLException
isReadOnly in interface ConnectionisReadOnly in class org.apache.calcite.avatica.AvaticaConnectionSQLExceptionpublic org.apache.calcite.avatica.AvaticaStatement createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
throws SQLException
createStatement in interface ConnectioncreateStatement in class org.apache.calcite.avatica.AvaticaConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareStatement in interface ConnectionprepareStatement in class org.apache.calcite.avatica.AvaticaConnectionSQLExceptionpublic IRemoteClient getRemoteClient()
public void close()
throws SQLException
close in interface AutoCloseableclose in interface Connectionclose in class org.apache.calcite.avatica.AvaticaConnectionSQLExceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.