com.ibm.mm.sdk.common
Class DKCombinedQueryDL
java.lang.Object
|
+--com.ibm.mm.sdk.common.DKCombinedQueryDL
- All Implemented Interfaces:
- DKConstant, DKMessageId, dkQueryBase
- Direct Known Subclasses:
- DKCombinedQuery
- public class DKCombinedQueryDL
- extends java.lang.Object
- implements dkQueryBase, DKMessageId, DKConstant
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DKCombinedQueryDL
public DKCombinedQueryDL()
DKCombinedQueryDL
public DKCombinedQueryDL(dkDatastore ds)
DKCombinedQueryDL
public DKCombinedQueryDL(DKCombinedQueryDL fromQuery)
prepare
public void prepare(DKNVPair[] params)
throws DKException
- Description copied from interface:
dkQueryBase
- prepares the query
- Specified by:
prepare
in interface dkQueryBase
- Following copied from interface:
com.ibm.mm.sdk.common.dkQueryBase
- Parameters:
params
- additional prepare query option in name/value pair
execute
public void execute(DKNVPair[] params)
throws DKException
- Execute takes as many PQs + SCOPE_DLs and TQs + SCOPE_TSs
PQs run in parallel
TQs run sequentially, one after the other using previous TQ
results as scope for the current TQ
The default operation is INTERSECTs the results.
- Specified by:
execute
in interface dkQueryBase
- Following copied from interface:
com.ibm.mm.sdk.common.dkQueryBase
- Parameters:
params
- additional query option in name/value pair
status
public int status()
- Description copied from interface:
dkQueryBase
- gets the query status
- Specified by:
status
in interface dkQueryBase
- Following copied from interface:
com.ibm.mm.sdk.common.dkQueryBase
- Returns:
- query status
result
public java.lang.Object result()
- Description copied from interface:
dkQueryBase
- get the query results
- Specified by:
result
in interface dkQueryBase
- Following copied from interface:
com.ibm.mm.sdk.common.dkQueryBase
- Returns:
- query result in a DKResults object
resultSetCursor
public dkResultSetCursor resultSetCursor()
throws DKException,
java.lang.Exception
- Description copied from interface:
dkQueryBase
- get the query results
- Specified by:
resultSetCursor
in interface dkQueryBase
- Following copied from interface:
com.ibm.mm.sdk.common.dkQueryBase
- Returns:
- query result in a dkResultSetCursor object
numberOfResults
public int numberOfResults()
- Gets the number of query results
- Specified by:
numberOfResults
in interface dkQueryBase
- Returns:
- number of query results
datastore
public dkDatastore datastore()
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.