public final class ShardingPreparedStatement extends AbstractPreparedStatementAdapter
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addBatch() |
void |
clearBatch() |
protected void |
clearRouteContext() |
boolean |
execute() |
int[] |
executeBatch() |
ResultSet |
executeQuery() |
int |
executeUpdate() |
protected PreparedStatement |
generateStatement(Connection conn,
String shardingSql) |
clearParameters, 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, setRef, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLgetMetaData, getParameterMetaData, setArray, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRowIdclearRouteStatements, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getGeneratedKeys, getResultSet, getRoutedStatements, getStatementcancel, clearWarnings, close, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutaddBatch, closeOnCompletion, getFetchDirection, isCloseOnCompletion, setFetchDirectionisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeUpdate, setObject, setObjectaddBatch, cancel, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperFor, unwrappublic ResultSet executeQuery() throws SQLException
SQLExceptionpublic int executeUpdate()
throws SQLException
SQLExceptionpublic boolean execute()
throws SQLException
SQLExceptionprotected void clearRouteContext()
throws SQLException
clearRouteContext 在类中 ShardingStatementSQLExceptionpublic void addBatch()
throws SQLException
SQLExceptionpublic void clearBatch()
throws SQLException
clearBatch 在接口中 StatementclearBatch 在类中 AbstractUnsupportedOperationStatementSQLExceptionpublic int[] executeBatch()
throws SQLException
executeBatch 在接口中 StatementexecuteBatch 在类中 AbstractUnsupportedOperationStatementSQLExceptionprotected PreparedStatement generateStatement(Connection conn, String shardingSql) throws SQLException
generateStatement 在类中 ShardingStatementSQLExceptionCopyright © 2016. All rights reserved.