net.sf.ehcache.search.expression
Class NotNull
java.lang.Object
net.sf.ehcache.search.expression.BaseCriteria
net.sf.ehcache.search.expression.NotNull
- All Implemented Interfaces:
- Criteria
public class NotNull
- extends BaseCriteria
- Author:
- vfunshte
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotNull
public NotNull(String attributeName)
- Parameters:
attributeName
-
getAttributeName
public String getAttributeName()
- Get attribute name.
- Returns:
- attribute name.
execute
public boolean execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
- Description copied from interface:
Criteria
- Test this criteria against a cache element
- Parameters:
e
- cache elementattributeExtractors
- map of attribute extractors to attribute value names
- Returns:
- true if the criteria matches this element
getAttributes
public Set<Attribute<?>> getAttributes()
- Description copied from class:
BaseCriteria
- Returns all search attributes referenced by this instance
- Specified by:
getAttributes
in class BaseCriteria
Copyright 2001-2015, Terracotta, Inc.