CachedRowSet interface.
See interface definition for full behavior and implementation requirements.
This reference implementation has made provision for a one-to-one write back
facility and it is curremtly be possible to change the peristence provider
during the life-time of any CachedRowSetImpl.
| Modifier and Type | Field and Description |
|---|---|
| private int | absolutePos
The current position of the cursor in this |
| private boolean | callWithCon
The boolean value indicating how the CahedRowSet object has been populated for paging purpose. |
| private transient Connection | conn
The |
| private CachedRowSetReader | crsReader
CachedRowSet reader object to read the data from the ResultSet when a connection parameter is passed to populate the CachedRowSet object for paging. |
| private int | currentRow
The field that temporarily holds the last position of the cursor before it moved to the insert row, thus preserving the number of the current row to which the cursor may return. |
| private int | cursorPos
The current position of the cursor in this |
| private boolean | dbmslocatorsUpdateCopy
The boolean variable indicating locatorsUpdateValue |
| private String | DEFAULT_SYNC_PROVIDER
The default SyncProvider for the RI CachedRowSetImpl |
| private int | endPos
The integer value indicating the end position in the ResultSetwhere the picking up of rows for populating a CachedRowSet object was left off. |
| private int | iMatchColumn
Used to track match column for JoinRowSet consumption |
| private Vector | iMatchColumns
The Vector holding the Match Columns |
| private InsertRow | insertRow
A special row used for constructing a new row. |
| private int[] | keyCols
An array containing the columns in this |
| private boolean | lastValueNull
A |
| private int | maxRowsreached
The integer value indicating number of rows that have been processed so far. |
| private int | numDeleted
The number of deleted rows currently in this |
| private int | numRows
The total number of rows currently in this |
| private boolean | onFirstPage
The boolean value indicating whether this is the first page or not. |
| private boolean | onInsertRow
A |
| private boolean | onLastPage
The boolean value indicating whether this is the last page or not. |
| private boolean | pagenotend
The boolean value when true signifies that pages are still to follow and a false value indicates that this is the last page. |
| private int | pageSize
The integer value indicating size of the page. |
| private int | populatecallcount
The integer value indicating how many times the populate function has been called. |
| private int | prevEndPos
The integer value indicating the end position in the ResultSetwhere the picking up of rows for populating a CachedRowSet object was left off. |
| private SyncProvider | provider
The |
| protected transient JdbcRowSetResourceBundle | |
| private transient ResultSet | resultSet
The |
| private RowSetMetaDataImpl | RowSetMD
The |
| private RowSetReader | rowSetReader
The |
| private RowSetWarning | rowsetWarning
A |
| private RowSetWriter | rowSetWriter
The |
| private transient ResultSetMetaData | RSMD
The |
| private Vector | rvh
A |
| pack-priv static final long | |
| private SQLWarning | sqlwarn
A |
| private int | startPos
The integer value indicating the position in the ResultSet, to populate the CachedRowSet object. |
| private int | startPrev
The integer value indicating the position from where the page prior to this was populated. |
| private String | strMatchColumn
Used to track match column for JoinRowSet consumption |
| private Vector | strMatchColumns
The Vector that will hold the Match Column names. |
| private String | tableName
The name of the table in the underlying database to which updates should be written. |
| private int | totalRows
The integer value indicating the total number of rows to be processed in the ResultSet object passed to the populate function. |
| private TransactionalWriter | tWriter
The field object for a transactional RowSet writer |
| private boolean | tXWriter
Trigger that indicates whether the active SyncProvider is exposes the additional TransactionalWriter method |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | CachedRowSetImpl()
Constructs a new default |
| public | CachedRowSetImpl(Hashtable<K, V>
a env)Hashtable object with a list of desired
synchronization providersProvides a |
| 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 0Implements java. Moves this |
| public void | acceptChanges()
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 objectImplements javax. Propagates all row update, insert, and delete changes to the
data source backing this |
| public void | afterLast()
Implements java. Moves this |
| public void | beforeFirst()
Implements java. Moves this |
| private String | Returns: the tablename if only one table in query else return ""The function tries to isolate the tablename when only setCommand is set and not setTablename is called provided there is only one table name in the query else just leaves the setting of table name as such. |
| public void | cancelRowUpdates()
Implements java. Rolls back any updates made to the current row of this
|
| private void | checkCursor()
Checks to see whether the cursor for this |
| private void | checkIndex(int
the number of a column in this idx)CachedRowSetImpl
object; must be between 1 and the number of
rows in this rowsetChecks to see whether the given index is a valid column number
in this |
| private void | checkTransactionalWriter()
Determine whether the SyncProvider's writer implements the
|
| public void | clearWarnings()
Implements java. Clears all the warnings reporeted for the |
| protected Object | Returns: a copy of thisCachedRowSetImpl objectOverrides java. Returns a new |
| public void | close()
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)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.Implements javax. Indicates whether the designated column of the current row of
this |
| public void | commit()
Implements javax. Commits all changes performed by the |
| private Object | Returns: anObject value.that is
the standard object mapping for the target SQL typethe srcObj, int Object in the Java programming language
that is to be converted to the target typethe data type that is the standard mapping in SQL of the
object to be converted; must be one of the constants in
srcType, int java.sql.Typesthe SQL data type to which to convert the given object;
must be one of the following constants in
trgType)java.sql.Types: BIT,
or BOOLEANConverts the given |
| private Object | Returns: anObject value.that is
the standard object mapping for the target SQL typethe srcObj, int Object in the Java programming language
that is to be converted to the target typethe data type that is the standard mapping in SQL of the
object to be converted; must be one of the constants in
srcType, int java.sql.Typesthe SQL data type to which to convert the given object;
must be one of the following constants in
trgType)java.sql.Types: NUMERIC,
DECIMAL, BIT, TINYINT,
SMALLINT, INTEGER, BIGINT,
REAL, DOUBLE, FLOAT,
VARCHAR, LONGVARCHAR, or CHARConverts the given |
| private Object | Returns: anObject value.that is
the standard object mapping for the target SQL typethe srcObj, int Object in the Java programming language
that is to be converted to the target typethe data type that is the standard mapping in SQL of the
object to be converted; must be one of the constants in
srcType, int java.sql.Typesthe SQL data type to which to convert the given object;
must be one of the following constants in
trgType)java.sql.Types: DATE,
TIME, TIMESTAMP, CHAR,
VARCHAR, or LONGVARCHARConverts the given |
| public CachedRowSet | Returns: a newCachedRowSet object that is a deep copy
of this CachedRowSet object and is
completely independent from this CachedRowSetImpl
object.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 objectImplements 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 dataImplements javax. Creates a |
| public RowSet | Returns: aRowSet object that is a copy of this CachedRowSetImpl
object and shares a set of cursors with itImplements javax. Returns a new |
| public void | deleteRow()
Implements java. Deletes the current row from this |
| private void | |
| 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 sourceImplements javax. Populates this |
| public void | |
| 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 caseImplements 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 objectImplements 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 rowsetImplements 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 caseImplements 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 rowsetImplements 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 objectImplements 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)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)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 rowsetImplements 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 caseImplements 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 rowsetImplements 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 objectImplements 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 rowsetImplements 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 caseImplements 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 rowsetImplements 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 objectImplements 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 rowsetImplements 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 objectImplements 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 rowsetImplements 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 objectImplements 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 rowsetImplements 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 objectImplements 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 rowsetImplements 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 caseImplements java. Retrieves the value of the designated column in this
|
| private int | getColIdxByName(String
a name)String object that is the name of a column in
this CachedRowSetImpl objectReturns the column number of the column with the given name in this
|
| public Connection | Returns: theConnection object passed to this rowset;
may be null if there is no connectionImplements javax. Retrieves the |
| protected BaseRow | Returns: theRow object on which this CachedRowSetImpl
objects's cursor is positionedReturns the insert row or the current row of this
|
| public String | Returns: the SQL cursor name for thisCachedRowSetImpl object's
cursorImplements 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 rowsetImplements 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 objectImplements 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 dateImplements 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 dateImplements 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 rowsetImplements 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 objectImplements 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 rowsetImplements 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 objectImplements java. Retrieves the value stored in the designated column
of the current row as a |
| public int | Returns: either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMITImplements java. Retrieves the holdability of this ResultSet object |
| 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 rowsetImplements 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 objectImplements 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 keyImplements 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 rowsetImplements 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 objectImplements java. Retrieves the value stored in the designated column
of the current row as a |
| public int[] | Returns: aint array object that contains the column ids
for the rowset which has this as the match columns.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 columnsImplements javax. Retrieves the column name as |
| public ResultSetMetaData | Returns: theResultSetMetaData object that describes this
CachedRowSetImpl object's columnsImplements java. Retrieves a |
| public Reader | Returns: ajava.io.Reader object that contains the column
value; if the value is SQL NULL, the value returned is
null in the Java programming language.the first column is 1, the second is 2, ... columnIndex)Implements java. Retrieves the value of the designated column in the current row
of this |
| public Reader | Returns: ajava.io.Reader object that contains the column
value; if the value is SQL NULL, the value returned is
null in the Java programming languagethe name of the column columnName)Implements java. Retrieves the value of the designated column in the current row
of this |
| public NClob | Returns: aNClob object representing the SQL
NCLOB value in the specified columnthe first column is 1, the second is 2, ... i)Implements java. Retrieves the value of the designated column in the current row
of this |
| public NClob | Returns: aNClob object representing the SQL NCLOB
value in the specified columnthe name of the column from which to retrieve the value colName)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
value returned is nullthe first column is 1, the second is 2, ... columnIndex)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
value returned is nullthe SQL name of the column columnName)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 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 rowsetImplements 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 caseImplements 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
languageImplements 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
languageImplements java. Retrieves the value of the designated column in this
|
| public <T> T | getObject(int columnIndex, Class<T> type)
Implements java. Retrieves the value of the designated column in the current row
of this |
| public <T> T | getObject(String columnLabel, Class<T> type)
Implements java. Retrieves the value of the designated column in the current row
of this |
| public ResultSet | Returns: the original result set of the rowsetImplements javax. Returns a result set containing the original value of the rowset. |
| public ResultSet | Returns: the original result set of the rowImplements javax. Returns a result set containing the original value of the current row only. |
| public int | Returns: an integer that is the page size.Implements javax. This is the getter function for the size of the page. |
| public Ref | Returns: aRef object representing an SQL REF 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 rowsetImplements java. Retrieves the value of the designated column in this
|
| public Ref | Returns: aRef object representing an SQL REF valuea colName)String object that must match the
SQL name of a column in this rowset, ignoring caseImplements 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 rowImplements java. Returns the number of the current row in this |
| public RowId | Returns: the column value if the value is a SQLNULL the
value returned is nullthe first column is 1, the second 2, ... columnIndex)Implements java. Retrieves the value of the designated column in the current row of this
|
| public RowId | Returns: the column value if the value is a SQLNULL the
value returned is nullthe name of the column columnName)Implements java. Retrieves the value of the designated column in the current row of this
|
| public RowSetWarning | Returns: the first SQLWarning or nullImplements 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 rowsetImplements 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 objectImplements java. Retrieves the value stored in the designated column
of the current row as a |
| public SQLXML | Returns: a SQLXML object that maps an SQL XML valuethe first column is 1, the second is 2, ... columnIndex)Implements java. Retrieves the value of the designated |
| public SQLXML | Returns: a SQLXML object that maps an SQL XML valuethe name of the column from which to retrieve the value colName)Implements java. Retrieves the value of the designated |
| public Statement | |
| 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 rowsetImplements 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 objectImplements 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.Implements javax. Returns the |
| public String | Returns: aString object that identifies the table from
which this CachedRowSetImpl object was derivedImplements 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 rowsetImplements 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 objectImplements 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 dateImplements 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 dateImplements 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 rowsetImplements 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 objectImplements 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 dateImplements 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 dateImplements 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 rowsetImplements 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 objectImplements 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 URLImplements 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 URLImplements java. Retrieves the value of the designated column in this
|
| public SQLWarning | Returns: the first SQLWarning or nullImplements java. The first warning reported by calls on this |
| private void | initContainer()
Sets the |
| private void | initMetaData(RowSetMetaDataImpl
the md, ResultSetMetaData RowSetMetaData object for this
CachedRowSetImpl object, which will be set with
values from rsmdthe rsmd)ResultSetMetaData object from which new
values for md will be readInitializes the given |
| private void | |
| public void | insertRow()
Implements java. Inserts the contents of this |
| protected boolean | Returns: true if the cursor moved to the first row;
false otherwiseMoves this |
| protected boolean | Returns: true if the cursor moved to the last row;
false otherwiseMoves this |
| protected boolean | Returns: true if the cursor is on a valid row in this
rowset; false if it is after the last rowMoves 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 rowMoves 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 rowsImplements 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 rowsImplements java. Indicates whether the cursor is before the first row in this
|
| private boolean | Returns: true if the given type is BINARY,'
VARBINARY, or LONGVARBINARY;
false otherwiseone of the constants from type)java.sql.TypesIndicates whether the given SQL data type is a binary type. |
| private boolean | Returns: true if the given type is BIT,
, or BOOLEAN;
false otherwiseone of the constants from type)java.sql.TypesIndicates whether the given SQL data type is a boolean type. |
| public boolean | Returns: true if this ResultSet object is closed; false if it is still openImplements java. Retrieves whether this ResultSet object has been closed. |
| public boolean | Returns: true if the cursor is on the first row;
false otherwise or if the rowset contains no rowsImplements 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 rowsImplements java. Indicates whether the cursor is on the last row in this
|
| private boolean | Returns: true if the given type is NUMERIC,'
DECIMAL, BIT, TINYINT,
SMALLINT, INTEGER, BIGINT,
REAL, DOUBLE, or FLOAT;
false otherwiseone of the constants from type)java.sql.TypesIndicates whether the given SQL data type is a numeric type. |
| private boolean | Returns: true if the given type is CHAR,'
VARCHAR, or LONGVARCHAR;
false otherwiseone of the constants from type)java.sql.TypesIndicates whether the given SQL data type is a string type. |
| private boolean | Returns: true if the given type is DATE,
TIME, or TIMESTAMP;
false otherwiseone of the constants from type)java.sql.TypesIndicates whether the given SQL data type is a temporal type. |
| public boolean | isWrapperFor(Class<?> interfaces)
Implements java. Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does. |
| public boolean | Returns: true if the cursor is on a valid row;
false otherwise or if there are no rows in this
CachedRowSetImpl objectImplements java. Moves this |
| private void | makeRowOriginal(Row
the row to be made the original row row)Makes the given row of this rowset the original row by clearing any settings that mark the row as having been inserted, deleted, or updated. |
| public void | moveToCurrentRow()
Implements java. Moves the cursor for this |
| public void | moveToInsertRow()
Implements java. Moves the cursor for this |
| public boolean | Returns: true if the new current row is valid;
false if there are no more rowsImplements java. Moves the cursor down one row from its current position and
returns |
| public boolean | Returns: boolean value true indicating whether there are more pages to come and false indicating that this is the last page.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 objectImplements 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.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 rowImplements java. Moves this |
| public boolean | Returns: boolean value true if it retrieves the previous page, flase if it is on the first page.Implements javax. Retrieves the data present in the page prior to the page from where it is called. |
| private void | readObject(ObjectInputStream ois)
This method re populates the resBundle during the deserialization process |
| public void | refreshRow()
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
rowsImplements 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()
Implements javax. Releases the current contents of this |
| protected void | |
| public void | restoreOriginal()
Implements javax. Restores this |
| public void | rollback()
Implements javax. Rolls back all changes performed by the |
| public void | rollback(Savepoint s)
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 otherwiseImplements java. Indicates whether the current row has been deleted. |
| public boolean | Returns: true if a row has been inserted and inserts are detected;
false otherwiseImplements 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 zeroImplements 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 otherwiseImplements java. Indicates whether the current row of this |
| public void | setAsciiStream(String
the name of the parameter parameterName, InputStream the Java input stream that contains the ASCII parameter value x, int the number of bytes in the stream length)Overrides javax. Implements javax. Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
| public void | setAsciiStream(String
the name of the parameter parameterName, InputStream the Java input stream that contains the ASCII parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given input stream. |
| public void | setBigDecimal(String
the name of the parameter parameterName, BigDecimal the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given
|
| public void | setBinaryStream(String
the name of the parameter parameterName, InputStream the java input stream which contains the binary parameter value x, int the number of bytes in the stream length)Overrides javax. Implements javax. Sets the designated parameter to the given input stream, which will have the specified number of bytes. |
| public void | setBinaryStream(String
the name of the parameter parameterName, InputStream the java input stream which contains the binary parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given input stream. |
| public void | setBlob(int
index of the first parameter is 1,
the second is 2, ... parameterIndex, InputStream An object that contains the data to set the parameter
value to. inputStream, long the number of bytes in the parameter data. length)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setBlob(int
index of the first parameter is 1,
the second is 2, ... parameterIndex, InputStream An object that contains the data to set the parameter
value to. inputStream)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setBlob(String
the name of the parameter to be set
the second is 2, ... parameterName, InputStream An object that contains the data to set the parameter
value to. inputStream, long the number of bytes in the parameter data. length)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setBlob(String
the name of the parameter parameterName, Blob a x)Blob object that maps an SQL BLOB valueOverrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setBlob(String
the name of the parameter parameterName, InputStream An object that contains the data to set the parameter
value to. inputStream)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setBoolean(String
the name of the parameter parameterName, boolean the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given Java |
| public void | setByte(String
the name of the parameter parameterName, byte the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given Java |
| public void | setBytes(String
the name of the parameter parameterName, byte[] the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given Java array of bytes. |
| public void | setCharacterStream(String
the name of the parameter parameterName, Reader the reader, int java.io.Reader object that
contains the UNICODE data used as the designated parameterthe number of characters in the stream length)Overrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setCharacterStream(String
the name of the parameter parameterName, Reader the reader)java.io.Reader object that contains the
Unicode dataOverrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setClob(String
the name of the parameter to be set parameterName, Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setClob(String
the name of the parameter parameterName, Clob a x)Clob object that maps an SQL CLOB valueOverrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setClob(String
the name of the parameter parameterName, Reader An object that contains the data to set the parameter value to. reader)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setClob(int
index of the first parameter is 1, the second is 2, ... parameterIndex, Reader An object that contains the data to set the parameter value to. reader)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setClob(int
index of the first parameter is 1, the second is 2, ... parameterIndex, Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setCommand(String
a cmd)String object containing an SQL query
that will be set as the command; may be nullOverrides javax. Implements javax. Sets this |
| private void | setConnection(Connection
the connection)Connection object that was passed in
to the method execute and is to be stored
in this CachedRowSetImpl object's connection
propertySets this |
| public void | setDate(String
the name of the parameter parameterName, Date the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setDate(String
the name of the parameter parameterName, Date the parameter value x, Calendar the cal)Calendar object the driver will use
to construct the dateOverrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setDouble(String
the name of the parameter parameterName, double the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given Java |
| public void | setFloat(String
the name of the parameter parameterName, float the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given Java |
| public void | setInt(String
the name of the parameter parameterName, int the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given Java |
| 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 rowsetImplements javax. Sets this |
| private void | setLastValueNull(boolean
true to indicate that the value of
the last column read was SQL NULL;
false to indicate that it was notSets the field |
| public void | setLong(String
the name of the parameter parameterName, long the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given Java |
| 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 greaterImplements 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)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 greaterImplements 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)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 rowsetImplements javax. Sets the metadata for this |
| public void | setNCharacterStream(int
of the first parameter is 1, the second is 2, ... parameterIndex, Reader the parameter value value)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setNCharacterStream(int
of the first parameter is 1, the second is 2, ... parameterIndex, Reader the parameter value value, long the number of characters in the parameter data. length)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setNCharacterStream(String
the name of the column to be set parameterName, Reader the parameter value value, long the number of characters in the parameter data. length)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setNCharacterStream(String
the name of the parameter parameterName, Reader the parameter value value)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setNClob(String
the name of the column to be set parameterName, NClob the parameter value value)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setNClob(int
index of the first parameter is 1, the second is 2, ... parameterIndex, Reader An object that contains the data to set the parameter value to. reader)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setNClob(String
the name of the parameter to be set parameterName, Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setNClob(String
the name of the parameter parameterName, Reader An object that contains the data to set the parameter value to. reader)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setNClob(int
index of the first parameter is 1, the second is 2, ... parameterIndex, Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setNClob(int
of the first parameter is 1, the second is 2, ... parameterIndex, NClob the parameter value value)Overrides javax. Implements javax. Sets the designated parameter to a |
| public void | setNString(int
of the first parameter is 1, the second is 2, ... parameterIndex, String the parameter value value)Overrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setNString(String
the name of the column to be set parameterName, String the parameter value value)Overrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setNull(String
the name of the parameter parameterName, int the SQL type code defined in sqlType)java.sql.TypesOverrides javax. Implements javax. Sets the designated parameter to SQL |
| public void | setNull(String
the name of the parameter parameterName, int a value from sqlType, String java.sql.Typesthe fully-qualified name of an SQL user-defined type;
ignored if the parameter is not a user-defined type or
SQL typeName)REF valueOverrides javax. Implements javax. Sets the designated parameter to SQL |
| public void | setObject(String
the name of the parameter parameterName, Object the object containing the input parameter value x, int the SQL type (as defined in java.sql.Types) to be
sent to the database. The scale argument may further qualify this type. targetSqlType, int for java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types,
this is the number of digits after the decimal point. For all other
types, this value will be ignored. scale)Overrides javax. Implements javax. Sets the value of the designated parameter with the given object. |
| public void | setObject(String
the name of the parameter parameterName, Object the object containing the input parameter value x, int the SQL type (as defined in java.sql.Types) to be
sent to the database targetSqlType)Overrides javax. Implements javax. Sets the value of the designated parameter with the given object. |
| public void | setObject(String
the name of the parameter parameterName, Object the object containing the input parameter value x)Overrides javax. Implements javax. Sets the value of the designated parameter with the given object. |
| public void | |
| public void | setOriginalRow()
Implements javax. Marks the current row in this rowset as being an original row. |
| public void | setPageSize(int
which is the page size size)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 | setRowId(int
the first parameter is 1, the second is 2, ... parameterIndex, RowId the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setRowId(String
the name of the parameter parameterName, RowId the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setRowInserted(boolean
if it is true - marks this row as inserted
if it is false - marks it as not a newly inserted row insertFlag)Sets the status for the row on which the cursor is positioned. |
| public void | setShort(String
the name of the parameter parameterName, short the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given Java |
| public void | setSQLXML(int
index of the first parameter is 1, the second is 2, ... parameterIndex, SQLXML a xmlObject)SQLXML object that maps an SQL XML valueOverrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setSQLXML(String
the name of the parameter parameterName, SQLXML a xmlObject)SQLXML object that maps an SQL XML valueOverrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setString(String
the name of the parameter parameterName, String the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given Java |
| public void | setSyncProvider(String providerStr)
Implements javax. Sets the active |
| public void | setTableName(String
a tabName)String object that identifies the
table from which this CachedRowSetImpl object
was derivedImplements javax. Sets the identifier for the table from which this rowset was derived to the given table name. |
| public void | setTime(String
the name of the parameter parameterName, Time the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setTime(String
the name of the parameter parameterName, Time the parameter value x, Calendar the cal)Calendar object the driver will use
to construct the timeOverrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setTimestamp(String
the name of the parameter parameterName, Timestamp the parameter value x, Calendar the cal)Calendar object the driver will use
to construct the timestampOverrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setTimestamp(String
the name of the parameter parameterName, Timestamp the parameter value x)Overrides javax. Implements javax. Sets the designated parameter to the given |
| public void | setURL(int
the first parameter is 1, the second is 2, ... parameterIndex, URL the x)java.net.URL object to be setOverrides javax. Implements javax. Sets the designated parameter to the given |
| public int | Returns: number of rows in the rowsetImplements 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 objectImplements javax. Converts this |
| public Collection | Returns: aCollection object that contains the value(s)
stored in the specified column of this
CachedRowSetImpl
objectImplements 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
objectImplements javax. Returns the specified column of this |
| public void | undoDelete()
Implements javax. Cancels deletion of the current row and notifies listeners that a row has changed. |
| public void | undoInsert()
Implements javax. Immediately removes the current row from this
|
| public void | undoUpdate()
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)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)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)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)Implements javax. Unsets the designated parameter to the given |
| public <T> T | unwrap(Class<T> iface)
Implements java. Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy. |
| 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 valueImplements 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 valueImplements 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)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)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 1, the second is 2, ... columnIndex, InputStream the new column value x, long the length of the stream length)Implements java. Updates the designated column with an ascii stream value, which will have the specified number of bytes. |
| public void | updateAsciiStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnLabel, InputStream the new column value x, long the length of the stream length)Implements java. Updates the designated column with an ascii stream value, which will have the specified number of bytes.. |
| public void | updateAsciiStream(int
the first column is 1, the second is 2, ... columnIndex, InputStream the new column value x)Implements java. Updates the designated column with an ascii stream value. |
| public void | updateAsciiStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the la
bel is the name of the column columnLabel, InputStream the new column value x)Implements java. Updates the designated column with an ascii stream value. |
| 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)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)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)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)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 1, the second is 2, ... columnIndex, InputStream the new column value x, long the length of the stream length)Implements java. Updates the designated column with a binary stream value, which will have the specified number of bytes. |
| public void | updateBinaryStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnLabel, InputStream the new column value x, long the length of the stream length)Implements java. Updates the designated column with a binary stream value, which will have the specified number of bytes. |
| public void | updateBinaryStream(int
the first column is 1, the second is 2, ... columnIndex, InputStream the new column value x)Implements java. Updates the designated column with a binary stream value. |
| public void | updateBinaryStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the la
bel is the name of the column columnLabel, InputStream the new column value x)Implements java. Updates the designated column with a binary stream value. |
| 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 valueImplements 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 valueImplements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateBlob(int
the first column is 1, the second is 2, ... columnIndex, InputStream An object that contains the data to set the parameter
value to. inputStream, long the number of bytes in the parameter data. length)Implements java. Updates the designated column using the given input stream, which will have the specified number of bytes. |
| public void | updateBlob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnLabel, InputStream An object that contains the data to set the parameter
value to. inputStream, long the number of bytes in the parameter data. length)Implements java. Updates the designated column using the given input stream, which will have the specified number of bytes. |
| public void | updateBlob(int
the first column is 1, the second is 2, ... columnIndex, InputStream An object that contains the data to set the parameter
value to. inputStream)Implements java. Updates the designated column using the given input stream. |
| public void | updateBlob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the la
bel is the name of the column columnLabel, InputStream An object that contains the data to set the parameter
value to. inputStream)Implements java. Updates the designated column using the given input stream. |
| 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)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)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)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)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)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)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)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)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 1, the second is 2, ... columnIndex, Reader the new column value x, long the length of the stream length)Implements java. Updates the designated column with a character stream value, which will have the specified number of bytes. |
| public void | updateCharacterStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the la
bel is the name of the column columnLabel, Reader the reader, long java.io.Reader object containing
the new column valuethe length of the stream length)Implements java. Updates the designated column with a character stream value, which will have the specified number of bytes. |
| public void | updateCharacterStream(int
the first column is 1, the second is 2, ... columnIndex, Reader the new column value x)Implements java. Updates the designated column with a character stream value. |
| public void | updateCharacterStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the la
bel is the name of the column columnLabel, Reader the reader)java.io.Reader object containing
the new column valueImplements java. Updates the designated column with a character stream value. |
| 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 valueImplements 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 valueImplements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateClob(int
the first column is 1, the second is 2, ... columnIndex, Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Implements java. Updates the designated column using the given |
| public void | updateClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnLabel, Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Implements java. Updates the designated column using the given |
| public void | updateClob(int
the first column is 1, the second is 2, ... columnIndex, Reader An object that contains the data to set the parameter value to. reader)Implements java. Updates the designated column using the given |
| public void | updateClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the la
bel is the name of the column columnLabel, Reader An object that contains the data to set the parameter value to. reader)Implements java. Updates the designated column using the given |
| 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)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)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)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)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)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)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)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)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)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)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, long - the length of the stream length)Implements java. 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, long - the length of the stream length)Implements java. Updates the designated column with a character stream value, which will have the specified number of bytes. |
| public void | updateNCharacterStream(int
the first column is 1, the second is 2, ... columnIndex, Reader the new column value x)Implements java. Updates the designated column with a character stream value. |
| public void | updateNCharacterStream(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the la
bel is the name of the column columnLabel, Reader the reader)java.io.Reader object containing
the new column valueImplements java. Updates the designated column with a character stream value. |
| public void | updateNClob(int columnIndex, NClob nClob)
Implements java. Updates the designated column with a |
| public void | updateNClob(String
name of the column columnName, NClob the value for the column to be updated nClob)Implements java. This method is used for updating SQL |
| public void | updateNClob(int
the first column is 1, the second 2, ... columnIndex, Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Implements java. Updates the designated column using the given |
| public void | updateNClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column columnLabel, Reader An object that contains the data to set the parameter value to. reader, long the number of characters in the parameter data. length)Implements java. Updates the designated column using the given |
| public void | updateNClob(int
the first column is 1, the second 2, ... columnIndex, Reader An object that contains the data to set the parameter value to. reader)Implements java. Updates the designated column using the given |
| public void | updateNClob(String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the la
bel is the name of the column columnLabel, Reader An object that contains the data to set the parameter value to. reader)Implements java. Updates the designated column using the given |
| public void | updateNString(int
the first column is 1, the second 2, ... columnIndex, String the value for the column to be updated nString)Implements java. This method is used for updating columns that support National Character sets. |
| public void | updateNString(String
name of the Column columnName, String the value for the column to be updated nString)Implements java. This method is used for updating columns that support National Character sets. |
| 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 rowsetImplements 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 caseImplements 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)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)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)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)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 valueImplements 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 valueImplements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateRow()
Implements java. Marks the current row of this |
| public void | updateRowId(int
the first column is 1, the second 2, ... columnIndex, RowId the column value x)Implements java. Updates the designated column with a |
| public void | updateRowId(String
the name of the column columnName, RowId the column value x)Implements java. Updates the designated column with a |
| 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)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)Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateSQLXML(int
the first column is 1, the second 2, ... columnIndex, SQLXML the value for the column to be updated xmlObject)Implements java. Updates the designated column with a |
| public void | updateSQLXML(String
the name of the column columnName, SQLXML the column value xmlObject)Implements java. Updates the designated column with a |
| 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)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)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)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)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)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)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 otherwiseImplements java. Reports whether the last column read was SQL |