Interface RowSetFactory
public interface RowSetFactory
An interface that defines the implementation of a factory that is used to obtain different types of RowSet
implementations.
- Since:
- 1.7
Methods
Modifier and Type | Method and Description |
---|---|
CachedRowSet |
createCachedRowSet() Creates a new instance of a CachedRowSet. |
FilteredRowSet |
createFilteredRowSet() Creates a new instance of a FilteredRowSet. |
JdbcRowSet |
createJdbcRowSet() Creates a new instance of a JdbcRowSet. |
JoinRowSet |
createJoinRowSet() Creates a new instance of a JoinRowSet. |
WebRowSet |
createWebRowSet() Creates a new instance of a WebRowSet. |
Methods
createCachedRowSet
CachedRowSet createCachedRowSet() throws SQLException
Creates a new instance of a CachedRowSet.
- Returns:
- A new instance of a CachedRowSet.
- Throws:
-
SQLException
- if a CachedRowSet cannot be created. - Since:
- 1.7
createFilteredRowSet
FilteredRowSet createFilteredRowSet() throws SQLException
Creates a new instance of a FilteredRowSet.
- Returns:
- A new instance of a FilteredRowSet.
- Throws:
-
SQLException
- if a FilteredRowSet cannot be created. - Since:
- 1.7
createJdbcRowSet
JdbcRowSet createJdbcRowSet() throws SQLException
Creates a new instance of a JdbcRowSet.
- Returns:
- A new instance of a JdbcRowSet.
- Throws:
-
SQLException
- if a JdbcRowSet cannot be created. - Since:
- 1.7
createJoinRowSet
JoinRowSet createJoinRowSet() throws SQLException
Creates a new instance of a JoinRowSet.
- Returns:
- A new instance of a JoinRowSet.
- Throws:
-
SQLException
- if a JoinRowSet cannot be created. - Since:
- 1.7
createWebRowSet
WebRowSet createWebRowSet() throws SQLException
Creates a new instance of a WebRowSet.
- Returns:
- A new instance of a WebRowSet.
- Throws:
-
SQLException
- if a WebRowSet cannot be created. - Since:
- 1.7
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/sql/rowset/RowSetFactory.html