org.apache.derby.client.net
Class NetResultSet40

java.lang.Object
  extended by org.apache.derby.client.am.ResultSet
      extended by org.apache.derby.client.net.NetResultSet
          extended by org.apache.derby.client.net.NetResultSet40
All Implemented Interfaces:
java.sql.ResultSet, java.sql.Wrapper, ResultSetCallbackInterface, UnitOfWorkListener

public class NetResultSet40
extends NetResultSet


Field Summary
 
Fields inherited from class org.apache.derby.client.net.NetResultSet
firstOutovrBuilt_, netCursor_
 
Fields inherited from class org.apache.derby.client.am.ResultSet
ABSOLUTE_ROWSET, absolutePosition_, absoluteRowNumberForTheIntendedRow_, agent_, connection_, currentRowInRowset_, cursor_, cursorHold_, cursorUnpositionedOnServer_, DDM_RETURN_CALLER, DDM_RETURN_CLIENT, fetchDirection_, fetchSize_, FIRST_ROWSET, firstRowInRowset_, generatedSection_, isAfterLast_, isBeforeFirst_, isFirst_, isLast_, isOnCurrentRow_, isRowsetCursor_, isValidCursorPosition_, LAST_ROWSET, lastRowInRowset_, nestingLevel_, NEXT_ROWSET, openOnServer_, PREVIOUS_ROWSET, queryInstanceIdentifier_, queryTerminatingSqlca_, REFRESH_ROWSET, RELATIVE_ROWSET, resultSetConcurrency_, resultSetHoldability_, resultSetMetaData_, resultSetType_, rowCount_, rowsetContainsLastRow_, rowsetSqlca_, rowsReceivedInCurrentRowset_, rowsYetToBeReceivedForRowset_, rsReturnability_, scrollable_, scrollOrientation_absolute__, scrollOrientation_after__, scrollOrientation_before__, scrollOrientation_current__, scrollOrientation_first__, scrollOrientation_last__, scrollOrientation_next__, scrollOrientation_prior__, scrollOrientation_relative__, sensitivity_, sensitivity_insensitive__, sensitivity_sensitive_dynamic__, sensitivity_sensitive_static__, sensitivity_unknown__, statement_, suggestedFetchSize_, updatability_delete__, updatability_readOnly__, updatability_unknown__, updatability_update__
 
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
 
Constructor Summary
NetResultSet40(NetAgent netAgent, NetStatement netStatement, Cursor cursor, int qryprctyp, int sqlcsrhld, int qryattscr, int qryattsns, int qryattset, long qryinsid, int actualResultSetType, int actualResultSetConcurrency, int actualResultSetHoldability)
           
 
Method Summary
 java.io.Reader getNCharacterStream(int columnIndex)
           
 java.io.Reader getNCharacterStream(java.lang.String columnName)
           
 java.sql.NClob getNClob(int i)
           
 java.sql.NClob getNClob(java.lang.String colName)
           
 java.lang.String getNString(int columnIndex)
           
 java.lang.String getNString(java.lang.String columnName)
           
 java.sql.RowId getRowId(int columnIndex)
           
 java.sql.RowId getRowId(java.lang.String columnName)
           
 java.sql.SQLXML getSQLXML(int columnIndex)
           
 java.sql.SQLXML getSQLXML(java.lang.String colName)
           
 boolean isWrapperFor(java.lang.Class<?> interfaces)
          Returns false unless interfaces is implemented
<T> T
unwrap(java.lang.Class<T> interfaces)
          Returns this if this class implements the interface
 void updateNCharacterStream(int columnIndex, java.io.Reader x, long length)
           
 void updateNCharacterStream(java.lang.String columnName, java.io.Reader x, long length)
           
 void updateNClob(int columnIndex, java.sql.NClob nClob)
           
 void updateNClob(int columnIndex, java.io.Reader x, long length)
          Updates the designated column with a java.sql.NClob value.
 void updateNClob(java.lang.String columnName, java.io.InputStream x, long length)
          Updates the designated column with a java.sql.NClob value.
 void updateNClob(java.lang.String columnName, java.sql.NClob nClob)
           
 void updateNClob(java.lang.String columnName, java.io.Reader x, long length)
          Updates the designated column with a java.sql.NClob value.
 void updateNString(int columnIndex, java.lang.String nString)
           
 void updateNString(java.lang.String columnName, java.lang.String nString)
           
 void updateRowId(int columnIndex, java.sql.RowId x)
           
 void updateRowId(java.lang.String columnName, java.sql.RowId x)
           
 void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject)
           
 void updateSQLXML(java.lang.String columnName, java.sql.SQLXML xmlObject)
           
 
Methods inherited from class org.apache.derby.client.net.NetResultSet
flowFetchToCompleteRowset, parseRowset_, preClose_, queryDataWasReturnedOnOpen, readCursorClose_, readFetch_, readPositioningFetch_, readScrollableFetch_, setFetchSize_, writeCursorClose_, writeFetch_, writePositioningFetch_, writeScrollableFetch_
 
Methods inherited from class org.apache.derby.client.am.ResultSet
absolute, absoluteX, accumulateWarning, afterLast, beforeFirst, cancelRowUpdates, checkAndThrowReceivedQueryTerminatingException, checkForClosedResultSet, clearWarnings, clearWarningsX, close, closeX, completeLocalCommit, completeLocalRollback, completeSqlca, delete, deleteRow, earlyCloseComplete, expandRowsetSqlca, findColumn, first, flowFetch, flowPositioningFetch, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getConnectionCallbackInterface, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getInt, getLong, getLong, getMetaData, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowCount, getRSReturnability, getShort, getShort, getStatement, getStatementCallbackInterface, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insert, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, last, listenToUnitOfWork, markClosedOnServer, markLOBAsPublished, moveToAfterLast, moveToBeforeFirst, moveToCurrentRow, moveToInsertRow, next, nullDataForGC, parseScrollableRowset, positionToCurrentRowAndDelete, positionToCurrentRowAndUpdate, previous, readDeleteRow, readInsertRow, readUpdateRow, refreshRow, relative, repositionScrollableResultSetBeforeJDBC1PositionedUpdateDelete, rowCountIsKnown, rowCountIsUnknown, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, setRowCountEvent, setRowsetAfterLastEvent, setRowsetBeforeFirstEvent, setRowsetNoRowsEvent, setRSReturnability, setValidCursorPosition, update, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateColumnInfoFromCache, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull, writeDeleteRow, writeInsertRow, writeUpdateRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetResultSet40

NetResultSet40(NetAgent netAgent,
               NetStatement netStatement,
               Cursor cursor,
               int qryprctyp,
               int sqlcsrhld,
               int qryattscr,
               int qryattsns,
               int qryattset,
               long qryinsid,
               int actualResultSetType,
               int actualResultSetConcurrency,
               int actualResultSetHoldability)
Method Detail

getNCharacterStream

public java.io.Reader getNCharacterStream(int columnIndex)
                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getNCharacterStream

public java.io.Reader getNCharacterStream(java.lang.String columnName)
                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getNString

public java.lang.String getNString(int columnIndex)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

getNString

public java.lang.String getNString(java.lang.String columnName)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

getRowId

public java.sql.RowId getRowId(int columnIndex)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getRowId

public java.sql.RowId getRowId(java.lang.String columnName)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

updateRowId

public void updateRowId(int columnIndex,
                        java.sql.RowId x)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

updateRowId

public void updateRowId(java.lang.String columnName,
                        java.sql.RowId x)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

updateNString

public void updateNString(int columnIndex,
                          java.lang.String nString)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

updateNString

public void updateNString(java.lang.String columnName,
                          java.lang.String nString)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

updateNCharacterStream

public void updateNCharacterStream(int columnIndex,
                                   java.io.Reader x,
                                   long length)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

updateNCharacterStream

public void updateNCharacterStream(java.lang.String columnName,
                                   java.io.Reader x,
                                   long length)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(int columnIndex,
                        java.sql.NClob nClob)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

updateNClob

public void updateNClob(java.lang.String columnName,
                        java.sql.NClob nClob)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getNClob

public java.sql.NClob getNClob(int i)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getNClob

public java.sql.NClob getNClob(java.lang.String colName)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getSQLXML

public java.sql.SQLXML getSQLXML(int columnIndex)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

getSQLXML

public java.sql.SQLXML getSQLXML(java.lang.String colName)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

updateSQLXML

public void updateSQLXML(int columnIndex,
                         java.sql.SQLXML xmlObject)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

updateSQLXML

public void updateSQLXML(java.lang.String columnName,
                         java.sql.SQLXML xmlObject)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> interfaces)
                     throws java.sql.SQLException
Returns false unless interfaces is implemented

Parameters:
interfaces - a Class defining an interface.
Returns:
true if this implements the interface or directly or indirectly wraps an object that does.
Throws:
java.sql.SQLException - if an error occurs while determining whether this is a wrapper for an object with the given interface.

unwrap

public <T> T unwrap(java.lang.Class<T> interfaces)
         throws java.sql.SQLException
Returns this if this class implements the interface

Parameters:
interfaces - a Class defining an interface
Returns:
an object that implements the interface
Throws:
java.sql.SQLExption - if no object if found that implements the interface
java.sql.SQLException

updateNClob

public void updateNClob(int columnIndex,
                        java.io.Reader x,
                        long length)
                 throws java.sql.SQLException
Updates the designated column with a java.sql.NClob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Parameters:
columnIndex - - the first column is 1, the second is 2
x - - the new column value
Throws:
java.sql.SQLException - Feature not implemented for now.

updateNClob

public void updateNClob(java.lang.String columnName,
                        java.io.InputStream x,
                        long length)
                 throws java.sql.SQLException
Updates the designated column with a java.sql.NClob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Parameters:
columnName - - the name of the Clob column
x - - the new column value
Throws:
java.sql.SQLException - Feature not implemented for now.

updateNClob

public void updateNClob(java.lang.String columnName,
                        java.io.Reader x,
                        long length)
                 throws java.sql.SQLException
Updates the designated column with a java.sql.NClob value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Parameters:
columnName - - the name of the Clob column
x - - the new column value
Throws:
java.sql.SQLException - Feature not implemented for now.

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.