public interface DistributedPredicate
Modifier and Type | Method and Description |
---|---|
DistributedPredicate |
and(DistributedPredicate... predicates)
and predicate
|
DistributedPredicate |
equal(String attribute,
Comparable value)
equal predicate.
|
DistributedPredicate |
like(String attribute,
String value)
like predicate.
|
DistributedPredicate |
not(DistributedPredicate predicate)
not predicate
|
DistributedPredicate |
notEqual(String attribute,
Comparable value)
not equal predicate
|
DistributedPredicate |
or(DistributedPredicate... predicates)
or predicate
|
DistributedPredicate |
regex(String attribute,
String value)
regex predicate
|
DistributedPredicate equal(String attribute, Comparable value)
attribute
- namevalue
- to compareDistributedPredicate notEqual(String attribute, Comparable value)
attribute
- namevalue
- to compareDistributedPredicate like(String attribute, String value)
Checks if specified attribute matches with specified pattern. %(percentage sign) is a placeholder for many characters. _(underscore) is a placeholder for one character.
attribute
- namevalue
- to compareDistributedPredicate regex(String attribute, String value)
Checks if specified attribute matches with specified regular expression. It can be any java regular expression.
attribute
- namevalue
- to compareDistributedPredicate or(DistributedPredicate... predicates)
Combines specified predicates with or criteria.
predicates
- to combineDistributedPredicate and(DistributedPredicate... predicates)
Combines specified predicates with and criteria.
predicates
- to combineDistributedPredicate not(DistributedPredicate predicate)
predicate
- to inverseCopyright © 2016. All Rights Reserved.