com.ibm.mm.sdk.common

Class DKResults

    • Constructor Detail

      • DKResults

        public DKResults(dkDatastore ds)
        Constructs a DKResults with a given datastore object.
        Parameters:
        ds - the datastore object
    • Method Detail

      • evaluate

        public java.lang.Object evaluate(java.lang.String query,
                                         short qlType,
                                         DKNVPair[] params)
                                  throws DKException,
                                         java.lang.Exception
        Evaluates a query against the datastore.
        Specified by:
        evaluate in interface dkQueryEvaluator
        Parameters:
        query - the query string
        qlType - the query language type
        params - query parameters
        Returns:
        the query results
        Throws:
        DKException - if a datastore error occurs
        java.lang.Exception - if any other error occurs
      • addItem

        public void addItem(DKDDO ddo)
        Adds a DKDDO object to the results collection. Public method for use by datastore implementations.
        Parameters:
        ddo - the DKDDO object to add
Copyright © 2024 IBM Corporation

Copyright © 2024 IBM Corporation. All rights reserved.