Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Class DKCombinedQueryOptDL

java.lang.Object
  |
  +--com.ibm.mm.sdk.common.DKCombinedQueryOptDL
All Implemented Interfaces:
DKConstant, DKConstantDL, DKMessageId, dkQueryBase, java.io.Serializable

public class DKCombinedQueryOptDL
extends java.lang.Object
implements dkQueryBase, DKMessageId, DKConstantDL, java.io.Serializable

DKCombinedQueryOptDL is a concrete subclass of dkQueryBase, to represents and executes a combination of text, image, and parametric. The difference between DKCombinedQuery and DKCombinedQueryOptDL, is DKCombinedQueryOptDL is sending parametric query informaction to DB2 or Oracle directly. Combined queries provide multi-serach capability on the specified datastore by coordinating the execution of their sub-queries. The final results is an intersection between the given scopes and all its sub-query results.

See Also:
Serialized Form

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.DKConstantDL
    For details, see the class or interface
 
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant
    For details, see the class or interface
 
Constructor Summary
DKCombinedQueryOptDL()
          Constructs a combined query object.
DKCombinedQueryOptDL(DKCombinedQueryOptDL fromQuery)
          Constructs a combined query from an existing combined query object (copy constructor).
 
Method Summary
 void execute(DKNVPair[] params)
          Executes the query.
 int numberOfResults()
          Gets the number of query results.
 void prepare(DKNVPair[] params)
          Prepare is inherit from dkQuery class, it is not functional for this class.
 java.lang.Object result()
          get query result.
 dkResultSetCursor resultSetCursor()
          get query result.
 int status()
          Gets the query status.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKCombinedQueryOptDL

public DKCombinedQueryOptDL()
Constructs a combined query object.

DKCombinedQueryOptDL

public DKCombinedQueryOptDL(DKCombinedQueryOptDL fromQuery)
Constructs a combined query from an existing combined query object (copy constructor).
Parameters:
fromQuery - a combined query object.
Method Detail

prepare

public void prepare(DKNVPair[] params)
             throws DKException,
                    java.lang.Exception
Prepare is inherit from dkQuery class, it is not functional for this class.
Specified by:
prepare in interface dkQueryBase
Parameters:
params - additional parameters or options in name/value pairs required for the preparation of the query

execute

public void execute(DKNVPair[] params)
             throws DKException,
                    java.lang.Exception
Executes the query. Class is functional with DKParametric class parameter only
Specified by:
execute in interface dkQueryBase
Parameters:
params - additional parameters or options in name/value pairs required for the execution of the query

status

public int status()
Gets the query status.
Specified by:
status in interface dkQueryBase
Returns:
query status

result

public java.lang.Object result()
                        throws DKException,
                               java.lang.Exception
get query result.
Specified by:
result in interface dkQueryBase
Returns:
query result in a DKResults object

resultSetCursor

public dkResultSetCursor resultSetCursor()
                                  throws DKException,
                                         java.lang.Exception
get query result.
Specified by:
resultSetCursor in interface 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

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.