JoinRowSet
interface providing an SQL JOIN between RowSet
objects.
The implementation provides an ANSI-style JOIN providing an
inner join between two tables. Any unmatched rows in either table of the
join are discarded.
Typically, a JoinRowSet implementation is leveraged by
RowSet instances that are in a disconnected environment and
thus do not have the luxury of an open connection to the data source to
establish logical relationships between themselves. In other words, it is
largely CachedRowSet objects and implementations derived from
the CachedRowSet interface that will use the JoinRowSetImpl
implementation.
| Modifier and Type | Field and Description |
|---|---|
| private CachedRowSetImpl | crsInternal
The |
| private int | iMatchKey
An |
| pack-priv static final long | |
| private String | strMatchKey
A |
| pack-priv boolean[] | supportedJOINs
An array of |
| private Vector | vecJoinType
A |
| private Vector | vecRowSetsInJOIN
A |
| private Vector | vecTableNames
A |
| private WebRowSet | wrs
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; must not be 0Overrides com. Implements java. Moves this |
| public void | acceptChanges()
Overrides com. Implements javax. Propagates row update, insert and delete changes made to this
|
| public void | addRowSet(Joinable
the rowset)RowSet object that implements the
Joinable interface and is to be added
to this JoinRowSet objectImplements javax. Adds the given |
| public void | addRowSet(RowSet
a rowset, int RowSet object to be added to
the JOIN relation; must implement the Joinable
interfacean columnIdx)int giving the index of the column to be set as
the match columnImplements javax. Adds the given |
| public void | addRowSet(RowSet
a rowset, String RowSet object to be added to
the JOIN relationa columnName)String object giving the name of the column
to be set as the match column; must implement the Joinable
interfaceImplements javax. Adds the given |
| public void | addRowSet(RowSet[]
an array of rowset, int[] RowSet objects to be added to
the JOIN relation; each RowSet object must
implement the Joinable interfacean array of columnIdx)int values designating the columns
to be set as the
match columns for the RowSet objects in rowsetImplements javax. Adds the given |
| public void | addRowSet(RowSet[]
an array of rowset, String[] RowSet objects to be added to
the JOIN relation; each RowSet object must
implement the Joinable interfacean array of columnName)String objects designating the columns
to be set as the
match columns for the RowSet objects in rowsetImplements javax. Adds the given |
| public void | addRowSetListener(RowSetListener
an object that has implemented the
listener)javax.sql.RowSetListener interface and wants to be notified
of any events that occur on this JoinRowSet object; May be
null.Overrides javax. Implements javax. The listener will be notified whenever an event occurs on this |
| public void | afterLast()
Overrides com. Implements java. Moves this |
| public void | beforeFirst()
Overrides com. Implements java. Moves this |
| public void | cancelRowUpdates()
Overrides com. Implements java. Rolls back any updates made to the current row of this
|
| private boolean | |
| public void | clearWarnings()
Overrides com. Implements java. Throws an |
| public void | close()
Overrides com. Implements java. Releases the current contents of this rowset, discarding outstanding updates. |
| public boolean | Returns: true if the column updated
false otherwiseOverrides com. Implements javax. Indicates whether the designated column of the current row of
this |
| public CachedRowSet | Returns: a newCachedRowSet object that is a copy
of this JoinRowSetImpl object's schema and
retains all the constraints on the original rowset but contains
no dataOverrides com. Implements javax. Creates a |
| private WebRowSet | |
| public void | deleteRow()
Overrides com. Implements java. Deletes the current row from this |
| public void | execute()
Overrides com. Implements javax. Populates this |
| public void | execute(Connection
A standard JDBC conn)Connection object with valid
properties that the JoinRowSet implementation
can pass to a synchronization provider to establish a
connection to the datasourceOverrides com. Implements javax. Populates this |
| public int | findColumn(String
a columnName)String object giving the name of the
column for which the index will be returned; the name must
match the SQL name of a column in this JoinRowSet
object, ignoring caseOverrides com. Implements java. Returns the index of the column whose name is columnName. |
| public boolean | Returns: true if the cursor is on a valid row;
false otherwise or if there are no rows in this
JoinRowSetImpl 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 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 this
|
| public InputStream | 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 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 JoinRowSetImpl objectOverrides com. Implements java. This method is not supported, and it will throw an
|
| 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: the column value; if the value is SQLNULL,
the result is nulla columnName, int String object giving the SQL name of
a column in this JoinRowSetImpl objectthe number of digits to the right of the decimal point scale)Overrides com. Implements java.
Deprecated
use the method
getBigDecimal(String columnName)
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 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 the rowsetOverrides com. Implements java. A column value can be retrieved as a stream of uninterpreted bytes 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 uninterpreted bytes. If the value is SQLNULL, the result is null.a columnName)String object giving the SQL name of
a column in this JoinRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| 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 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 this
|
| public boolean | Returns: the column value; if the value is SQLNULL, 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; if the value is SQLNULL,
the result is falsea columnName)String object giving the SQL name of
a column in this JoinRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public byte | 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 byte | 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 JoinRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public byte[] | 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 byte[] | 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 JoinRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column of the current row as a byte array. |
| public Reader | Returns: a Java character stream that delivers the database column value as 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 JoinRowSetImpl 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 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 this
|
| public String | Returns: the SQL cursor name for thisJoinRowSetImpl object's
cursorOverrides com. Implements java. Retrieves the name of the SQL cursor used by this
|
| public Date | 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 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 JoinRowSetImpl 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 JoinRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| 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 JoinRowSetImpl 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 JoinRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as an |
| public int | Returns: joinType One of the standard JoinRowSet static field JOIN typesImplements javax. Returns the last set SQL |
| public int[] | Returns: an array of column number that constites a primary key for this rowset. This array should be empty if no columns 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 JoinRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public ResultSetMetaData | Returns: theResultSetMetaData object that describes this
JoinRowSetImpl object's columnsOverrides com. Implements java. Retrieves the |
| 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
nullthe 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 the 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 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 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 | getOriginal()
Overrides com. Implements javax. Returns a |
| 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 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 rowsetOverrides com. Implements java. Retrieves the value of the designated column in this
|
| public Ref | Returns: aRef object representing an SQL REF valuea 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 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 String[] | Returns: a string array of the RowSet namesImplements javax. Returns a string array of the RowSet names currently residing
with the |
| public Collection | Returns: ACollection of the added RowSet
object instancesImplements javax. Returns a Collection of the |
| 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 JoinRowSetImpl 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 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 JoinRowSetImpl objectOverrides com. Implements java. Retrieves the value stored in the designated column
of the current row as a |
| public SyncProvider | getSyncProvider()
Overrides com. Implements javax. Retrieves the |
| 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 JoinRowSetImpl 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 JoinRowSetImpl 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 JoinRowSetImpl objectOverrides com. Implements java.
Deprecated
use the method
getCharacterStream instead
Retrieves the value stored in the designated column
of the current row as a |
| public URL | getURL(int columnIndex)
Overrides com. Implements java. Provide interface coverage for getURL(int) in ResultSet->RowSet |
| public URL | getURL(String columnName)
Overrides com. Implements java. Provide interface coverage for getURL(String) in ResultSet->RowSet |
| public SQLWarning | getWarnings()
Overrides com. Implements java. Retrieves the first warning reported by calls on this
|
| public String | Returns: whereClause a textual or SQL description of the logicalWHERE clause used in the JoinRowSet instanceImplements javax. Return a SQL-like description of the |
| private void | |
| public void | insertRow()
Overrides com. Implements java. Inserts the contents of 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
JoinRowSetImpl 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 cursor is on a valid row;
false if it is before the first row or after the
last rowOverrides com. Implements java. Moves this |
| private void | readObject(ObjectInputStream ois)
Hides com. This method re populates the resBundle during the deserialization process |
| public void | readXml(Reader reader)
Overrides com. Implements javax. Reads this |
| public void | readXml(InputStream iStream)
Overrides com. Implements javax. Reads a stream based XML input to populate an |
| 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
JoinRowSetImpl 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 | removeRowSetListener(RowSetListener
a listener)RowSetListener object that is on the list
of listeners for this JoinRowSet objectOverrides javax. Implements javax. Removes the designated object from this |
| 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 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 |
| public void | setJoinType(int
one of the standard type)JoinRowSet constants
indicating the type of JOIN. Must be one of the
following:
JoinRowSet.CROSS_JOIN
JoinRowSet.INNER_JOIN
JoinRowSet.LEFT_OUTER_JOIN
JoinRowSet.RIGHT_OUTER_JOIN, or
JoinRowSet.FULL_JOINImplements javax. Sets the type of SQL |
| public void | setKeyColumns(int[]
an array of cols)int indicating the
columns that form a primary key for this
JoinRowSetImpl 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 | 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 | setOriginalRow()
Overrides com. Implements javax. Returns a result set containing the original value of the current row only. |
| public void | setSyncProvider(String providerStr)
Overrides com. Implements javax. Sets the |
| public int | Returns: number of rows in the rowsetOverrides com. Implements javax. Returns the number of rows in this |
| public boolean | Returns: true if the CROSS_JOIN is supported; false
otherwiseImplements javax. Returns |
| public boolean | Returns: true is the FULL_JOIN is supported; false otherwiseImplements javax. Returns |
| public boolean | Returns: true is the INNER_JOIN is supported; false otherwiseImplements javax. Returns |
| public boolean | Returns: true is the LEFT_OUTER_JOIN is supported; false otherwiseImplements javax. Returns |
| public boolean | Returns: true is the RIGHT_OUTER_JOIN is supported; false otherwiseImplements javax. Returns |
| public CachedRowSet | Returns: aCachedRowSet object containing the contents of this
JoinRowSet objectImplements javax. Creates a separate |
| public Collection | Returns: aCollection object consisting of tables,
each of which is a copy of a row in this
JoinRowSetImpl objectOverrides com. Implements javax. Converts this |
| public Collection | Returns: aCollection object that contains the value(s)
stored in the specified column of this
JoinRowSetImpl
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
JoinRowSetImpl
objectOverrides com. Implements javax. Returns the specified column of this |
| 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 a)java.sql.Array object that will be set as
the new column 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 giving the name of the column
to be updated; must match one of the column names in this
JoinRowSetImpl objectthe a)java.sql.Array object that will be set as
the new column valueOverrides com. Implements java. Sets the designated column in either the current row or the insert
row of this |
| public void | updateAsciiStream(int columnIndex, InputStream x, int length)
Overrides com. Implements java. Updates the designated column with an ascii stream value, which will have the specified number of bytes. |
| 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. Unsupported; throws an |
| 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 b)java.sql.Blob object that will be set as
the new column 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 giving the name of the column
to be updated; must match one of the column names in this
JoinRowSetImpl objectthe b)java.sql.Blob object that will be set as
the new column 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 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 | 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 c)java.sql.Clob object that will be set as
the new column 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 giving the name of the column
to be updated; must match one of the column names in this
JoinRowSetImpl objectthe c)java.sql.Clob object that will be set as
the new column 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 | 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 ref)java.sql.Ref object that will be set as
the new column 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 giving the name of the column
to be updated; must match one of the column names in this
JoinRowSetImpl objectthe ref)java.sql.Ref object that will be set as
the new column 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 |
| public void | writeXml(ResultSet rs, Writer writer)
Overrides com. Implements javax. Creates a new |
| public void | writeXml(Writer writer)
Overrides com. Implements javax. Writes this |
| public void | writeXml(OutputStream oStream)
Overrides com. Implements javax. Creates an output stream of the internal state and contents of a
|
| public void | writeXml(ResultSet rs, OutputStream oStream)
Overrides com. Implements javax. Creates a new |