com.hazelcast.query
Class Predicates
java.lang.Object
com.hazelcast.query.Predicates
public final class Predicates
- extends Object
Method Summary |
static Predicate |
and(Predicate x,
Predicate y)
|
static
|
between(Expression<? extends T> expression,
T from,
T to)
|
static Predicate |
equal(Expression x,
Object y)
|
static com.hazelcast.query.Predicates.GetExpression |
get(String methodName)
|
static
|
greaterEqual(Expression<? extends T> x,
T y)
|
static
|
greaterThan(Expression<? extends T> x,
T y)
|
static
|
in(Expression<? extends T> expression,
T... values)
|
static Predicate |
instanceOf(Class klass)
|
static Predicate |
isNot(Expression<Boolean> x)
|
static
|
lessEqual(Expression<? extends T> x,
T y)
|
static
|
lessThan(Expression<? extends T> x,
T y)
|
static Predicate |
like(Expression<String> x,
String pattern)
|
static Predicate |
not(Predicate predicate)
|
static Predicate |
notEqual(Expression x,
Object y)
|
static Predicate |
or(Predicate x,
Predicate y)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Predicates
public Predicates()
instanceOf
public static Predicate instanceOf(Class klass)
and
public static Predicate and(Predicate x,
Predicate y)
not
public static Predicate not(Predicate predicate)
or
public static Predicate or(Predicate x,
Predicate y)
notEqual
public static Predicate notEqual(Expression x,
Object y)
equal
public static Predicate equal(Expression x,
Object y)
like
public static Predicate like(Expression<String> x,
String pattern)
greaterThan
public static <T extends Comparable<T>> Predicate greaterThan(Expression<? extends T> x,
T y)
greaterEqual
public static <T extends Comparable<T>> Predicate greaterEqual(Expression<? extends T> x,
T y)
lessThan
public static <T extends Comparable<T>> Predicate lessThan(Expression<? extends T> x,
T y)
lessEqual
public static <T extends Comparable<T>> Predicate lessEqual(Expression<? extends T> x,
T y)
between
public static <T extends Comparable<T>> Predicate between(Expression<? extends T> expression,
T from,
T to)
in
public static <T extends Comparable<T>> Predicate in(Expression<? extends T> expression,
T... values)
isNot
public static Predicate isNot(Expression<Boolean> x)
get
public static com.hazelcast.query.Predicates.GetExpression get(String methodName)
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.