com.ibm.websphere.objectgrid.continuousquery.filter
Class GTEFilter<AttributeType,MatchType>
java.lang.Object
com.ibm.websphere.objectgrid.continuousquery.filter.AbstractCQFilter<KeyType,ValueType,AttributeType,MatchType>
com.ibm.websphere.objectgrid.continuousquery.filter.CompareFilter<Object,Object,AttributeType,MatchType>
com.ibm.websphere.objectgrid.continuousquery.filter.GTEFilter<AttributeType,MatchType>
- Type Parameters:
AttributeType
- Type of the attribute referenced by the attribute pathMatchType
- Type of the object being compared to
- All Implemented Interfaces:
- ContinuousQueryFilter<Object,Object,AttributeType,MatchType>, Serializable
public class GTEFilter<AttributeType,MatchType>
- extends CompareFilter<Object,Object,AttributeType,MatchType>
This checks if an attribute is greater than or equals to a scalar.
- Since:
- 8.6
- See Also:
- Serialized Form
GTEFilter
public GTEFilter()
- Constructor for serialization only.
GTEFilter
public GTEFilter(String attributePath,
MatchType object)
- See Also:
CompareFilter.CompareFilter(String, Object)
filter
public boolean filter(FilterContent content)
throws ContinuousQueryException
- Description copied from interface:
ContinuousQueryFilter
- 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
- See Also:
ContinuousQueryFilter.filter(FilterContent)
createString
public String createString()
- Description copied from class:
AbstractCQFilter
- Creates a string representation of the continuous query filter, this method is
used by AbstractCQFilter.toString().
The string will be used for identifying and comparing filters,
i.e. it will be used in AbstractCQFilter.hashCode() and AbstractCQFilter.equals(Object),
so the returned value must be in unique format among all filters
in the system.
- Specified by:
createString
in class AbstractCQFilter<Object,Object,AttributeType,MatchType>
- Returns:
- " >=