JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Interface
java.sql.ResultSet

Packages that use ResultSet
java.sql Provides the API for accessing and processing data in a data source using the JavaTM programming language. 
 

Uses of ResultSet in java.sql
 

Methods in java.sql that return ResultSet
 ResultSet Statement.executeQuery(String sql)
          Executes an SQL statement that returns a single ResultSet object.
 ResultSet Statement.getResultSet()
          Returns the current result as a ResultSet object.
 ResultSet PreparedStatement.executeQuery()
          Executes the SQL query in this PreparedStatement object and returns the result set generated by the query.
 ResultSet DatabaseMetaData.getProcedures(String catalog, String schemaPattern, String procedureNamePattern)
          Gets a description of the stored procedures available in a catalog.
 ResultSet DatabaseMetaData.getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)
          Gets a description of a catalog's stored procedure parameters and result columns.
 ResultSet DatabaseMetaData.getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)
          Gets a description of tables available in a catalog.
 ResultSet DatabaseMetaData.getSchemas()
          Gets the schema names available in this database.
 ResultSet DatabaseMetaData.getCatalogs()
          Gets the catalog names available in this database.
 ResultSet DatabaseMetaData.getTableTypes()
          Gets the table types available in this database.
 ResultSet DatabaseMetaData.getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)
          Gets a description of table columns available in the specified catalog.
 ResultSet DatabaseMetaData.getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern)
          Gets a description of the access rights for a table's columns.
 ResultSet DatabaseMetaData.getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern)
          Gets a description of the access rights for each table available in a catalog.
 ResultSet DatabaseMetaData.getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable)
          Gets a description of a table's optimal set of columns that uniquely identifies a row.
 ResultSet DatabaseMetaData.getVersionColumns(String catalog, String schema, String table)
          Gets a description of a table's columns that are automatically updated when any value in a row is updated.
 ResultSet DatabaseMetaData.getPrimaryKeys(String catalog, String schema, String table)
          Gets a description of a table's primary key columns.
 ResultSet DatabaseMetaData.getImportedKeys(String catalog, String schema, String table)
          Gets a description of the primary key columns that are referenced by a table's foreign key columns (the primary keys imported by a table).
 ResultSet DatabaseMetaData.getExportedKeys(String catalog, String schema, String table)
          Gets a description of the foreign key columns that reference a table's primary key columns (the foreign keys exported by a table).
 ResultSet DatabaseMetaData.getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable)
          Gets a description of the foreign key columns in the foreign key table that reference the primary key columns of the primary key table (describe how one table imports another's key.) This should normally return a single foreign key/primary key pair (most tables only import a foreign key from a table once.) They are ordered by FKTABLE_CAT, FKTABLE_SCHEM, FKTABLE_NAME, and KEY_SEQ.
 ResultSet DatabaseMetaData.getTypeInfo()
          Gets a description of all the standard SQL types supported by this database.
 ResultSet DatabaseMetaData.getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate)
          Gets a description of a table's indices and statistics.
 ResultSet DatabaseMetaData.getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types)
          Gets a description of the user-defined types defined in a particular schema.
 ResultSet Array.getResultSet()
          Returns a result set that contains the elements of the SQL ARRAY value designated by this Array object.
 ResultSet Array.getResultSet(Map map)
          Returns a result set that contains the elements of the SQL ARRAY value designated by this Array object.
 ResultSet Array.getResultSet(long index, int count)
          Returns a result set holding the elements of the subarray that starts at index index and contains up to count successive elements.
 ResultSet Array.getResultSet(long index, int count, Map map)
          Returns a result set holding the elements of the subarray that starts at index index and contains up to count successive elements.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.