Class FederatedJDOQLQuery

All Implemented Interfaces:
Serializable, ExecutionContextListener

public class FederatedJDOQLQuery extends AbstractJDOQLQuery
JDOQL query that is federated across multiple datastores
See Also:
  • Field Details

  • Constructor Details

    • FederatedJDOQLQuery

      public FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec)
      Constructs a new query instance that uses the given execution context.
      Parameters:
      storeMgr - StoreManager for this query
      ec - execution context
    • FederatedJDOQLQuery

      public FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec, FederatedJDOQLQuery q)
      Constructs a new query instance having the same criteria as the given query.
      Parameters:
      storeMgr - StoreManager for this query
      ec - execution context
      q - The query from which to copy criteria.
    • FederatedJDOQLQuery

      public FederatedJDOQLQuery(StoreManager storeMgr, ExecutionContext ec, String query)
      Constructor for a JDOQL query where the query is specified using the "Single-String" format.
      Parameters:
      storeMgr - StoreManager for this query
      ec - execution context
      query - The query string
  • Method Details

    • performExecute

      protected Object performExecute(Map parameters)
      Description copied from class: Query
      Method to actually execute the query. To be implemented by extending classes for the particular query language.
      Specified by:
      performExecute in class Query
      Parameters:
      parameters - Map containing the parameters.
      Returns:
      Query result - QueryResult if SELECT, or Long if BULK_UPDATE, BULK_DELETE