java.io.Serializable
, java.lang.AutoCloseable
, java.lang.Cloneable
, java.sql.ResultSet
, java.sql.Wrapper
, javax.sql.RowSet
, javax.sql.rowset.CachedRowSet
, javax.sql.rowset.FilteredRowSet
, javax.sql.rowset.Joinable
, javax.sql.rowset.spi.SyncResolver
, javax.sql.rowset.WebRowSet
, javax.sql.RowSetInternal
, SortedRowSet
, WLCachedRowSet
, WLRowSetInternal
FilteredRowSetImpl
, JoinRowSetImpl
, WebRowSetImpl
@Deprecated public class CachedRowSetImpl extends BaseRowSet implements WLCachedRowSet, WLRowSetInternal, javax.sql.rowset.spi.SyncResolver, java.io.Serializable, java.lang.Cloneable
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
DELETE_ROW_CONFLICT, INSERT_ROW_CONFLICT, NO_ROW_CONFLICT, UPDATE_ROW_CONFLICT
ALL_ROWS, CHANGED_ALL, CHANGED_CURRENT, CHANGED_ORIGINAL, CURRENT_ALL, UNCHANGED_CURRENT
Modifier and Type | Method | Description |
---|---|---|
void |
acceptChanges() |
Deprecated.
CachedRowSet
Propagates all row update, insert, and delete
changes to the underlying data source backing this CachedRowSetImpl
object.
|
void |
acceptChanges(java.sql.Connection con) |
Deprecated.
CachedRowSet
Propagates all row update,
insert, and delete changes to the data source backing this
CachedRowSetImpl object using the given Connection object
to establish a connection to the datasource.
|
void |
cancelRowUpdates() |
Deprecated.
ResultSet
Rolls back any updates made to the current
row of this CachedRowSetImpl object and notifies listeners that
a row has changed.
|
void |
close() |
Deprecated.
ResultSet
Closes this CachedRowSetImpl objecy and releases any resources it
was using.
|
void |
commit() |
Deprecated.
CachedRowSet
Commits all changes performed by the acceptChanges() methods
|
javax.sql.rowset.CachedRowSet |
createCopy() |
Deprecated.
CachedRowSet
Creates a RowSet object that is a deep copy of this CachedRowSetImpl
object's data, including constraints.
|
javax.sql.rowset.CachedRowSet |
createCopyNoConstraints() |
Deprecated.
CachedRowSet
Creates a CachedRowSet object that is a copy of this
CachedRowSetImpl object's data only.
|
javax.sql.rowset.CachedRowSet |
createCopySchema() |
Deprecated.
CachedRowSet
Creates a RowSet object that is a copy of this CachedRowSetImpl object's
table structure and the constraints only.
|
javax.sql.RowSet |
createShared() |
Deprecated.
CachedRowSet
Returns a new RowSet object backed by the same data as that of this
CachedRowSetImpl object and sharing a set of cursors with it.
|
void |
deleteRow() |
Deprecated.
ResultSet
Deletes the current row from this CachedRowSetImpl
object and notifies listeners registered with this rowset that
a row has changed.
|
void |
execute() |
Deprecated.
RowSet
Populates this CachedRowSetImpl object with data using the command
|
void |
execute(java.sql.Connection con) |
Deprecated.
CachedRowSet
Populates this CachedRowSetImpl
object with data, using the given connection to produce the result set
from which data will be read.
|
java.lang.String |
executeAndGuessTableName() |
Deprecated.
WLS extension
Parse the associated SQL and sets the table name for all columns as
the first word following the SQL keyword FROM.
|
boolean |
executeAndGuessTableNameAndPrimaryKeys() |
Deprecated.
WLS extension
Parses the SQL command to read the table name.
|
java.util.Map |
getCurrentRow() |
Deprecated.
CachedRowSet
Returns the insert row or the current row of this CachedRowSetImplobject.
|
javax.sql.rowset.Predicate |
getFilter() |
Deprecated.
FilteredRowSetImpl - Retrieve the filter active for this FilteredRowSet
|
<T> T |
getObject(int columnIndex,
java.lang.Class<T> type) |
Deprecated.
ResultSet - not supported.
|
<T> T |
getObject(java.lang.String columnLabel,
java.lang.Class<T> type) |
Deprecated.
ResultSet - not supported.
|
java.sql.ResultSet |
getOriginal() |
Deprecated.
CachedRowSet
Returns a result set containing the original value of the rowset.
|
java.sql.ResultSet |
getOriginalRow() |
Deprecated.
CachedRowSet
Returns a result set containing the original value of the current row only.
|
int |
getPageSize() |
Deprecated.
CachedRowSet
This is the getter function for the size of the page.
|
java.util.Map |
getRow(int index) |
Deprecated.
CachedRowSet
Returns the number of the current row in this CachedRowSetImpl object.
|
java.util.Comparator |
getSorter() |
Deprecated.
SortedRowSetImpl - Get a Comparator that will be used to sort the
rows of the RowSet object
|
void |
insertRow() |
Deprecated.
ResultSet
Inserts the contents of this CachedRowSetImpl
object's insert row into this rowset immediately following the
current row.
|
boolean |
isWrapperFor(java.lang.Class<?> iface) |
Deprecated.
ResultSet
|
void |
moveToCurrentRow() |
Deprecated.
ResultSet
Moves the cursor for this CachedRowSetImpl object to the current row.
|
void |
moveToInsertRow() |
Deprecated.
ResultSet
Moves the cursor for this CachedRowSetImpl object to the insert row.
|
void |
moveToUpdateRow() |
Deprecated.
WLS Extension
Mark the current row as updated even if it has no original value.
|
boolean |
nextPage() |
Deprecated.
CachedRowSet
The nextPage gets the next page, that is a CachedRowSetImpl object
containing the number of rows specified by page size.
|
void |
populate(java.sql.ResultSet rs) |
Deprecated.
CachedRowSet
Populates this CachedRowSetImpl object with data from the given
ResultSet object.
|
void |
populate(java.sql.ResultSet rs,
int i) |
Deprecated.
CachedRowSet
Populates this CachedRowSet object with data from the given
ResultSet object.
|
(package private) void |
populateInternal(java.sql.ResultSet rs) |
Deprecated.
CachedRowSet
Populates this CachedRowSet object with data from the given
ResultSet object.
|
boolean |
previousPage() |
Deprecated.
CachedRowSet
Retrieves the data present in the page prior to the page from where
it is called.
|
void |
readXml(java.io.InputStream iStream) |
Deprecated.
WebRowSet
|
void |
readXml(java.io.Reader reader) |
Deprecated.
WebRowSet
Reads a WebRowSet object in its XML format from the given Reader object.
|
void |
readXml(XMLInputStream xis) |
Deprecated.
WLS Extension
Reads a stream based XML input to populate this WebRowSet object.
|
void |
refreshRow() |
Deprecated.
ResultSet
Sets the current row with its original value and marks the row as not
updated, thus undoing any changes made to the row since the last call
to the methods updateRow or deleteRow.
|
void |
release() |
Deprecated.
CachedRowSet
Releases the current contents of this CachedRowSetImpl object and sends
a rowSetChanged event object to all registered listeners.
|
void |
restoreOriginal() |
Deprecated.
CachedRowSet
Restores this CachedRowSetImpl object to its
original state, that is, its state before the last set of changes.
|
void |
rollback() |
Deprecated.
CachedRowSet
Rolls back all changes performed by the acceptChanges() methods
|
void |
rollback(java.sql.Savepoint s) |
Deprecated.
CachedRowSet
Rolls back all changes performed by the acceptChanges() to the
last Savepoint transaction marker.
|
void |
rowSetPopulated(javax.sql.RowSetEvent rse,
int i) |
Deprecated.
CachedRowSet
Notifies registered listeners that a RowSet object in the
given RowSetEvent object has populated a number of additional rows.
|
void |
setFilter(javax.sql.rowset.Predicate p) |
Deprecated.
FilteredRowSetImpl - Apply the predicate for this filter
|
void |
setOriginalRow() |
Deprecated.
CachedRowSet
void setOriginalRow() - Marks the current row in this rowset as being
an original row.
|
void |
setPageSize(int i) |
Deprecated.
CachedRowSet
This is the setter function for setting the size of the page,
which specifies how many rows have to be retrived at a time.
|
void |
setRowSetSynced() |
Deprecated.
WLS Extension
Mark the whole RowSet object as it has been synced with backend DataSource.
|
void |
setRowSynced() |
Deprecated.
WLS Extension
Mark current row as it has been synced with backend DataSource.
|
void |
setSorter(java.util.Comparator s) |
Deprecated.
SortedRowSetImpl - Set a Comparator that will be used to sort the
rows of the RowSet object
|
int |
size() |
Deprecated.
CachedRowSet
Returns the number of rows in this CachedRowSetImpl object.
|
java.util.Collection |
toCollection() |
Deprecated.
CachedRowSet
Converts this CachedRowSet object to a Collection object that
contains all of this CachedRowSet object's data.
|
java.util.Collection |
toCollection(int column) |
Deprecated.
CachedRowSet
Converts the designated column in this CachedRowSet object to a
Collection object.
|
java.util.Collection |
toCollection(java.lang.String column) |
Deprecated.
CachedRowSet
Converts the designated column in this CachedRowSet object to a
Collection object.
|
void |
undoDelete() |
Deprecated.
CachedRowSet
void undoDelete() - Cancels deletion of the current row and notifies
listeners that a row has changed.
|
void |
undoInsert() |
Deprecated.
CachedRowSet
Immediately removes the current row from this
CachedRowSetImpl object if the row has been inserted, and also
notifies listeners the a row has changed.
|
void |
undoUpdate() |
Deprecated.
CachedRowSet
Immediately reverses the last update operation if
the row has been modified.
|
<T> T |
unwrap(java.lang.Class<T> iface) |
Deprecated.
ResultSet
|
void |
updateRow() |
Deprecated.
ResultSet
Marks the current row of this CachedRowSetImpl object
as updated and notifies listeners registered with this rowset that
the row has changed.
|
void |
writeXml(java.io.OutputStream oStream) |
Deprecated.
WebRowSet
Writes the data, properties, and metadata for this WebRowSet
object to the given OutputStream object in XML format.
|
void |
writeXml(java.io.Writer oWriter) |
Deprecated.
WebRowSet
Writes the data, properties, and metadata for this WebRowSet object
to the given Writer object in XML format.
|
void |
writeXml(java.sql.ResultSet rs,
java.io.OutputStream oStream) |
Deprecated.
WebRowSet
Populates this WebRowSet object with the contents of the given
ResultSet object and writes its data, properties, and metadata to
the given OutputStream object in XML format.
|
void |
writeXml(java.sql.ResultSet rs,
java.io.Writer writer) |
Deprecated.
WebRowSet
Populates this WebRowSet object with the contents of the given
ResultSet object and writes its data, properties, and metadata
to the given Writer object in XML format.
|
absolute, addRowSetListener, afterLast, beforeFirst, clearParameters, clearWarnings, columnUpdated, columnUpdated, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getCommand, getConcurrency, getConnection, getCursorName, getDataSource, getDataSourceName, getDate, getDate, getDate, getDate, getDouble, getDouble, getEscapeProcessing, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getInt, getKeyColumns, getLong, getLong, getMatchColumnIndexes, getMatchColumnNames, getMaxFieldSize, getMaxRows, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getPassword, getQueryTimeout, getRef, getRef, getRow, getRowId, getRowId, getRowSetWarnings, getShort, getShort, getShowDeleted, getSQLXML, getSQLXML, getStatement, getString, getString, getSyncProvider, getTableName, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getTransactionIsolation, getType, getTypeMap, getUnicodeStream, getUnicodeStream, getUrl, getURL, getURL, getUsername, getWarnings, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isReadOnly, last, next, previous, relative, removeRowSetListener, rowDeleted, rowInserted, rowUpdated, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBlob, setBlob, setBlob, setBoolean, setBoolean, setByte, setByte, setBytes, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setClob, setClob, setClob, setCommand, setConcurrency, setDataSource, setDataSourceName, setDate, setDate, setDate, setDate, setDouble, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setFloat, setInt, setInt, setKeyColumns, setLong, setLong, setMatchColumn, setMatchColumn, setMatchColumn, setMatchColumn, setMaxFieldSize, setMaxRows, setMetaData, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNClob, setNClob, setNClob, setNString, setNString, setNull, setNull, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setObject, setPassword, setQueryTimeout, setReadOnly, setRef, setRowId, setRowId, setShort, setShort, setShowDeleted, setSQLXML, setSQLXML, setString, setString, setSyncProvider, setTableName, setTime, setTime, setTime, setTime, setTimestamp, setTimestamp, setTimestamp, setTimestamp, setTransactionIsolation, setType, setTypeMap, setUrl, setURL, setUsername, unsetMatchColumn, unsetMatchColumn, unsetMatchColumn, unsetMatchColumn, 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, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
columnUpdated, columnUpdated, getKeyColumns, getRowSetWarnings, getShowDeleted, getSyncProvider, getTableName, setKeyColumns, setMetaData, setShowDeleted, setSyncProvider, setTableName
getMatchColumnIndexes, getMatchColumnNames, setMatchColumn, setMatchColumn, setMatchColumn, setMatchColumn, unsetMatchColumn, unsetMatchColumn, unsetMatchColumn, unsetMatchColumn
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
absolute, afterLast, beforeFirst, clearWarnings, 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, getHoldability, 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, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, last, next, previous, 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, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
addRowSetListener, clearParameters, getCommand, getDataSourceName, getEscapeProcessing, getMaxFieldSize, getMaxRows, getPassword, getQueryTimeout, getTransactionIsolation, getTypeMap, getUrl, getUsername, isReadOnly, removeRowSetListener, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBlob, setBlob, setBlob, setBoolean, setBoolean, setByte, setByte, setBytes, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setClob, setClob, setClob, setCommand, setConcurrency, setDataSourceName, setDate, setDate, setDate, setDate, setDouble, setDouble, setEscapeProcessing, setFloat, setFloat, setInt, setInt, setLong, setLong, setMaxFieldSize, setMaxRows, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNClob, setNClob, setNClob, setNString, setNString, setNull, setNull, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setObject, setPassword, setQueryTimeout, setReadOnly, setRef, setRowId, setRowId, setShort, setShort, setSQLXML, setSQLXML, setString, setString, setTime, setTime, setTime, setTime, setTimestamp, setTimestamp, setTimestamp, setTimestamp, setTransactionIsolation, setType, setTypeMap, setUrl, setURL, setUsername
getDataSource, isComplete, setDataSource
void populateInternal(java.sql.ResultSet rs) throws java.sql.SQLException
java.sql.SQLException
public void populate(java.sql.ResultSet rs) throws java.sql.SQLException
populate
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void populate(java.sql.ResultSet rs, int i) throws java.sql.SQLException
populate
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void execute() throws java.sql.SQLException
execute
in interface javax.sql.RowSet
java.sql.SQLException
public void execute(java.sql.Connection con) throws java.sql.SQLException
execute
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public java.lang.String executeAndGuessTableName() throws java.sql.SQLException
executeAndGuessTableName
in interface WLCachedRowSet
java.sql.SQLException
- if a database access error occurs or any of the
properties necessary for making a connection and creating
a statement have not been setpublic boolean executeAndGuessTableNameAndPrimaryKeys() throws java.sql.SQLException
executeAndGuessTableNameAndPrimaryKeys
in interface WLCachedRowSet
java.sql.SQLException
- if a database access error occurs or any of the
properties necessary for making a connection and creating
a statement have not been setpublic void acceptChanges() throws javax.sql.rowset.spi.SyncProviderException
acceptChanges
in interface javax.sql.rowset.CachedRowSet
javax.sql.rowset.spi.SyncProviderException
public void acceptChanges(java.sql.Connection con) throws javax.sql.rowset.spi.SyncProviderException
acceptChanges
in interface javax.sql.rowset.CachedRowSet
javax.sql.rowset.spi.SyncProviderException
public void insertRow() throws java.sql.SQLException
insertRow
in interface java.sql.ResultSet
java.sql.SQLException
public void undoInsert() throws java.sql.SQLException
undoInsert
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void deleteRow() throws java.sql.SQLException
deleteRow
in interface java.sql.ResultSet
java.sql.SQLException
public void undoDelete() throws java.sql.SQLException
undoDelete
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void updateRow() throws java.sql.SQLException
updateRow
in interface java.sql.ResultSet
java.sql.SQLException
public void undoUpdate() throws java.sql.SQLException
undoUpdate
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void cancelRowUpdates() throws java.sql.SQLException
cancelRowUpdates
in interface java.sql.ResultSet
java.sql.SQLException
public void setOriginalRow() throws java.sql.SQLException
setOriginalRow
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void restoreOriginal() throws java.sql.SQLException
restoreOriginal
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public java.sql.ResultSet getOriginal() throws java.sql.SQLException
getOriginal
in interface javax.sql.rowset.CachedRowSet
getOriginal
in interface javax.sql.RowSetInternal
java.sql.SQLException
public java.sql.ResultSet getOriginalRow() throws java.sql.SQLException
getOriginalRow
in interface javax.sql.rowset.CachedRowSet
getOriginalRow
in interface javax.sql.RowSetInternal
java.sql.SQLException
public void refreshRow() throws java.sql.SQLException
refreshRow
in interface java.sql.ResultSet
java.sql.SQLException
public void moveToInsertRow()
moveToInsertRow
in interface java.sql.ResultSet
public void moveToCurrentRow()
moveToCurrentRow
in interface java.sql.ResultSet
public void moveToUpdateRow()
moveToUpdateRow
in interface WLCachedRowSet
public void setRowSynced() throws java.sql.SQLException
setRowSynced
in interface WLCachedRowSet
java.sql.SQLException
public void setRowSetSynced() throws java.sql.SQLException
setRowSetSynced
in interface WLCachedRowSet
java.sql.SQLException
public void setFilter(javax.sql.rowset.Predicate p)
setFilter
in interface javax.sql.rowset.FilteredRowSet
public javax.sql.rowset.Predicate getFilter()
getFilter
in interface javax.sql.rowset.FilteredRowSet
public void setSorter(java.util.Comparator s)
setSorter
in interface SortedRowSet
s
- Comparator instance used to decide the order of rows.public java.util.Comparator getSorter()
getSorter
in interface SortedRowSet
public int size()
size
in interface javax.sql.rowset.CachedRowSet
size
in class BaseRowSet
public java.util.Map getCurrentRow() throws java.sql.SQLException
getCurrentRow
in interface WLCachedRowSet
java.sql.SQLException
- if the current RowSet position is not a
valid rowpublic java.util.Map getRow(int index) throws java.sql.SQLException
getRow
in interface WLCachedRowSet
index
- row index into the row set. Valid values are [0 ...
row.size() -1]java.sql.SQLException
- if the index is not a valid rowpublic java.util.Collection toCollection() throws java.sql.SQLException
toCollection
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public java.util.Collection toCollection(int column) throws java.sql.SQLException
toCollection
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public java.util.Collection toCollection(java.lang.String column) throws java.sql.SQLException
toCollection
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void readXml(XMLInputStream xis) throws java.io.IOException, java.sql.SQLException
java.io.IOException
java.sql.SQLException
public void readXml(java.io.Reader reader) throws java.sql.SQLException
readXml
in interface javax.sql.rowset.WebRowSet
java.sql.SQLException
public void readXml(java.io.InputStream iStream) throws java.sql.SQLException, java.io.IOException
readXml
in interface javax.sql.rowset.WebRowSet
java.sql.SQLException
java.io.IOException
public void writeXml(java.io.Writer oWriter) throws java.sql.SQLException
writeXml
in interface javax.sql.rowset.WebRowSet
java.sql.SQLException
public void writeXml(java.io.OutputStream oStream) throws java.sql.SQLException, java.io.IOException
writeXml
in interface javax.sql.rowset.WebRowSet
java.sql.SQLException
java.io.IOException
public void writeXml(java.sql.ResultSet rs, java.io.Writer writer) throws java.sql.SQLException
writeXml
in interface javax.sql.rowset.WebRowSet
java.sql.SQLException
public void writeXml(java.sql.ResultSet rs, java.io.OutputStream oStream) throws java.sql.SQLException, java.io.IOException
writeXml
in interface javax.sql.rowset.WebRowSet
java.sql.SQLException
java.io.IOException
public javax.sql.RowSet createShared() throws java.sql.SQLException
createShared
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public javax.sql.rowset.CachedRowSet createCopy() throws java.sql.SQLException
createCopy
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public javax.sql.rowset.CachedRowSet createCopySchema() throws java.sql.SQLException
createCopySchema
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public javax.sql.rowset.CachedRowSet createCopyNoConstraints() throws java.sql.SQLException
createCopyNoConstraints
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void close()
close
in interface java.lang.AutoCloseable
close
in interface java.sql.ResultSet
public void release() throws java.sql.SQLException
release
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public boolean previousPage() throws java.sql.SQLException
previousPage
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public boolean nextPage() throws java.sql.SQLException
nextPage
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public int getPageSize()
getPageSize
in interface javax.sql.rowset.CachedRowSet
public void setPageSize(int i) throws java.sql.SQLException
setPageSize
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void rowSetPopulated(javax.sql.RowSetEvent rse, int i) throws java.sql.SQLException
rowSetPopulated
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void rollback(java.sql.Savepoint s) throws java.sql.SQLException
rollback
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void rollback() throws java.sql.SQLException
rollback
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public void commit() throws java.sql.SQLException
commit
in interface javax.sql.rowset.CachedRowSet
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
java.sql.SQLException
public <T> T getObject(int columnIndex, java.lang.Class<T> type) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException
public <T> T getObject(java.lang.String columnLabel, java.lang.Class<T> type) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
java.sql.SQLException