|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
dkQuerybase is an interface for a query object that can be associated with zero or more datastores. With the help of its datastores, query objects perform query processing tasks, such as preparing and running a query, monitoring the status of queries, and storing the results. The result of a query is returned as an Object that you cast to DKResults.
Method Summary | |
void |
execute(DKNVPair[] params)
executes the query |
int |
numberOfResults()
Gets the number of query results |
void |
prepare(DKNVPair[] params)
prepares the query |
java.lang.Object |
result()
get the query results |
dkResultSetCursor |
resultSetCursor()
get the query results |
int |
status()
gets the query status |
Method Detail |
public void prepare(DKNVPair[] params) throws DKException, java.lang.Exception
params
- additional prepare query option in name/value pairpublic void execute(DKNVPair[] params) throws DKException, java.lang.Exception
params
- additional query option in name/value pairpublic int status()
public java.lang.Object result() throws DKException, java.lang.Exception
public dkResultSetCursor resultSetCursor() throws DKException, java.lang.Exception
public int numberOfResults()
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |