public class Expressions
extends java.lang.Object
expressions
.Constructor and Description |
---|
Expressions() |
Modifier and Type | Method and Description |
---|---|
static False |
alwaysFalse() |
static True |
alwaysTrue() |
static Expression |
and(Expression left,
Expression right) |
static <T> UnboundPredicate<T> |
equal(java.lang.String name,
T value) |
static <T> UnboundPredicate<T> |
greaterThan(java.lang.String name,
T value) |
static <T> UnboundPredicate<T> |
greaterThanOrEqual(java.lang.String name,
T value) |
static <T> UnboundPredicate<T> |
isNull(java.lang.String name) |
static <T> UnboundPredicate<T> |
lessThan(java.lang.String name,
T value) |
static <T> UnboundPredicate<T> |
lessThanOrEqual(java.lang.String name,
T value) |
static Expression |
not(Expression child) |
static <T> UnboundPredicate<T> |
notEqual(java.lang.String name,
T value) |
static <T> UnboundPredicate<T> |
notNull(java.lang.String name) |
static Expression |
or(Expression left,
Expression right) |
static <T> UnboundPredicate<T> |
predicate(Expression.Operation op,
java.lang.String name) |
static <T> UnboundPredicate<T> |
predicate(Expression.Operation op,
java.lang.String name,
Literal<T> lit) |
static <T> UnboundPredicate<T> |
predicate(Expression.Operation op,
java.lang.String name,
T value) |
static Expression |
rewriteNot(Expression expr) |
public static Expression and(Expression left, Expression right)
public static Expression or(Expression left, Expression right)
public static Expression not(Expression child)
public static <T> UnboundPredicate<T> isNull(java.lang.String name)
public static <T> UnboundPredicate<T> notNull(java.lang.String name)
public static <T> UnboundPredicate<T> lessThan(java.lang.String name, T value)
public static <T> UnboundPredicate<T> lessThanOrEqual(java.lang.String name, T value)
public static <T> UnboundPredicate<T> greaterThan(java.lang.String name, T value)
public static <T> UnboundPredicate<T> greaterThanOrEqual(java.lang.String name, T value)
public static <T> UnboundPredicate<T> equal(java.lang.String name, T value)
public static <T> UnboundPredicate<T> notEqual(java.lang.String name, T value)
public static <T> UnboundPredicate<T> predicate(Expression.Operation op, java.lang.String name, T value)
public static <T> UnboundPredicate<T> predicate(Expression.Operation op, java.lang.String name, Literal<T> lit)
public static <T> UnboundPredicate<T> predicate(Expression.Operation op, java.lang.String name)
public static True alwaysTrue()
public static False alwaysFalse()
public static Expression rewriteNot(Expression expr)