|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.jdbc.rowset.BaseRowSet
weblogic.jdbc.rowset.CachedRowSetImpl
weblogic.jdbc.rowset.JoinRowSetImpl
public class JoinRowSetImpl
JoinRowSetImpl is an implementation of the JDBC JoinRowSet API (javax.sql.JoinRowSet). The JoinRowSet interface describes a mechanism by which a meaningful relationship can be drawn between any standard RowSet implementations. Any number of disconnected RowSet objects can be added to an instance of JoinRowSet provided the RowSet objects can be related in a SQL JOIN By definition, the SQL JOIN statement is used to combine the data contained in two relational database tables based upon a common attribute. By establishing and then enforcing column matches, a JoinRowSet object establishes relationships between RowSet instances without the need for database access. This permits greater flexibility, particularly for disconnected applications.
Field Summary |
---|
Fields inherited from interface javax.sql.rowset.JoinRowSet |
---|
CROSS_JOIN, FULL_JOIN, INNER_JOIN, LEFT_OUTER_JOIN, RIGHT_OUTER_JOIN |
Fields inherited from interface javax.sql.rowset.WebRowSet |
---|
PUBLIC_XML_SCHEMA, SCHEMA_SYSTEM_ID |
Fields inherited from interface javax.sql.rowset.CachedRowSet |
---|
COMMIT_ON_ACCEPT_CHANGES |
Fields inherited from interface java.sql.ResultSet |
---|
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
Fields inherited from interface weblogic.jdbc.rowset.WLCachedRowSet |
---|
ALL_ROWS, CHANGED_ALL, CHANGED_CURRENT, CHANGED_ORIGINAL, CURRENT_ALL, UNCHANGED_CURRENT |
Fields inherited from interface javax.sql.rowset.spi.SyncResolver |
---|
DELETE_ROW_CONFLICT, INSERT_ROW_CONFLICT, NO_ROW_CONFLICT, UPDATE_ROW_CONFLICT |
Constructor Summary | |
---|---|
JoinRowSetImpl()
Constructor |
Method Summary | ||
---|---|---|
void |
addRowSet(Joinable rowset)
Adds the given RowSet object to this JoinRowSet object |
|
void |
addRowSet(RowSet[] rowset,
int[] columnIdx)
Adds the given RowSet objects to the JOIN relationship and sets the designated columns as the match columns |
|
void |
addRowSet(RowSet[] rowset,
String[] columnName)
Adds the given RowSet objects to the JOIN relationship and sets the designated columns as the match columns |
|
void |
addRowSet(RowSet rowset,
int columnIdx)
Adds the given RowSet object to the JOIN relation and sets the designated column as the match column |
|
void |
addRowSet(RowSet rowset,
String columnName)
Adds the given RowSet object to the JOIN relationship and sets the designated column as the match column |
|
int |
getJoinType()
Returns the last set SQL JOIN type in this JoinRowSetImpl object |
|
|
getObject(int columnIndex,
Class<T> type)
|
|
|
getObject(String columnLabel,
Class<T> type)
|
|
String[] |
getRowSetNames()
Returns a string array of the RowSet names currently residing with the JoinRowSet object instance |
|
Collection |
getRowSets()
Returns a Collection of the RowSet object instances currently residing with the instance of the JoinRowSet object instance. |
|
String |
getWhereClause()
Return a SQL-like description of the WHERE clause being used in a JoinRowSet object instance. |
|
void |
setJoinType(int joinType)
Sets the type of SQL JOIN that this JoinRowSet object will use |
|
boolean |
supportsCrossJoin()
Returns true if this JoinRowSet object supports an SQL CROSS_JOIN and false if it does not |
|
boolean |
supportsFullJoin()
Returns true if this JoinRowSet object supports an SQL FULL_JOIN and false if it does not |
|
boolean |
supportsInnerJoin()
Returns true if this JoinRowSet object supports an SQL INNER_JOIN and false if it does not |
|
boolean |
supportsLeftOuterJoin()
Returns true if this JoinRowSet object supports an SQL LEFT_OUTER_JOIN and false if it does not |
|
boolean |
supportsRightOuterJoin()
Returns true if this JoinRowSet object supports an SQL RIGHT_OUTER_JOIN and false if it does not |
|
CachedRowSet |
toCachedRowSet()
Creates a separate CachedRowSet object that contains the data in this JoinRowSet object |
Methods inherited from class weblogic.jdbc.rowset.CachedRowSetImpl |
---|
acceptChanges, acceptChanges, cancelRowUpdates, clone, close, commit, createCopy, createCopyNoConstraints, createCopySchema, createShared, deleteRow, execute, execute, getCurrentRow, getFilter, getOriginal, getOriginalRow, getPageSize, getRow, insertRow, isWrapperFor, moveToCurrentRow, moveToInsertRow, nextPage, populate, populate, previousPage, readXml, readXml, readXml, refreshRow, release, restoreOriginal, rollback, rollback, rowSetPopulated, setFilter, setOriginalRow, setPageSize, setSorter, size, toCollection, undoDelete, undoInsert, undoUpdate, unwrap, updateRow, writeXml, writeXml, writeXml, writeXml |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.rowset.WebRowSet |
---|
readXml, readXml, writeXml, writeXml, writeXml, writeXml |
Methods inherited from interface javax.sql.rowset.CachedRowSet |
---|
acceptChanges, acceptChanges, columnUpdated, columnUpdated, commit, createCopy, createCopyNoConstraints, createCopySchema, createShared, execute, getKeyColumns, getOriginal, getOriginalRow, getPageSize, getRowSetWarnings, getShowDeleted, getSyncProvider, getTableName, nextPage, populate, populate, previousPage, release, restoreOriginal, rollback, rollback, rowSetPopulated, setKeyColumns, setMetaData, setOriginalRow, setPageSize, setShowDeleted, setSyncProvider, setTableName, size, toCollection, toCollection, toCollection, undoDelete, undoInsert, undoUpdate |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Methods inherited from interface javax.sql.rowset.Joinable |
---|
getMatchColumnIndexes, getMatchColumnNames, setMatchColumn, setMatchColumn, setMatchColumn, setMatchColumn, unsetMatchColumn, unsetMatchColumn, unsetMatchColumn, unsetMatchColumn |
Methods inherited from interface weblogic.jdbc.rowset.WLCachedRowSet |
---|
executeAndGuessTableName, executeAndGuessTableNameAndPrimaryKeys, getDataSource, getRows, getRows, isComplete, loadXML, moveToUpdateRow, populate, setDataSource, setRowSetSynced, setRowSynced, writeXML, writeXML |
Methods inherited from interface weblogic.jdbc.rowset.SortedRowSet |
---|
getSorter |
Methods inherited from interface javax.sql.rowset.spi.SyncResolver |
---|
getConflictValue, getConflictValue, getStatus, nextConflict, previousConflict, setResolvedValue, setResolvedValue |
Constructor Detail |
---|
public JoinRowSetImpl()
Method Detail |
---|
public void addRowSet(Joinable rowset) throws SQLException
addRowSet
in interface JoinRowSet
SQLException
public void addRowSet(RowSet rowset, int columnIdx) throws SQLException
addRowSet
in interface JoinRowSet
SQLException
public void addRowSet(RowSet rowset, String columnName) throws SQLException
addRowSet
in interface JoinRowSet
SQLException
public void addRowSet(RowSet[] rowset, int[] columnIdx) throws SQLException
addRowSet
in interface JoinRowSet
SQLException
public void addRowSet(RowSet[] rowset, String[] columnName) throws SQLException
addRowSet
in interface JoinRowSet
SQLException
public Collection getRowSets() throws SQLException
getRowSets
in interface JoinRowSet
SQLException
public String[] getRowSetNames() throws SQLException
getRowSetNames
in interface JoinRowSet
SQLException
public CachedRowSet toCachedRowSet() throws SQLException
toCachedRowSet
in interface JoinRowSet
SQLException
public boolean supportsCrossJoin()
supportsCrossJoin
in interface JoinRowSet
public boolean supportsInnerJoin()
supportsInnerJoin
in interface JoinRowSet
public boolean supportsLeftOuterJoin()
supportsLeftOuterJoin
in interface JoinRowSet
public boolean supportsRightOuterJoin()
supportsRightOuterJoin
in interface JoinRowSet
public boolean supportsFullJoin()
supportsFullJoin
in interface JoinRowSet
public int getJoinType()
getJoinType
in interface JoinRowSet
public void setJoinType(int joinType) throws SQLException
setJoinType
in interface JoinRowSet
SQLException
public String getWhereClause() throws SQLException
getWhereClause
in interface JoinRowSet
SQLException
public <T> T getObject(int columnIndex, Class<T> type) throws SQLException
getObject
in class CachedRowSetImpl
SQLException
public <T> T getObject(String columnLabel, Class<T> type) throws SQLException
getObject
in class CachedRowSetImpl
SQLException
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |