类 MockCallableStatement
java.lang.Object
com.alibaba.druid.util.jdbc.StatementBase
com.alibaba.druid.util.jdbc.PreparedStatementBase
com.alibaba.druid.mock.MockPreparedStatement
com.alibaba.druid.mock.MockCallableStatement
- 所有已实现的接口:
MockStatementBase,AutoCloseable,CallableStatement,PreparedStatement,Statement,Wrapper
-
字段概要
从类继承的字段 com.alibaba.druid.util.jdbc.StatementBase
closed, generatedKeys, resultSet -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getArray(int parameterIndex) getBigDecimal(int parameterIndex) getBigDecimal(int columnIndex, int scale) getBigDecimal(String parameterName) getBlob(int parameterIndex) booleangetBoolean(int columnIndex) booleangetBoolean(String columnLabel) bytegetByte(int columnIndex) bytebyte[]getBytes(int columnIndex) byte[]getCharacterStream(int parameterIndex) getCharacterStream(String parameterName) getClob(int parameterIndex) getDate(int columnIndex) doublegetDouble(int columnIndex) doublefloatgetFloat(int columnIndex) floatintgetInt(int columnIndex) intlonggetLong(int columnIndex) longgetNCharacterStream(int parameterIndex) getNCharacterStream(String parameterName) getNClob(int parameterIndex) getNString(int parameterIndex) getNString(String parameterName) getObject(int parameterIndex) <T> T<T> TgetRef(int parameterIndex) getRowId(int parameterIndex) shortgetShort(int columnIndex) shortgetSQLXML(int parameterIndex) getString(int columnIndex) getTime(int columnIndex) getTimestamp(int columnIndex) getTimestamp(int parameterIndex, Calendar cal) getTimestamp(String columnLabel) getTimestamp(String parameterName, Calendar cal) getURL(int parameterIndex) voidregisterOutParameter(int parameterIndex, int sqlType) voidregisterOutParameter(int parameterIndex, int sqlType, int scale) voidregisterOutParameter(int parameterIndex, int sqlType, String typeName) voidregisterOutParameter(String parameterName, int sqlType) voidregisterOutParameter(String parameterName, int sqlType, int scale) voidregisterOutParameter(String parameterName, int sqlType, String typeName) voidsetAsciiStream(String parameterName, InputStream x) voidsetAsciiStream(String parameterName, InputStream x, int length) voidsetAsciiStream(String parameterName, InputStream x, long length) voidsetBigDecimal(String parameterName, BigDecimal x) voidsetBinaryStream(String parameterName, InputStream x) voidsetBinaryStream(String parameterName, InputStream x, int length) voidsetBinaryStream(String parameterName, InputStream x, long length) voidsetBlob(String parameterName, InputStream x) voidsetBlob(String parameterName, InputStream x, long length) voidvoidsetBoolean(String parameterName, boolean x) voidvoidvoidsetCharacterStream(String parameterName, Reader x) voidsetCharacterStream(String parameterName, Reader x, int length) voidsetCharacterStream(String parameterName, Reader x, long length) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetNCharacterStream(String parameterName, Reader x) voidsetNCharacterStream(String parameterName, Reader x, long length) voidvoidvoidvoidsetNString(String parameterName, String x) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetTimestamp(String parameterName, Timestamp x) voidsetTimestamp(String parameterName, Timestamp x, Calendar cal) voidbooleanwasNull()从类继承的方法 com.alibaba.druid.mock.MockPreparedStatement
execute, executeQuery, executeUpdate, getConnection, getResultSet, getSql从类继承的方法 com.alibaba.druid.util.jdbc.PreparedStatementBase
addBatch, clearParameters, getMetaData, getParameterMetaData, getParameters, 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, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL从类继承的方法 com.alibaba.druid.util.jdbc.StatementBase
addBatch, cancel, checkOpen, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getCursorName, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isEscapeProcessing, isPoolable, isWrapperFor, setConnection, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setGeneratedKeys, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, setResultSet, setResultSetConcurrency, setResultSetHoldability, setResultSetType, setUpdateCount, setWarning, setWarnings, unwrap从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.sql.CallableStatement
registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setObject, setObject从接口继承的方法 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从接口继承的方法 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, 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
-
构造器详细资料
-
MockCallableStatement
-
-
方法详细资料
-
getOutParameters
-
registerOutParameter
- 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
- 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
wasNull
- 指定者:
wasNull在接口中CallableStatement- 抛出:
SQLException
-
getString
- 指定者:
getString在接口中CallableStatement- 抛出:
SQLException
-
getBoolean
- 指定者:
getBoolean在接口中CallableStatement- 抛出:
SQLException
-
getByte
- 指定者:
getByte在接口中CallableStatement- 抛出:
SQLException
-
getShort
- 指定者:
getShort在接口中CallableStatement- 抛出:
SQLException
-
getInt
- 指定者:
getInt在接口中CallableStatement- 抛出:
SQLException
-
getLong
- 指定者:
getLong在接口中CallableStatement- 抛出:
SQLException
-
getFloat
- 指定者:
getFloat在接口中CallableStatement- 抛出:
SQLException
-
getDouble
- 指定者:
getDouble在接口中CallableStatement- 抛出:
SQLException
-
getBigDecimal
- 指定者:
getBigDecimal在接口中CallableStatement- 抛出:
SQLException
-
getBytes
- 指定者:
getBytes在接口中CallableStatement- 抛出:
SQLException
-
getDate
- 指定者:
getDate在接口中CallableStatement- 抛出:
SQLException
-
getTime
- 指定者:
getTime在接口中CallableStatement- 抛出:
SQLException
-
getTimestamp
- 指定者:
getTimestamp在接口中CallableStatement- 抛出:
SQLException
-
getString
- 指定者:
getString在接口中CallableStatement- 抛出:
SQLException
-
getBoolean
- 指定者:
getBoolean在接口中CallableStatement- 抛出:
SQLException
-
getByte
- 指定者:
getByte在接口中CallableStatement- 抛出:
SQLException
-
getShort
- 指定者:
getShort在接口中CallableStatement- 抛出:
SQLException
-
getInt
- 指定者:
getInt在接口中CallableStatement- 抛出:
SQLException
-
getLong
- 指定者:
getLong在接口中CallableStatement- 抛出:
SQLException
-
getFloat
- 指定者:
getFloat在接口中CallableStatement- 抛出:
SQLException
-
getDouble
- 指定者:
getDouble在接口中CallableStatement- 抛出:
SQLException
-
getBytes
- 指定者:
getBytes在接口中CallableStatement- 抛出:
SQLException
-
getDate
- 指定者:
getDate在接口中CallableStatement- 抛出:
SQLException
-
getTime
- 指定者:
getTime在接口中CallableStatement- 抛出:
SQLException
-
getTimestamp
- 指定者:
getTimestamp在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
getBigDecimal
- 指定者:
getBigDecimal在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
getRef
- 指定者:
getRef在接口中CallableStatement- 抛出:
SQLException
-
getBlob
- 指定者:
getBlob在接口中CallableStatement- 抛出:
SQLException
-
getClob
- 指定者:
getClob在接口中CallableStatement- 抛出:
SQLException
-
getArray
- 指定者:
getArray在接口中CallableStatement- 抛出:
SQLException
-
getDate
- 指定者:
getDate在接口中CallableStatement- 抛出:
SQLException
-
getTime
- 指定者:
getTime在接口中CallableStatement- 抛出:
SQLException
-
getTimestamp
- 指定者:
getTimestamp在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
public void registerOutParameter(int parameterIndex, int sqlType, String typeName) throws SQLException - 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
- 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
- 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
registerOutParameter
public void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException - 指定者:
registerOutParameter在接口中CallableStatement- 抛出:
SQLException
-
getURL
- 指定者:
getURL在接口中CallableStatement- 抛出:
SQLException
-
setURL
- 指定者:
setURL在接口中CallableStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中CallableStatement- 抛出:
SQLException
-
setBoolean
- 指定者:
setBoolean在接口中CallableStatement- 抛出:
SQLException
-
setByte
- 指定者:
setByte在接口中CallableStatement- 抛出:
SQLException
-
setShort
- 指定者:
setShort在接口中CallableStatement- 抛出:
SQLException
-
setInt
- 指定者:
setInt在接口中CallableStatement- 抛出:
SQLException
-
setLong
- 指定者:
setLong在接口中CallableStatement- 抛出:
SQLException
-
setFloat
- 指定者:
setFloat在接口中CallableStatement- 抛出:
SQLException
-
setDouble
- 指定者:
setDouble在接口中CallableStatement- 抛出:
SQLException
-
setBigDecimal
- 指定者:
setBigDecimal在接口中CallableStatement- 抛出:
SQLException
-
setString
- 指定者:
setString在接口中CallableStatement- 抛出:
SQLException
-
setBytes
- 指定者:
setBytes在接口中CallableStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中CallableStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中CallableStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中CallableStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中CallableStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中CallableStatement- 抛出:
SQLException
-
setObject
public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException - 指定者:
setObject在接口中CallableStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中CallableStatement- 抛出:
SQLException
-
setObject
- 指定者:
setObject在接口中CallableStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setDate
- 指定者:
setDate在接口中CallableStatement- 抛出:
SQLException
-
setTime
- 指定者:
setTime在接口中CallableStatement- 抛出:
SQLException
-
setTimestamp
- 指定者:
setTimestamp在接口中CallableStatement- 抛出:
SQLException
-
setNull
- 指定者:
setNull在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
getBigDecimal
- 指定者:
getBigDecimal在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
getRef
- 指定者:
getRef在接口中CallableStatement- 抛出:
SQLException
-
getBlob
- 指定者:
getBlob在接口中CallableStatement- 抛出:
SQLException
-
getClob
- 指定者:
getClob在接口中CallableStatement- 抛出:
SQLException
-
getArray
- 指定者:
getArray在接口中CallableStatement- 抛出:
SQLException
-
getDate
- 指定者:
getDate在接口中CallableStatement- 抛出:
SQLException
-
getTime
- 指定者:
getTime在接口中CallableStatement- 抛出:
SQLException
-
getTimestamp
- 指定者:
getTimestamp在接口中CallableStatement- 抛出:
SQLException
-
getURL
- 指定者:
getURL在接口中CallableStatement- 抛出:
SQLException
-
getRowId
- 指定者:
getRowId在接口中CallableStatement- 抛出:
SQLException
-
getRowId
- 指定者:
getRowId在接口中CallableStatement- 抛出:
SQLException
-
setRowId
- 指定者:
setRowId在接口中CallableStatement- 抛出:
SQLException
-
setNString
- 指定者:
setNString在接口中CallableStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中CallableStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中CallableStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中CallableStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中CallableStatement- 抛出:
SQLException
-
getNClob
- 指定者:
getNClob在接口中CallableStatement- 抛出:
SQLException
-
getNClob
- 指定者:
getNClob在接口中CallableStatement- 抛出:
SQLException
-
setSQLXML
- 指定者:
setSQLXML在接口中CallableStatement- 抛出:
SQLException
-
getSQLXML
- 指定者:
getSQLXML在接口中CallableStatement- 抛出:
SQLException
-
getSQLXML
- 指定者:
getSQLXML在接口中CallableStatement- 抛出:
SQLException
-
getNString
- 指定者:
getNString在接口中CallableStatement- 抛出:
SQLException
-
getNString
- 指定者:
getNString在接口中CallableStatement- 抛出:
SQLException
-
getNCharacterStream
- 指定者:
getNCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
getNCharacterStream
- 指定者:
getNCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
getCharacterStream
- 指定者:
getCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
getCharacterStream
- 指定者:
getCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中CallableStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中CallableStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中CallableStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中CallableStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setAsciiStream
- 指定者:
setAsciiStream在接口中CallableStatement- 抛出:
SQLException
-
setBinaryStream
- 指定者:
setBinaryStream在接口中CallableStatement- 抛出:
SQLException
-
setCharacterStream
- 指定者:
setCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setNCharacterStream
- 指定者:
setNCharacterStream在接口中CallableStatement- 抛出:
SQLException
-
setClob
- 指定者:
setClob在接口中CallableStatement- 抛出:
SQLException
-
setBlob
- 指定者:
setBlob在接口中CallableStatement- 抛出:
SQLException
-
setNClob
- 指定者:
setNClob在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-
getObject
- 指定者:
getObject在接口中CallableStatement- 抛出:
SQLException
-