public class Expressions
extends java.lang.Object
expressions
.Modifier and Type | Method and Description |
---|---|
static False |
alwaysFalse() |
static True |
alwaysTrue() |
static Expression |
and(Expression left,
Expression right) |
static Expression |
and(Expression left,
Expression right,
Expression... expressions) |
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) |
static UnboundPredicate<java.lang.String> |
startsWith(java.lang.String name,
java.lang.String value) |
public static Expression and(Expression left, Expression right)
public static Expression and(Expression left, Expression right, Expression... expressions)
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 UnboundPredicate<java.lang.String> startsWith(java.lang.String name, java.lang.String 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)