public class ILike extends BaseCriteria
java.lang.String attributes
,
the toString()
form is used in the comparison. Constructor and Description |
---|
ILike(String attributeName,
String regex)
Construct a "like" criteria for the given expression
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
String |
getAttributeName()
Return attribute name.
|
Set<Attribute<?>> |
getAttributes()
Returns all search attributes referenced by this instance
|
String |
getRegex()
Return regex string.
|
and, getExtractor, not, or
public String getAttributeName()
public String getRegex()
public boolean execute(Element e, Map<String,AttributeExtractor> attributeExtractors)
e
- cache elementattributeExtractors
- map of attribute extractors to attribute value namespublic Set<Attribute<?>> getAttributes()
BaseCriteria
getAttributes
in class BaseCriteria
Copyright 2001-2021, Terracotta, Inc.