|
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.DKImageQuery
DKImageQuery implements dkQuery and is created by a datastore to represent and execute a query involving image data. Image queries refer to a type of query on the visual content of images for an approximate match with the specific image query string.
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 | |
DKImageQuery(dkDatastore creator,
DKCQExpr queryExpr)
Constructs a image query |
|
DKImageQuery(dkDatastore creator,
java.lang.String queryString)
Constructs a image query |
|
DKImageQuery(DKImageQuery fromQuery)
Constructs a image query from a image query object |
Method Summary | |
dkDatastore |
datastore()
Deprecated. Replace by getDatastore |
void |
execute(DKNVPair[] params)
executes the query |
dkDatastore |
getDatastore()
Gets the reference to the owner datastore object |
java.lang.String |
getName()
Gets the name of the query |
int |
numberOfResults()
Gets the number of query results |
void |
prepare(DKNVPair[] params)
prepares the query |
short |
qlType()
gets the query type |
java.lang.String |
queryString()
gets the query string |
java.lang.Object |
result()
gets the query results |
dkResultSetCursor |
resultSetCursor()
gets the query results |
void |
setDatastore(dkDatastore ds)
Sets the reference to the owner datastore object |
void |
setName(java.lang.String name)
Sets the query name |
int |
status()
get the query status |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKImageQuery(dkDatastore creator, java.lang.String queryString)
creator
- datastorequeryString
- a query stringpublic DKImageQuery(dkDatastore creator, DKCQExpr queryExpr)
creator
- datastorequeryExpr
- a query expressionpublic DKImageQuery(DKImageQuery fromQuery)
fromQuery
- image 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 dkDatastore objectpublic 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 |