uk.org.ogsadai.client.databrowser.sql
Class DBQuery
java.lang.Object
|
+--uk.org.ogsadai.client.databrowser.sql.DBAbstractSQL
|
+--uk.org.ogsadai.client.databrowser.sql.DBQuery
- public class DBQuery
- extends DBAbstractSQL
Holds info for an OGSA-DAI SQLQuery
- Author:
- The OGSA-DAI team., Paul Graham, EPCC
Fields inherited from class uk.org.ogsadai.client.databrowser.sql.DBAbstractSQL |
|
Constructor Summary |
DBQuery(java.lang.String name, DBDataResource resource, java.lang.String statement)
Construct a query |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
-
Copyright statement
- See Also:
- Constant Field Values
mSQLQuery
private SQLQuery mSQLQuery
-
mWebRowSet
private WebRowSet mWebRowSet
-
DBQuery
public DBQuery(java.lang.String name,
DBDataResource resource,
java.lang.String statement)
-
Construct a query
- Parameters:
name
- The name of this SQL query
resource
- data resource to run the query against
statement
- The query statement
getSQLQuery
public SQLQuery getSQLQuery()
-
- Returns:
- The OGSADAI client toolkit SQL query
getWebRowSet
public WebRowSet getWebRowSet()
-
- Returns:
- The OGSA-DAI client toolkit WebRowSet object
getResultSet
public java.sql.ResultSet getResultSet()
throws java.lang.Exception
-
- Returns:
- The ResultSet from a query that has been run
- Throws:
java.lang.Exception