|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.query.Predicates
public final class Predicates
A utility class to create Predicate
instances.
Nested Class Summary | |
---|---|
static class |
Predicates.AbstractPredicate
Provides some functionality for some predicates such as Between, In. |
static class |
Predicates.AndPredicate
And Predicate |
static class |
Predicates.BetweenPredicate
Between Predicate |
static class |
Predicates.EqualPredicate
Equal Predicate |
static class |
Predicates.GreaterLessPredicate
Greater Less Predicate |
static class |
Predicates.ILikePredicate
Ilike Predicate |
static class |
Predicates.InPredicate
In Predicate |
static class |
Predicates.LikePredicate
Like Predicate |
static class |
Predicates.NotEqualPredicate
Not Equal Predicate |
static class |
Predicates.NotPredicate
Not Predicate |
static class |
Predicates.OrPredicate
Or Predicate |
static class |
Predicates.RegexPredicate
Regex Predicate |
Method Summary | |
---|---|
static Predicate |
and(Predicate... predicates)
|
static Predicate |
between(String attribute,
Comparable from,
Comparable to)
|
static Predicate |
equal(String attribute,
Comparable y)
|
static Predicate |
greaterEqual(String x,
Comparable y)
|
static Predicate |
greaterThan(String x,
Comparable y)
|
static Predicate |
ilike(String attribute,
String pattern)
|
static Predicate |
in(String attribute,
Comparable... values)
|
static Predicate |
instanceOf(Class klass)
|
static Predicate |
lessEqual(String x,
Comparable y)
|
static Predicate |
lessThan(String x,
Comparable y)
|
static Predicate |
like(String attribute,
String pattern)
|
static Predicate |
not(Predicate predicate)
|
static Predicate |
notEqual(String attribute,
Comparable y)
|
static Predicate |
or(Predicate... predicates)
Or predicate |
static Predicate |
regex(String attribute,
String pattern)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Predicate instanceOf(Class klass)
public static Predicate and(Predicate... predicates)
public static Predicate not(Predicate predicate)
public static Predicate or(Predicate... predicates)
predicates
-
public static Predicate notEqual(String attribute, Comparable y)
public static Predicate equal(String attribute, Comparable y)
public static Predicate like(String attribute, String pattern)
public static Predicate ilike(String attribute, String pattern)
public static Predicate regex(String attribute, String pattern)
public static Predicate greaterThan(String x, Comparable y)
public static Predicate greaterEqual(String x, Comparable y)
public static Predicate lessThan(String x, Comparable y)
public static Predicate lessEqual(String x, Comparable y)
public static Predicate between(String attribute, Comparable from, Comparable to)
public static Predicate in(String attribute, Comparable... values)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |