クラス ReplicationAwareConnection
java.lang.Object
org.iplass.mtp.impl.rdb.connection.ReplicationAwareConnection
- すべての実装されたインタフェース:
AutoCloseable,Connection,Wrapper
-
フィールドの概要
インタフェースから継承されたフィールド java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE -
コンストラクタの概要
コンストラクタコンストラクタ説明ReplicationAwareConnection(ReplicationAwareDataSourceConnectionFactory conFactory, Function<Connection, Connection> afterGetPhysicalConnectionHandler) -
メソッドの概要
修飾子とタイプメソッド説明voidvoidvoidclose()voidcommit()createArrayOf(String typeName, Object[] elements) createStatement(int resultSetType, int resultSetConcurrency) createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) createStruct(String typeName, Object[] attributes) booleangetClientInfo(String name) intintintbooleanisClosed()booleanbooleanisValid(int timeout) booleanisWrapperFor(Class<?> iface) prepareCall(String sql) prepareCall(String sql, int resultSetType, int resultSetConcurrency) prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) prepareStatement(String sql) prepareStatement(String sql, int autoGeneratedKeys) prepareStatement(String sql, int[] columnIndexes) prepareStatement(String sql, int resultSetType, int resultSetConcurrency) prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) prepareStatement(String sql, String[] columnNames) voidreleaseSavepoint(Savepoint savepoint) voidrollback()voidvoidsetAutoCommit(boolean autoCommit) voidsetCatalog(String catalog) voidsetClientInfo(String name, String value) voidsetClientInfo(Properties properties) voidsetHoldability(int holdability) voidsetNetworkTimeout(Executor executor, int milliseconds) voidsetReadOnly(boolean readOnly) setSavepoint(String name) voidvoidsetTransactionIsolation(int level) voidsetTypeMap(Map<String, Class<?>> map) toString()<T> Tクラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitインタフェースから継承されたメソッド java.sql.Connection
beginRequest, endRequest, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid
-
コンストラクタの詳細
-
ReplicationAwareConnection
ReplicationAwareConnection(ReplicationAwareDataSourceConnectionFactory conFactory, Function<Connection, Connection> afterGetPhysicalConnectionHandler)
-
-
メソッドの詳細
-
unwrap
- 定義:
unwrapインタフェース内Wrapper- 例外:
SQLException
-
isWrapperFor
- 定義:
isWrapperForインタフェース内Wrapper- 例外:
SQLException
-
createStatement
- 定義:
createStatementインタフェース内Connection- 例外:
SQLException
-
prepareStatement
- 定義:
prepareStatementインタフェース内Connection- 例外:
SQLException
-
prepareCall
- 定義:
prepareCallインタフェース内Connection- 例外:
SQLException
-
nativeSQL
- 定義:
nativeSQLインタフェース内Connection- 例外:
SQLException
-
setAutoCommit
- 定義:
setAutoCommitインタフェース内Connection- 例外:
SQLException
-
getAutoCommit
- 定義:
getAutoCommitインタフェース内Connection- 例外:
SQLException
-
commit
- 定義:
commitインタフェース内Connection- 例外:
SQLException
-
rollback
- 定義:
rollbackインタフェース内Connection- 例外:
SQLException
-
close
- 定義:
closeインタフェース内AutoCloseable- 定義:
closeインタフェース内Connection- 例外:
SQLException
-
isClosed
- 定義:
isClosedインタフェース内Connection- 例外:
SQLException
-
getMetaData
- 定義:
getMetaDataインタフェース内Connection- 例外:
SQLException
-
setReadOnly
- 定義:
setReadOnlyインタフェース内Connection- 例外:
SQLException
-
isReadOnly
- 定義:
isReadOnlyインタフェース内Connection- 例外:
SQLException
-
setCatalog
- 定義:
setCatalogインタフェース内Connection- 例外:
SQLException
-
getCatalog
- 定義:
getCatalogインタフェース内Connection- 例外:
SQLException
-
setTransactionIsolation
- 定義:
setTransactionIsolationインタフェース内Connection- 例外:
SQLException
-
getTransactionIsolation
- 定義:
getTransactionIsolationインタフェース内Connection- 例外:
SQLException
-
getWarnings
- 定義:
getWarningsインタフェース内Connection- 例外:
SQLException
-
clearWarnings
- 定義:
clearWarningsインタフェース内Connection- 例外:
SQLException
-
createStatement
- 定義:
createStatementインタフェース内Connection- 例外:
SQLException
-
prepareStatement
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException - 定義:
prepareStatementインタフェース内Connection- 例外:
SQLException
-
prepareCall
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException - 定義:
prepareCallインタフェース内Connection- 例外:
SQLException
-
getTypeMap
- 定義:
getTypeMapインタフェース内Connection- 例外:
SQLException
-
setTypeMap
- 定義:
setTypeMapインタフェース内Connection- 例外:
SQLException
-
setHoldability
- 定義:
setHoldabilityインタフェース内Connection- 例外:
SQLException
-
getHoldability
- 定義:
getHoldabilityインタフェース内Connection- 例外:
SQLException
-
setSavepoint
- 定義:
setSavepointインタフェース内Connection- 例外:
SQLException
-
setSavepoint
- 定義:
setSavepointインタフェース内Connection- 例外:
SQLException
-
rollback
- 定義:
rollbackインタフェース内Connection- 例外:
SQLException
-
releaseSavepoint
- 定義:
releaseSavepointインタフェース内Connection- 例外:
SQLException
-
createStatement
public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - 定義:
createStatementインタフェース内Connection- 例外:
SQLException
-
prepareStatement
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - 定義:
prepareStatementインタフェース内Connection- 例外:
SQLException
-
prepareCall
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException - 定義:
prepareCallインタフェース内Connection- 例外:
SQLException
-
prepareStatement
- 定義:
prepareStatementインタフェース内Connection- 例外:
SQLException
-
prepareStatement
- 定義:
prepareStatementインタフェース内Connection- 例外:
SQLException
-
prepareStatement
- 定義:
prepareStatementインタフェース内Connection- 例外:
SQLException
-
createClob
- 定義:
createClobインタフェース内Connection- 例外:
SQLException
-
createBlob
- 定義:
createBlobインタフェース内Connection- 例外:
SQLException
-
createNClob
- 定義:
createNClobインタフェース内Connection- 例外:
SQLException
-
createSQLXML
- 定義:
createSQLXMLインタフェース内Connection- 例外:
SQLException
-
isValid
- 定義:
isValidインタフェース内Connection- 例外:
SQLException
-
setClientInfo
- 定義:
setClientInfoインタフェース内Connection- 例外:
SQLClientInfoException
-
setClientInfo
- 定義:
setClientInfoインタフェース内Connection- 例外:
SQLClientInfoException
-
getClientInfo
- 定義:
getClientInfoインタフェース内Connection- 例外:
SQLException
-
getClientInfo
- 定義:
getClientInfoインタフェース内Connection- 例外:
SQLException
-
createArrayOf
- 定義:
createArrayOfインタフェース内Connection- 例外:
SQLException
-
createStruct
- 定義:
createStructインタフェース内Connection- 例外:
SQLException
-
setSchema
- 定義:
setSchemaインタフェース内Connection- 例外:
SQLException
-
getSchema
- 定義:
getSchemaインタフェース内Connection- 例外:
SQLException
-
abort
- 定義:
abortインタフェース内Connection- 例外:
SQLException
-
setNetworkTimeout
- 定義:
setNetworkTimeoutインタフェース内Connection- 例外:
SQLException
-
getNetworkTimeout
- 定義:
getNetworkTimeoutインタフェース内Connection- 例外:
SQLException
-
toString
-