public class LogicalPreparedStatement40 extends LogicalPreparedStatement
LogicalPreparedStatement,
isClosed()| Modifier and Type | Field and Description |
|---|---|
protected Agent |
agent
Create a logical entity for a
PreparedStatement. |
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
LogicalPreparedStatement40(Agent agent,
PreparedStatement physicalPs,
StatementKey stmtKey,
StatementCacheInteractor cacheInteractor)
Creates a new logical prepared statement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the logical statement.
|
void |
closeOnCompletion() |
boolean |
isClosed() |
boolean |
isCloseOnCompletion() |
boolean |
isPoolable() |
boolean |
isWrapperFor(Class<?> arg0) |
void |
setAsciiStream(int arg0,
InputStream arg1) |
void |
setAsciiStream(int arg0,
InputStream arg1,
long arg2) |
void |
setBinaryStream(int arg0,
InputStream arg1) |
void |
setBinaryStream(int arg0,
InputStream arg1,
long arg2) |
void |
setBlob(int arg0,
InputStream arg1) |
void |
setBlob(int arg0,
InputStream arg1,
long arg2) |
void |
setCharacterStream(int arg0,
Reader arg1) |
void |
setCharacterStream(int arg0,
Reader arg1,
long arg2) |
void |
setClob(int arg0,
Reader arg1) |
void |
setClob(int arg0,
Reader arg1,
long arg2) |
void |
setNCharacterStream(int arg0,
Reader arg1) |
void |
setNCharacterStream(int arg0,
Reader arg1,
long arg2) |
void |
setNClob(int arg0,
NClob arg1) |
void |
setNClob(int arg0,
Reader arg1) |
void |
setNClob(int arg0,
Reader arg1,
long arg2) |
void |
setNString(int arg0,
String arg1) |
void |
setPoolable(boolean arg0) |
void |
setRowId(int arg0,
RowId arg1) |
void |
setSQLXML(int arg0,
SQLXML arg1) |
<T> T |
unwrap(Class<T> arg0) |
addBatch, addBatch, cancel, clearBatch, clearParameters, clearWarnings, execute, execute, execute, execute, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setObject, setObject, setObject, setQueryTimeout, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLprotected final Agent agent
PreparedStatement.public LogicalPreparedStatement40(Agent agent, PreparedStatement physicalPs, StatementKey stmtKey, StatementCacheInteractor cacheInteractor)
physicalPs - underlying physical statementstmtKey - key for the physical statementcacheInteractor - creating statement cache interactorIllegalArgumentException - if cache is nullpublic void setRowId(int arg0,
RowId arg1)
throws SQLException
SQLExceptionpublic void setNString(int arg0,
String arg1)
throws SQLException
SQLExceptionpublic void setNCharacterStream(int arg0,
Reader arg1,
long arg2)
throws SQLException
SQLExceptionpublic void setNClob(int arg0,
NClob arg1)
throws SQLException
SQLExceptionpublic void setClob(int arg0,
Reader arg1,
long arg2)
throws SQLException
SQLExceptionpublic void setBlob(int arg0,
InputStream arg1,
long arg2)
throws SQLException
SQLExceptionpublic void setNClob(int arg0,
Reader arg1,
long arg2)
throws SQLException
SQLExceptionpublic void setSQLXML(int arg0,
SQLXML arg1)
throws SQLException
SQLExceptionpublic void setAsciiStream(int arg0,
InputStream arg1,
long arg2)
throws SQLException
SQLExceptionpublic void setBinaryStream(int arg0,
InputStream arg1,
long arg2)
throws SQLException
SQLExceptionpublic void setCharacterStream(int arg0,
Reader arg1,
long arg2)
throws SQLException
SQLExceptionpublic void setAsciiStream(int arg0,
InputStream arg1)
throws SQLException
SQLExceptionpublic void setBinaryStream(int arg0,
InputStream arg1)
throws SQLException
SQLExceptionpublic void setCharacterStream(int arg0,
Reader arg1)
throws SQLException
SQLExceptionpublic void setNCharacterStream(int arg0,
Reader arg1)
throws SQLException
SQLExceptionpublic void setClob(int arg0,
Reader arg1)
throws SQLException
SQLExceptionpublic void setBlob(int arg0,
InputStream arg1)
throws SQLException
SQLExceptionpublic void setNClob(int arg0,
Reader arg1)
throws SQLException
SQLExceptionpublic boolean isClosed()
throws SQLException
SQLExceptionpublic void setPoolable(boolean arg0)
throws SQLException
SQLExceptionpublic boolean isPoolable()
throws SQLException
SQLExceptionpublic <T> T unwrap(Class<T> arg0) throws SQLException
SQLExceptionpublic boolean isWrapperFor(Class<?> arg0) throws SQLException
SQLExceptionpublic void closeOnCompletion()
throws SQLException
SQLExceptionpublic boolean isCloseOnCompletion()
throws SQLException
SQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface StatementSQLException - if closing the statement failsCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.