Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Interface dkQuery

All Superinterfaces:
dkQueryBase
All Known Subinterfaces:
dkPersistentQuery
All Known Implementing Classes:
DKDESQuery, DKFederatedQuery, DKParametricQuery, DKSQLQuery, DKTextQuery, DKImageQuery

public interface dkQuery
extends dkQueryBase

dkQuery extends dkQueryBase and provides an interface for a query object. Classes that implement this interface are created by datastore classes. The result of a query is returned as a Java Object that you can cast to DKResults.


Method Summary
 dkDatastore datastore()
          Deprecated. Replace by getDatastore
 dkDatastore getDatastore()
          Gets the reference to the owner datastore object
 java.lang.String getName()
          Gets the query name
 short qlType()
          Gets the query type
 java.lang.String queryString()
          Gets the query string
 void setDatastore(dkDatastore ds)
          Sets the reference to the owner datastore object
 void setName(java.lang.String name)
          Sets the query name
 
Methods inherited from interface com.ibm.mm.sdk.common.dkQueryBase
execute, numberOfResults, prepare, result, resultSetCursor, status
 

Method Detail

qlType

public short qlType()
Gets the query type
Returns:
the query type

queryString

public java.lang.String queryString()
Gets the query string
Returns:
the query string

datastore

public dkDatastore datastore()
Deprecated. Replace by getDatastore

Gets the reference to the owner datastore object
Returns:
the dkDatastore object
See Also:
getDatastore()

getDatastore

public dkDatastore getDatastore()
Gets the reference to the owner datastore object
Returns:
the dkDatastore object

setDatastore

public void setDatastore(dkDatastore ds)
                  throws DKException,
                         java.lang.Exception
Sets the reference to the owner datastore object
Parameters:
ds - a dkDatastore object

getName

public java.lang.String getName()
Gets the query name
Returns:
name of this server

setName

public void setName(java.lang.String name)
Sets the query name
Parameters:
name - new name to be set to this server object

EIP Java APIs

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