com.j_spaces.javax.cache
Interface CacheQuery


public interface CacheQuery

The CacheQuery is used as part of the CacheLoader implementation.

The CacheQuery used to encapsulate the IJSpace read,readMultiple,take,takeMultiple operations template. The CacheQuery used as an argument when calling CacheIteratorFactory.iterator(CacheQuery) or when calling the CacheLoader.loadAll(Collection). The template object can be retrieved via the getQuery() method that many return:
SQLQuery - representing non null templates and SQL condition
IGSEntry - representing null template

Since:
5.1
See Also:
CacheIteratorFactory

Method Summary
 Object getQuery()
          Returns the underlying Query Object.
 

Method Detail

getQuery

Object getQuery()
Returns the underlying Query Object. This object can take the form of SQLQuery, IGSEntry.

Returns:
underlying Query Object (SQLQuery or IGSEntry).