public class DistributedPredicateAdapter extends Object implements DistributedPredicate
Constructor and Description |
---|
DistributedPredicateAdapter() |
Modifier and Type | Method and Description |
---|---|
DistributedPredicate |
and(DistributedPredicate... predicates)
and predicate
|
DistributedPredicate |
equal(String attribute,
Comparable value)
equal predicate.
|
com.hazelcast.query.Predicate |
getPredicate() |
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
|
com.hazelcast.query.Predicate |
setPredicate(com.hazelcast.query.Predicate predicate) |
public com.hazelcast.query.Predicate setPredicate(com.hazelcast.query.Predicate predicate)
public com.hazelcast.query.Predicate getPredicate()
public DistributedPredicate equal(String attribute, Comparable value)
DistributedPredicate
equal
in interface DistributedPredicate
attribute
- namevalue
- to comparepublic DistributedPredicate notEqual(String attribute, Comparable value)
DistributedPredicate
notEqual
in interface DistributedPredicate
attribute
- namevalue
- to comparepublic DistributedPredicate like(String attribute, String value)
DistributedPredicate
Checks if specified attribute matches with specified pattern. %(percentage sign) is a placeholder for many characters. _(underscore) is a placeholder for one character.
like
in interface DistributedPredicate
attribute
- namevalue
- to comparepublic DistributedPredicate regex(String attribute, String value)
DistributedPredicate
Checks if specified attribute matches with specified regular expression. It can be any java regular expression.
regex
in interface DistributedPredicate
attribute
- namevalue
- to comparepublic DistributedPredicate or(DistributedPredicate... predicates)
DistributedPredicate
Combines specified predicates with or criteria.
or
in interface DistributedPredicate
predicates
- to combinepublic DistributedPredicate and(DistributedPredicate... predicates)
DistributedPredicate
Combines specified predicates with and criteria.
and
in interface DistributedPredicate
predicates
- to combinepublic DistributedPredicate not(DistributedPredicate predicate)
DistributedPredicate
not
in interface DistributedPredicate
predicate
- to inverseCopyright © 2016. All Rights Reserved.