|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.DKParametricQuery
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
DKParametricQuery(dkDatastore creator,
DKCQExpr queryExpr)
Constructs a parametric query |
|
DKParametricQuery(dkDatastore creator,
java.lang.String queryString)
Constructs a parametric query |
|
DKParametricQuery(DKParametricQuery fromQuery)
Constructs a parametric query from a parametric query object |
Method Summary | |
dkDatastore |
datastore()
Deprecated. Replace by getDatastore |
void |
execute(DKNVPair[] params)
execute the query. |
dkDatastore |
getDatastore()
Gets the reference to the owner datastore object |
java.lang.String |
getName()
Gets query name |
int |
numberOfResults()
Gets the number of query results |
void |
prepare(DKNVPair[] params)
prepare the query. |
short |
qlType()
get query type. |
java.lang.String |
queryString()
get query string |
java.lang.Object |
result()
get query result. |
dkResultSetCursor |
resultSetCursor()
get query result. |
void |
setDatastore(dkDatastore ds)
Sets the reference to the owner datastore object |
void |
setName(java.lang.String name)
Sets query name |
int |
status()
get query status. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKParametricQuery(dkDatastore creator, java.lang.String queryString)
creator
- datastorequeryString
- a query stringpublic DKParametricQuery(dkDatastore creator, DKCQExpr queryExpr)
creator
- datastorequeryExpr
- a query expressionpublic DKParametricQuery(DKParametricQuery fromQuery)
fromQuery
- parametric queryMethod Detail |
public void prepare(DKNVPair[] params) throws DKException, java.lang.Exception
prepare
in interface dkQueryBase
params
- additional prepare query option in name/value pairpublic void execute(DKNVPair[] params) throws DKException, java.lang.Exception
execute
in interface dkQueryBase
params
- additional query option in name/value pairpublic int status()
status
in interface dkQueryBase
public java.lang.Object result() throws DKException, java.lang.Exception
result
in interface dkQueryBase
public dkResultSetCursor resultSetCursor() throws DKException, java.lang.Exception
resultSetCursor
in interface dkQueryBase
public short qlType()
qlType
in interface dkQuery
public java.lang.String queryString()
queryString
in interface dkQuery
public dkDatastore datastore()
datastore
in interface dkQuery
getDatastore()
public dkDatastore getDatastore()
getDatastore
in interface dkQuery
public void setDatastore(dkDatastore ds) throws DKException, java.lang.Exception
setDatastore
in interface dkQuery
ds
- a datastorepublic java.lang.String getName()
getName
in interface dkQuery
public void setName(java.lang.String name)
setName
in interface dkQuery
name
- new name to be set to this query objectpublic int numberOfResults()
numberOfResults
in interface dkQueryBase
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |