org.apache.derby.iapi.jdbc
Interface EngineResultSet

All Superinterfaces:
java.sql.ResultSet, java.sql.Wrapper
All Known Implementing Classes:
EmbedResultSet, EmbedResultSet169, EmbedResultSet20, EmbedResultSet40

public interface EngineResultSet
extends java.sql.ResultSet

Additional methods the embedded engine exposes on its ResultSet object implementations. An internal api only, mainly for the network server


Field Summary
 
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
 
Method Summary
 int getHoldability()
          Fetch the holdability of this ResultSet which may be different from the holdability of its Statement.
 int getLength(int columnIndex)
          Return the length of the designated columnIndex data value.
 boolean isForUpdate()
          Is this result set from a select for update statement?
 boolean isNull(int columnIndex)
          Is the designated columnIndex a null data value?
 
Methods inherited from interface java.sql.ResultSet
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, close, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, 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, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Method Detail

isForUpdate

boolean isForUpdate()
Is this result set from a select for update statement?


isNull

boolean isNull(int columnIndex)
               throws java.sql.SQLException
Is the designated columnIndex a null data value? This is used by EXTDTAInputStream to get the null value without retrieving the underlying data value.

Parameters:
columnIndex -
Returns:
true if the data value at columnIndex for the current row is null
Throws:
java.sql.SQLException

getLength

int getLength(int columnIndex)
              throws java.sql.SQLException
Return the length of the designated columnIndex data value. Implementation is type dependent.

Parameters:
columnIndex - column to access
Returns:
length of data value
Throws:
java.sql.SQLException
See Also:
DataValueDescriptor.getLength()

getHoldability

int getHoldability()
                   throws java.sql.SQLException
Fetch the holdability of this ResultSet which may be different from the holdability of its Statement.

Specified by:
getHoldability in interface java.sql.ResultSet
Returns:
HOLD_CURSORS_OVER_COMMIT or CLOSE_CURSORS_AT_COMMIT
Throws:
java.sql.SQLException - Error.

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

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