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

public Class JoinRowSetImpl

extends WebRowSetImpl
implements JoinRowSet
Class Inheritance
All Implemented Interfaces
javax.sql.rowset.JoinRowSet, javax.sql.rowset.WebRowSet, javax.sql.rowset.CachedRowSet, javax.sql.rowset.Joinable, javax.sql.RowSet, java.sql.ResultSet, java.lang.AutoCloseable, java.sql.Wrapper
Imports
java.sql.*, javax.sql.*, javax.naming.*, java.io.*, java.math.*, java.util.*, javax.sql.rowset.*, javax.sql.rowset.spi.SyncProvider, .SyncProviderException

The standard implementation of the 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.

Author
Amit Handa, Jonathan Bruce

Field Summary

Modifier and TypeField and Description
private CachedRowSetImpl
crsInternal

The CachedRowSet object that encapsulates this JoinRowSet object.

private int
iMatchKey

An int that indicates the column index of the match column.

pack-priv static final long
private String
strMatchKey

A String object that stores the name of the match column.

pack-priv boolean[]
supportedJOINs

An array of boolean values indicating the types of joins supported by this JoinRowSet implementation.

private Vector<Integer>
vecJoinType

A Vector object containing the types of join that have been set for this JoinRowSet object.

private Vector<CachedRowSetImpl>
vecRowSetsInJOIN

A Vector object that contains the RowSet objects that have been added to this JoinRowSet object.

private Vector<String>
vecTableNames

A Vector object containing the names of all the tables entering the join.

private WebRowSet
wrs

The WebRowSet object that encapsulates this JoinRowSet object.

Constructor Summary

AccessConstructor and Description
public
JoinRowSetImpl()

Constructor for JoinRowSetImpl class.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.absolute.

Implements java.sql.ResultSet.absolute.

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

public void
acceptChanges()

Overrides com.sun.rowset.CachedRowSetImpl.acceptChanges.

Implements javax.sql.rowset.CachedRowSet.acceptChanges.

Propagates row update, insert and delete changes made to this CachedRowSet object to the underlying data source.

public void
addRowSet(Joinable
the RowSet object that implements the Joinable interface and is to be added to this JoinRowSet object
rowset
)

Implements javax.sql.rowset.JoinRowSet.addRowSet.

Adds the given RowSet object to this JoinRowSet object.

public void
addRowSet(RowSet
a RowSet object to be added to the JOIN relation; must implement the Joinable interface
rowset
,
int
an int giving the index of the column to be set as the match column
columnIdx
)

Implements javax.sql.rowset.JoinRowSet.addRowSet.

Adds the given RowSet object to the JOIN relation and sets the designated column as the match column.

public void
addRowSet(RowSet
a RowSet object to be added to the JOIN relation
rowset
,
String
a String object giving the name of the column to be set as the match column; must implement the Joinable interface
columnName
)

Implements javax.sql.rowset.JoinRowSet.addRowSet.

Adds the given RowSet object to the JOIN relationship and sets the designated column as the match column.

public void
addRowSet(RowSet[]
an array of RowSet objects to be added to the JOIN relation; each RowSet object must implement the Joinable interface
rowset
,
int[]
an array of int values designating the columns to be set as the match columns for the RowSet objects in rowset
columnIdx
)

Implements javax.sql.rowset.JoinRowSet.addRowSet.

Adds the given RowSet objects to the JOIN relationship and sets the designated columns as the match columns.

public void
addRowSet(RowSet[]
an array of RowSet objects to be added to the JOIN relation; each RowSet object must implement the Joinable interface
rowset
,
String[]
an array of String objects designating the columns to be set as the match columns for the RowSet objects in rowset
columnName
)

Implements javax.sql.rowset.JoinRowSet.addRowSet.

Adds the given RowSet objects to the JOIN relationship and sets the designated columns as the match columns.

public void
addRowSetListener(RowSetListener
an object that has implemented the javax.sql.RowSetListener interface and wants to be notified of any events that occur on this JoinRowSet object; May be null.
listener
)

Overrides javax.sql.rowset.BaseRowSet.addRowSetListener.

Implements javax.sql.RowSet.addRowSetListener.

The listener will be notified whenever an event occurs on this JoinRowSet object.

public void
afterLast()

Overrides com.sun.rowset.CachedRowSetImpl.afterLast.

Implements java.sql.ResultSet.afterLast.

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

public void
beforeFirst()

Overrides com.sun.rowset.CachedRowSetImpl.beforeFirst.

Implements java.sql.ResultSet.beforeFirst.

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

public void
cancelRowUpdates()

Overrides com.sun.rowset.CachedRowSetImpl.cancelRowUpdates.

Implements java.sql.ResultSet.cancelRowUpdates.

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

private boolean
checkforMatchColumn(Joinable rs)

This checks for a match column for whether it exists or not.

public void
clearWarnings()

Overrides com.sun.rowset.CachedRowSetImpl.clearWarnings.

Implements java.sql.ResultSet.clearWarnings.

Throws an UnsupportedOperationException if called.

public void
close()

Overrides com.sun.rowset.CachedRowSetImpl.close.

Implements java.sql.ResultSet.close.

Releases the current contents of this rowset, discarding outstanding updates.

public boolean

Returns:

true if the column updated false otherwise
columnUpdated
(int indexColumn)

Overrides com.sun.rowset.CachedRowSetImpl.columnUpdated.

Implements javax.sql.rowset.CachedRowSet.columnUpdated.

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

public CachedRowSet

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.createCopySchema.

Implements javax.sql.rowset.CachedRowSet.createCopySchema.

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

private WebRowSet
createWebRowSet()

%%% Javadoc comments to be added here

public void
deleteRow()

Overrides com.sun.rowset.CachedRowSetImpl.deleteRow.

Implements java.sql.ResultSet.deleteRow.

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

public void
execute()

Overrides com.sun.rowset.CachedRowSetImpl.execute.

Implements javax.sql.RowSet.execute.

Populates this JoinRowSetImpl object with data.

public void
execute(Connection
A standard JDBC Connection object with valid properties that the JoinRowSet implementation can pass to a synchronization provider to establish a connection to the datasource
conn
)

Overrides com.sun.rowset.CachedRowSetImpl.execute.

Implements javax.sql.rowset.CachedRowSet.execute.

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

public int
findColumn(String
a 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 case
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.findColumn.

Implements java.sql.ResultSet.findColumn.

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 object
first
()

Overrides com.sun.rowset.CachedRowSetImpl.first.

Implements java.sql.ResultSet.first.

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

public Array

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getArray.

Implements java.sql.ResultSet.getArray.

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

public Array

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getArray.

Implements java.sql.ResultSet.getArray.

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

public InputStream

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getAsciiStream.

Implements java.sql.ResultSet.getAsciiStream.

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

public InputStream

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getAsciiStream.

Implements java.sql.ResultSet.getAsciiStream.

This method is not supported, and it will throw an UnsupportedOperationException if it is called.

public BigDecimal

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getBigDecimal.

Implements java.sql.ResultSet.getBigDecimal.

Deprecated

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

public BigDecimal

Returns:

the column value; if the value is SQL NULL, the result is null
getBigDecimal
(String
a String object giving the SQL name of a column in this JoinRowSetImpl object
columnName
,
int
the number of digits to the right of the decimal point
scale
)

Overrides com.sun.rowset.CachedRowSetImpl.getBigDecimal.

Implements java.sql.ResultSet.getBigDecimal.

Deprecated use the method getBigDecimal(String columnName) instead

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

public BigDecimal

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getBigDecimal.

Implements java.sql.ResultSet.getBigDecimal.

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

public BigDecimal

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getBigDecimal.

Implements java.sql.ResultSet.getBigDecimal.

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

public InputStream

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getBinaryStream.

Implements java.sql.ResultSet.getBinaryStream.

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 SQL NULL, the result is null.
getBinaryStream
(String
a String object giving the SQL name of a column in this JoinRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getBinaryStream.

Implements java.sql.ResultSet.getBinaryStream.

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

public Blob

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getBlob.

Implements java.sql.ResultSet.getBlob.

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

public Blob

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getBlob.

Implements java.sql.ResultSet.getBlob.

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

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getBoolean.

Implements java.sql.ResultSet.getBoolean.

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

public boolean

Returns:

the column value; if the value is SQL NULL, the result is false
getBoolean
(String
a String object giving the SQL name of a column in this JoinRowSetImpl object
columnName
)

Overrides com.sun.rowset.CachedRowSetImpl.getBoolean.

Implements java.sql.ResultSet.getBoolean.

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

public byte

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getByte.

Implements java.sql.ResultSet.getByte.

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

public byte

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getByte.

Implements java.sql.ResultSet.getByte.

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

public byte[]

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getBytes.

Implements java.sql.ResultSet.getBytes.

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

public byte[]

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getBytes.

Implements java.sql.ResultSet.getBytes.

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

public Reader

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getCharacterStream.

Implements java.sql.ResultSet.getCharacterStream.

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

public Reader

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getCharacterStream.

Implements java.sql.ResultSet.getCharacterStream.

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

public Clob

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getClob.

Implements java.sql.ResultSet.getClob.

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

public Clob

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getClob.

Implements java.sql.ResultSet.getClob.

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

public String

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getCursorName.

Implements java.sql.ResultSet.getCursorName.

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

public Date

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getDate.

Implements java.sql.ResultSet.getDate.

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

public Date

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getDate.

Implements java.sql.ResultSet.getDate.

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

public Date

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getDate.

Implements java.sql.ResultSet.getDate.

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

public Date

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getDate.

Implements java.sql.ResultSet.getDate.

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

public double

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getDouble.

Implements java.sql.ResultSet.getDouble.

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

public double

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getDouble.

Implements java.sql.ResultSet.getDouble.

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

public float

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getFloat.

Implements java.sql.ResultSet.getFloat.

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

public float

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getFloat.

Implements java.sql.ResultSet.getFloat.

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

public int

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getInt.

Implements java.sql.ResultSet.getInt.

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

public int

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getInt.

Implements java.sql.ResultSet.getInt.

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

public int

Returns:

joinType One of the standard JoinRowSet static field JOIN types
getJoinType
()

Implements javax.sql.rowset.JoinRowSet.getJoinType.

Returns the last set SQL JOIN type in this JoinRowSetImpl object

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 key
getKeyColumns
()

Overrides com.sun.rowset.CachedRowSetImpl.getKeyColumns.

Implements javax.sql.rowset.CachedRowSet.getKeyColumns.

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

public long

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getLong.

Implements java.sql.ResultSet.getLong.

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

public long

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getLong.

Implements java.sql.ResultSet.getLong.

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

public ResultSetMetaData

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getMetaData.

Implements java.sql.ResultSet.getMetaData.

Retrieves the ResultSetMetaData object that contains information about this CachedRowsSet object.

public Object

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getObject.

Implements java.sql.ResultSet.getObject.

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

public Object

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getObject.

Implements java.sql.ResultSet.getObject.

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

public Object

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getObject.

Implements java.sql.ResultSet.getObject.

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

public Object

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getObject.

Implements java.sql.ResultSet.getObject.

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

public ResultSet
getOriginal()

Overrides com.sun.rowset.CachedRowSetImpl.getOriginal.

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

Returns a ResultSet object containing the original value of this CachedRowSet object.

public ResultSet

Returns:

the original result set of the rowset
getOriginalRow
()

Overrides com.sun.rowset.CachedRowSetImpl.getOriginalRow.

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

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

public Ref

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getRef.

Implements java.sql.ResultSet.getRef.

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

public Ref

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getRef.

Implements java.sql.ResultSet.getRef.

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

public int

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getRow.

Implements java.sql.ResultSet.getRow.

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

public String[]

Returns:

a string array of the RowSet names
getRowSetNames
()

Implements javax.sql.rowset.JoinRowSet.getRowSetNames.

Returns a string array of the RowSet names currently residing with the JoinRowSet object instance.

public Collection<E>

Returns:

A Collection of the added RowSet object instances
getRowSets
()

Implements javax.sql.rowset.JoinRowSet.getRowSets.

Returns a Collection of the RowSet object instances currently residing with the instance of the JoinRowSet object instance.

public short

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getShort.

Implements java.sql.ResultSet.getShort.

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

public short

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getShort.

Implements java.sql.ResultSet.getShort.

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

public Statement
public String

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getString.

Implements java.sql.ResultSet.getString.

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

public String

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getString.

Implements java.sql.ResultSet.getString.

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

public SyncProvider
getSyncProvider()

Overrides com.sun.rowset.CachedRowSetImpl.getSyncProvider.

Implements javax.sql.rowset.CachedRowSet.getSyncProvider.

Retrieves the SyncProvider implementation for this CachedRowSet object.

public Time

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getTime.

Implements java.sql.ResultSet.getTime.

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

public Time

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getTime.

Implements java.sql.ResultSet.getTime.

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

public Time

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getTime.

Implements java.sql.ResultSet.getTime.

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

public Time

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getTime.

Implements java.sql.ResultSet.getTime.

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

public Timestamp

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getTimestamp.

Implements java.sql.ResultSet.getTimestamp.

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

public Timestamp

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getTimestamp.

Implements java.sql.ResultSet.getTimestamp.

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

public Timestamp

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getTimestamp.

Implements java.sql.ResultSet.getTimestamp.

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

public Timestamp

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getTimestamp.

Implements java.sql.ResultSet.getTimestamp.

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

public InputStream

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getUnicodeStream.

Implements java.sql.ResultSet.getUnicodeStream.

Deprecated

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

public InputStream

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.getUnicodeStream.

Implements java.sql.ResultSet.getUnicodeStream.

Deprecated use the method getCharacterStream instead

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

public URL
getURL(int columnIndex)

Overrides com.sun.rowset.CachedRowSetImpl.getURL.

Implements java.sql.ResultSet.getURL.

Provide interface coverage for getURL(int) in ResultSet->RowSet

public URL
getURL(String columnName)

Overrides com.sun.rowset.CachedRowSetImpl.getURL.

Implements java.sql.ResultSet.getURL.

Provide interface coverage for getURL(String) in ResultSet->RowSet

public SQLWarning
getWarnings()

Overrides com.sun.rowset.CachedRowSetImpl.getWarnings.

Implements java.sql.ResultSet.getWarnings.

Retrieves the first warning reported by calls on this ResultSet object.

public String

Returns:

whereClause a textual or SQL description of the logical WHERE clause used in the JoinRowSet instance
getWhereClause
()

Implements javax.sql.rowset.JoinRowSet.getWhereClause.

Return a SQL-like description of the WHERE clause being used in a JoinRowSet object instance.

private void
initJOIN(CachedRowSet rowset)

Internal initialization of JoinRowSet.

public void
insertRow()

Overrides com.sun.rowset.CachedRowSetImpl.insertRow.

Implements java.sql.ResultSet.insertRow.

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

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.isAfterLast.

Implements java.sql.ResultSet.isAfterLast.

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

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.isBeforeFirst.

Implements java.sql.ResultSet.isBeforeFirst.

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

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.isFirst.

Implements java.sql.ResultSet.isFirst.

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

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.isLast.

Implements java.sql.ResultSet.isLast.

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

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.last.

Implements java.sql.ResultSet.last.

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

public void
moveToCurrentRow()

Overrides com.sun.rowset.CachedRowSetImpl.moveToCurrentRow.

Implements java.sql.ResultSet.moveToCurrentRow.

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

public void
moveToInsertRow()

Overrides com.sun.rowset.CachedRowSetImpl.moveToInsertRow.

Implements java.sql.ResultSet.moveToInsertRow.

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

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.next.

Implements java.sql.ResultSet.next.

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

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.previous.

Implements java.sql.ResultSet.previous.

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

private void
readObject(ObjectInputStream ois)

Hides com.sun.rowset.WebRowSetImpl.readObject.

This method re populates the resBundle during the deserialization process

public void
readXml(Reader reader)

Overrides com.sun.rowset.WebRowSetImpl.readXml.

Implements javax.sql.rowset.WebRowSet.readXml.

Reads this JoinRowSet object in its XML format.

public void
readXml(InputStream iStream)

Overrides com.sun.rowset.WebRowSetImpl.readXml.

Implements javax.sql.rowset.WebRowSet.readXml.

Reads a stream based XML input to populate an WebRowSet

public void
refreshRow()

Overrides com.sun.rowset.CachedRowSetImpl.refreshRow.

Implements java.sql.ResultSet.refreshRow.

Sets the current row with its original value and marks the row as not updated, thus undoing any changes made to the row since the last call to the methods updateRow or deleteRow.

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.relative.

Implements java.sql.ResultSet.relative.

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

public void
removeRowSetListener(RowSetListener
a RowSetListener object that is on the list of listeners for this JoinRowSet object
listener
)

Overrides javax.sql.rowset.BaseRowSet.removeRowSetListener.

Implements javax.sql.RowSet.removeRowSetListener.

Removes the designated object from this JoinRowSet object's list of listeners.

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.rowDeleted.

Implements java.sql.ResultSet.rowDeleted.

Indicates whether the current row has been deleted.

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.rowInserted.

Implements java.sql.ResultSet.rowInserted.

Indicates whether the current row has been inserted.

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.rowUpdated.

Implements java.sql.ResultSet.rowUpdated.

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

public void
setJoinType(int
one of the standard 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_JOIN
type
)

Implements javax.sql.rowset.JoinRowSet.setJoinType.

Sets the type of SQL JOIN that this JoinRowSet object will use.

public void
setKeyColumns(int[]
an array of 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 rowset
cols
)

Overrides com.sun.rowset.CachedRowSetImpl.setKeyColumns.

Implements javax.sql.rowset.CachedRowSet.setKeyColumns.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.setMetaData.

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

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

public void
setOriginalRow()

Overrides com.sun.rowset.CachedRowSetImpl.setOriginalRow.

Implements javax.sql.rowset.CachedRowSet.setOriginalRow.

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

public void
setSyncProvider(String providerStr)

Overrides com.sun.rowset.CachedRowSetImpl.setSyncProvider.

Implements javax.sql.rowset.CachedRowSet.setSyncProvider.

Sets the SyncProvider object for this CachedRowSet object to the one specified.

public int

Returns:

number of rows in the rowset
size
()

Overrides com.sun.rowset.CachedRowSetImpl.size.

Implements javax.sql.rowset.CachedRowSet.size.

Returns the number of rows in this JoinRowSetImpl object.

public boolean

Returns:

true if the CROSS_JOIN is supported; false otherwise
supportsCrossJoin
()

Implements javax.sql.rowset.JoinRowSet.supportsCrossJoin.

Returns true if this JoinRowSet object supports an SQL CROSS_JOIN and false if it does not.

public boolean

Returns:

true is the FULL_JOIN is supported; false otherwise
supportsFullJoin
()

Implements javax.sql.rowset.JoinRowSet.supportsFullJoin.

Returns true if this JoinRowSet object supports an SQL FULL_JOIN and false if it does not.

public boolean

Returns:

true is the INNER_JOIN is supported; false otherwise
supportsInnerJoin
()

Implements javax.sql.rowset.JoinRowSet.supportsInnerJoin.

Returns true if this JoinRowSet object supports an SQL INNER_JOIN and false if it does not.

public boolean

Returns:

true is the LEFT_OUTER_JOIN is supported; false otherwise
supportsLeftOuterJoin
()

Implements javax.sql.rowset.JoinRowSet.supportsLeftOuterJoin.

Returns true if this JoinRowSet object supports an SQL LEFT_OUTER_JOIN and false if it does not.

public boolean

Returns:

true is the RIGHT_OUTER_JOIN is supported; false otherwise
supportsRightOuterJoin
()

Implements javax.sql.rowset.JoinRowSet.supportsRightOuterJoin.

Returns true if this JoinRowSet object supports an SQL RIGHT_OUTER_JOIN and false if it does not.

public CachedRowSet

Returns:

a CachedRowSet object containing the contents of this JoinRowSet object
toCachedRowSet
()

Implements javax.sql.rowset.JoinRowSet.toCachedRowSet.

Creates a separate CachedRowSet object that contains the data in this JoinRowSet object.

public Collection<?>

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.toCollection.

Implements javax.sql.rowset.CachedRowSet.toCollection.

Converts this JoinRowSetImpl object to a collection of tables.

public Collection<?>

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.toCollection.

Implements javax.sql.rowset.CachedRowSet.toCollection.

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

public Collection<?>

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.toCollection.

Implements javax.sql.rowset.CachedRowSet.toCollection.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateArray.

Implements java.sql.ResultSet.updateArray.

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

public void
updateArray(String
a String object giving the name of the column to be updated; must match one of the column names in this JoinRowSetImpl object
columnName
,
Array
the java.sql.Array object that will be set as the new column value
a
)

Overrides com.sun.rowset.CachedRowSetImpl.updateArray.

Implements java.sql.ResultSet.updateArray.

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

public void
updateAsciiStream(int columnIndex, InputStream x, int length)

Overrides com.sun.rowset.CachedRowSetImpl.updateAsciiStream.

Implements java.sql.ResultSet.updateAsciiStream.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateAsciiStream.

Implements java.sql.ResultSet.updateAsciiStream.

Unsupported; throws an UnsupportedOperationException if called.

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

Overrides com.sun.rowset.CachedRowSetImpl.updateBigDecimal.

Implements java.sql.ResultSet.updateBigDecimal.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateBigDecimal.

Implements java.sql.ResultSet.updateBigDecimal.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateBinaryStream.

Implements java.sql.ResultSet.updateBinaryStream.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateBinaryStream.

Implements java.sql.ResultSet.updateBinaryStream.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateBlob.

Implements java.sql.ResultSet.updateBlob.

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

public void
updateBlob(String
a String object giving the name of the column to be updated; must match one of the column names in this JoinRowSetImpl object
columnName
,
Blob
the java.sql.Blob object that will be set as the new column value
b
)

Overrides com.sun.rowset.CachedRowSetImpl.updateBlob.

Implements java.sql.ResultSet.updateBlob.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateBoolean.

Implements java.sql.ResultSet.updateBoolean.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateBoolean.

Implements java.sql.ResultSet.updateBoolean.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateByte.

Implements java.sql.ResultSet.updateByte.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateByte.

Implements java.sql.ResultSet.updateByte.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateBytes.

Implements java.sql.ResultSet.updateBytes.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateBytes.

Implements java.sql.ResultSet.updateBytes.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateCharacterStream.

Implements java.sql.ResultSet.updateCharacterStream.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateCharacterStream.

Implements java.sql.ResultSet.updateCharacterStream.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateClob.

Implements java.sql.ResultSet.updateClob.

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

public void
updateClob(String
a String object giving the name of the column to be updated; must match one of the column names in this JoinRowSetImpl object
columnName
,
Clob
the java.sql.Clob object that will be set as the new column value
c
)

Overrides com.sun.rowset.CachedRowSetImpl.updateClob.

Implements java.sql.ResultSet.updateClob.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateDate.

Implements java.sql.ResultSet.updateDate.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateDate.

Implements java.sql.ResultSet.updateDate.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateDouble.

Implements java.sql.ResultSet.updateDouble.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateDouble.

Implements java.sql.ResultSet.updateDouble.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateFloat.

Implements java.sql.ResultSet.updateFloat.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateFloat.

Implements java.sql.ResultSet.updateFloat.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateInt.

Implements java.sql.ResultSet.updateInt.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateInt.

Implements java.sql.ResultSet.updateInt.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateLong.

Implements java.sql.ResultSet.updateLong.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateLong.

Implements java.sql.ResultSet.updateLong.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateNull.

Implements java.sql.ResultSet.updateNull.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateNull.

Implements java.sql.ResultSet.updateNull.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateObject.

Implements java.sql.ResultSet.updateObject.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateObject.

Implements java.sql.ResultSet.updateObject.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateObject.

Implements java.sql.ResultSet.updateObject.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateObject.

Implements java.sql.ResultSet.updateObject.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateRef.

Implements java.sql.ResultSet.updateRef.

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

public void
updateRef(String
a String object giving the name of the column to be updated; must match one of the column names in this JoinRowSetImpl object
columnName
,
Ref
the java.sql.Ref object that will be set as the new column value
ref
)

Overrides com.sun.rowset.CachedRowSetImpl.updateRef.

Implements java.sql.ResultSet.updateRef.

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

public void
updateRow()

Overrides com.sun.rowset.CachedRowSetImpl.updateRow.

Implements java.sql.ResultSet.updateRow.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateShort.

Implements java.sql.ResultSet.updateShort.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateShort.

Implements java.sql.ResultSet.updateShort.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateString.

Implements java.sql.ResultSet.updateString.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateString.

Implements java.sql.ResultSet.updateString.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateTime.

Implements java.sql.ResultSet.updateTime.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateTime.

Implements java.sql.ResultSet.updateTime.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateTimestamp.

Implements java.sql.ResultSet.updateTimestamp.

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

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

Overrides com.sun.rowset.CachedRowSetImpl.updateTimestamp.

Implements java.sql.ResultSet.updateTimestamp.

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

public boolean

Returns:

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

Overrides com.sun.rowset.CachedRowSetImpl.wasNull.

Implements java.sql.ResultSet.wasNull.

Reports whether the last column read was SQL NULL.

public void
writeXml(ResultSet rs, Writer writer)

Overrides com.sun.rowset.WebRowSetImpl.writeXml.

Implements javax.sql.rowset.WebRowSet.writeXml.

Creates a new WebRowSet object, populates it with the data in the given ResultSet object, and writes it to the given java.io.Writer object in XML format.

public void
writeXml(Writer writer)

Overrides com.sun.rowset.WebRowSetImpl.writeXml.

Implements javax.sql.rowset.WebRowSet.writeXml.

Writes this JoinRowSet object to the given java.io.Writer object in XML format.

public void
writeXml(OutputStream oStream)

Overrides com.sun.rowset.WebRowSetImpl.writeXml.

Implements javax.sql.rowset.WebRowSet.writeXml.

Creates an output stream of the internal state and contents of a WebRowSet for XML proceessing

public void
writeXml(ResultSet rs, OutputStream oStream)

Overrides com.sun.rowset.WebRowSetImpl.writeXml.

Implements javax.sql.rowset.WebRowSet.writeXml.

Creates a new WebRowSet object, populates it with the contents of the ResultSet and creates an output streams the internal state and contents of the rowset for XML processing.