public class KylinConnection
extends org.apache.calcite.avatica.AvaticaConnection
driver, factory, handle, helper, id, info, maxRetriesPerExecute, meta, metaData, NUM_EXECUTE_RETRIES_DEFAULT, NUM_EXECUTE_RETRIES_KEY, PLAN_COLUMN_NAME, properties, ROWCOUNT_COLUMN_NAME, 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, executeBatchUpdateInternal, executeQueryInternal, getCancelFlag, getCatalog, getClientInfo, getClientInfo, getHoldability, getKerberosConnection, getMetaData, getNetworkTimeout, getSchema, getService, getTimeZone, getTransactionIsolation, getTypeMap, getWarnings, invokeWithRetries, isClosed, isValid, isWrapperFor, lookupStatement, nativeSQL, openConnection, prepareAndExecuteInternal, prepareAndUpdateBatch, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setKerberosConnection, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setService, setTransactionIsolation, setTypeMap, unwrapprotected KylinConnection(org.apache.calcite.avatica.UnregisteredDriver driver,
KylinJdbcFactory factory,
String url,
Properties info)
throws SQLException
SQLExceptionpublic 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 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 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–2017 Apache Software Foundation. All rights reserved.