public final class ShadowPreparedStatement extends AbstractShardingPreparedStatementAdapter
| 构造器和说明 |
|---|
ShadowPreparedStatement(ShadowConnection connection,
String sql) |
ShadowPreparedStatement(ShadowConnection connection,
String sql,
int autoGeneratedKeys) |
ShadowPreparedStatement(ShadowConnection connection,
String sql,
int[] columnIndexes) |
ShadowPreparedStatement(ShadowConnection connection,
String sql,
int resultSetType,
int resultSetConcurrency) |
ShadowPreparedStatement(ShadowConnection connection,
String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
ShadowPreparedStatement(ShadowConnection connection,
String sql,
String[] columnNames) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addBatch() |
void |
clearBatch() |
boolean |
execute() |
int[] |
executeBatch() |
ResultSet |
executeQuery() |
int |
executeUpdate() |
ResultSet |
getGeneratedKeys() |
ResultSet |
getResultSet() |
int |
getResultSetConcurrency() |
int |
getResultSetHoldability() |
int |
getResultSetType() |
protected Collection<? extends Statement> |
getRoutedStatements() |
protected boolean |
isAccumulate() |
clearParameters, replaySetParameter, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLexecute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getMetaData, getParameterMetaData, setArray, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRef, setRowIdcancel, clearWarnings, close, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getUpdateCount, getWarnings, isClosed, isPoolable, setEscapeProcessing, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutaddBatch, closeOnCompletion, getFetchDirection, isCloseOnCompletion, setCursorName, setFetchDirectionisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeUpdate, setObject, setObjectaddBatch, cancel, clearWarnings, close, closeOnCompletion, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getConnection, getFetchDirection, getFetchSize, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperFor, unwrappublic ShadowPreparedStatement(ShadowConnection connection, String sql)
public ShadowPreparedStatement(ShadowConnection connection, String sql, int resultSetType, int resultSetConcurrency)
public ShadowPreparedStatement(ShadowConnection connection, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
public ShadowPreparedStatement(ShadowConnection connection, String sql, int autoGeneratedKeys)
public ShadowPreparedStatement(ShadowConnection connection, String sql, int[] columnIndexes)
public ShadowPreparedStatement(ShadowConnection connection, String sql, String[] columnNames)
public ResultSet executeQuery() throws SQLException
SQLExceptionpublic int executeUpdate()
throws SQLException
SQLExceptionpublic boolean execute()
throws SQLException
SQLExceptionpublic void addBatch()
public int[] executeBatch()
throws SQLException
executeBatch 在接口中 StatementexecuteBatch 在类中 AbstractUnsupportedOperationStatementSQLExceptionprotected boolean isAccumulate()
isAccumulate 在类中 AbstractStatementAdapterprotected Collection<? extends Statement> getRoutedStatements()
public ResultSet getResultSet()
public int getResultSetConcurrency()
public int getResultSetType()
public ResultSet getGeneratedKeys() throws SQLException
SQLExceptionpublic int getResultSetHoldability()
public void clearBatch()
throws SQLException
clearBatch 在接口中 StatementclearBatch 在类中 AbstractUnsupportedOperationStatementSQLExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.