public final class ShardingStatement extends AbstractStatementAdapter
| 构造器和说明 |
|---|
ShardingStatement(ShardingConnection connection) |
ShardingStatement(ShardingConnection connection,
int resultSetType,
int resultSetConcurrency) |
ShardingStatement(ShardingConnection connection,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
execute(String sql) |
boolean |
execute(String sql,
int autoGeneratedKeys) |
boolean |
execute(String sql,
int[] columnIndexes) |
boolean |
execute(String sql,
String[] columnNames) |
ResultSet |
executeQuery(String sql) |
int |
executeUpdate(String sql) |
int |
executeUpdate(String sql,
int autoGeneratedKeys) |
int |
executeUpdate(String sql,
int[] columnIndexes) |
int |
executeUpdate(String sql,
String[] columnNames) |
ResultSet |
getGeneratedKeys() |
ResultSet |
getResultSet() |
int |
getResultSetConcurrency() |
int |
getResultSetHoldability() |
int |
getResultSetType() |
Collection<Statement> |
getRoutedStatements() |
cancel, clearWarnings, close, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getUpdateCount, getWarnings, isClosed, isPoolable, setEscapeProcessing, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutaddBatch, clearBatch, closeOnCompletion, executeBatch, getFetchDirection, isCloseOnCompletion, setCursorName, setFetchDirectionisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getConnection, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRowsisWrapperFor, unwrappublic ShardingStatement(ShardingConnection connection)
public ShardingStatement(ShardingConnection connection, int resultSetType, int resultSetConcurrency)
public ShardingStatement(ShardingConnection connection, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
public ResultSet executeQuery(String sql) throws SQLException
SQLExceptionpublic int executeUpdate(String sql) throws SQLException
SQLExceptionpublic int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
SQLExceptionpublic int executeUpdate(String sql, int[] columnIndexes) throws SQLException
SQLExceptionpublic int executeUpdate(String sql, String[] columnNames) throws SQLException
SQLExceptionpublic boolean execute(String sql) throws SQLException
SQLExceptionpublic boolean execute(String sql, int autoGeneratedKeys) throws SQLException
SQLExceptionpublic boolean execute(String sql, int[] columnIndexes) throws SQLException
SQLExceptionpublic boolean execute(String sql, String[] columnNames) throws SQLException
SQLExceptionpublic ResultSet getResultSet() throws SQLException
SQLExceptionpublic int getResultSetType()
public int getResultSetConcurrency()
public int getResultSetHoldability()
public Collection<Statement> getRoutedStatements()
public ResultSet getGeneratedKeys() throws SQLException
SQLExceptionCopyright © 2018. All rights reserved.