org.apache.derby.client.am
Class LogicalPreparedStatement40

java.lang.Object
  extended by org.apache.derby.client.am.LogicalStatementEntity
      extended by org.apache.derby.client.am.LogicalPreparedStatement
          extended by org.apache.derby.client.am.LogicalPreparedStatement40
All Implemented Interfaces:
java.sql.PreparedStatement, java.sql.Statement, java.sql.Wrapper

public class LogicalPreparedStatement40
extends LogicalPreparedStatement

JDBC 4 specific wrapper class for a Derby physical prepared statement.

See Also:
LogicalPreparedStatement, isClosed()

Field Summary
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Constructor Summary
LogicalPreparedStatement40(java.sql.PreparedStatement physicalPs, StatementKey stmtKey, StatementCacheInteractor cacheInteractor)
          Creates a new logical prepared statement.
 
Method Summary
 boolean isClosed()
           
 boolean isPoolable()
           
 boolean isWrapperFor(java.lang.Class<?> arg0)
           
 void setAsciiStream(int arg0, java.io.InputStream arg1)
           
 void setAsciiStream(int arg0, java.io.InputStream arg1, long arg2)
           
 void setBinaryStream(int arg0, java.io.InputStream arg1)
           
 void setBinaryStream(int arg0, java.io.InputStream arg1, long arg2)
           
 void setBlob(int arg0, java.io.InputStream arg1)
           
 void setBlob(int arg0, java.io.InputStream arg1, long arg2)
           
 void setCharacterStream(int arg0, java.io.Reader arg1)
           
 void setCharacterStream(int arg0, java.io.Reader arg1, long arg2)
           
 void setClob(int arg0, java.io.Reader arg1)
           
 void setClob(int arg0, java.io.Reader arg1, long arg2)
           
 void setNCharacterStream(int arg0, java.io.Reader arg1)
           
 void setNCharacterStream(int arg0, java.io.Reader arg1, long arg2)
           
 void setNClob(int arg0, java.sql.NClob arg1)
           
 void setNClob(int arg0, java.io.Reader arg1)
           
 void setNClob(int arg0, java.io.Reader arg1, long arg2)
           
 void setNString(int arg0, java.lang.String arg1)
           
 void setPoolable(boolean arg0)
           
 void setRowId(int arg0, java.sql.RowId arg1)
           
 void setSQLXML(int arg0, java.sql.SQLXML arg1)
           
<T> T
unwrap(java.lang.Class<T> arg0)
           
 
Methods inherited from class org.apache.derby.client.am.LogicalPreparedStatement
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, setURL
 
Methods inherited from class org.apache.derby.client.am.LogicalStatementEntity
close, getPhysCs, getPhysPs, isLogicalEntityClosed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.Statement
close
 

Constructor Detail

LogicalPreparedStatement40

public LogicalPreparedStatement40(java.sql.PreparedStatement physicalPs,
                                  StatementKey stmtKey,
                                  StatementCacheInteractor cacheInteractor)
Creates a new logical prepared statement.

Parameters:
physicalPs - underlying physical statement
stmtKey - key for the physical statement
cacheInteractor - creating statement cache interactor
Throws:
java.lang.IllegalArgumentException - if cache is null
Method Detail

setRowId

public void setRowId(int arg0,
                     java.sql.RowId arg1)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

setNString

public void setNString(int arg0,
                       java.lang.String arg1)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

setNCharacterStream

public void setNCharacterStream(int arg0,
                                java.io.Reader arg1,
                                long arg2)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

setNClob

public void setNClob(int arg0,
                     java.sql.NClob arg1)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

setClob

public void setClob(int arg0,
                    java.io.Reader arg1,
                    long arg2)
             throws java.sql.SQLException
Throws:
java.sql.SQLException

setBlob

public void setBlob(int arg0,
                    java.io.InputStream arg1,
                    long arg2)
             throws java.sql.SQLException
Throws:
java.sql.SQLException

setNClob

public void setNClob(int arg0,
                     java.io.Reader arg1,
                     long arg2)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

setSQLXML

public void setSQLXML(int arg0,
                      java.sql.SQLXML arg1)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

setAsciiStream

public void setAsciiStream(int arg0,
                           java.io.InputStream arg1,
                           long arg2)
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

setBinaryStream

public void setBinaryStream(int arg0,
                            java.io.InputStream arg1,
                            long arg2)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

setCharacterStream

public void setCharacterStream(int arg0,
                               java.io.Reader arg1,
                               long arg2)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

setAsciiStream

public void setAsciiStream(int arg0,
                           java.io.InputStream arg1)
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

setBinaryStream

public void setBinaryStream(int arg0,
                            java.io.InputStream arg1)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

setCharacterStream

public void setCharacterStream(int arg0,
                               java.io.Reader arg1)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

setNCharacterStream

public void setNCharacterStream(int arg0,
                                java.io.Reader arg1)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

setClob

public void setClob(int arg0,
                    java.io.Reader arg1)
             throws java.sql.SQLException
Throws:
java.sql.SQLException

setBlob

public void setBlob(int arg0,
                    java.io.InputStream arg1)
             throws java.sql.SQLException
Throws:
java.sql.SQLException

setNClob

public void setNClob(int arg0,
                     java.io.Reader arg1)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

isClosed

public boolean isClosed()
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

setPoolable

public void setPoolable(boolean arg0)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

isPoolable

public boolean isPoolable()
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

unwrap

public <T> T unwrap(java.lang.Class<T> arg0)
         throws java.sql.SQLException
Throws:
java.sql.SQLException

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> arg0)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.