org.codehaus.activespace.query
Interface QueryManager

All Known Implementing Classes:
GroovyQueryManager

public interface QueryManager

Provides access to some query manager capable of querying objects in some context.

Version:
$Revision: 1.1 $

Method Summary
 Object evaluate(String query, QueryContext context)
           
 List select(String query, QueryContext cacheManager)
          Performs a query on a given CacheManager
 

Method Detail

select

public List select(String query,
                   QueryContext cacheManager)
Performs a query on a given CacheManager

Parameters:
query - the query string using the query notation of the manager's choosing.
cacheManager - the collection of caches to query on
Returns:
a list of results which may be empty.

evaluate

public Object evaluate(String query,
                       QueryContext context)
                throws QueryException
Throws:
QueryException


Copyright © 2004 Protique, Ltd.. All Rights Reserved.