|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstdmql.lang.Query
public class Query
It is the result of a query execution and contains some information and utilities
Field Summary | |
---|---|
java.lang.String |
query
The original query executed |
java.sql.ResultSet |
res
The resultset of the query execution |
Constructor Summary | |
---|---|
Query()
Void constructor |
|
Query(java.lang.String text,
java.sql.ResultSet object)
|
Method Summary | |
---|---|
void |
close()
Close the resultset and the connection attachet to it. |
java.sql.ResultSet |
getFirstLine(DBManager dbManager)
|
void |
renew(DBManager dbManager)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.sql.ResultSet res
public java.lang.String query
Constructor Detail |
---|
public Query()
public Query(java.lang.String text, java.sql.ResultSet object)
text
- the string representation of the queryobject
- the resultset
Create the instance setting the query and the resultset fieldsMethod Detail |
---|
public java.sql.ResultSet getFirstLine(DBManager dbManager)
dbManager
-
public void renew(DBManager dbManager)
dbManager
- Renew the resultset of the instance executing again the querypublic void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |