SyncProvider will utilize the
SyncResolver to synchronize the changes back to database.
| Modifier and Type | Field and Description |
|---|---|
| private transient Connection | con
The |
| 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 |
| 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 |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the cursor is on the rowset; false
otherwisea positive number to indicate the row, starting row numbering from
the first row, which is row)1; a negative number to indicate
the row, starting row numbering from the last row, which is
-1; it must not be 0Overrides com. Implements java. Moves this |
| public void | acceptChanges()
Overrides com. Implements javax. Propagates all row update, insert, and delete changes to the
underlying data source backing this |
| public void | acceptChanges(Connection
a standard JDBC con)Connection objectOverrides com. Implements javax. Propagates all row update, insert, and delete changes to the
data source backing this |
| public void | afterLast()
Overrides com. Implements java. Moves this |
| public void | beforeFirst()
Overrides com. Implements java. Moves this |
| private CachedRowSet | buildCachedRow()
This function builds a row as a |
| public void | cancelRowUpdates()
Overrides com. Implements java. Rolls back any updates made to the current row of this
|
| public void | clearWarnings()
Overrides com. Implements java. Clears all the warnings reporeted for the |
| protected Object | Returns: a copy of thisCachedRowSetImpl objectOverrides com. Returns a new |
| public void | close()
Overrides com. Implements java. Closes this |
| 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 updatesthe index identifier of the column that may be have been updated. idx)Overrides com. Implements javax. Indicates whether the designated column of the current row of
this |
| 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 updatesthe columnName)String column name column that may be have
been updated.Overrides com. Implements javax. Indicates whether the designated column of the current row of
this |
| public void | commit()
Overrides com. Implements javax. Commits all changes performed by the |
| public CachedRowSet | Returns: a newCachedRowSet object that is a deep copy
of this CachedRowSet object and is
completely independent from this CachedRowSetImpl
object.Overrides com. Implements javax. Creates a |
| public CachedRowSet | Returns: a newCachedRowSet object that is a deep copy
of this CachedRowSetImpl object and is
completely independent from this CachedRowSetImpl objectOverrides com. Implements javax. Creates a |
| public CachedRowSet | Returns: a newCachedRowSet object that is a copy
of this CachedRowSetImpl object's schema and
retains all the constraints on the original rowset but contains
no dataOverrides com. Implements javax. Creates a |
| public RowSet | Returns: aRowSet object that is a copy of this CachedRowSetImpl
object and shares a set of cursors with itOverrides com. Implements javax. Returns a new |
| public void | deleteRow()
Overrides com. Implements java. Deletes the current row from this |
| public void | execute(Connection
A standard JDBC conn)Connection object that this
CachedRowSet object can pass to a synchronization provider
to establish a connection to the data sourceOverrides com. Implements javax. Populates this |
| public void | execute()
Overrides com. Implements javax. Populates this |
| public int | Returns: the column index of the given column namea columnName)String object that must match the
SQL name of a column in this rowset, ignoring caseOverrides com. Implements java. Maps the given column name for one of this |
| public boolean | Returns: true if the cursor is on a valid row;
false otherwise or if there are no rows in this
CachedRowSetImpl objectOverrides com. Implements java. Moves this |
| public Array | Returns: anArray object representing an SQL
ARRAY valuethe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public Array | Returns: anArray object representing an SQL
ARRAY valuea colName)String object that must match the
SQL name of a column in this rowset, ignoring caseOverrides com. Implements java. Retrieves the value of the designated column in this
|
| 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 SQLNULL, the result is null.the first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row of this
|
| 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 SQLNULL, the result is null.a columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value of the designated column in the current row of this
|
| public BigDecimal | Returns: the column value with the specified number of digits to the right of the decimal point; if the value is SQLNULL, the
result is nullthe first column is columnIndex, int 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 rowsetthe number of digits to the right of the decimal point in the
value returned scale)Overrides com. Implements java.
Deprecated
Retrieves the value of the designated column in the current row
of this |
| public BigDecimal | Returns: a java.math.BugDecimal object withscale
number of digits to the right of the decimal point.a columnName, int String object giving the SQL name of
a column in this CachedRowSetImpl objectthe number of digits to the right of the decimal point scale)Overrides com. Implements java.
Deprecated
Use the
getBigDecimal(String columnName)
method instead
Retrieves the value stored in the designated column
of the current row as a |
| public BigDecimal | Returns: ajava.math.BigDecimal value with full precision;
if the value is SQL NULL, the result is nullthe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public BigDecimal | Returns: ajava.math.BigDecimal value with full precision;
if the value is SQL NULL, the result is nulla columnName)String object that must match the
SQL name of a column in this rowset, ignoring caseOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public InputStream | Returns: a Java input stream that delivers the database column value as a stream of uninterpreted bytes. If the value is SQLNULL
then the result is null.the first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row of this
|
| public InputStream | Returns: a Java input stream that delivers the database column value as a stream of uninterpreted bytes. If the value is SQLNULL, the result is null.a columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value of the designated column in the current row of this
|
| public Blob | Returns: aBlob object representing an SQL BLOB valuethe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public Blob | Returns: aBlob object representing an SQL BLOB valuea colName)String object that must match the
SQL name of a column in this rowset, ignoring caseOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public boolean | Returns: the column value as aboolean in the Java programming language;
if the value is SQL NULL, the result is falsethe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public boolean | Returns: the column value as aboolean in the Java programming
language; if the value is SQL NULL,
the result is falsea columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public byte | Returns: the column value as abyte in the Java programming
language; if the value is SQL NULL, the result is 0the first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public byte | Returns: the column value as abyte in the Java programming
language; if the value is SQL NULL, the result is 0a columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public byte[] | Returns: the column value as abyte array in the Java programming
language; if the value is SQL NULL, the
result is nullthe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public byte[] | Returns: the column value as abyte array in the Java programming
language; if the value is SQL NULL, the result is nulla columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public Reader | Returns: a Java character stream that delivers the database column value as a stream of two-byte unicode characters in ajava.io.Reader object. If the value is
SQL NULL, the result is null.the first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| 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 SQLNULL, the result is null.a columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public Clob | Returns: aClob object representing an SQL CLOB valuethe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public Clob | Returns: aClob object representing an SQL
CLOB valuea colName)String object that must match the
SQL name of a column in this rowset, ignoring caseOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public Object | getConflictValue(int
int designating the column in this row of this
SyncResolver object from which to retrieve the value
causing a conflictImplements javax. Retrieves the value in the designated column in the current row of this
|
| public Object | getConflictValue(String
a columnName)String object designating the column in this row of this
SyncResolver object from which to retrieve the value
causing a conflictImplements javax. Retrieves the value in the designated column in the current row of this
|
| public Connection | Returns: theConnection object passed to this rowset;
may be null if there is no connectionOverrides com. Implements javax. Retrieves the |
| protected BaseRow | Returns: theRow object on which this CachedRowSetImpl
objects's cursor is positionedOverrides com. Returns the insert row or the current row of this
|
| public String | Returns: the SQL cursor name for thisCachedRowSetImpl object's
cursorOverrides com. Implements java. Retrieves the name of the SQL cursor used by this
|
| public Date | Returns: the column value as ajava.sql.Data object; if
the value is SQL NULL, the
result is nullthe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Date | Returns: the column value; if the value is SQLNULL,
the result is nulla columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public Date | Returns: the column value; if the value is SQLNULL,
the result is nullthe first column is columnIndex, Calendar 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 rowsetthe cal)java.util.Calendar object to use in
constructing the dateOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Date | Returns: the column value; if the value is SQLNULL,
the result is nulla columnName, Calendar String object that must match the
SQL name of a column in this rowset, ignoring casethe cal)java.util.Calendar object to use in
constructing the dateOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public double | Returns: the column value; if the value is SQLNULL, the
result is 0the first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public double | Returns: the column value; if the value is SQLNULL,
the result is 0a columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row of this |
| public float | Returns: the column value; if the value is SQLNULL, the
result is 0the first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public float | Returns: the column value; if the value is SQLNULL,
the result is 0a columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public int | Returns: the column value; if the value is SQLNULL, the
result is 0the first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public int | Returns: the column value; if the value is SQLNULL,
the result is 0a columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as an |
| 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 keyOverrides com. Implements javax. Returns the columns that make a key to uniquely identify a
row in this |
| public long | Returns: the column value; if the value is SQLNULL, the
result is 0the first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public long | Returns: the column value; if the value is SQLNULL,
the result is 0a columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public int[] | Returns: anint array object that contains the column ids
for the rowset which has this as the match columns.Overrides com. Implements javax. Retrieves the column id as |
| public String[] | Returns: aString array object that contains the column names
for the rowset which has this the match columnsOverrides com. Implements javax. Retrieves the column name as |
| public ResultSetMetaData | Returns: theResultSetMetaData object that describes this
CachedRowSetImpl object's columnsOverrides com. Implements java. Retrieves a |
| public Object | Returns: ajava.lang.Object holding the column value;
if the value is SQL NULL, the result is nullthe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Object | Returns: ajava.lang.Object holding the column value;
if the value is SQL NULL, the result is nulla columnName)String object that must match the
SQL name of a column in this rowset, ignoring caseOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Object | Returns: anObject representing the SQL valuethe first column is columnIndex, Map<String, Class<?>> 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 rowseta map)java.util.Map object showing the mapping
from SQL type names to classes in the Java programming
languageOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public Object | Returns: anObject representing the SQL valuea columnName, Map<String, Class<?>> String object that must match the
SQL name of a column in this rowset, ignoring casea map)java.util.Map object showing the mapping
from SQL type names to classes in the Java programming
languageOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public ResultSet | Returns: the original result set of the rowsetOverrides com. Implements javax. Returns a result set containing the original value of the rowset. |
| public ResultSet | Returns: the original result set of the rowOverrides com. Implements javax. Returns a result set containing the original value of the current row only. |
| public int | Returns: an integer that is the page size.Overrides com. Implements javax. This is the getter function for the size of the page. |
| public Ref | Returns: aRef object representing an SQLREF valuethe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public Ref | Returns: aRef object representing an SQLREF valuea colName)String object that must match the
SQL name of a column in this rowset, ignoring caseOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public int | Returns: the number of the current row;0 if there is no
current rowOverrides com. Implements java. Returns the number of the current row in this |
| public RowSetWarning | Returns: the first SQLWarning or nullOverrides com. Implements javax. The first warning reported by calls on this |
| public short | Returns: the column value; if the value is SQLNULL, the
result is 0the first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public short | Returns: the column value; if the value is SQLNULL,
the result is 0a columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public Statement | Returns: nullOverrides com. Implements java. Returns |
| public int | Returns: one of the following constants:SyncResolver.UPDATE_ROW_CONFLICT,
SyncResolver.DELETE_ROW_CONFLICT, or
SyncResolver.INSERT_ROW_CONFLICTImplements javax. Retrieves the conflict status of the current row of this
|
| public String | Returns: the column value; if the value is SQLNULL, the
result is nullthe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public String | Returns: the column value; if the value is SQLNULL,
the result is nulla columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| 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.Overrides com. Implements javax. Returns the |
| public String | Returns: aString object that identifies the table from
which this CachedRowSetImpl object was derivedOverrides com. Implements javax. Returns an identifier for the object (table) that was used to create this rowset. |
| public Time | Returns: the column value; if the value is SQLNULL, the
result is nullthe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Time | Returns: the column value; if the value is SQLNULL,
the result is nulla columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public Time | Returns: the column value; if the value is SQLNULL,
the result is nullthe first column is columnIndex, Calendar 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 rowsetthe cal)java.util.Calendar object to use in
constructing the dateOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Time | Returns: the column value; if the value is SQLNULL,
the result is nulla columnName, Calendar String object that must match the
SQL name of a column in this rowset, ignoring casethe cal)java.util.Calendar object to use in
constructing the dateOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Timestamp | Returns: the column value; if the value is SQLNULL, the
result is nullthe first column is columnIndex)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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Timestamp | Returns: the column value; if the value is SQLNULL,
the result is nulla columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public Timestamp | Returns: the column value; if the value is SQLNULL,
the result is nullthe first column is columnIndex, Calendar 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 rowsetthe cal)java.util.Calendar object to use in
constructing the dateOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Timestamp | Returns: the column value; if the value is SQLNULL,
the result is nulla columnName, Calendar String object that must match the
SQL name of a column in this rowset, ignoring casethe cal)java.util.Calendar object to use in
constructing the dateOverrides com. Implements java. Retrieves the value of the designated column in the current row
of this |
| 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.the first column is columnIndex)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 rowsetOverrides com. Implements java.
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 SQLNULL, the result is null.a columnName)String object giving the SQL name of
a column in this CachedRowSetImpl objectOverrides com. Implements java.
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 URLOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public URL | Returns: a java.net.URL object containing the resource reference described by the URLOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public SQLWarning | Returns: the first SQLWarning or nullOverrides com. Implements java. The first warning reported by calls on this |
| public void | insertRow()
Overrides com. Implements java. Inserts the contents of this |
| protected boolean | Returns: true if the cursor moved to the first row;
false otherwiseOverrides com. Moves this |
| protected boolean | Returns: true if the cursor moved to the last row;
false otherwiseOverrides com. Moves this |
| protected boolean | Returns: true if the cursor is on a valid row in this
rowset; false if it is after the last rowOverrides com. Moves this |
| protected boolean | Returns: true if the cursor is on a row in this rowset;
false when the cursor reaches the position before
the first rowOverrides com. Moves the cursor to the previous row in this |
| public boolean | Returns: true if the cursor is after the last row;
false otherwise or if the rowset contains no rowsOverrides com. Implements java. Indicates whether the cursor is after the last row in this
|
| public boolean | Returns: true if the cursor is before the first row;
false otherwise or if the rowset contains no rowsOverrides com. Implements java. Indicates whether the cursor is before the first row in this
|
| public boolean | Returns: true if the cursor is on the first row;
false otherwise or if the rowset contains no rowsOverrides com. Implements java. Indicates whether the cursor is on the first row in this
|
| public boolean | Returns: true if the cursor is on the last row;
false otherwise or if this rowset contains no rowsOverrides com. Implements java. Indicates whether the cursor is on the last row in this
|
| public boolean | Returns: true if the cursor is on a valid row;
false otherwise or if there are no rows in this
CachedRowSetImpl objectOverrides com. Implements java. Moves this |
| public void | moveToCurrentRow()
Overrides com. Implements java. Moves the cursor for this |
| public void | moveToInsertRow()
Overrides com. Implements java. Moves the cursor for this |
| public boolean | Returns: true if the new current row is valid;
false if there are no more rowsOverrides com. Implements java. Moves the cursor down one row from its current position and
returns |
| public boolean | Returns: true if the new current row is valid; false if there are no more rowsImplements javax. 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.Overrides com. Implements javax. The nextPage gets the next page, that is a |
| public void | populate(ResultSet
the data)ResultSet object containing the data
to be read into this CachedRowSetImpl objectOverrides com. Implements javax. Populates this |
| public void | populate(ResultSet
the data, int ResultSet object containing the data
to be read into this CachedRowSetImpl objectthe integer specifying the position in the
start)ResultSet object to popultate the
CachedRowSetImpl object.Overrides com. Implements javax. Populates this |
| public boolean | Returns: true if the cursor is on a valid row;
false if it is before the first row or after the
last rowOverrides com. Implements java. Moves this |
| public boolean | Returns: true if the cursor is on a valid row; false
if it is off the result setImplements javax. Moves the cursor to the previous conflict row in this |
| public boolean | Returns: boolean value true if it retrieves the previous page, flase if it is on the first page.Overrides com. Implements javax. Retrieves the data present in the page prior to the page from where it is called. |
| private void | readObject(ObjectInputStream ois)
Hides com. This method re populates the resBundle during the deserialization process |
| public void | refreshRow()
Overrides com. Implements java. 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 |
| public boolean | Returns: true if the cursor is on a row in this
CachedRowSetImpl object; false
otherwisean rows)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
rowsOverrides com. Implements java. 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. Implements javax. Releases the current contents of this |
| protected void | removeCurrentRow()
Overrides com. Removes the row on which the cursor is positioned. |
| public void | restoreOriginal()
Overrides com. Implements javax. Restores this |
| public void | rollback()
Overrides com. Implements javax. Rolls back all changes performed by the |
| public void | rollback(Savepoint s)
Overrides com. Implements javax. Rolls back all changes performed by the |
| public boolean | Returns: true if (1)the current row is blank, indicating that
the row has been deleted, and (2)deletions are detected;
false otherwiseOverrides com. Implements java. Indicates whether the current row has been deleted. |
| public boolean | Returns: true if a row has been inserted and inserts are detected;
false otherwiseOverrides com. Implements java. Indicates whether the current row has been inserted. |
| public void | rowSetPopulated(RowSetEvent
a event, int RowSetEvent object that contains the
RowSet object that is the source of the eventswhen populating, the number of rows interval on which the
numRows)CachedRowSet populated should fire; the default value
is zero; cannot be less than fetchSize or zeroOverrides com. Implements javax. 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 otherwiseOverrides com. Implements java. Indicates whether the current row of this |
| 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 cmd)String object containing an SQL query
that will be set as the command; may be nullOverrides com. Implements javax. Sets this |
| public void | setKeyColumns(int[]
an array of keys)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 rowsetOverrides com. Implements javax. Sets this |
| 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
columnIdxes)0 or greaterOverrides com. Implements javax. 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. Implements javax. 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
columnIdx)0 or greaterOverrides com. Implements javax. Sets the designated parameter to the given |
| public void | setMatchColumn(String
the name of the column into this rowset
object's internal representation of parameter values columnName)Overrides com. Implements javax. Sets the designated parameter to the given |
| public void | setMetaData(RowSetMetaData
a md)RowSetMetaData object instance containing
metadata about the columns in the rowsetOverrides com. Implements javax. Sets the metadata for this |
| public void | setOriginal()
Overrides com. Marks all rows in this rowset as being original rows. |
| public void | setOriginalRow()
Overrides com. Implements javax. Marks the current row in this rowset as being an original row. |
| public void | setPageSize(int
which is the page size size)Overrides com. Implements javax. 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 index, Object int giving the number of the column into which to
set the value to be persistedan obj)Object that is the value to be set in the data sourceImplements javax. Sets obj as the value in column index in the current row of the
|
| public void | setResolvedValue(String
a columnName, Object String object giving the name of the column
into which to set the value to be persistedan obj)Object that is the value to be set in the data sourceImplements javax. Sets obj as the value in column columnName in the current row of the
|
| pack-priv void | |
| public void | setSyncProvider(String providerStr)
Overrides com. Implements javax. Sets the active |
| public void | setTableName(String
a tabName)String object that identifies the
table from which this CachedRowSetImpl object
was derivedOverrides com. Implements javax. 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 rowsetOverrides com. Implements javax. Returns the number of rows in this |
| public Collection | Returns: aCollection object consisting of tables,
each of which is a copy of a row in this
CachedRowSetImpl objectOverrides com. Implements javax. Converts this |
| public Collection | Returns: aCollection object that contains the value(s)
stored in the specified column of this
CachedRowSetImpl
objectOverrides com. Implements javax. Returns the specified column of this |
| public Collection | Returns: aCollection object that contains the value(s)
stored in the specified column of this
CachedRowSetImpl
objectOverrides com. Implements javax. Returns the specified column of this |
| public void | undoDelete()
Overrides com. Implements javax. Cancels deletion of the current row and notifies listeners that a row has changed. |
| public void | undoInsert()
Overrides com. Implements javax. Immediately removes the current row from this
|
| public void | undoUpdate()
Overrides com. Implements javax. 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. Implements javax. 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. Implements javax. 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. Implements javax. Unsets the designated parameter to the given |
| public void | unsetMatchColumn(String
the index into this rowset
object's internal representation of parameter values columnName)Overrides com. Implements javax. Unsets the designated parameter to the given |
| public void | updateArray(int
the first column is columnIndex, Array 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 rowsetthe new column a)Array valueOverrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateArray(String
a columnName, Array String object that must match the
SQL name of a column in this rowset, ignoring casethe new column a)Array valueOverrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateAsciiStream(int
the first column is columnIndex, InputStream 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 rowsetthe new column value x, int the number of one-byte ASCII characters in the stream length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateAsciiStream(String
a columnName, InputStream String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x, int the number of one-byte ASCII characters in the stream length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBigDecimal(int
the first column is columnIndex, BigDecimal 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBigDecimal(String
a columnName, BigDecimal String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBinaryStream(int
the first column is columnIndex, InputStream 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 rowsetthe new column value; must be a x, int java.io.InputStream
containing BINARY, VARBINARY, or
LONGVARBINARY datathe length of the stream in bytes length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBinaryStream(String
a columnName, InputStream String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value; must be a x, int java.io.InputStream
containing BINARY, VARBINARY, or
LONGVARBINARY datathe length of the stream in bytes length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBlob(int
the first column is columnIndex, Blob 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 rowsetthe new column b)Blob valueOverrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBlob(String
a columnName, Blob String object that must match the
SQL name of a column in this rowset, ignoring casethe new column b)Blob valueOverrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBoolean(int
the first column is columnIndex, boolean 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBoolean(String
a columnName, boolean String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateByte(int
the first column is columnIndex, byte 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateByte(String
a columnName, byte String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBytes(int
the first column is columnIndex, byte[] 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBytes(String
a columnName, byte[] String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateCharacterStream(int
the first column is columnIndex, Reader 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 rowsetthe new column value; must be a x, int java.io.Reader
containing BINARY, VARBINARY,
LONGVARBINARY, CHAR, VARCHAR,
or LONGVARCHAR datathe length of the stream in characters length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateCharacterStream(String
a columnName, Reader String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value; must be a
reader, int java.io.Reader containing BINARY,
VARBINARY, LONGVARBINARY, CHAR,
VARCHAR, or LONGVARCHAR datathe length of the stream in characters length)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateClob(int
the first column is columnIndex, Clob 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 rowsetthe new column c)Clob valueOverrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateClob(String
a columnName, Clob String object that must match the
SQL name of a column in this rowset, ignoring casethe new column c)Clob valueOverrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateDate(int
the first column is columnIndex, Date 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateDate(String
a columnName, Date String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateDouble(int
the first column is columnIndex, double 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateDouble(String
a columnName, double String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateFloat(int
the first column is columnIndex, float 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateFloat(String
a columnName, float String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateInt(int
the first column is columnIndex, int 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateInt(String
a columnName, int String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateLong(int
the first column is columnIndex, long 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateLong(String
a columnName, long String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| 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 columnIndex)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 rowsetOverrides com. Implements java. Sets the designated nullable column in the current row or the
insert row of this |
| public void | updateNull(String
a columnName)String object that must match the
SQL name of a column in this rowset, ignoring caseOverrides com. Implements java. Sets the designated nullable column in the current row or the
insert row of this |
| public void | updateObject(int
the first column is columnIndex, Object 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 rowsetthe new column value x, int the number of digits to the right of the decimal point (for
scale)DECIMAL and NUMERIC types only)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateObject(int
the first column is columnIndex, Object 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateObject(String
a columnName, Object String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x, int the number of digits to the right of the decimal point (for
scale)DECIMAL and NUMERIC types only)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateObject(String
a columnName, Object String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateRef(int
the first column is columnIndex, Ref 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 rowsetthe new column ref)java.sql.Ref valueOverrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateRef(String
a columnName, Ref String object that must match the
SQL name of a column in this rowset, ignoring casethe new column ref)java.sql.Ref valueOverrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateRow()
Overrides com. Implements java. Marks the current row of this |
| public void | updateShort(int
the first column is columnIndex, short 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateShort(String
a columnName, short String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateString(int
the first column is columnIndex, String 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateString(String
a columnName, String String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateTime(int
the first column is columnIndex, Time 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateTime(String
a columnName, Time String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateTimestamp(int
the first column is columnIndex, Timestamp 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 rowsetthe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateTimestamp(String
a columnName, Timestamp String object that must match the
SQL name of a column in this rowset, ignoring casethe new column value x)Overrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public boolean | Returns: true if the value in the last column read
was SQL NULL; false otherwiseOverrides com. Implements java. Reports whether the last column read was SQL |
| private void | writeData(CachedRowSet
a row)CachedRowSet object which will hold the
values of a particular row after they have been resolved by
the user to synchronize back to datasource.This passes a CachedRowSet as a row to the CachedRowSetWriter after the values have been resolved, back to the datasource. |