< prev index next >

src/java.sql.rowset/share/classes/javax/sql/rowset/FilteredRowSet.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  34 /**
  35  * The standard interface that all standard implementations of
  36  * <code>FilteredRowSet</code> must implement. The <code>FilteredRowSetImpl</code> class
  37  * provides the reference implementation which may be extended if required.
  38  * Alternatively, a vendor is free to implement its own version
  39  * by implementing this interface.
  40  *
  41  * <h2>1.0 Background</h2>
  42  *
  43  * There are occasions when a <code>RowSet</code> object has a need to provide a degree
  44  * of filtering to its contents. One possible solution is to provide
  45  * a query language for all standard <code>RowSet</code> implementations; however,
  46  * this is an impractical approach for lightweight components such as disconnected
  47  * <code>RowSet</code>
  48  * objects. The <code>FilteredRowSet</code> interface seeks to address this need
  49  * without supplying a heavyweight query language along with the processing that
  50  * such a query language would require.
  51  * <p>
  52  * A JDBC <code>FilteredRowSet</code> standard implementation implements the
  53  * <code>RowSet</code> interfaces and extends the
  54  * <code>CachedRowSet</code>&trade; class. The
  55  * <code>CachedRowSet</code> class provides a set of protected cursor manipulation
  56  * methods, which a <code>FilteredRowSet</code> implementation can override
  57  * to supply filtering support.
  58  *
  59  * <h2>2.0 Predicate Sharing</h2>
  60  *
  61  * If a <code>FilteredRowSet</code> implementation is shared using the
  62  * inherited <code>createShared</code> method in parent interfaces, the
  63  * <code>Predicate</code> should be shared without modification by all
  64  * <code>FilteredRowSet</code> instance clones.
  65  *
  66  * <h2>3.0 Usage</h2>
  67  * <p>
  68  * By implementing a <code>Predicate</code> (see example in <a href="Predicate.html">Predicate</a>
  69  * class JavaDoc), a <code>FilteredRowSet</code> could then be used as described
  70  * below.
  71  *
  72  * <pre>
  73  * {@code
  74  *     FilteredRowSet frs = new FilteredRowSetImpl();




  34 /**
  35  * The standard interface that all standard implementations of
  36  * <code>FilteredRowSet</code> must implement. The <code>FilteredRowSetImpl</code> class
  37  * provides the reference implementation which may be extended if required.
  38  * Alternatively, a vendor is free to implement its own version
  39  * by implementing this interface.
  40  *
  41  * <h2>1.0 Background</h2>
  42  *
  43  * There are occasions when a <code>RowSet</code> object has a need to provide a degree
  44  * of filtering to its contents. One possible solution is to provide
  45  * a query language for all standard <code>RowSet</code> implementations; however,
  46  * this is an impractical approach for lightweight components such as disconnected
  47  * <code>RowSet</code>
  48  * objects. The <code>FilteredRowSet</code> interface seeks to address this need
  49  * without supplying a heavyweight query language along with the processing that
  50  * such a query language would require.
  51  * <p>
  52  * A JDBC <code>FilteredRowSet</code> standard implementation implements the
  53  * <code>RowSet</code> interfaces and extends the
  54  * <code>CachedRowSet</code> class. The
  55  * <code>CachedRowSet</code> class provides a set of protected cursor manipulation
  56  * methods, which a <code>FilteredRowSet</code> implementation can override
  57  * to supply filtering support.
  58  *
  59  * <h2>2.0 Predicate Sharing</h2>
  60  *
  61  * If a <code>FilteredRowSet</code> implementation is shared using the
  62  * inherited <code>createShared</code> method in parent interfaces, the
  63  * <code>Predicate</code> should be shared without modification by all
  64  * <code>FilteredRowSet</code> instance clones.
  65  *
  66  * <h2>3.0 Usage</h2>
  67  * <p>
  68  * By implementing a <code>Predicate</code> (see example in <a href="Predicate.html">Predicate</a>
  69  * class JavaDoc), a <code>FilteredRowSet</code> could then be used as described
  70  * below.
  71  *
  72  * <pre>
  73  * {@code
  74  *     FilteredRowSet frs = new FilteredRowSetImpl();


< prev index next >