API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sql.rowset. JoinRowSet View Source
Author(s)
Since
Version
Serial
Hierarchy
 Wrapper
      ResultSet
          RowSet
              CachedRowSet
                  WebRowSet
                      JoinRowSet
Subinterfaces
Description
public interface JoinRowSet
  The JoinRowSet interface provides a mechanism for combining related data from different RowSet objects into one JoinRowSet object, which represents an SQL JOIN.
See also:   
Methods
Hide/Show inherited methods
public void addRowSet (Joinable rowset) throws SQLException
  Adds the given RowSet object to this JoinRowSet object.
public void addRowSet (RowSet rowset, int[] columnIdx) throws SQLException
  Adds one or more RowSet objects contained in the given array of RowSet objects to this JoinRowSet object and sets the match column for each of the RowSet objects to the match columns in the given array of column indexes.
public void addRowSet (RowSet rowset, String columnName) throws SQLException
  Adds one or more RowSet objects contained in the given array of RowSet objects to this JoinRowSet object and sets the match column for each of the RowSet objects to the match columns in the given array of column names.
public void addRowSet (RowSet rowset, int columnIdx) throws SQLException
  Adds the given RowSet object to this JoinRowSet object and sets the designated column as the match column for the RowSet object.
public void addRowSet (RowSet rowset, String columnName) throws SQLException
  Adds rowset to this JoinRowSet object and sets the designated column as the match column.
public int getJoinType () throws SQLException
  Returns a int describing the set SQL JOIN type governing this JoinRowSet instance.
public String getRowSetNames () throws SQLException
  Returns a String array containing the names of the RowSet objects added to this JoinRowSet object.
public Collection<Object> getRowSets () throws SQLException
  Returns a Collection object containing the RowSet objects that have been added to this JoinRowSet object.
public String getWhereClause () throws SQLException
  Return a SQL-like description of the WHERE clause being used in a JoinRowSet object.
public void setJoinType (int joinType) throws SQLException
  Allow the application to adjust the type of JOIN imposed on tables contained within the JoinRowSet object instance.
public boolean supportsCrossJoin ()
  Indicates if CROSS_JOIN is supported by a JoinRowSet implementation
public boolean supportsFullJoin ()
  Indicates if FULL_JOIN is supported by a JoinRowSet implementation
public boolean supportsInnerJoin ()
  Indicates if INNER_JOIN is supported by a JoinRowSet implementation
public boolean supportsLeftOuterJoin ()
  Indicates if LEFT_OUTER_JOIN is supported by a JoinRowSet implementation
public boolean supportsRightOuterJoin ()
  Indicates if RIGHT_OUTER_JOIN is supported by a JoinRowSet implementation
public CachedRowSet toCachedRowSet () throws SQLException
  Creates a new CachedRowSet object containing the data in this JoinRowSet object, which can be saved to a data source using the SyncProvider object for the CachedRowSet object.
Fields
Hide/Show inherited fields
publicfinalstatic int CLOSE_CURSORS_AT_COMMIT = "2" [Inherited From WebRowSet]
  The constant indicating that open ResultSet objects with this holdability will be closed when the current transaction is commited.
publicfinalstatic boolean COMMIT_ON_ACCEPT_CHANGES = "true" [Inherited From WebRowSet]
  Causes the CachedRowSet object's SyncProvider to commit the changes when acceptChanges() is called.
publicfinalstatic int CONCUR_READ_ONLY = "1007" [Inherited From WebRowSet]
  The constant indicating the concurrency mode for a ResultSet object that may NOT be updated.
publicfinalstatic int CONCUR_UPDATABLE = "1008" [Inherited From WebRowSet]
  The constant indicating the concurrency mode for a ResultSet object that may be updated.
publicfinalstatic int CROSS_JOIN = "0"
An ANSI-style JOIN providing a cross product of two tables
publicfinalstatic int FETCH_FORWARD = "1000" [Inherited From WebRowSet]
  The constant indicating that the rows in a result set will be processed in a forward direction; first-to-last.
publicfinalstatic int FETCH_REVERSE = "1001" [Inherited From WebRowSet]
  The constant indicating that the rows in a result set will be processed in a reverse direction; last-to-first.
publicfinalstatic int FETCH_UNKNOWN = "1002" [Inherited From WebRowSet]
  The constant indicating that the order in which rows in a result set will be processed is unknown.
publicfinalstatic int FULL_JOIN = "4"
  An ANSI-style JOIN providing a a full JOIN.
publicfinalstatic int HOLD_CURSORS_OVER_COMMIT = "1" [Inherited From WebRowSet]
  The constant indicating that open ResultSet objects with this holdability will remain open when the current transaction is commited.
publicfinalstatic int INNER_JOIN = "1"
  An ANSI-style JOIN providing a inner join between two tables.
publicfinalstatic int LEFT_OUTER_JOIN = "2"
  An ANSI-style JOIN providing a left outer join between two tables.
publicfinalstatic String PUBLIC_XML_SCHEMA = "--//Sun Microsystems, Inc.//XSD Schema//EN" [Inherited From WebRowSet]
The public identifier for the XML Schema definition that defines the XML tags and their valid values for a WebRowSet implementation.
publicfinalstatic int RIGHT_OUTER_JOIN = "3"
  An ANSI-style JOIN providing a right outer join between two tables.
publicfinalstatic String SCHEMA_SYSTEM_ID = "http://java.sun.com/xml/ns/jdbc/webrowset.xsd" [Inherited From WebRowSet]
The URL for the XML Schema definition file that defines the XML tags and their valid values for a WebRowSet implementation.
publicfinalstatic int TYPE_FORWARD_ONLY = "1003" [Inherited From WebRowSet]
  The constant indicating the type for a ResultSet object whose cursor may move only forward.
publicfinalstatic int TYPE_SCROLL_INSENSITIVE = "1004" [Inherited From WebRowSet]
  The constant indicating the type for a ResultSet object that is scrollable but generally not sensitive to changes to the data that underlies the ResultSet.
publicfinalstatic int TYPE_SCROLL_SENSITIVE = "1005" [Inherited From WebRowSet]
  The constant indicating the type for a ResultSet object that is scrollable and generally sensitive to changes to the data that underlies the ResultSet.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar