com.ibm.mm.sdk.common
Interface dkQueryBase
All known subinterfaces:
All known implementing classes:
- public interface dkQueryBase
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
execute(DKNVPair[] params)
executes the query
|
|
numberOfResults()
Gets the number of query results
|
|
prepare(DKNVPair[] params)
prepares the query
|
|
result()
get the query results
|
resultSetCursor()
get the query results
|
|
|
status()
gets the query status
|
Method Detail
prepare
- void prepare(DKNVPair[] params)
- throws DKException
- java.lang.Exception
prepares the query
Parameters:
params - additional prepare query option in name/value pair Throws:
java.lang.Exceptionexecute
- void execute(DKNVPair[] params)
- throws DKException
- java.lang.Exception
executes the query
Parameters:
params - additional query option in name/value pair Throws:
java.lang.Exceptionstatus
- int status()
gets the query status
Returns:
query status
result
- java.lang.Object result()
- throws DKException
- java.lang.Exception
get the query results
resultSetCursor
- dkResultSetCursor resultSetCursor( )
- throws DKException
- java.lang.Exception
get the query results
numberOfResults
- int numberOfResults()
Gets the number of query results
Returns:
number of query results