接口 JdbcPreparedStatement
-
- 所有超级接口:
AutoCloseable,JdbcStatement,PreparedStatement,Query,Statement,Wrapper
public interface JdbcPreparedStatement extends PreparedStatement, JdbcStatement
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.mysql.cj.Query
Query.CancelStatus
-
-
字段概要
-
从接口继承的字段 com.mysql.cj.jdbc.JdbcStatement
MAX_ROWS
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 byte[]getBytesRepresentation(int parameterIndex)byte[]getOrigBytes(int parameterIndex)ParameterBindingsgetParameterBindings()ParseInfogetParseInfo()StringgetPreparedSql()QueryBindings<?>getQueryBindings()booleanisNull(int paramIndex)voidrealClose(boolean calledExplicitly, boolean closeOpenResults)voidsetBigInteger(int parameterIndex, BigInteger x)voidsetBytes(int parameterIndex, byte[] x, boolean checkForIntroducer, boolean escapeForMBChars)voidsetBytesNoEscape(int parameterIndex, byte[] parameterAsBytes)Used by updatable result sets for refreshRow() because the parameter has already been escaped for updater or inserter prepared statements.voidsetBytesNoEscapeNoQuotes(int parameterIndex, byte[] parameterAsBytes)voidsetNull(int parameterIndex, MysqlType mysqlType)-
从接口继承的方法 com.mysql.cj.jdbc.JdbcStatement
disableStreamingResults, enableStreamingResults, getExceptionInterceptor, getLocalInfileInputStream, getOpenResultSetCount, getQuery, removeOpenResultSet, setHoldResultsOpenOverClose, setLocalInfileInputStream, setPingTarget
-
从接口继承的方法 java.sql.PreparedStatement
addBatch, clearParameters, execute, executeLargeUpdate, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, 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, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
-
从接口继承的方法 com.mysql.cj.Query
addBatch, checkCancelTimeout, clearBatchedArgs, closeQuery, getBatchedArgs, getCancelTimeoutMutex, getCurrentDatabase, getId, getResultFetchSize, getResultSetFactory, getResultType, getSession, getStatementExecuting, getTimeoutInMillis, isClearWarningsCalled, resetCancelledState, setCancelStatus, setClearWarningsCalled, setCurrentDatabase, setResultFetchSize, setResultType, setTimeoutInMillis, startQueryTimer, statementBegins, stopQueryTimer
-
从接口继承的方法 java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, 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, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
-
从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
方法详细资料
-
realClose
void realClose(boolean calledExplicitly, boolean closeOpenResults) throws SQLException- 抛出:
SQLException
-
getQueryBindings
QueryBindings<?> getQueryBindings()
-
getBytesRepresentation
byte[] getBytesRepresentation(int parameterIndex) throws SQLException- 抛出:
SQLException
-
getOrigBytes
byte[] getOrigBytes(int parameterIndex) throws SQLException- 抛出:
SQLException
-
getParseInfo
ParseInfo getParseInfo()
-
isNull
boolean isNull(int paramIndex) throws SQLException- 抛出:
SQLException
-
getPreparedSql
String getPreparedSql()
-
setBytes
void setBytes(int parameterIndex, byte[] x, boolean checkForIntroducer, boolean escapeForMBChars) throws SQLException- 抛出:
SQLException
-
setBytesNoEscape
void setBytesNoEscape(int parameterIndex, byte[] parameterAsBytes) throws SQLExceptionUsed by updatable result sets for refreshRow() because the parameter has already been escaped for updater or inserter prepared statements.- 参数:
parameterIndex- the parameter to set.parameterAsBytes- the parameter as a string.- 抛出:
SQLException- if an error occurs
-
setBytesNoEscapeNoQuotes
void setBytesNoEscapeNoQuotes(int parameterIndex, byte[] parameterAsBytes) throws SQLException- 抛出:
SQLException
-
setBigInteger
void setBigInteger(int parameterIndex, BigInteger x) throws SQLException- 抛出:
SQLException
-
setNull
void setNull(int parameterIndex, MysqlType mysqlType) throws SQLException- 抛出:
SQLException
-
getParameterBindings
ParameterBindings getParameterBindings() throws SQLException
- 抛出:
SQLException
-
-