com.ibm.mm.sdk.common
Interface dkQueryManager
-
- All Superinterfaces:
- dkQueryEvaluator
- All Known Subinterfaces:
- dkDatastore, dkDatastoreIntICM
- All Known Implementing Classes:
- DKDatastoreICM
public interface dkQueryManager extends dkQueryEvaluator
Interface for managing and creating queries in the CM8 API.This interface extends
dkQueryEvaluatorto provide both query creation and evaluation capabilities. Query managers are responsible for constructing query objects that can be executed against a datastore.The query manager supports various query languages and allows parameterized queries through name-value pairs.
- See Also:
dkQueryEvaluator,dkQuery,dkDatastore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description dkQuerycreateQuery(java.lang.String command, short commandLangType, DKNVPair[] params)Creates a query object from a command string.-
Methods inherited from interface com.ibm.mm.sdk.common.dkQueryEvaluator
evaluate
-
-
-
-
Method Detail
-
createQuery
dkQuery createQuery(java.lang.String command, short commandLangType, DKNVPair[] params) throws DKException, java.lang.Exception
Creates a query object from a command string.This method constructs a query object that can be executed against the datastore. The query is specified using a command string in the given query language, with optional parameters for customization.
- Parameters:
command- the query command stringcommandLangType- the query language type (e.g., DK_CM_XQPE_QL_TYPE for XQPE, DK_CM_SQL for SQL)params- optional array of name-value pairs for query parameters- Returns:
- a query object that can be executed
- Throws:
DKException- if query creation failsjava.lang.Exception- if an unexpected error occurs during query creation
-
-