com.hazelcast.query
Class Predicates

java.lang.Object
  extended by com.hazelcast.query.Predicates

public final class Predicates
extends Object


Nested Class Summary
static class Predicates.AbstractExpression
           
static class Predicates.AbstractPredicate
           
static class Predicates.AndOrPredicate
           
static class Predicates.BetweenPredicate
           
static class Predicates.EqualPredicate
           
static class Predicates.GetExpressionImpl<T>
           
static class Predicates.GreaterLessPredicate
           
static class Predicates.InPredicate
           
static class Predicates.LikePredicate
           
static class Predicates.NotEqualPredicate
           
static class Predicates.NotPredicate
           
static class Predicates.RegexPredicate
           
 
Constructor Summary
Predicates()
           
 
Method Summary
static Predicate and(Predicate x, Predicate y)
           
static
<T extends Comparable<T>>
Predicate
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
<T extends Comparable<T>>
Predicate
greaterEqual(Expression<? extends T> x, T y)
           
static
<T extends Comparable<T>>
Predicate
greaterThan(Expression<? extends T> x, T y)
           
static
<T extends Comparable<T>>
Predicate
in(Expression<? extends T> expression, T... values)
           
static Predicate instanceOf(Class klass)
           
static Predicate isNot(Expression<Boolean> x)
           
static
<T extends Comparable<T>>
Predicate
lessEqual(Expression<? extends T> x, T y)
           
static
<T extends Comparable<T>>
Predicate
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
 

Constructor Detail

Predicates

public Predicates()
Method Detail

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.