Example usage for Java javax.persistence.criteria CriteriaBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
Predicate | and(Expression Create a conjunction of the given boolean expressions. |
Predicate | and(Predicate... restrictions) Create a conjunction of the given restriction predicates. |
Order | asc(Expression> x) Create an ordering by the ascending value of the expression. |
Expression | avg(Expression Create an aggregate expression applying the avg operation. |
Predicate | between(Expression extends Y> v, Expression extends Y> x, Expression extends Y> y) Create a predicate for testing whether the first argument is between the second and third arguments in value. |
Predicate | between(Expression extends Y> v, Y x, Y y) Create a predicate for testing whether the first argument is between the second and third arguments in value. |
Expression | coalesce(Expression extends Y> x, Expression extends Y> y) Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise. |
Expression | coalesce(Expression extends Y> x, Y y) Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise. |
Expression | concat(Expression Create an expression for string concatenation. |
Expression | concat(Expression Create an expression for string concatenation. |
Expression | concat(String x, Expression Create an expression for string concatenation. |
Predicate | conjunction() Create a conjunction (with zero conjuncts). |
CompoundSelection | construct(Class Create a selection item corresponding to a constructor. |
Expression | count(Expression> x) Create an aggregate expression applying the count operation. |
Expression | countDistinct(Expression> x) Create an aggregate expression applying the count distinct operation. |
CriteriaDelete | createCriteriaDelete(Class Create a CriteriaDelete query object to perform a bulk delete operation. |
CriteriaUpdate | createCriteriaUpdate(Class Create a CriteriaUpdate query object to perform a bulk update operation. |
CriteriaQuery | createQuery(Class Create a CriteriaQuery object with the specified result type. |
CriteriaQuery | createQuery() Create a CriteriaQuery object. |
CriteriaQuery | createTupleQuery() Create a CriteriaQuery object that returns a tuple of objects as its result. |
Expression | currentTimestamp() Create expression to return current timestamp. |
Order | desc(Expression> x) Create an ordering by the descending value of the expression. |
Predicate | disjunction() Create a disjunction (with zero disjuncts). |
Predicate | equal(Expression> x, Expression> y) Create a predicate for testing the arguments for equality. |
Predicate | equal(Expression> x, Object y) Create a predicate for testing the arguments for equality. |
Predicate | exists(Subquery> subquery) Create a predicate testing the existence of a subquery result. |
Expression | function(String name, Class Create an expression for the execution of a database function. |
Predicate | ge(Expression extends Number> x, Expression extends Number> y) Create a predicate for testing whether the first argument is greater than or equal to the second. |
Predicate | ge(Expression extends Number> x, Number y) Create a predicate for testing whether the first argument is greater than or equal to the second. |
Predicate | greaterThan(Expression extends Y> x, Expression extends Y> y) Create a predicate for testing whether the first argument is greater than the second. |
Predicate | greaterThan(Expression extends Y> x, Y y) Create a predicate for testing whether the first argument is greater than the second. |
Predicate | greaterThanOrEqualTo(Expression extends Y> x, Expression extends Y> y) Create a predicate for testing whether the first argument is greater than or equal to the second. |
Predicate | greaterThanOrEqualTo(Expression extends Y> x, Y y) Create a predicate for testing whether the first argument is greater than or equal to the second. |
Expression | greatest(Expression Create an aggregate expression for finding the greatest of the values (strings, dates, etc). |
Predicate | gt(Expression extends Number> x, Expression extends Number> y) Create a predicate for testing whether the first argument is greater than the second. |
Predicate | gt(Expression extends Number> x, Number y) Create a predicate for testing whether the first argument is greater than the second. |
In | in(Expression extends T> expression) Create predicate to test whether given expression is contained in a list of values. |
Predicate | isEmpty(Expression Create a predicate that tests whether a collection is empty. |
Predicate | isFalse(Expression Create a predicate testing for a false value. |
Predicate | isMember(Expression Create a predicate that tests whether an element is a member of a collection. |
Predicate | isMember(E elem, Expression Create a predicate that tests whether an element is a member of a collection. |
Predicate | isNotEmpty(Expression Create a predicate that tests whether a collection is not empty. |
Predicate | isNotNull(Expression> x) Create a predicate to test whether the expression is not null. |
Predicate | isNull(Expression> x) Create a predicate to test whether the expression is null. |
Predicate | isTrue(Expression Create a predicate testing for a true value. |
Predicate | le(Expression extends Number> x, Expression extends Number> y) Create a predicate for testing whether the first argument is less than or equal to the second. |
Predicate | le(Expression extends Number> x, Number y) Create a predicate for testing whether the first argument is less than or equal to the second. |
Expression | least(Expression Create an aggregate expression for finding the least of the values (strings, dates, etc). |
Predicate | lessThan(Expression extends Y> x, Expression extends Y> y) Create a predicate for testing whether the first argument is less than the second. |
Predicate | lessThan(Expression extends Y> x, Y y) Create a predicate for testing whether the first argument is less than the second. |
Predicate | lessThanOrEqualTo(Expression extends Y> x, Expression extends Y> y) Create a predicate for testing whether the first argument is less than or equal to the second. |
Predicate | lessThanOrEqualTo(Expression extends Y> x, Y y) Create a predicate for testing whether the first argument is less than or equal to the second. |
Predicate | like(Expression Create a predicate for testing whether the expression satisfies the given pattern. |
Predicate | like(Expression Create a predicate for testing whether the expression satisfies the given pattern. |
Predicate | like(Expression Create a predicate for testing whether the expression satisfies the given pattern. |
Predicate | like(Expression Create a predicate for testing whether the expression satisfies the given pattern. |
Predicate | like(Expression Create a predicate for testing whether the expression satisfies the given pattern. |
Predicate | like(Expression Create a predicate for testing whether the expression satisfies the given pattern. |
Expression | literal(T value) Create an expression for a literal. |
Expression | locate(Expression Create expression to locate the position of one string within another, returning position of first character if found. |
Expression | locate(Expression Create expression to locate the position of one string within another, returning position of first character if found. |
Expression | lower(Expression Create expression for converting a string to lowercase. |
Predicate | lt(Expression extends Number> x, Expression extends Number> y) Create a predicate for testing whether the first argument is less than the second. |
Predicate | lt(Expression extends Number> x, Number y) Create a predicate for testing whether the first argument is less than the second. |
Expression | max(Expression Create an aggregate expression applying the numerical max operation. |
Expression | min(Expression Create an aggregate expression applying the numerical min operation. |
Expression | mod(Expression Create an expression that returns the modulus of its arguments. |
Expression | mod(Expression Create an expression that returns the modulus of its arguments. |
Expression | mod(Integer x, Expression Create an expression that returns the modulus of its arguments. |
Predicate | not(Expression Create a negation of the given restriction. |
Predicate | notEqual(Expression> x, Expression> y) Create a predicate for testing the arguments for inequality. |
Predicate | notEqual(Expression> x, Object y) Create a predicate for testing the arguments for inequality. |
Predicate | notLike(Expression Create a predicate for testing whether the expression does not satisfy the given pattern. |
Predicate | notLike(Expression Create a predicate for testing whether the expression does not satisfy the given pattern. |
Predicate | or(Expression Create a disjunction of the given boolean expressions. |
Predicate | or(Predicate... restrictions) Create a disjunction of the given restriction predicates. |
ParameterExpression | parameter(Class Create a parameter expression. |
ParameterExpression | parameter(Class Create a parameter expression with the given name. |
Expression | prod(Expression extends N> x, Expression extends N> y) Create an expression that returns the product of its arguments. |
Expression | prod(Expression extends N> x, N y) Create an expression that returns the product of its arguments. |
Expression | prod(N x, Expression extends N> y) Create an expression that returns the product of its arguments. |
Expression | quot(Expression extends Number> x, Expression extends Number> y) Create an expression that returns the quotient of its arguments. |
Expression | quot(Expression extends Number> x, Number y) Create an expression that returns the quotient of its arguments. |
Expression | quot(Number x, Expression extends Number> y) Create an expression that returns the quotient of its arguments. |
Case | selectCase() Create a general case expression. |
Expression | size(Expression Create an expression that tests the size of a collection. |
Expression | size(C collection) Create an expression that tests the size of a collection. |
Expression | sum(Expression Create an aggregate expression applying the sum operation. |
Expression | sum(Expression extends N> x, Expression extends N> y) Create an expression that returns the sum of its arguments. |
Expression | sum(Expression extends N> x, N y) Create an expression that returns the sum of its arguments. |
Expression | sum(N x, Expression extends N> y) Create an expression that returns the sum of its arguments. |
Expression | sumAsLong(Expression Create an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result. |
Join | treat(Join Downcast Join object to the specified type. |
CollectionJoin | treat(CollectionJoin Downcast CollectionJoin object to the specified type. |
SetJoin | treat(SetJoin Downcast SetJoin object to the specified type. |
ListJoin | treat(ListJoin Downcast ListJoin object to the specified type. |
MapJoin | treat(MapJoin Downcast MapJoin object to the specified type. |
Path | treat(Path Downcast Path object to the specified type. |
Root | treat(Root Downcast Root object to the specified type. |
Expression | trim(Expression Create expression to trim blanks from both ends of a string. |
Expression | upper(Expression Create expression for converting a string to uppercase. |