public class Altibase42Connection extends AltibaseConnection implements java.sql.Connection
EXPLAIN_PLAN_OFF, EXPLAIN_PLAN_ON, EXPLAIN_PLAN_ONLY, mChannel, mClientInfo, mContext, mIsClosed, mLogger, mProp, PROP_APPLICATION_NAME| Constructor and Description |
|---|
Altibase42Connection(java.util.Properties aProp,
AltibaseDataSource aDataSource) |
Altibase42Connection(java.util.Properties aProp,
AltibaseDataSource aDataSource,
AltibaseShardingConnection aMetaConn) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(java.util.concurrent.Executor aExecutor) |
java.sql.Array |
createArrayOf(java.lang.String aTypeName,
java.lang.Object[] aElements) |
java.sql.Blob |
createBlob() |
java.sql.Clob |
createClob() |
java.sql.NClob |
createNClob() |
java.sql.SQLXML |
createSQLXML() |
java.sql.Struct |
createStruct(java.lang.String aTypeName,
java.lang.Object[] aAttributes) |
java.util.Properties |
getClientInfo() |
java.lang.String |
getClientInfo(java.lang.String aName) |
int |
getNetworkTimeout() |
java.lang.String |
getSchema() |
boolean |
isValid(int aTimeout) |
boolean |
isWrapperFor(java.lang.Class<?> aIface) |
protected void |
putAppInfoToClientInfoMap(java.lang.String aValue) |
void |
setClientInfo(java.util.Properties aProperties) |
void |
setClientInfo(java.lang.String aName,
java.lang.String aValue) |
void |
setNetworkTimeout(java.util.concurrent.Executor aExecutor,
int aMilliseconds) |
void |
setSchema(java.lang.String aSchema) |
void |
setTypeMap(java.util.Map aMap) |
<T> T |
unwrap(java.lang.Class<T> aIface) |
canReUseResultSet, clearAsyncPrefetchStatement, clearStatements4STF, clearWarnings, close, commit, createStatement, createStatement, createStatement, deregisterFailoverCallback, failoverContext, forceClobBind, getAllowLobNullSelect, getAsyncPrefetchStatement, getAutoCommit, getBatchSetBytesUseLob, getCatalog, getCipherSuiteList, getDatabaseVersion, getDbTimeZone, getHoldability, getMetaConnection, getMetaData, getNodeName, getPort, getProceduresReturnFunctions, getProp, getServer, getServerCharacterSet, getSessionId, getSessionTimeZone, getTransactionIsolation, getTransTimeout, getTypeMap, getURL, getURL, getUserName, getWarnings, isClientSideAutoCommit, isClosed, isDeferredPrepare, isMetaConnection, isNodeConnection, isReadOnly, isShardConnection, nativeSQL, ping, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, quietClose, registerFailoverCallback, registerMessageCallback, releaseSavepoint, rollback, rollback, sendSMNProperty, setAsyncPrefetchStatement, setAutoCommit, setCatalog, setClosed, setExplainPlan, setExplainPlan, setHoldability, setReadOnly, setSavepoint, setSavepoint, setSessionTimeZone, setTransactionIsolation, setTransTimeout, throwErrorForClosed, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearWarnings, close, commit, createStatement, createStatement, createStatement, getAutoCommit, getCatalog, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolationpublic Altibase42Connection(java.util.Properties aProp,
AltibaseDataSource aDataSource,
AltibaseShardingConnection aMetaConn)
throws java.sql.SQLException
java.sql.SQLExceptionpublic Altibase42Connection(java.util.Properties aProp,
AltibaseDataSource aDataSource)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTypeMap(java.util.Map aMap)
throws java.sql.SQLException
setTypeMap in interface java.sql.ConnectionsetTypeMap in class AltibaseConnectionjava.sql.SQLExceptionpublic java.sql.Clob createClob()
createClob in interface java.sql.Connectionpublic java.sql.Blob createBlob()
throws java.sql.SQLException
createBlob in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.NClob createNClob()
throws java.sql.SQLException
createNClob in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.SQLXML createSQLXML()
throws java.sql.SQLException
createSQLXML in interface java.sql.Connectionjava.sql.SQLExceptionpublic boolean isValid(int aTimeout)
throws java.sql.SQLException
isValid in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setClientInfo(java.lang.String aName,
java.lang.String aValue)
throws java.sql.SQLClientInfoException
setClientInfo in interface java.sql.Connectionjava.sql.SQLClientInfoExceptionpublic void setClientInfo(java.util.Properties aProperties)
throws java.sql.SQLClientInfoException
setClientInfo in interface java.sql.Connectionjava.sql.SQLClientInfoExceptionpublic java.lang.String getClientInfo(java.lang.String aName)
throws java.sql.SQLException
getClientInfo in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.util.Properties getClientInfo()
getClientInfo in interface java.sql.Connectionpublic java.sql.Array createArrayOf(java.lang.String aTypeName,
java.lang.Object[] aElements)
throws java.sql.SQLException
createArrayOf in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.Struct createStruct(java.lang.String aTypeName,
java.lang.Object[] aAttributes)
throws java.sql.SQLException
createStruct in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setSchema(java.lang.String aSchema)
throws java.sql.SQLException
setSchema in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.lang.String getSchema()
throws java.sql.SQLException
getSchema in interface java.sql.Connectionjava.sql.SQLExceptionpublic void abort(java.util.concurrent.Executor aExecutor)
throws java.sql.SQLException
abort in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setNetworkTimeout(java.util.concurrent.Executor aExecutor,
int aMilliseconds)
throws java.sql.SQLException
setNetworkTimeout in interface java.sql.Connectionjava.sql.SQLExceptionpublic int getNetworkTimeout()
throws java.sql.SQLException
getNetworkTimeout in interface java.sql.Connectionjava.sql.SQLExceptionpublic <T> T unwrap(java.lang.Class<T> aIface)
throws java.sql.SQLException
unwrap in interface java.sql.Wrapperjava.sql.SQLExceptionpublic boolean isWrapperFor(java.lang.Class<?> aIface)
throws java.sql.SQLException
isWrapperFor in interface java.sql.Wrapperjava.sql.SQLExceptionprotected void putAppInfoToClientInfoMap(java.lang.String aValue)
putAppInfoToClientInfoMap in class AltibaseConnection