Uses of Interface
java.sql.ResultSet

Packages that useResultSet
Package
Description
java.sql
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language.
javax.sql
Provides the API for server side data source access and processing from the Java programming language.
javax.sql.rowset
Standard interfaces and base classes for JDBCRowSet implementations.
javax.sql.rowset.serial
Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
javax.sql.rowset.spi
The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider.
  • Uses ofResultSet injava.sql

    Methods injava.sql that returnResultSet
    Modifier and Type
    Method
    Description
    PreparedStatement.executeQuery()
    Executes the SQL query in thisPreparedStatement object and returns theResultSet object generated by the query.
    Statement.executeQuery(String sql)
    Executes the given SQL statement, which returns a singleResultSet object.
    DatabaseMetaData.getAttributes(String catalog,String schemaPattern,String typeNamePattern,String attributeNamePattern)
    Retrieves a description of the given attribute of the given type for a user-defined type (UDT) that is available in the given schema and catalog.
    DatabaseMetaData.getBestRowIdentifier(String catalog,String schema,String table, int scope, boolean nullable)
    Retrieves a description of a table's optimal set of columns that uniquely identifies a row.
    DatabaseMetaData.getCatalogs()
    Retrieves the catalog names available in this database.
    DatabaseMetaData.getClientInfoProperties()
    Retrieves a list of the client info properties that the driver supports.
    DatabaseMetaData.getColumnPrivileges(String catalog,String schema,String table,String columnNamePattern)
    Retrieves a description of the access rights for a table's columns.
    DatabaseMetaData.getColumns(String catalog,String schemaPattern,String tableNamePattern,String columnNamePattern)
    Retrieves a description of table columns available in the specified catalog.
    DatabaseMetaData.getCrossReference(String parentCatalog,String parentSchema,String parentTable,String foreignCatalog,String foreignSchema,String foreignTable)
    Retrieves a description of the foreign key columns in the given foreign key table that reference the primary key or the columns representing a unique constraint of the parent table (could be the same or a different table).
    DatabaseMetaData.getExportedKeys(String catalog,String schema,String table)
    Retrieves a description of the foreign key columns that reference the given table's primary key columns (the foreign keys exported by a table).
    DatabaseMetaData.getFunctionColumns(String catalog,String schemaPattern,String functionNamePattern,String columnNamePattern)
    Retrieves a description of the given catalog's system or user function parameters and return type.
    DatabaseMetaData.getFunctions(String catalog,String schemaPattern,String functionNamePattern)
    Retrieves a description of the system and user functions available in the given catalog.
    Statement.getGeneratedKeys()
    Retrieves any auto-generated keys created as a result of executing thisStatement object.
    DatabaseMetaData.getImportedKeys(String catalog,String schema,String table)
    Retrieves a description of the primary key columns that are referenced by the given table's foreign key columns (the primary keys imported by a table).
    DatabaseMetaData.getIndexInfo(String catalog,String schema,String table, boolean unique, boolean approximate)
    Retrieves a description of the given table's indices and statistics.
    DatabaseMetaData.getPrimaryKeys(String catalog,String schema,String table)
    Retrieves a description of the given table's primary key columns.
    DatabaseMetaData.getProcedureColumns(String catalog,String schemaPattern,String procedureNamePattern,String columnNamePattern)
    Retrieves a description of the given catalog's stored procedure parameter and result columns.
    DatabaseMetaData.getProcedures(String catalog,String schemaPattern,String procedureNamePattern)
    Retrieves a description of the stored procedures available in the given catalog.
    DatabaseMetaData.getPseudoColumns(String catalog,String schemaPattern,String tableNamePattern,String columnNamePattern)
    Retrieves a description of the pseudo or hidden columns available in a given table within the specified catalog and schema.
    Array.getResultSet()
    Retrieves a result set that contains the elements of the SQLARRAY value designated by thisArray object.
    Array.getResultSet(long index, int count)
    Retrieves a result set holding the elements of the subarray that starts at indexindex and contains up tocount successive elements.
    Array.getResultSet(long index, int count,Map<String,Class<?>> map)
    Retrieves a result set holding the elements of the subarray that starts at indexindex and contains up tocount successive elements.
    Array.getResultSet(Map<String,Class<?>> map)
    Retrieves a result set that contains the elements of the SQLARRAY value designated by thisArray object.
    Statement.getResultSet()
    Retrieves the current result as aResultSet object.
    DatabaseMetaData.getSchemas()
    Retrieves the schema names available in this database.
    DatabaseMetaData.getSchemas(String catalog,String schemaPattern)
    Retrieves the schema names available in this database.
    DatabaseMetaData.getSuperTables(String catalog,String schemaPattern,String tableNamePattern)
    Retrieves a description of the table hierarchies defined in a particular schema in this database.
    DatabaseMetaData.getSuperTypes(String catalog,String schemaPattern,String typeNamePattern)
    Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database.
    DatabaseMetaData.getTablePrivileges(String catalog,String schemaPattern,String tableNamePattern)
    Retrieves a description of the access rights for each table available in a catalog.
    DatabaseMetaData.getTables(String catalog,String schemaPattern,String tableNamePattern,String[] types)
    Retrieves a description of the tables available in the given catalog.
    DatabaseMetaData.getTableTypes()
    Retrieves the table types available in this database.
    DatabaseMetaData.getTypeInfo()
    Retrieves a description of all the data types supported by this database.
    DatabaseMetaData.getUDTs(String catalog,String schemaPattern,String typeNamePattern, int[] types)
    Retrieves a description of the user-defined types (UDTs) defined in a particular schema.
    DatabaseMetaData.getVersionColumns(String catalog,String schema,String table)
    Retrieves a description of a table's columns that are automatically updated when any value in a row is updated.
  • Uses ofResultSet injavax.sql

    Subinterfaces ofResultSet injavax.sql
    Modifier and Type
    Interface
    Description
    interface 
    The interface that adds support to the JDBC API for the JavaBeans component model.
    Methods injavax.sql that returnResultSet
    Modifier and Type
    Method
    Description
    RowSetInternal.getOriginal()
    Retrieves aResultSet object containing the original value of thisRowSet object.
    RowSetInternal.getOriginalRow()
    Retrieves aResultSet object containing the original value of the current row only.
  • Uses ofResultSet injavax.sql.rowset

    Subinterfaces ofResultSet injavax.sql.rowset
    Modifier and Type
    Interface
    Description
    interface 
    The interface that all standard implementations ofCachedRowSet must implement.
    interface 
    The standard interface that all standard implementations ofFilteredRowSet must implement.
    interface 
    The standard interface that all standard implementations ofJdbcRowSet must implement.
    interface 
    TheJoinRowSet interface provides a mechanism for combining related data from differentRowSet objects into oneJoinRowSet object, which represents an SQLJOIN.
    interface 
    The standard interface that all implementations of aWebRowSet must implement.
    Methods injavax.sql.rowset that returnResultSet
    Modifier and Type
    Method
    Description
    CachedRowSet.getOriginal()
    Returns aResultSet object containing the original value of thisCachedRowSet object.
    CachedRowSet.getOriginalRow()
    Returns aResultSet object containing the original value for the current row only of thisCachedRowSet object.
    Methods injavax.sql.rowset with parameters of typeResultSet
    Modifier and Type
    Method
    Description
    void
    CachedRowSet.populate(ResultSet data)
    Populates thisCachedRowSet object with data from the givenResultSet object.
    void
    CachedRowSet.populate(ResultSet rs, int startRow)
    Populates thisCachedRowSet object with data from the givenResultSet object.
    void
    WebRowSet.writeXml(ResultSet rs,OutputStream oStream)
    Populates thisWebRowSet object with the contents of the givenResultSet object and writes its data, properties, and metadata to the givenOutputStream object in XML format.
    void
    WebRowSet.writeXml(ResultSet rs,Writer writer)
    Populates thisWebRowSet object with the contents of the givenResultSet object and writes its data, properties, and metadata to the givenWriter object in XML format.
  • Uses ofResultSet injavax.sql.rowset.serial

    Methods injavax.sql.rowset.serial that returnResultSet
    Modifier and Type
    Method
    Description
    SerialArray.getResultSet()
    Retrieves aResultSet object that contains all of the elements in theARRAY value that thisSerialArray object represents.
    SerialArray.getResultSet(long index, int count)
    Retrieves aResultSet object holding the elements of the subarray that starts at indexindex and contains up tocount successive elements.
    SerialArray.getResultSet(long index, int count,Map<String,Class<?>> map)
    Retrieves a result set holding the elements of the subarray that starts at Retrieves aResultSet object that contains a subarray of the elements in thisSerialArray object, starting at indexindex and containing up tocount successive elements.
    SerialArray.getResultSet(Map<String,Class<?>> map)
    Retrieves aResultSet object that contains all of the elements of the SQLARRAY value represented by thisSerialArray object.
  • Uses ofResultSet injavax.sql.rowset.spi

    Modifier and Type
    Interface
    Description
    interface 
    Defines a framework that allows applications to use a manual decision tree to decide what should be done when a synchronization conflict occurs.