APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.rowset.internal

public Class SyncResolverImpl

extends CachedRowSetImpl
implements SyncResolver
Class Inheritance
All Implemented Interfaces
javax.sql.rowset.spi.SyncResolver, javax.sql.RowSet, java.sql.ResultSet, java.lang.AutoCloseable, java.sql.Wrapper
Imports
java.sql.*, javax.sql.*, java.util.*, java.math.BigDecimal, javax.sql.rowset.*, javax.sql.rowset.spi.*, com.sun.rowset.*, java.io.IOException, .ObjectInputStream

There will be two sets of data which will be maintained by the rowset at the time of synchronization. The SyncProvider will utilize the SyncResolver to synchronize the changes back to database.

Field Summary

Modifier and TypeField and Description
private transient Connection
con

The Connection handle used to synchronize the changes back to datasource.

private CachedRowSetImpl
crsRes

This CachedRowSet object will encapsulate a rowset which will be sync'ed with the datasource but will contain values in rows where there is conflict.

private CachedRowSetImpl
crsSync

This is the actual CachedRowSet object which is being synchronized back to datasource.

private CachedRowSetWriter
crw

The RowSetWriter associated with the original CachedRowSet object which is being synchronized.

private JdbcRowSetResourceBundle
private CachedRowSet
row

The CachedRowSet object which will encapsulate a row at any time.

private int
rowStatus

Row number identifier

pack-priv static final long
private ArrayList<?>
stats

This ArrayList will contain the status of a row from the SyncResolver.* values else it will be null.

private int
sz

This will contain the size of the CachedRowSet object

Constructor Summary

AccessConstructor and Description
public
SyncResolverImpl()

Public constructor

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the cursor is on the rowset; false otherwise
absolute
(int
a positive number to indicate the row, starting row numbering from the first row, which is 1; a negative number to indicate the row, starting row numbering from the last row, which is -1; it must not be 0
row
)

Overrides com.sun.rowset.CachedRowSetImpl.absolute.

Implements java.sql.ResultSet.absolute.

Moves this CachedRowSetImpl object's cursor to the row number specified.

public void
acceptChanges()

Overrides com.sun.rowset.CachedRowSetImpl.acceptChanges.

Implements javax.sql.rowset.CachedRowSet.acceptChanges.

Propagates all row update, insert, and delete changes to the underlying data source backing this CachedRowSetImpl object.

public void
acceptChanges(Connection
a standard JDBC Connection object
con
)

Overrides com.sun.rowset.CachedRowSetImpl.acceptChanges.

Implements javax.sql.rowset.CachedRowSet.acceptChanges.

Propagates all row update, insert, and delete changes to the data source backing this CachedRowSetImpl object using the given Connection object.

public void
afterLast()

Overrides com.sun.rowset.CachedRowSetImpl.afterLast.

Implements java.sql.ResultSet.afterLast.

Moves this CachedRowSetImpl object's cursor to the end of the rowset, just after the last row.

public void
beforeFirst()

Overrides com.sun.rowset.CachedRowSetImpl.beforeFirst.

Implements java.sql.ResultSet.beforeFirst.

Moves this CachedRowSetImpl object's cursor to the front of the rowset, just before the first row.

private CachedRowSet
buildCachedRow()

This function builds a row as a CachedRowSet object which has been resolved and is ready to be synchrinized to the datasource

public void
cancelRowUpdates()

Overrides com.sun.rowset.CachedRowSetImpl.cancelRowUpdates.

Implements java.sql.ResultSet.cancelRowUpdates.

Rolls back any updates made to the current row of this CachedRowSetImpl object and notifies listeners that a row has changed.

public void
clearWarnings()

Overrides com.sun.rowset.CachedRowSetImpl.clearWarnings.

Implements java.sql.ResultSet.clearWarnings.

Clears all the warnings reporeted for the CachedRowSetImpl object.

protected Object

Returns:

a copy of this CachedRowSetImpl object
clone
()

Overrides com.sun.rowset.CachedRowSetImpl.clone.

Returns a new RowSet object containing by the same data as this CachedRowSetImpl object.

public void
close()

Overrides com.sun.rowset.CachedRowSetImpl.close.

Implements java.sql.ResultSet.close.

Closes this CachedRowSetImpl objecy and releases any resources it was using.

public boolean

Returns:

true is the designated column has been updated and the rowset detects updates; false if the rowset has not been updated or the rowset does not detect updates
columnUpdated
(int
the index identifier of the column that may be have been updated.
idx
)

Overrides com.sun.rowset.CachedRowSetImpl.columnUpdated.

Implements javax.sql.rowset.CachedRowSet.columnUpdated.

Indicates whether the designated column of the current row of this CachedRowSetImpl object has been updated.

public boolean

Returns:

true is the designated column has been updated and the rowset detects updates; false if the rowset has not been updated or the rowset does not detect updates
columnUpdated
(String
the String column name column that may be have been updated.
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.columnUpdated.

Implements javax.sql.rowset.CachedRowSet.columnUpdated.

Indicates whether the designated column of the current row of this CachedRowSetImpl object has been updated.

public void
commit()

Overrides com.sun.rowset.CachedRowSetImpl.commit.

Implements javax.sql.rowset.CachedRowSet.commit.

Commits all changes performed by the acceptChanges() methods

public CachedRowSet

Returns:

a new CachedRowSet object that is a deep copy of this CachedRowSet object and is completely independent from this CachedRowSetImpl object.
createCopy
()

Overrides com.sun.rowset.CachedRowSetImpl.createCopy.

Implements javax.sql.rowset.CachedRowSet.createCopy.

Creates a RowSet object that is a deep copy of this CachedRowSetImpl object's data, including constraints.

public CachedRowSet

Returns:

a new CachedRowSet object that is a deep copy of this CachedRowSetImpl object and is completely independent from this CachedRowSetImpl object
createCopyNoConstraints
()

Overrides com.sun.rowset.CachedRowSetImpl.createCopyNoConstraints.

Implements javax.sql.rowset.CachedRowSet.createCopyNoConstraints.

Creates a CachedRowSet object that is a copy of this CachedRowSetImpl object's data only.

public CachedRowSet

Returns:

a new CachedRowSet object that is a copy of this CachedRowSetImpl object's schema and retains all the constraints on the original rowset but contains no data
createCopySchema
()

Overrides com.sun.rowset.CachedRowSetImpl.createCopySchema.

Implements javax.sql.rowset.CachedRowSet.createCopySchema.

Creates a RowSet object that is a copy of this CachedRowSetImpl object's table structure and the constraints only.

public RowSet

Returns:

a RowSet object that is a copy of this CachedRowSetImpl object and shares a set of cursors with it
createShared
()

Overrides com.sun.rowset.CachedRowSetImpl.createShared.

Implements javax.sql.rowset.CachedRowSet.createShared.

Returns a new RowSet object backed by the same data as that of this CachedRowSetImpl object and sharing a set of cursors with it.

public void
deleteRow()

Overrides com.sun.rowset.CachedRowSetImpl.deleteRow.

Implements java.sql.ResultSet.deleteRow.

Deletes the current row from this CachedRowSetImpl object and notifies listeners registered with this rowset that a row has changed.

public void
execute(Connection
A standard JDBC Connection object that this CachedRowSet object can pass to a synchronization provider to establish a connection to the data source
conn
)

Overrides com.sun.rowset.CachedRowSetImpl.execute.

Implements javax.sql.rowset.CachedRowSet.execute.

Populates this CachedRowSetImpl object with data, using the given connection to produce the result set from which data will be read.

public void
execute()

Overrides com.sun.rowset.CachedRowSetImpl.execute.

Implements javax.sql.RowSet.execute.

Populates this CachedRowSetImpl object with data.

public int

Returns:

the column index of the given column name
findColumn
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.findColumn.

Implements java.sql.ResultSet.findColumn.

Maps the given column name for one of this CachedRowSetImpl object's columns to its column number.

public boolean

Returns:

true if the cursor is on a valid row; false otherwise or if there are no rows in this CachedRowSetImpl object
first
()

Overrides com.sun.rowset.CachedRowSetImpl.first.

Implements java.sql.ResultSet.first.

Moves this CachedRowSetImpl object's cursor to the first row and returns true if the operation was successful.

public Array

Returns:

an Array object representing an SQL ARRAY value
getArray
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getArray.

Implements java.sql.ResultSet.getArray.

Retrieves the value of the designated column in this CachedRowSetImpl object as an Array object in the Java programming language.

public Array

Returns:

an Array object representing an SQL ARRAY value
getArray
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
colName
)

Overrides com.sun.rowset.CachedRowSetImpl.getArray.

Implements java.sql.ResultSet.getArray.

Retrieves the value of the designated column in this CachedRowSetImpl object as an Array object in the Java programming language.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of one-byte ASCII characters. If the value is SQL NULL, the result is null.
getAsciiStream
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getAsciiStream.

Implements java.sql.ResultSet.getAsciiStream.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.io.InputStream object.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of one-byte ASCII characters. If the value is SQL NULL, the result is null.
getAsciiStream
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getAsciiStream.

Implements java.sql.ResultSet.getAsciiStream.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.io.InputStream object.

public BigDecimal

Returns:

the column value with the specified number of digits to the right of the decimal point; if the value is SQL NULL, the result is null
getBigDecimal
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
,
int
the number of digits to the right of the decimal point in the value returned
scale
)

Overrides com.sun.rowset.CachedRowSetImpl.getBigDecimal.

Implements java.sql.ResultSet.getBigDecimal.

Deprecated

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.math.BigDecimal object.

public BigDecimal

Returns:

a java.math.BugDecimal object with scale number of digits to the right of the decimal point.
getBigDecimal
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
,
int
the number of digits to the right of the decimal point
scale
)

Overrides com.sun.rowset.CachedRowSetImpl.getBigDecimal.

Implements java.sql.ResultSet.getBigDecimal.

Deprecated Use the getBigDecimal(String columnName) method instead

Retrieves the value stored in the designated column of the current row as a java.math.BigDecimal object.

public BigDecimal

Returns:

a java.math.BigDecimal value with full precision; if the value is SQL NULL, the result is null
getBigDecimal
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getBigDecimal.

Implements java.sql.ResultSet.getBigDecimal.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.math.BigDecimal object.

public BigDecimal

Returns:

a java.math.BigDecimal value with full precision; if the value is SQL NULL, the result is null
getBigDecimal
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getBigDecimal.

Implements java.sql.ResultSet.getBigDecimal.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.math.BigDecimal object.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of uninterpreted bytes. If the value is SQL NULL then the result is null.
getBinaryStream
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getBinaryStream.

Implements java.sql.ResultSet.getBinaryStream.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.io.InputStream object.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of uninterpreted bytes. If the value is SQL NULL, the result is null.
getBinaryStream
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getBinaryStream.

Implements java.sql.ResultSet.getBinaryStream.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.io.InputStream object.

public Blob

Returns:

a Blob object representing an SQL BLOB value
getBlob
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getBlob.

Implements java.sql.ResultSet.getBlob.

Retrieves the value of the designated column in this CachedRowSetImpl object as a Blob object in the Java programming language.

public Blob

Returns:

a Blob object representing an SQL BLOB value
getBlob
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
colName
)

Overrides com.sun.rowset.CachedRowSetImpl.getBlob.

Implements java.sql.ResultSet.getBlob.

Retrieves the value of the designated column in this CachedRowSetImpl object as a Blob object in the Java programming language.

public boolean

Returns:

the column value as a boolean in the Java programming language; if the value is SQL NULL, the result is false
getBoolean
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getBoolean.

Implements java.sql.ResultSet.getBoolean.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a boolean value.

public boolean

Returns:

the column value as a boolean in the Java programming language; if the value is SQL NULL, the result is false
getBoolean
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getBoolean.

Implements java.sql.ResultSet.getBoolean.

Retrieves the value stored in the designated column of the current row as a boolean value.

public byte

Returns:

the column value as a byte in the Java programming language; if the value is SQL NULL, the result is 0
getByte
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getByte.

Implements java.sql.ResultSet.getByte.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a byte value.

public byte

Returns:

the column value as a byte in the Java programming language; if the value is SQL NULL, the result is 0
getByte
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getByte.

Implements java.sql.ResultSet.getByte.

Retrieves the value stored in the designated column of the current row as a byte value.

public byte[]

Returns:

the column value as a byte array in the Java programming language; if the value is SQL NULL, the result is null
getBytes
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getBytes.

Implements java.sql.ResultSet.getBytes.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a byte array value.

public byte[]

Returns:

the column value as a byte array in the Java programming language; if the value is SQL NULL, the result is null
getBytes
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getBytes.

Implements java.sql.ResultSet.getBytes.

Retrieves the value stored in the designated column of the current row as a byte array.

public Reader

Returns:

a Java character stream that delivers the database column value as a stream of two-byte unicode characters in a java.io.Reader object. If the value is SQL NULL, the result is null.
getCharacterStream
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getCharacterStream.

Implements java.sql.ResultSet.getCharacterStream.

Retrieves the value stored in the designated column of the current row as a java.io.Reader object.

public Reader

Returns:

a Java input stream that delivers the database column value as a stream of two-byte Unicode characters. If the value is SQL NULL, the result is null.
getCharacterStream
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getCharacterStream.

Implements java.sql.ResultSet.getCharacterStream.

Retrieves the value stored in the designated column of the current row as a java.io.Reader object.

public Clob

Returns:

a Clob object representing an SQL CLOB value
getClob
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getClob.

Implements java.sql.ResultSet.getClob.

Retrieves the value of the designated column in this CachedRowSetImpl object as a Clob object in the Java programming language.

public Clob

Returns:

a Clob object representing an SQL CLOB value
getClob
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
colName
)

Overrides com.sun.rowset.CachedRowSetImpl.getClob.

Implements java.sql.ResultSet.getClob.

Retrieves the value of the designated column in this CachedRowSetImpl object as a Clob object in the Java programming language.

public Object
getConflictValue(int
int designating the column in this row of this SyncResolver object from which to retrieve the value causing a conflict
index
)

Implements javax.sql.rowset.spi.SyncResolver.getConflictValue.

Retrieves the value in the designated column in the current row of this SyncResolver object, which is the value that caused a conflict.

public Object
getConflictValue(String
a String object designating the column in this row of this SyncResolver object from which to retrieve the value causing a conflict
columnName
)

Implements javax.sql.rowset.spi.SyncResolver.getConflictValue.

Retrieves the value in the designated column in the current row of this SyncResolver object, which is the value that caused a conflict.

public Connection

Returns:

the Connection object passed to this rowset; may be null if there is no connection
getConnection
()

Overrides com.sun.rowset.CachedRowSetImpl.getConnection.

Implements javax.sql.RowSetInternal.getConnection.

Retrieves the Connection object passed to this CachedRowSetImpl object.

protected BaseRow

Returns:

the Row object on which this CachedRowSetImpl objects's cursor is positioned
getCurrentRow
()

Overrides com.sun.rowset.CachedRowSetImpl.getCurrentRow.

Returns the insert row or the current row of this CachedRowSetImpl object.

public String

Returns:

the SQL cursor name for this CachedRowSetImpl object's cursor
getCursorName
()

Overrides com.sun.rowset.CachedRowSetImpl.getCursorName.

Implements java.sql.ResultSet.getCursorName.

Retrieves the name of the SQL cursor used by this CachedRowSetImpl object.

public Date

Returns:

the column value as a java.sql.Data object; if the value is SQL NULL, the result is null
getDate
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getDate.

Implements java.sql.ResultSet.getDate.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.sql.Date object.

public Date

Returns:

the column value; if the value is SQL NULL, the result is null
getDate
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getDate.

Implements java.sql.ResultSet.getDate.

Retrieves the value stored in the designated column of the current row as a java.sql.Date object.

public Date

Returns:

the column value; if the value is SQL NULL, the result is null
getDate
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
,
Calendar
the java.util.Calendar object to use in constructing the date
cal
)

Overrides com.sun.rowset.CachedRowSetImpl.getDate.

Implements java.sql.ResultSet.getDate.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.sql.Date object, using the given Calendar object to construct an appropriate millisecond value for the date.

public Date

Returns:

the column value; if the value is SQL NULL, the result is null
getDate
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Calendar
the java.util.Calendar object to use in constructing the date
cal
)

Overrides com.sun.rowset.CachedRowSetImpl.getDate.

Implements java.sql.ResultSet.getDate.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.sql.Date object, using the given Calendar object to construct an appropriate millisecond value for the date.

public double

Returns:

the column value; if the value is SQL NULL, the result is 0
getDouble
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getDouble.

Implements java.sql.ResultSet.getDouble.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a double value.

public double

Returns:

the column value; if the value is SQL NULL, the result is 0
getDouble
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getDouble.

Implements java.sql.ResultSet.getDouble.

Retrieves the value stored in the designated column of the current row of this CachedRowSetImpl object as a double value.

public float

Returns:

the column value; if the value is SQL NULL, the result is 0
getFloat
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getFloat.

Implements java.sql.ResultSet.getFloat.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a float value.

public float

Returns:

the column value; if the value is SQL NULL, the result is 0
getFloat
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getFloat.

Implements java.sql.ResultSet.getFloat.

Retrieves the value stored in the designated column of the current row as a float value.

public int

Returns:

the column value; if the value is SQL NULL, the result is 0
getInt
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getInt.

Implements java.sql.ResultSet.getInt.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as an int value.

public int

Returns:

the column value; if the value is SQL NULL, the result is 0
getInt
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getInt.

Implements java.sql.ResultSet.getInt.

Retrieves the value stored in the designated column of the current row as an int value.

public int[]

Returns:

an array of column numbers that constitutes a primary key for this rowset. This array should be empty if no column is representitive of a primary key
getKeyColumns
()

Overrides com.sun.rowset.CachedRowSetImpl.getKeyColumns.

Implements javax.sql.rowset.CachedRowSet.getKeyColumns.

Returns the columns that make a key to uniquely identify a row in this CachedRowSetImpl object.

public long

Returns:

the column value; if the value is SQL NULL, the result is 0
getLong
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getLong.

Implements java.sql.ResultSet.getLong.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a long value.

public long

Returns:

the column value; if the value is SQL NULL, the result is 0
getLong
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getLong.

Implements java.sql.ResultSet.getLong.

Retrieves the value stored in the designated column of the current row as a long value.

public int[]

Returns:

an int array object that contains the column ids for the rowset which has this as the match columns.
getMatchColumnIndexes
()

Overrides com.sun.rowset.CachedRowSetImpl.getMatchColumnIndexes.

Implements javax.sql.rowset.Joinable.getMatchColumnIndexes.

Retrieves the column id as int array that was set using setMatchColumn(int []) for this rowset.

public String[]

Returns:

a String array object that contains the column names for the rowset which has this the match columns
getMatchColumnNames
()

Overrides com.sun.rowset.CachedRowSetImpl.getMatchColumnNames.

Implements javax.sql.rowset.Joinable.getMatchColumnNames.

Retrieves the column name as String array that was set using setMatchColumn(String []) for this rowset.

public ResultSetMetaData

Returns:

the ResultSetMetaData object that describes this CachedRowSetImpl object's columns
getMetaData
()

Overrides com.sun.rowset.CachedRowSetImpl.getMetaData.

Implements java.sql.ResultSet.getMetaData.

Retrieves a ResultSetMetaData object instance that contains information about the CachedRowSet object.

public Object

Returns:

a java.lang.Object holding the column value; if the value is SQL NULL, the result is null
getObject
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getObject.

Implements java.sql.ResultSet.getObject.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as an Object value.

public Object

Returns:

a java.lang.Object holding the column value; if the value is SQL NULL, the result is null
getObject
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getObject.

Implements java.sql.ResultSet.getObject.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as an Object value.

public Object

Returns:

an Object representing the SQL value
getObject
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Map<String, Class<?>>
a java.util.Map object showing the mapping from SQL type names to classes in the Java programming language
map
)

Overrides com.sun.rowset.CachedRowSetImpl.getObject.

Implements java.sql.ResultSet.getObject.

Retrieves the value of the designated column in this CachedRowSetImpl object as an Object in the Java programming language, using the given java.util.Map object to custom map the value if appropriate.

public Object

Returns:

an Object representing the SQL value
getObject
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Map<String, Class<?>>
a java.util.Map object showing the mapping from SQL type names to classes in the Java programming language
map
)

Overrides com.sun.rowset.CachedRowSetImpl.getObject.

Implements java.sql.ResultSet.getObject.

Retrieves the value of the designated column in this CachedRowSetImpl object as an Object in the Java programming language, using the given java.util.Map object to custom map the value if appropriate.

public ResultSet

Returns:

the original result set of the rowset
getOriginal
()

Overrides com.sun.rowset.CachedRowSetImpl.getOriginal.

Implements javax.sql.RowSetInternal.getOriginal, javax.sql.rowset.CachedRowSet.getOriginal.

Returns a result set containing the original value of the rowset.

public ResultSet

Returns:

the original result set of the row
getOriginalRow
()

Overrides com.sun.rowset.CachedRowSetImpl.getOriginalRow.

Implements javax.sql.RowSetInternal.getOriginalRow, javax.sql.rowset.CachedRowSet.getOriginalRow.

Returns a result set containing the original value of the current row only.

public int

Returns:

an integer that is the page size.
getPageSize
()

Overrides com.sun.rowset.CachedRowSetImpl.getPageSize.

Implements javax.sql.rowset.CachedRowSet.getPageSize.

This is the getter function for the size of the page.

public Ref

Returns:

a Ref object representing an SQLREF value
getRef
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getRef.

Implements java.sql.ResultSet.getRef.

Retrieves the value of the designated column in this CachedRowSetImpl object as a Ref object in the Java programming language.

public Ref

Returns:

a Ref object representing an SQLREF value
getRef
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
colName
)

Overrides com.sun.rowset.CachedRowSetImpl.getRef.

Implements java.sql.ResultSet.getRef.

Retrieves the value of the designated column in this CachedRowSetImpl object as a Ref object in the Java programming language.

public int

Returns:

the number of the current row; 0 if there is no current row
getRow
()

Overrides com.sun.rowset.CachedRowSetImpl.getRow.

Implements java.sql.ResultSet.getRow.

Returns the number of the current row in this CachedRowSetImpl object.

public RowSetWarning

Returns:

the first SQLWarning or null
getRowSetWarnings
()

Overrides com.sun.rowset.CachedRowSetImpl.getRowSetWarnings.

Implements javax.sql.rowset.CachedRowSet.getRowSetWarnings.

The first warning reported by calls on this CachedRowSetImpl object is returned.

public short

Returns:

the column value; if the value is SQL NULL, the result is 0
getShort
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getShort.

Implements java.sql.ResultSet.getShort.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a short value.

public short

Returns:

the column value; if the value is SQL NULL, the result is 0
getShort
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getShort.

Implements java.sql.ResultSet.getShort.

Retrieves the value stored in the designated column of the current row as a short value.

public Statement
public int

Returns:

one of the following constants: SyncResolver.UPDATE_ROW_CONFLICT, SyncResolver.DELETE_ROW_CONFLICT, or SyncResolver.INSERT_ROW_CONFLICT
getStatus
()

Implements javax.sql.rowset.spi.SyncResolver.getStatus.

Retrieves the conflict status of the current row of this SyncResolver, which indicates the operation the RowSet object was attempting when the conflict occurred.

public String

Returns:

the column value; if the value is SQL NULL, the result is null
getString
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getString.

Implements java.sql.ResultSet.getString.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a String object.

public String

Returns:

the column value; if the value is SQL NULL, the result is null
getString
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getString.

Implements java.sql.ResultSet.getString.

Retrieves the value stored in the designated column of the current row as a String object.

public SyncProvider

Returns:

the SyncProvider used by the rowset. If not provider was set when the rowset was instantiated, the reference implementation (default) provider is returned.
getSyncProvider
()

Overrides com.sun.rowset.CachedRowSetImpl.getSyncProvider.

Implements javax.sql.rowset.CachedRowSet.getSyncProvider.

Returns the SyncProvider implementation being used with this CachedRowSetImpl implementation rowset.

public String

Returns:

a String object that identifies the table from which this CachedRowSetImpl object was derived
getTableName
()

Overrides com.sun.rowset.CachedRowSetImpl.getTableName.

Implements javax.sql.rowset.CachedRowSet.getTableName.

Returns an identifier for the object (table) that was used to create this rowset.

public Time

Returns:

the column value; if the value is SQL NULL, the result is null
getTime
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getTime.

Implements java.sql.ResultSet.getTime.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.sql.Time object.

public Time

Returns:

the column value; if the value is SQL NULL, the result is null
getTime
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getTime.

Implements java.sql.ResultSet.getTime.

Retrieves the value stored in the designated column of the current row as a java.sql.Time object.

public Time

Returns:

the column value; if the value is SQL NULL, the result is null
getTime
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
,
Calendar
the java.util.Calendar object to use in constructing the date
cal
)

Overrides com.sun.rowset.CachedRowSetImpl.getTime.

Implements java.sql.ResultSet.getTime.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.sql.Time object, using the given Calendar object to construct an appropriate millisecond value for the date.

public Time

Returns:

the column value; if the value is SQL NULL, the result is null
getTime
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Calendar
the java.util.Calendar object to use in constructing the date
cal
)

Overrides com.sun.rowset.CachedRowSetImpl.getTime.

Implements java.sql.ResultSet.getTime.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.sql.Time object, using the given Calendar object to construct an appropriate millisecond value for the date.

public Timestamp

Returns:

the column value; if the value is SQL NULL, the result is null
getTimestamp
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getTimestamp.

Implements java.sql.ResultSet.getTimestamp.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.sql.Timestamp object.

public Timestamp

Returns:

the column value; if the value is SQL NULL, the result is null
getTimestamp
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getTimestamp.

Implements java.sql.ResultSet.getTimestamp.

Retrieves the value stored in the designated column of the current row as a java.sql.Timestamp object.

public Timestamp

Returns:

the column value; if the value is SQL NULL, the result is null
getTimestamp
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in the rowset
columnIndex
,
Calendar
the java.util.Calendar object to use in constructing the date
cal
)

Overrides com.sun.rowset.CachedRowSetImpl.getTimestamp.

Implements java.sql.ResultSet.getTimestamp.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.sql.Timestamp object, using the given Calendar object to construct an appropriate millisecond value for the date.

public Timestamp

Returns:

the column value; if the value is SQL NULL, the result is null
getTimestamp
(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Calendar
the java.util.Calendar object to use in constructing the date
cal
)

Overrides com.sun.rowset.CachedRowSetImpl.getTimestamp.

Implements java.sql.ResultSet.getTimestamp.

Retrieves the value of the designated column in the current row of this CachedRowSetImpl object as a java.sql.Timestamp object, using the given Calendar object to construct an appropriate millisecond value for the date.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of two byte Unicode characters. If the value is SQL NULL then the result is null.
getUnicodeStream
(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.getUnicodeStream.

Implements java.sql.ResultSet.getUnicodeStream.

Deprecated

A column value can be retrieved as a stream of Unicode characters and then read in chunks from the stream.

public InputStream

Returns:

a Java input stream that delivers the database column value as a stream of two-byte Unicode characters. If the value is SQL NULL, the result is null.
getUnicodeStream
(String
a String object giving the SQL name of a column in this CachedRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getUnicodeStream.

Implements java.sql.ResultSet.getUnicodeStream.

Deprecated use the method getCharacterStream instead

A column value can be retrieved as a stream of Unicode characters and then read in chunks from the stream.

public URL

Returns:

a java.net.URL object containing the resource reference described by the URL
getURL
(int columnIndex)

Overrides com.sun.rowset.CachedRowSetImpl.getURL.

Implements java.sql.ResultSet.getURL.

Retrieves the value of the designated column in this CachedRowSetImpl object as a java.net.URL object in the Java programming language.

public URL

Returns:

a java.net.URL object containing the resource reference described by the URL
getURL
(String columnName)

Overrides com.sun.rowset.CachedRowSetImpl.getURL.

Implements java.sql.ResultSet.getURL.

Retrieves the value of the designated column in this CachedRowSetImpl object as a java.net.URL object in the Java programming language.

public SQLWarning

Returns:

the first SQLWarning or null
getWarnings
()

Overrides com.sun.rowset.CachedRowSetImpl.getWarnings.

Implements java.sql.ResultSet.getWarnings.

The first warning reported by calls on this CachedRowSetImpl object is returned.

public void
insertRow()

Overrides com.sun.rowset.CachedRowSetImpl.insertRow.

Implements java.sql.ResultSet.insertRow.

Inserts the contents of this CachedRowSetImpl object's insert row into this rowset immediately following the current row.

protected boolean

Returns:

true if the cursor moved to the first row; false otherwise
internalFirst
()

Overrides com.sun.rowset.CachedRowSetImpl.internalFirst.

Moves this CachedRowSetImpl object's cursor to the first row and returns true if the operation is successful.

protected boolean

Returns:

true if the cursor moved to the last row; false otherwise
internalLast
()

Overrides com.sun.rowset.CachedRowSetImpl.internalLast.

Moves this CachedRowSetImpl object's cursor to the last row and returns true if the operation is successful.

protected boolean

Returns:

true if the cursor is on a valid row in this rowset; false if it is after the last row
internalNext
()

Overrides com.sun.rowset.CachedRowSetImpl.internalNext.

Moves this CachedRowSetImpl object's cursor to the next row and returns true if the cursor is still in the rowset; returns false if the cursor has moved to the position after the last row.

protected boolean

Returns:

true if the cursor is on a row in this rowset; false when the cursor reaches the position before the first row
internalPrevious
()

Overrides com.sun.rowset.CachedRowSetImpl.internalPrevious.

Moves the cursor to the previous row in this CachedRowSetImpl object, skipping past deleted rows that are not visible; returns true if the cursor is on a row in this rowset and false when the cursor goes before the first row.

public boolean

Returns:

true if the cursor is after the last row; false otherwise or if the rowset contains no rows
isAfterLast
()

Overrides com.sun.rowset.CachedRowSetImpl.isAfterLast.

Implements java.sql.ResultSet.isAfterLast.

Indicates whether the cursor is after the last row in this CachedRowSetImpl object.

public boolean

Returns:

true if the cursor is before the first row; false otherwise or if the rowset contains no rows
isBeforeFirst
()

Overrides com.sun.rowset.CachedRowSetImpl.isBeforeFirst.

Implements java.sql.ResultSet.isBeforeFirst.

Indicates whether the cursor is before the first row in this CachedRowSetImpl object.

public boolean

Returns:

true if the cursor is on the first row; false otherwise or if the rowset contains no rows
isFirst
()

Overrides com.sun.rowset.CachedRowSetImpl.isFirst.

Implements java.sql.ResultSet.isFirst.

Indicates whether the cursor is on the first row in this CachedRowSetImpl object.

public boolean

Returns:

true if the cursor is on the last row; false otherwise or if this rowset contains no rows
isLast
()

Overrides com.sun.rowset.CachedRowSetImpl.isLast.

Implements java.sql.ResultSet.isLast.

Indicates whether the cursor is on the last row in this CachedRowSetImpl object.

public boolean

Returns:

true if the cursor is on a valid row; false otherwise or if there are no rows in this CachedRowSetImpl object
last
()

Overrides com.sun.rowset.CachedRowSetImpl.last.

Implements java.sql.ResultSet.last.

Moves this CachedRowSetImpl object's cursor to the last row and returns true if the operation was successful.

public void
moveToCurrentRow()

Overrides com.sun.rowset.CachedRowSetImpl.moveToCurrentRow.

Implements java.sql.ResultSet.moveToCurrentRow.

Moves the cursor for this CachedRowSetImpl object to the current row.

public void
moveToInsertRow()

Overrides com.sun.rowset.CachedRowSetImpl.moveToInsertRow.

Implements java.sql.ResultSet.moveToInsertRow.

Moves the cursor for this CachedRowSetImpl object to the insert row.

public boolean

Returns:

true if the new current row is valid; false if there are no more rows
next
()

Overrides com.sun.rowset.CachedRowSetImpl.next.

Implements java.sql.ResultSet.next.

Moves the cursor down one row from its current position and returns true if the new cursor position is a valid row.

public boolean

Returns:

true if the new current row is valid; false if there are no more rows
nextConflict
()

Implements javax.sql.rowset.spi.SyncResolver.nextConflict.

Moves the cursor down one row from its current position.

public boolean

Returns:

boolean value true indicating whether there are more pages to come and false indicating that this is the last page.
nextPage
()

Overrides com.sun.rowset.CachedRowSetImpl.nextPage.

Implements javax.sql.rowset.CachedRowSet.nextPage.

The nextPage gets the next page, that is a CachedRowSetImpl object containing the number of rows specified by page size.

public void
populate(ResultSet
the ResultSet object containing the data to be read into this CachedRowSetImpl object
data
)

Overrides com.sun.rowset.CachedRowSetImpl.populate.

Implements javax.sql.rowset.CachedRowSet.populate.

Populates this CachedRowSetImpl object with data from the given ResultSet object.

public void
populate(ResultSet
the ResultSet object containing the data to be read into this CachedRowSetImpl object
data
,
int
the integer specifying the position in the ResultSet object to popultate the CachedRowSetImpl object.
start
)

Overrides com.sun.rowset.CachedRowSetImpl.populate.

Implements javax.sql.rowset.CachedRowSet.populate.

Populates this CachedRowSet object with data from the given ResultSet object.

public boolean

Returns:

true if the cursor is on a valid row; false if it is before the first row or after the last row
previous
()

Overrides com.sun.rowset.CachedRowSetImpl.previous.

Implements java.sql.ResultSet.previous.

Moves this CachedRowSetImpl object's cursor to the previous row and returns true if the cursor is on a valid row or false if it is not.

public boolean

Returns:

true if the cursor is on a valid row; false if it is off the result set
previousConflict
()

Implements javax.sql.rowset.spi.SyncResolver.previousConflict.

Moves the cursor to the previous conflict row in this SyncResolver object.

public boolean

Returns:

boolean value true if it retrieves the previous page, flase if it is on the first page.
previousPage
()

Overrides com.sun.rowset.CachedRowSetImpl.previousPage.

Implements javax.sql.rowset.CachedRowSet.previousPage.

Retrieves the data present in the page prior to the page from where it is called.

private void
readObject(ObjectInputStream ois)

Hides com.sun.rowset.CachedRowSetImpl.readObject.

This method re populates the resBundle during the deserialization process

public void
refreshRow()

Overrides com.sun.rowset.CachedRowSetImpl.refreshRow.

Implements java.sql.ResultSet.refreshRow.

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.

public boolean

Returns:

true if the cursor is on a row in this CachedRowSetImpl object; false otherwise
relative
(int
an int indicating the number of rows to move the cursor, starting at the current row; a positive number moves the cursor forward; a negative number moves the cursor backward; must not move the cursor past the valid rows
rows
)

Overrides com.sun.rowset.CachedRowSetImpl.relative.

Implements java.sql.ResultSet.relative.

Moves the cursor the specified number of rows from the current position, with a positive number moving it forward and a negative number moving it backward.

public void
release()

Overrides com.sun.rowset.CachedRowSetImpl.release.

Implements javax.sql.rowset.CachedRowSet.release.

Releases the current contents of this CachedRowSetImpl object and sends a rowSetChanged event object to all registered listeners.

protected void
removeCurrentRow()

Overrides com.sun.rowset.CachedRowSetImpl.removeCurrentRow.

Removes the row on which the cursor is positioned.

public void
restoreOriginal()

Overrides com.sun.rowset.CachedRowSetImpl.restoreOriginal.

Implements javax.sql.rowset.CachedRowSet.restoreOriginal.

Restores this CachedRowSetImpl object to its original state, that is, its state before the last set of changes.

public void
rollback()

Overrides com.sun.rowset.CachedRowSetImpl.rollback.

Implements javax.sql.rowset.CachedRowSet.rollback.

Rolls back all changes performed by the acceptChanges() methods

public void
rollback(Savepoint s)

Overrides com.sun.rowset.CachedRowSetImpl.rollback.

Implements javax.sql.rowset.CachedRowSet.rollback.

Rolls back all changes performed by the acceptChanges() to the last Savepoint transaction marker.

public boolean

Returns:

true if (1)the current row is blank, indicating that the row has been deleted, and (2)deletions are detected; false otherwise
rowDeleted
()

Overrides com.sun.rowset.CachedRowSetImpl.rowDeleted.

Implements java.sql.ResultSet.rowDeleted.

Indicates whether the current row has been deleted.

public boolean

Returns:

true if a row has been inserted and inserts are detected; false otherwise
rowInserted
()

Overrides com.sun.rowset.CachedRowSetImpl.rowInserted.

Implements java.sql.ResultSet.rowInserted.

Indicates whether the current row has been inserted.

public void
rowSetPopulated(RowSetEvent
a RowSetEvent object that contains the RowSet object that is the source of the events
event
,
int
when populating, the number of rows interval on which the CachedRowSet populated should fire; the default value is zero; cannot be less than fetchSize or zero
numRows
)

Overrides com.sun.rowset.CachedRowSetImpl.rowSetPopulated.

Implements javax.sql.rowset.CachedRowSet.rowSetPopulated.

Notifies registered listeners that a RowSet object in the given RowSetEvent object has populated a number of additional rows.

public boolean

Returns:

true if the row has been visibly updated by the owner or another and updates are detected; false otherwise
rowUpdated
()

Overrides com.sun.rowset.CachedRowSetImpl.rowUpdated.

Implements java.sql.ResultSet.rowUpdated.

Indicates whether the current row of this CachedRowSetImpl object has been updated.

pack-priv void
setCachedRowSet(CachedRowSet crs)

This function is package private, i.e. cannot be accesses outside this package.

pack-priv void
setCachedRowSetResolver(CachedRowSet crs)

This function is package private, i.e. cannot be accesses outside this package.

pack-priv void
setCachedRowSetWriter(CachedRowSetWriter CRWriter)

This function is package private, i.e. cannot be accesses outside this package.

public void
setCommand(String
a String object containing an SQL query that will be set as the command; may be null
cmd
)

Overrides com.sun.rowset.CachedRowSetImpl.setCommand.

Implements javax.sql.RowSet.setCommand.

Sets this CachedRowSetImpl object's command property to the given String object and clears the parameters, if any, that were set for the previous command.

public void
setKeyColumns(int[]
an array of int indicating the columns that form a primary key for this CachedRowSetImpl object; every element in the array must be greater than 0 and less than or equal to the number of columns in this rowset
keys
)

Overrides com.sun.rowset.CachedRowSetImpl.setKeyColumns.

Implements javax.sql.rowset.CachedRowSet.setKeyColumns.

Sets this CachedRowSetImpl object's keyCols field with the given array of column numbers, which forms a key for uniquely identifying a row in this rowset.

public void
setMatchColumn(int[]
the indexes into this rowset object's internal representation of parameter values; the first parameter is 0, the second is 1, and so on; must be 0 or greater
columnIdxes
)

Overrides com.sun.rowset.CachedRowSetImpl.setMatchColumn.

Implements javax.sql.rowset.Joinable.setMatchColumn.

Sets the designated parameter to the given int array.

public void
setMatchColumn(String[]
the name of the column into this rowset object's internal representation of parameter values
columnNames
)

Overrides com.sun.rowset.CachedRowSetImpl.setMatchColumn.

Implements javax.sql.rowset.Joinable.setMatchColumn.

Sets the designated parameter to the given String array.

public void
setMatchColumn(int
the index into this rowset object's internal representation of parameter values; the first parameter is 0, the second is 1, and so on; must be 0 or greater
columnIdx
)

Overrides com.sun.rowset.CachedRowSetImpl.setMatchColumn.

Implements javax.sql.rowset.Joinable.setMatchColumn.

Sets the designated parameter to the given int object.

public void
setMatchColumn(String
the name of the column into this rowset object's internal representation of parameter values
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.setMatchColumn.

Implements javax.sql.rowset.Joinable.setMatchColumn.

Sets the designated parameter to the given String object.

public void
setMetaData(RowSetMetaData
a RowSetMetaData object instance containing metadata about the columns in the rowset
md
)

Overrides com.sun.rowset.CachedRowSetImpl.setMetaData.

Implements javax.sql.RowSetInternal.setMetaData, javax.sql.rowset.CachedRowSet.setMetaData.

Sets the metadata for this CachedRowSetImpl object with the given RowSetMetaData object.

public void
setOriginal()

Overrides com.sun.rowset.CachedRowSetImpl.setOriginal.

Marks all rows in this rowset as being original rows.

public void
setOriginalRow()

Overrides com.sun.rowset.CachedRowSetImpl.setOriginalRow.

Implements javax.sql.rowset.CachedRowSet.setOriginalRow.

Marks the current row in this rowset as being an original row.

public void
setPageSize(int
which is the page size
size
)

Overrides com.sun.rowset.CachedRowSetImpl.setPageSize.

Implements javax.sql.rowset.CachedRowSet.setPageSize.

This is the setter function for setting the size of the page, which specifies how many rows have to be retrieved at a time.

public void
setResolvedValue(int
an int giving the number of the column into which to set the value to be persisted
index
,
Object
an Object that is the value to be set in the data source
obj
)

Implements javax.sql.rowset.spi.SyncResolver.setResolvedValue.

Sets obj as the value in column index in the current row of the RowSet object.

public void
setResolvedValue(String
a String object giving the name of the column into which to set the value to be persisted
columnName
,
Object
an Object that is the value to be set in the data source
obj
)

Implements javax.sql.rowset.spi.SyncResolver.setResolvedValue.

Sets obj as the value in column columnName in the current row of the RowSet object.

pack-priv void
setStatus(ArrayList<E> status)

This function is package private, i.e. cannot be accesses outside this package.

public void
setSyncProvider(String providerStr)

Overrides com.sun.rowset.CachedRowSetImpl.setSyncProvider.

Implements javax.sql.rowset.CachedRowSet.setSyncProvider.

Sets the active SyncProvider and attempts to load load the new provider using the SyncFactory SPI.

public void
setTableName(String
a String object that identifies the table from which this CachedRowSetImpl object was derived
tabName
)

Overrides com.sun.rowset.CachedRowSetImpl.setTableName.

Implements javax.sql.rowset.CachedRowSet.setTableName.

Sets the identifier for the table from which this rowset was derived to the given table name.

public int

Returns:

number of rows in the rowset
size
()

Overrides com.sun.rowset.CachedRowSetImpl.size.

Implements javax.sql.rowset.CachedRowSet.size.

Returns the number of rows in this CachedRowSetImpl object.

public Collection<E>

Returns:

a Collection object consisting of tables, each of which is a copy of a row in this CachedRowSetImpl object
toCollection
()

Overrides com.sun.rowset.CachedRowSetImpl.toCollection.

Implements javax.sql.rowset.CachedRowSet.toCollection.

Converts this CachedRowSetImpl object to a collection of tables.

public Collection<E>

Returns:

a Collection object that contains the value(s) stored in the specified column of this CachedRowSetImpl object
toCollection
(int column)

Overrides com.sun.rowset.CachedRowSetImpl.toCollection.

Implements javax.sql.rowset.CachedRowSet.toCollection.

Returns the specified column of this CachedRowSetImpl object as a Collection object.

public Collection<E>

Returns:

a Collection object that contains the value(s) stored in the specified column of this CachedRowSetImpl object
toCollection
(String column)

Overrides com.sun.rowset.CachedRowSetImpl.toCollection.

Implements javax.sql.rowset.CachedRowSet.toCollection.

Returns the specified column of this CachedRowSetImpl object as a Collection object.

public void
undoDelete()

Overrides com.sun.rowset.CachedRowSetImpl.undoDelete.

Implements javax.sql.rowset.CachedRowSet.undoDelete.

Cancels deletion of the current row and notifies listeners that a row has changed.

public void
undoInsert()

Overrides com.sun.rowset.CachedRowSetImpl.undoInsert.

Implements javax.sql.rowset.CachedRowSet.undoInsert.

Immediately removes the current row from this CachedRowSetImpl object if the row has been inserted, and also notifies listeners the row has changed.

public void
undoUpdate()

Overrides com.sun.rowset.CachedRowSetImpl.undoUpdate.

Implements javax.sql.rowset.CachedRowSet.undoUpdate.

Immediately reverses the last update operation if the row has been modified.

public void
unsetMatchColumn(int[]
the index into this rowset object's internal representation of parameter values
columnIdxes
)

Overrides com.sun.rowset.CachedRowSetImpl.unsetMatchColumn.

Implements javax.sql.rowset.Joinable.unsetMatchColumn.

Unsets the designated parameter to the given int array.

public void
unsetMatchColumn(String[]
the index into this rowset object's internal representation of parameter values
columnIdxes
)

Overrides com.sun.rowset.CachedRowSetImpl.unsetMatchColumn.

Implements javax.sql.rowset.Joinable.unsetMatchColumn.

Unsets the designated parameter to the given String array.

public void
unsetMatchColumn(int
the index into this rowset object's internal representation of parameter values
columnIdx
)

Overrides com.sun.rowset.CachedRowSetImpl.unsetMatchColumn.

Implements javax.sql.rowset.Joinable.unsetMatchColumn.

Unsets the designated parameter to the given int object.

public void
unsetMatchColumn(String
the index into this rowset object's internal representation of parameter values
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.unsetMatchColumn.

Implements javax.sql.rowset.Joinable.unsetMatchColumn.

Unsets the designated parameter to the given String object.

public void
updateArray(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Array
the new column Array value
a
)

Overrides com.sun.rowset.CachedRowSetImpl.updateArray.

Implements java.sql.ResultSet.updateArray.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given java.sql.Array values.

public void
updateArray(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Array
the new column Array value
a
)

Overrides com.sun.rowset.CachedRowSetImpl.updateArray.

Implements java.sql.ResultSet.updateArray.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given java.sql.Array value.

public void
updateAsciiStream(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
InputStream
the new column value
x
,
int
the number of one-byte ASCII characters in the stream
length
)

Overrides com.sun.rowset.CachedRowSetImpl.updateAsciiStream.

Implements java.sql.ResultSet.updateAsciiStream.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given ASCII stream value.

public void
updateAsciiStream(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
InputStream
the new column value
x
,
int
the number of one-byte ASCII characters in the stream
length
)

Overrides com.sun.rowset.CachedRowSetImpl.updateAsciiStream.

Implements java.sql.ResultSet.updateAsciiStream.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given ASCII stream value.

public void
updateBigDecimal(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
BigDecimal
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBigDecimal.

Implements java.sql.ResultSet.updateBigDecimal.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given java.math.BigDecimal object.

public void
updateBigDecimal(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
BigDecimal
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBigDecimal.

Implements java.sql.ResultSet.updateBigDecimal.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given java.math.BigDecimal object.

public void
updateBinaryStream(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
InputStream
the new column value; must be a java.io.InputStream containing BINARY, VARBINARY, or LONGVARBINARY data
x
,
int
the length of the stream in bytes
length
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBinaryStream.

Implements java.sql.ResultSet.updateBinaryStream.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given java.io.InputStream object.

public void
updateBinaryStream(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
InputStream
the new column value; must be a java.io.InputStream containing BINARY, VARBINARY, or LONGVARBINARY data
x
,
int
the length of the stream in bytes
length
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBinaryStream.

Implements java.sql.ResultSet.updateBinaryStream.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given java.io.InputStream object.

public void
updateBlob(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Blob
the new column Blob value
b
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBlob.

Implements java.sql.ResultSet.updateBlob.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given java.sql.Blob value.

public void
updateBlob(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Blob
the new column Blob value
b
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBlob.

Implements java.sql.ResultSet.updateBlob.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given java.sql.Blob value.

public void
updateBoolean(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
boolean
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBoolean.

Implements java.sql.ResultSet.updateBoolean.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given boolean value.

public void
updateBoolean(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
boolean
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBoolean.

Implements java.sql.ResultSet.updateBoolean.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given boolean value.

public void
updateByte(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
byte
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateByte.

Implements java.sql.ResultSet.updateByte.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given byte value.

public void
updateByte(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
byte
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateByte.

Implements java.sql.ResultSet.updateByte.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given byte value.

public void
updateBytes(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
byte[]
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBytes.

Implements java.sql.ResultSet.updateBytes.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given byte array.

public void
updateBytes(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
byte[]
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBytes.

Implements java.sql.ResultSet.updateBytes.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given byte array.

public void
updateCharacterStream(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Reader
the new column value; must be a java.io.Reader containing BINARY, VARBINARY, LONGVARBINARY, CHAR, VARCHAR, or LONGVARCHAR data
x
,
int
the length of the stream in characters
length
)

Overrides com.sun.rowset.CachedRowSetImpl.updateCharacterStream.

Implements java.sql.ResultSet.updateCharacterStream.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given java.io.Reader object.

public void
updateCharacterStream(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Reader
the new column value; must be a java.io.Reader containing BINARY, VARBINARY, LONGVARBINARY, CHAR, VARCHAR, or LONGVARCHAR data
reader
,
int
the length of the stream in characters
length
)

Overrides com.sun.rowset.CachedRowSetImpl.updateCharacterStream.

Implements java.sql.ResultSet.updateCharacterStream.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given java.io.Reader object.

public void
updateClob(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Clob
the new column Clob value
c
)

Overrides com.sun.rowset.CachedRowSetImpl.updateClob.

Implements java.sql.ResultSet.updateClob.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given double value.

public void
updateClob(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Clob
the new column Clob value
c
)

Overrides com.sun.rowset.CachedRowSetImpl.updateClob.

Implements java.sql.ResultSet.updateClob.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given double value.

public void
updateDate(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Date
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateDate.

Implements java.sql.ResultSet.updateDate.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given Date object.

public void
updateDate(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Date
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateDate.

Implements java.sql.ResultSet.updateDate.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given Date object.

public void
updateDouble(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
double
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateDouble.

Implements java.sql.ResultSet.updateDouble.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given double value.

public void
updateDouble(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
double
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateDouble.

Implements java.sql.ResultSet.updateDouble.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given double value.

public void
updateFloat(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
float
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateFloat.

Implements java.sql.ResultSet.updateFloat.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given float value.

public void
updateFloat(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
float
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateFloat.

Implements java.sql.ResultSet.updateFloat.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given float value.

public void
updateInt(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
int
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateInt.

Implements java.sql.ResultSet.updateInt.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given int value.

public void
updateInt(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
int
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateInt.

Implements java.sql.ResultSet.updateInt.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given int value.

public void
updateLong(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
long
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateLong.

Implements java.sql.ResultSet.updateLong.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given long value.

public void
updateLong(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
long
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateLong.

Implements java.sql.ResultSet.updateLong.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given long value.

public void
updateNCharacterStream(int
- the first column is 1, the second is 2, ...
columnIndex
,
Reader
- the new column value
x
,
int
- the length of the stream
length
)

Updates the designated column with a character stream value, which will have the specified number of bytes.

public void
updateNCharacterStream(String
- name of the Column
columnName
,
Reader
- the new column value
x
,
int
- the length of the stream
length
)

Updates the designated column with a character stream value, which will have the specified number of bytes.

public void
updateNull(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
)

Overrides com.sun.rowset.CachedRowSetImpl.updateNull.

Implements java.sql.ResultSet.updateNull.

Sets the designated nullable column in the current row or the insert row of this CachedRowSetImpl object with null value.

public void
updateNull(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.updateNull.

Implements java.sql.ResultSet.updateNull.

Sets the designated nullable column in the current row or the insert row of this CachedRowSetImpl object with null value.

public void
updateObject(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Object
the new column value
x
,
int
the number of digits to the right of the decimal point (for DECIMAL and NUMERIC types only)
scale
)

Overrides com.sun.rowset.CachedRowSetImpl.updateObject.

Implements java.sql.ResultSet.updateObject.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given Object value.

public void
updateObject(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Object
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateObject.

Implements java.sql.ResultSet.updateObject.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given Object value.

public void
updateObject(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Object
the new column value
x
,
int
the number of digits to the right of the decimal point (for DECIMAL and NUMERIC types only)
scale
)

Overrides com.sun.rowset.CachedRowSetImpl.updateObject.

Implements java.sql.ResultSet.updateObject.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given Object value.

public void
updateObject(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Object
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateObject.

Implements java.sql.ResultSet.updateObject.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given Object value.

public void
updateRef(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Ref
the new column java.sql.Ref value
ref
)

Overrides com.sun.rowset.CachedRowSetImpl.updateRef.

Implements java.sql.ResultSet.updateRef.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given double value.

public void
updateRef(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Ref
the new column java.sql.Ref value
ref
)

Overrides com.sun.rowset.CachedRowSetImpl.updateRef.

Implements java.sql.ResultSet.updateRef.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given double value.

public void
updateRow()

Overrides com.sun.rowset.CachedRowSetImpl.updateRow.

Implements java.sql.ResultSet.updateRow.

Marks the current row of this CachedRowSetImpl object as updated and notifies listeners registered with this rowset that the row has changed.

public void
updateShort(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
short
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateShort.

Implements java.sql.ResultSet.updateShort.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given short value.

public void
updateShort(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
short
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateShort.

Implements java.sql.ResultSet.updateShort.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given short value.

public void
updateString(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
String
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateString.

Implements java.sql.ResultSet.updateString.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given String object.

public void
updateString(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
String
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateString.

Implements java.sql.ResultSet.updateString.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given String object.

public void
updateTime(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Time
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateTime.

Implements java.sql.ResultSet.updateTime.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given Time object.

public void
updateTime(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Time
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateTime.

Implements java.sql.ResultSet.updateTime.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given Time object.

public void
updateTimestamp(int
the first column is 1, the second is 2, and so on; must be 1 or larger and equal to or less than the number of columns in this rowset
columnIndex
,
Timestamp
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateTimestamp.

Implements java.sql.ResultSet.updateTimestamp.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given Timestamp object.

public void
updateTimestamp(String
a String object that must match the SQL name of a column in this rowset, ignoring case
columnName
,
Timestamp
the new column value
x
)

Overrides com.sun.rowset.CachedRowSetImpl.updateTimestamp.

Implements java.sql.ResultSet.updateTimestamp.

Sets the designated column in either the current row or the insert row of this CachedRowSetImpl object with the given Timestamp object.

public boolean

Returns:

true if the value in the last column read was SQL NULL; false otherwise
wasNull
()

Overrides com.sun.rowset.CachedRowSetImpl.wasNull.

Implements java.sql.ResultSet.wasNull.

Reports whether the last column read was SQL NULL.

private void
writeData(CachedRowSet
a CachedRowSet object which will hold the values of a particular row after they have been resolved by the user to synchronize back to datasource.
row
)

This passes a CachedRowSet as a row to the CachedRowSetWriter after the values have been resolved, back to the datasource.

Inherited from com.sun.rowset.CachedRowSetImpl:
getHoldabilitygetNCharacterStreamgetNCharacterStreamgetNClobgetNClobgetNStringgetNStringgetObjectgetObjectgetRowIdgetRowIdgetSQLXMLgetSQLXMLisClosedisWrapperForsetAsciiStreamsetAsciiStreamsetBigDecimalsetBinaryStreamsetBinaryStreamsetBlobsetBlobsetBlobsetBlobsetBlobsetBooleansetBytesetBytessetCharacterStreamsetCharacterStreamsetClobsetClobsetClobsetClobsetClobsetDatesetDatesetDoublesetFloatsetIntsetLongsetNCharacterStreamsetNCharacterStreamsetNCharacterStreamsetNCharacterStreamsetNClobsetNClobsetNClobsetNClobsetNClobsetNClobsetNStringsetNStringsetNullsetNullsetObjectsetObjectsetObjectsetRowIdsetRowIdsetRowInsertedsetShortsetSQLXMLsetSQLXMLsetStringsetTimesetTimesetTimestampsetTimestampsetURLunwrapupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBlobupdateBlobupdateBlobupdateBlobupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateClobupdateClobupdateClobupdateClobupdateNCharacterStreamupdateNCharacterStreamupdateNCharacterStreamupdateNCharacterStreamupdateNClobupdateNClobupdateNClobupdateNClobupdateNClobupdateNClobupdateNStringupdateNStringupdateRowIdupdateRowIdupdateSQLXMLupdateSQLXML