IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.continuousquery
Interface ContinuousQueryFilter<KeyType,ValueType,AttributeType,MatchType>

Type Parameters:
KeyType - Type of the key object for the map being queried
ValueType - Type of the value object for the map being queried
AttributeType - Type of the attribute referenced by the attribute path
MatchType - Type of the object being compared to
All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractCQFilter, AndFilter, BinaryLogicalFilter, CompareFilter, EQFilter, FalseFilter, GTEFilter, GTFilter, IsNotNullFilter, IsNullFilter, LTEFilter, LTFilter, MatchFilter, NEQFilter, NotFilter, NotMatchFilter, OrFilter, TrueFilter

public interface ContinuousQueryFilter<KeyType,ValueType,AttributeType,MatchType>
extends Serializable

An interface which provides an abstraction to check if an object matches the criteria defined in a filter. Filters are invoked within the eXtreme Scale containers hosting partitions for the map on which the query is defined. All implementations must extend AbstractCQFilter.

Since:
8.6

Field Summary
static String POJO_ADDRESSABLEKEYNAME
          The name used to identify the key objects in POJO maps.
static String POJO_PATHSEPARATOR
          The path separator to use when identifying attribute paths for POJO maps.
 
Method Summary
 boolean filter(FilterContent<KeyType,ValueType> content)
          Checks if the supplied object passes the filter.
 

Field Detail

POJO_ADDRESSABLEKEYNAME

static final String POJO_ADDRESSABLEKEYNAME
The name used to identify the key objects in POJO maps.

See Also:
Constant Field Values

POJO_PATHSEPARATOR

static final String POJO_PATHSEPARATOR
The path separator to use when identifying attribute paths for POJO maps.

See Also:
Constant Field Values
Method Detail

filter

boolean filter(FilterContent<KeyType,ValueType> content)
               throws ContinuousQueryException
Checks if the supplied object passes the filter.

Parameters:
content - A representation of the cache entry to be checked
Returns:
true if the object matches the filtering criteria, false otherwise
Throws:
ContinuousQueryException

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.