RowSetFactory (Java Platform SE 8 )
Keywords: javax.sql.rowset.RowSetFactory interface
Date: 2023-01-18

compact3
javax.sql.rowset

## 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

- - ### Method Summary

    All Methods Instance Methods Abstract 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.

- - ### Method Detail

    - #### 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

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.