public class JdbcPreparedStatement extends JdbcStatement implements PreparedStatement
args, conn, rs
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Modifier and Type | Method and Description |
---|---|
void |
addBatch() |
void |
addBatch(String sql) |
void |
clearBatch() |
void |
clearParameters() |
boolean |
execute() |
int[] |
executeBatch() |
ResultSet |
executeQuery() |
int |
executeUpdate() |
ResultSetMetaData |
getMetaData() |
ParameterMetaData |
getParameterMetaData() |
void |
setArray(int paramIdx,
Array x) |
void |
setAsciiStream(int paramIdx,
InputStream x) |
void |
setAsciiStream(int paramIdx,
InputStream x,
int len) |
void |
setAsciiStream(int paramIdx,
InputStream x,
long len) |
void |
setBigDecimal(int paramIdx,
BigDecimal x) |
void |
setBinaryStream(int paramIdx,
InputStream x) |
void |
setBinaryStream(int paramIdx,
InputStream x,
int len) |
void |
setBinaryStream(int paramIdx,
InputStream x,
long len) |
void |
setBlob(int paramIdx,
Blob x) |
void |
setBlob(int paramIdx,
InputStream inputStream) |
void |
setBlob(int paramIdx,
InputStream inputStream,
long len) |
void |
setBoolean(int paramIdx,
boolean x) |
void |
setByte(int paramIdx,
byte x) |
void |
setBytes(int paramIdx,
byte[] x) |
void |
setCharacterStream(int paramIdx,
Reader x) |
void |
setCharacterStream(int paramIdx,
Reader x,
int len) |
void |
setCharacterStream(int paramIdx,
Reader x,
long len) |
void |
setClob(int paramIdx,
Clob x) |
void |
setClob(int paramIdx,
Reader reader) |
void |
setClob(int paramIdx,
Reader reader,
long len) |
void |
setDate(int paramIdx,
Date x) |
void |
setDate(int paramIdx,
Date x,
Calendar cal) |
void |
setDouble(int paramIdx,
double x) |
void |
setFloat(int paramIdx,
float x) |
void |
setInt(int paramIdx,
int x) |
void |
setLong(int paramIdx,
long x) |
void |
setNCharacterStream(int paramIdx,
Reader val) |
void |
setNCharacterStream(int paramIdx,
Reader val,
long len) |
void |
setNClob(int paramIdx,
NClob val) |
void |
setNClob(int paramIdx,
Reader reader) |
void |
setNClob(int paramIdx,
Reader reader,
long len) |
void |
setNString(int paramIdx,
String val) |
void |
setNull(int paramIdx,
int sqlType) |
void |
setNull(int paramIdx,
int sqlType,
String typeName) |
void |
setObject(int paramIdx,
Object x) |
void |
setObject(int paramIdx,
Object x,
int targetSqlType) |
void |
setObject(int paramIdx,
Object x,
int targetSqlType,
int scaleOrLen) |
void |
setRef(int paramIdx,
Ref x) |
void |
setRowId(int paramIdx,
RowId x) |
void |
setShort(int paramIdx,
short x) |
void |
setSQLXML(int paramIdx,
SQLXML xmlObj) |
void |
setString(int paramIdx,
String x) |
void |
setTime(int paramIdx,
Time x) |
void |
setTime(int paramIdx,
Time x,
Calendar cal) |
void |
setTimestamp(int paramIdx,
Timestamp x) |
void |
setTimestamp(int paramIdx,
Timestamp x,
Calendar cal) |
void |
setUnicodeStream(int paramIdx,
InputStream x,
int len) |
void |
setURL(int paramIdx,
URL x) |
cancel, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getArgs, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
isWrapperFor, unwrap
public void addBatch(String sql) throws SQLException
addBatch
in interface Statement
addBatch
in class JdbcStatement
SQLException
public ResultSet executeQuery() throws SQLException
executeQuery
in interface PreparedStatement
SQLException
public int executeUpdate() throws SQLException
executeUpdate
in interface PreparedStatement
SQLException
public void setNull(int paramIdx, int sqlType) throws SQLException
setNull
in interface PreparedStatement
SQLException
public void setBoolean(int paramIdx, boolean x) throws SQLException
setBoolean
in interface PreparedStatement
SQLException
public void setByte(int paramIdx, byte x) throws SQLException
setByte
in interface PreparedStatement
SQLException
public void setShort(int paramIdx, short x) throws SQLException
setShort
in interface PreparedStatement
SQLException
public void setInt(int paramIdx, int x) throws SQLException
setInt
in interface PreparedStatement
SQLException
public void setLong(int paramIdx, long x) throws SQLException
setLong
in interface PreparedStatement
SQLException
public void setFloat(int paramIdx, float x) throws SQLException
setFloat
in interface PreparedStatement
SQLException
public void setDouble(int paramIdx, double x) throws SQLException
setDouble
in interface PreparedStatement
SQLException
public void setBigDecimal(int paramIdx, BigDecimal x) throws SQLException
setBigDecimal
in interface PreparedStatement
SQLException
public void setString(int paramIdx, String x) throws SQLException
setString
in interface PreparedStatement
SQLException
public void setBytes(int paramIdx, byte[] x) throws SQLException
setBytes
in interface PreparedStatement
SQLException
public void setDate(int paramIdx, Date x) throws SQLException
setDate
in interface PreparedStatement
SQLException
public void setTime(int paramIdx, Time x) throws SQLException
setTime
in interface PreparedStatement
SQLException
public void setTimestamp(int paramIdx, Timestamp x) throws SQLException
setTimestamp
in interface PreparedStatement
SQLException
public void setAsciiStream(int paramIdx, InputStream x, int len) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
public void setUnicodeStream(int paramIdx, InputStream x, int len) throws SQLException
setUnicodeStream
in interface PreparedStatement
SQLException
public void setBinaryStream(int paramIdx, InputStream x, int len) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
public void clearParameters() throws SQLException
clearParameters
in interface PreparedStatement
SQLException
public void clearBatch() throws SQLException
clearBatch
in interface Statement
clearBatch
in class JdbcStatement
SQLException
public void setObject(int paramIdx, Object x, int targetSqlType) throws SQLException
setObject
in interface PreparedStatement
SQLException
public void setObject(int paramIdx, Object x) throws SQLException
setObject
in interface PreparedStatement
SQLException
public boolean execute() throws SQLException
execute
in interface PreparedStatement
SQLException
public void addBatch() throws SQLException
addBatch
in interface PreparedStatement
SQLException
public int[] executeBatch() throws SQLException
executeBatch
in interface Statement
executeBatch
in class JdbcStatement
SQLException
public void setCharacterStream(int paramIdx, Reader x, int len) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
public void setRef(int paramIdx, Ref x) throws SQLException
setRef
in interface PreparedStatement
SQLException
public void setBlob(int paramIdx, Blob x) throws SQLException
setBlob
in interface PreparedStatement
SQLException
public void setClob(int paramIdx, Clob x) throws SQLException
setClob
in interface PreparedStatement
SQLException
public void setArray(int paramIdx, Array x) throws SQLException
setArray
in interface PreparedStatement
SQLException
public ResultSetMetaData getMetaData() throws SQLException
getMetaData
in interface PreparedStatement
SQLException
public void setDate(int paramIdx, Date x, Calendar cal) throws SQLException
setDate
in interface PreparedStatement
SQLException
public void setTime(int paramIdx, Time x, Calendar cal) throws SQLException
setTime
in interface PreparedStatement
SQLException
public void setTimestamp(int paramIdx, Timestamp x, Calendar cal) throws SQLException
setTimestamp
in interface PreparedStatement
SQLException
public void setNull(int paramIdx, int sqlType, String typeName) throws SQLException
setNull
in interface PreparedStatement
SQLException
public void setURL(int paramIdx, URL x) throws SQLException
setURL
in interface PreparedStatement
SQLException
public ParameterMetaData getParameterMetaData() throws SQLException
getParameterMetaData
in interface PreparedStatement
SQLException
public void setRowId(int paramIdx, RowId x) throws SQLException
setRowId
in interface PreparedStatement
SQLException
public void setNString(int paramIdx, String val) throws SQLException
setNString
in interface PreparedStatement
SQLException
public void setNCharacterStream(int paramIdx, Reader val, long len) throws SQLException
setNCharacterStream
in interface PreparedStatement
SQLException
public void setNClob(int paramIdx, NClob val) throws SQLException
setNClob
in interface PreparedStatement
SQLException
public void setClob(int paramIdx, Reader reader, long len) throws SQLException
setClob
in interface PreparedStatement
SQLException
public void setBlob(int paramIdx, InputStream inputStream, long len) throws SQLException
setBlob
in interface PreparedStatement
SQLException
public void setNClob(int paramIdx, Reader reader, long len) throws SQLException
setNClob
in interface PreparedStatement
SQLException
public void setSQLXML(int paramIdx, SQLXML xmlObj) throws SQLException
setSQLXML
in interface PreparedStatement
SQLException
public void setObject(int paramIdx, Object x, int targetSqlType, int scaleOrLen) throws SQLException
setObject
in interface PreparedStatement
SQLException
public void setAsciiStream(int paramIdx, InputStream x, long len) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
public void setBinaryStream(int paramIdx, InputStream x, long len) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
public void setCharacterStream(int paramIdx, Reader x, long len) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
public void setAsciiStream(int paramIdx, InputStream x) throws SQLException
setAsciiStream
in interface PreparedStatement
SQLException
public void setBinaryStream(int paramIdx, InputStream x) throws SQLException
setBinaryStream
in interface PreparedStatement
SQLException
public void setCharacterStream(int paramIdx, Reader x) throws SQLException
setCharacterStream
in interface PreparedStatement
SQLException
public void setNCharacterStream(int paramIdx, Reader val) throws SQLException
setNCharacterStream
in interface PreparedStatement
SQLException
public void setClob(int paramIdx, Reader reader) throws SQLException
setClob
in interface PreparedStatement
SQLException
public void setBlob(int paramIdx, InputStream inputStream) throws SQLException
setBlob
in interface PreparedStatement
SQLException
public void setNClob(int paramIdx, Reader reader) throws SQLException
setNClob
in interface PreparedStatement
SQLException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017