public final class ShardingSphereStatement extends AbstractStatementAdapter
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
ShardingSphereStatement(ShardingSphereConnection connection) |
ShardingSphereStatement(ShardingSphereConnection connection,
int resultSetType,
int resultSetConcurrency) |
ShardingSphereStatement(ShardingSphereConnection connection,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
| Modifier and Type | Method and Description |
|---|---|
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() |
boolean |
isAccumulate() |
cancel, clearWarnings, close, getExecutor, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getStatementManager, getUpdateCount, getWarnings, handleExceptionInTransaction, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutaddBatch, clearBatch, closeOnCompletion, executeBatch, isCloseOnCompletion, setCursorNameisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getConnection, getFetchDirection, getFetchSize, getLargeMaxRows, getLargeUpdateCount, isClosed, isPoolable, setLargeMaxRowsisWrapperFor, unwrappublic ShardingSphereStatement(ShardingSphereConnection connection)
public ShardingSphereStatement(ShardingSphereConnection connection, int resultSetType, int resultSetConcurrency)
public ShardingSphereStatement(ShardingSphereConnection 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 boolean isAccumulate()
isAccumulate in class AbstractStatementAdapterpublic Collection<Statement> getRoutedStatements()
getRoutedStatements in class AbstractStatementAdapterpublic ResultSet getGeneratedKeys() throws SQLException
SQLExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.