Module org.eclipse.persistence.jpa
Class CriteriaBuilderImpl
java.lang.Object
org.eclipse.persistence.internal.jpa.querydef.CriteriaBuilderImpl
- All Implemented Interfaces:
- CriteriaBuilder,- Serializable,- JpaCriteriaBuilder
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionclassImplementation of Case interface from Criteria BuilderclassInterface used to build coalesce expressions.classImplementation of SimpleCase interface from CriteriaBuilderNested classes/interfaces inherited from interface jakarta.persistence.criteria.CriteriaBuilderCriteriaBuilder.Case<R>, CriteriaBuilder.Coalesce<T>, CriteriaBuilder.In<T>, CriteriaBuilder.SimpleCase<C,R>, CriteriaBuilder.Trimspec 
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<N extends Number>
 Expression<N> abs(Expression<N> x) Create an expression that returns the absolute value of its argument.<Y> Expression<Y> Create a predicate corresponding to an all expression over the subquery results.and(Expression<Boolean> x, Expression<Boolean> y) Create a conjunction of the given boolean expressions.Create a conjunction of the given restriction predicates.<Y> Expression<Y> Create a predicate corresponding to an any expression over the subquery results.Create an array-valued selection itemasc(Expression<?> x) Create an ordering by the ascending value of the expression.<N extends Number>
 Expression<Double> avg(Expression<N> x) Create an expression applying the avg operation.<Y extends Comparable<? super Y>>
 Predicatebetween(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.<Y extends Comparable<? super Y>>
 Predicatebetween(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.protected List<Expression<?>> buildList(Expression<?>... expressions) <N extends Number>
 Expression<N> ceiling(Expression<N> x) Create an expression that returns the ceiling of its argument, that is, the smallest integer greater than or equal to its argument.<T> CriteriaBuilder.Coalesce<T> coalesce()Create a coalesce expression.<Y> Expression<Y> 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.<Y> Expression<Y> 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.concat(Expression<String> x, Expression<String> y) String concatenation operation.concat(Expression<String> x, String y) String concatenation operation.concat(String x, Expression<String> y) String concatenation operation.Create a conjunction (with zero conjuncts).<Y> CompoundSelection<Y> Define a select list item corresponding to a constructor.count(Expression<?> x) Create an expression applying the count operation.countDistinct(Expression<?> x) Create an expression applying the count distinct operation.<T> CriteriaDelete<T> createCriteriaDelete(Class<T> targetEntity) <T> CriteriaUpdate<T> createCriteriaUpdate(Class<T> targetEntity) Create a Criteria query object.<T> CriteriaQuery<T> createQuery(Class<T> resultClass) Create a Criteria query object.Create a Criteria query object that returns a tuple of objects as its result.Create expression to return current date.Create expression to return current time.Create expression to return current timestamp.desc(Expression<?> x) Create an ordering by the descending value of the expression.<N extends Number>
 Expression<N> diff(Expression<? extends N> x, Expression<? extends N> y) Create an expression that returns the difference between its arguments.<N extends Number>
 Expression<N> diff(Expression<? extends N> x, N y) Create an expression that returns the difference between its arguments.<N extends Number>
 Expression<N> diff(N x, Expression<? extends N> y) Create an expression that returns the difference between its arguments.Create a disjunction (with zero disjuncts).equal(Expression<?> x, Expression<?> y) Create a predicate for testing the arguments for equality.equal(Expression<?> x, Object y) Create a predicate for testing the arguments for equality.Create a predicate testing the existence of a subquery result.exp(Expression<? extends Number> x) Create an expression that returns the exponential of its argument, that is, Euler's number e raised to the power of its argument.<N extends Number>
 Expression<N> floor(Expression<N> x) Create an expression that returns the floor of its argument, that is, the largest integer smaller than or equal to its argument.fromExpression(Expression expression) ADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object.<T> Expression<T> fromExpression(Expression expression, Class<T> type) ADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object.<T> Expression<T> function(String name, Class<T> type, Expression<?>... args) Create an expression for execution of a database function.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.ge(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is greater than or equal to the second.<Y extends Comparable<? super Y>>
 PredicategreaterThan(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is greater than the second.<Y extends Comparable<? super Y>>
 PredicategreaterThan(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is greater than the second.<Y extends Comparable<? super Y>>
 PredicategreaterThanOrEqualTo(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.<Y extends Comparable<? super Y>>
 PredicategreaterThanOrEqualTo(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is greater than or equal to the second.<X extends Comparable<? super X>>
 Expression<X> greatest(Expression<X> x) Create an aggregate expression for finding the greatest of the values (strings, dates, etc).gt(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is greater than the second.gt(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is greater than the second.<T> CriteriaBuilder.In<T> in(Expression<? extends T> expression) Create predicate to test whether given expression is contained in a list of values.protected <T> Expression<T> internalLiteral(T value) Create an expression literal but without null validation.<C extends Collection<?>>
 PredicateisEmpty(Expression<C> collection) Create a predicate that tests whether a collection is empty.isFalse(Expression<Boolean> x) Create a predicate testing for a false value.<E,C extends Collection<E>> 
 PredicateisMember(E elem, Expression<C> collection) Create a predicate that tests whether an element is a member of a collection.<E,C extends Collection<E>> 
 PredicateisMember(Expression<E> elem, Expression<C> collection) Create a predicate that tests whether an element is a member of a collection.<C extends Collection<?>>
 PredicateisNotEmpty(Expression<C> collection) Create a predicate that tests whether a collection is not empty.<E,C extends Collection<E>> 
 PredicateisNotMember(E elem, Expression<C> collection) Create a predicate that tests whether an element is not a member of a collection.<E,C extends Collection<E>> 
 PredicateisNotMember(Expression<E> elem, Expression<C> collection) Create a predicate that tests whether an element is not a member of a collection.isNotNull(Expression<?> x) Create a predicate to test whether the expression is not null.isNull(Expression<?> x) Create a predicate to test whether the expression is null.isTrue(Expression<Boolean> x) Create a predicate testing for a true value.<K,M extends Map<K, ?>> 
 Expression<Set<K>> keys(M map) Create an expression that returns the keys of a map.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.le(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is less than or equal to the second.<X extends Comparable<? super X>>
 Expression<X> least(Expression<X> x) Create an aggregate expression for finding the least of the values (strings, dates, etc).length(Expression<String> x) Create expression to return length of a string.<Y extends Comparable<? super Y>>
 PredicatelessThan(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is less than the second.<Y extends Comparable<? super Y>>
 PredicatelessThan(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is less than the second.<Y extends Comparable<? super Y>>
 PredicatelessThanOrEqualTo(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.<Y extends Comparable<? super Y>>
 PredicatelessThanOrEqualTo(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is less than or equal to the second.like(Expression<String> x, Expression<String> pattern) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> x, Expression<String> pattern, char escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> x, String pattern) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> x, String pattern, char escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> x, String pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.<T> Expression<T> literal(T value) Create an expression literal.ln(Expression<? extends Number> x) Create an expression that returns the natural logarithm of its argument.Create expression to return local date.Create expression to return local datetime.Create expression to return local time.locate(Expression<String> x, Expression<String> pattern) Create expression to locate the position of one string within another, returning position of first character if found.locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from) Create expression to locate the position of one string within another, returning position of first character if found.locate(Expression<String> x, String pattern) Create expression to locate the position of one string within another, returning position of first character if found.locate(Expression<String> x, String pattern, int from) Create expression to locate the position of one string within another, returning position of first character if found.lower(Expression<String> x) Create expression for converting a string to lowercase.lt(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is less than the second.lt(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is less than the second.<N extends Number>
 Expression<N> max(Expression<N> x) Create an expression applying the numerical max operation.<N extends Number>
 Expression<N> min(Expression<N> x) Create an expression applying the numerical min operation.mod(Expression<Integer> x, Expression<Integer> y) Create an expression that returns the modulus of its arguments.mod(Expression<Integer> x, Integer y) Create an expression that returns the modulus of its arguments.mod(Integer x, Expression<Integer> y) Create an expression that returns the modulus of its arguments.<N extends Number>
 Expression<N> neg(Expression<N> x) Create an expression that returns the arithmetic negation of its argument.not(Expression<Boolean> restriction) Create a negation of the given restriction.notEqual(Expression<?> x, Expression<?> y) Create a predicate for testing the arguments for inequality.notEqual(Expression<?> x, Object y) Create a predicate for testing the arguments for inequality.notLike(Expression<String> x, Expression<String> pattern) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, Expression<String> pattern, char escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, String pattern) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, String pattern, char escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, String pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.<Y> Expression<Y> nullif(Expression<Y> x, Expression<?> y) Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.<Y> Expression<Y> nullif(Expression<Y> x, Y y) Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.<T> Expression<T> nullLiteral(Class<T> resultClass) Create an expression for a null literal with the given type.or(Expression<Boolean> x, Expression<Boolean> y) Create a disjunction of the given boolean expressions.Create a disjunction of the given restriction predicates.<T> ParameterExpression<T> Create a parameter.<T> ParameterExpression<T> Create a parameter expression with the given name.power(Expression<? extends Number> x, Expression<? extends Number> y) Create an expression that returns the first argument raised to the power of its second argument.power(Expression<? extends Number> x, Number y) Create an expression that returns the first argument raised to the power of its second argument.<N extends Number>
 Expression<N> prod(Expression<? extends N> x, Expression<? extends N> y) Create an expression that returns the product of its arguments.<N extends Number>
 Expression<N> prod(Expression<? extends N> x, N y) Create an expression that returns the product of its arguments.<N extends Number>
 Expression<N> prod(N x, Expression<? extends N> y) Create an expression that returns the product of its arguments.quot(Expression<? extends Number> x, Expression<? extends Number> y) Create an expression that returns the quotient of its arguments.quot(Expression<? extends Number> x, Number y) Create an expression that returns the quotient of its arguments.quot(Number x, Expression<? extends Number> y) Create an expression that returns the quotient of its arguments.<T extends Number>
 Expression<T> round(Expression<T> x, Integer n) Create an expression that returns the first argument rounded to the number of decimal places given by the second argument.<R> CriteriaBuilder.Case<R> Create a general case expression.<C,R> CriteriaBuilder.SimpleCase <C, R> selectCase(Expression<? extends C> expression) Create simple case expression.sign(Expression<? extends Number> x) Create an expression that returns the sign of its argument, that is,1if its argument is positive,-1if its argument is negative, or0if its argument is exactly zero.<C extends Collection<?>>
 Expression<Integer> size(C collection) Create an expression that tests the size of a collection.<C extends Collection<?>>
 Expression<Integer> size(Expression<C> collection) Create an expression that tests the size of a collection.<Y> Expression<Y> Create a predicate corresponding to a some expression over the subquery results.sqrt(Expression<? extends Number> x) Create an expression that returns the square root of its argument.substring(Expression<String> x, int from) Substring extraction operation.substring(Expression<String> x, int from, int len) Substring extraction operation.substring(Expression<String> x, Expression<Integer> from) Substring extraction operation.substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len) Substring extraction operation.<N extends Number>
 Expression<N> sum(Expression<? extends N> x, Expression<? extends N> y) Create an expression that returns the sum of its arguments.<N extends Number>
 Expression<N> sum(Expression<? extends N> x, N y) Create an expression that returns the sum of its arguments.<N extends Number>
 Expression<N> sum(Expression<N> x) Create an expression applying the sum operation.<N extends Number>
 Expression<N> sum(N x, Expression<? extends N> y) Create an expression that returns the sum of its arguments.Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result.Create an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result.toBigDecimal(Expression<? extends Number> number) Typecast.toBigInteger(Expression<? extends Number> number) Typecast.toDouble(Expression<? extends Number> number) Typecast.toExpression(Expression expression) ADVANCED: Allow a Criteria Expression to be converted to a EclipseLink native API Expression object.toFloat(Expression<? extends Number> number) Typecast.toInteger(Expression<? extends Number> number) Typecast.toLong(Expression<? extends Number> number) Typecast.toString(Expression<Character> character) Typecast.<X,T, E extends T> 
 CollectionJoin<X, E> treat(CollectionJoin<X, T> join, Class<E> type) <X,T, V extends T> 
 Join<X, V> <X,T, E extends T> 
 ListJoin<X, E> <X,K, T, V extends T> 
 MapJoin<X, K, V> <X,T extends X> 
 Path<T> <X,T extends X> 
 Root<T> <X,T, E extends T> 
 SetJoin<X, E> trim(char t, Expression<String> x) Create expression to trim character from both ends of a string.trim(CriteriaBuilder.Trimspec ts, char t, Expression<String> x) Create expression to trim character from a string.trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x) Create expression to trim character from a string.trim(CriteriaBuilder.Trimspec ts, Expression<String> x) Create expression to trim blanks from a string.trim(Expression<Character> t, Expression<String> x) Create expression to trim character from both ends of a string.trim(Expression<String> x) Create expression to trim blanks from both ends of a string.upper(Expression<String> x) Create expression for converting a string to uppercase.<V,M extends Map<?, V>> 
 Expression<Collection<V>> values(M map) Create an expression that returns the values of a map.
- 
Field Details- 
CONCAT- See Also:
 
- 
SIZE- See Also:
 
- 
metamodel
 
- 
- 
Constructor Details- 
CriteriaBuilderImpl
 
- 
- 
Method Details- 
createQueryCreate a Criteria query object.- Specified by:
- createQueryin interface- CriteriaBuilder
- Returns:
- query object
 
- 
createQueryCreate a Criteria query object.- Specified by:
- createQueryin interface- CriteriaBuilder
- Returns:
- query object
 
- 
createTupleQueryCreate a Criteria query object that returns a tuple of objects as its result.- Specified by:
- createTupleQueryin interface- CriteriaBuilder
- Returns:
- query object
 
- 
constructDefine a select list item corresponding to a constructor.- Specified by:
- constructin interface- CriteriaBuilder
- Parameters:
- result- class whose instance is to be constructed
- selections- arguments to the constructor
- Returns:
- selection item
 
- 
tuple- Specified by:
- tuplein interface- CriteriaBuilder
 
- 
arrayCreate an array-valued selection item- Specified by:
- arrayin interface- CriteriaBuilder
- Parameters:
- selections- selection items
- Returns:
- array-valued compound selection
- Throws:
- IllegalArgumentException- if an argument is a tuple- or array-valued selection item
 
- 
ascCreate an ordering by the ascending value of the expression.- Specified by:
- ascin interface- CriteriaBuilder
- Parameters:
- x- expression used to define the ordering
- Returns:
- ascending ordering corresponding to the expression
 
- 
descCreate an ordering by the descending value of the expression.- Specified by:
- descin interface- CriteriaBuilder
- Parameters:
- x- expression used to define the ordering
- Returns:
- descending ordering corresponding to the expression
 
- 
avgCreate an expression applying the avg operation.- Specified by:
- avgin interface- CriteriaBuilder
- Parameters:
- x- expression representing input value to avg operation
- Returns:
- avg expression
 
- 
sumCreate an expression applying the sum operation.- Specified by:
- sumin interface- CriteriaBuilder
- Parameters:
- x- expression representing input value to sum operation
- Returns:
- sum expression
 
- 
maxCreate an expression applying the numerical max operation.- Specified by:
- maxin interface- CriteriaBuilder
- Parameters:
- x- expression representing input value to max operation
- Returns:
- max expression
 
- 
minCreate an expression applying the numerical min operation.- Specified by:
- minin interface- CriteriaBuilder
- Parameters:
- x- expression representing input value to min operation
- Returns:
- min expression
 
- 
greatestCreate an aggregate expression for finding the greatest of the values (strings, dates, etc).- Specified by:
- greatestin interface- CriteriaBuilder
- Parameters:
- x- expression representing input value to greatest operation
- Returns:
- greatest expression
 
- 
leastCreate an aggregate expression for finding the least of the values (strings, dates, etc).- Specified by:
- leastin interface- CriteriaBuilder
- Parameters:
- x- expression representing input value to least operation
- Returns:
- least expression
 
- 
countCreate an expression applying the count operation.- Specified by:
- countin interface- CriteriaBuilder
- Parameters:
- x- expression representing input value to count operation
- Returns:
- count expression
 
- 
countDistinctCreate an expression applying the count distinct operation.- Specified by:
- countDistinctin interface- CriteriaBuilder
- Parameters:
- x- expression representing input value to count distinct operation
- Returns:
- count distinct expression
 
- 
existsCreate a predicate testing the existence of a subquery result.- Specified by:
- existsin interface- CriteriaBuilder
- Parameters:
- subquery- subquery whose result is to be tested
- Returns:
- exists predicate
 
- 
allCreate a predicate corresponding to an all expression over the subquery results.- Specified by:
- allin interface- CriteriaBuilder
- Returns:
- all expression
 
- 
someCreate a predicate corresponding to a some expression over the subquery results. This is equivalent to an any expression.- Specified by:
- somein interface- CriteriaBuilder
- Returns:
- all expression
 
- 
anyCreate a predicate corresponding to an any expression over the subquery results. This is equivalent to a some expression.- Specified by:
- anyin interface- CriteriaBuilder
- Returns:
- any expression
 
- 
andCreate a conjunction of the given boolean expressions.- Specified by:
- andin interface- CriteriaBuilder
- Parameters:
- x- boolean expression
- y- boolean expression
- Returns:
- and predicate
 
- 
orCreate a disjunction of the given boolean expressions.- Specified by:
- orin interface- CriteriaBuilder
- Parameters:
- x- boolean expression
- y- boolean expression
- Returns:
- or predicate
 
- 
andCreate a conjunction of the given restriction predicates. A conjunction of zero predicates is true.- Specified by:
- andin interface- CriteriaBuilder
- Parameters:
- restrictions- zero or more restriction predicates
- Returns:
- and predicate
 
- 
orCreate a disjunction of the given restriction predicates. A disjunction of zero predicates is false.- Specified by:
- orin interface- CriteriaBuilder
- Parameters:
- restrictions- zero or more restriction predicates
- Returns:
- and predicate
 
- 
notCreate a negation of the given restriction.- Specified by:
- notin interface- CriteriaBuilder
- Parameters:
- restriction- restriction expression
- Returns:
- not predicate
 
- 
conjunctionCreate a conjunction (with zero conjuncts). A conjunction with zero conjuncts is true.- Specified by:
- conjunctionin interface- CriteriaBuilder
- Returns:
- and predicate
 
- 
disjunctionCreate a disjunction (with zero disjuncts). A disjunction with zero disjuncts is false.- Specified by:
- disjunctionin interface- CriteriaBuilder
- Returns:
- or predicate
 
- 
isTrueCreate a predicate testing for a true value.- Specified by:
- isTruein interface- CriteriaBuilder
- Parameters:
- x- expression to be tested if true
- Returns:
- predicate
 
- 
isFalseCreate a predicate testing for a false value.- Specified by:
- isFalsein interface- CriteriaBuilder
- Parameters:
- x- expression to be tested if false
- Returns:
- predicate
 
- 
isNullCreate a predicate to test whether the expression is null.- Specified by:
- isNullin interface- CriteriaBuilder
- Parameters:
- x- expression
- Returns:
- predicate
 
- 
isNotNullCreate a predicate to test whether the expression is not null.- Specified by:
- isNotNullin interface- CriteriaBuilder
- Parameters:
- x- expression
- Returns:
- predicate
 
- 
equalCreate a predicate for testing the arguments for equality.- Specified by:
- equalin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- equality predicate
 
- 
notEqualCreate a predicate for testing the arguments for inequality.- Specified by:
- notEqualin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- inequality predicate
 
- 
equalCreate a predicate for testing the arguments for equality.- Specified by:
- equalin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- object
- Returns:
- equality predicate
 
- 
notEqualCreate a predicate for testing the arguments for inequality.- Specified by:
- notEqualin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- object
- Returns:
- inequality predicate
 
- 
greaterThanpublic <Y extends Comparable<? super Y>> Predicate greaterThan(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is greater than the second.- Specified by:
- greaterThanin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- greater-than predicate
 
- 
lessThanpublic <Y extends Comparable<? super Y>> Predicate lessThan(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is less than the second.- Specified by:
- lessThanin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- less-than predicate
 
- 
greaterThanOrEqualTopublic <Y extends Comparable<? super Y>> 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.- Specified by:
- greaterThanOrEqualToin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- greater-than-or-equal predicate
 
- 
lessThanOrEqualTopublic <Y extends Comparable<? super Y>> 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.- Specified by:
- lessThanOrEqualToin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- less-than-or-equal predicate
 
- 
betweenpublic <Y extends Comparable<? super Y>> 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.- Specified by:
- betweenin interface- CriteriaBuilder
- Parameters:
- v- expression
- x- expression
- y- expression
- Returns:
- between predicate
 
- 
greaterThanCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
- greaterThanin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- greater-than predicate
 
- 
lessThanCreate a predicate for testing whether the first argument is less than the second.- Specified by:
- lessThanin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- less-than predicate
 
- 
greaterThanOrEqualTopublic <Y extends Comparable<? super Y>> 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.- Specified by:
- greaterThanOrEqualToin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- greater-than-or-equal predicate
 
- 
lessThanOrEqualTopublic <Y extends Comparable<? super Y>> 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.- Specified by:
- lessThanOrEqualToin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- less-than-or-equal predicate
 
- 
betweenCreate a predicate for testing whether the first argument is between the second and third arguments in value.- Specified by:
- betweenin interface- CriteriaBuilder
- Parameters:
- v- expression
- x- value
- y- value
- Returns:
- between predicate
 
- 
buildList
- 
gtCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
- gtin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- greater-than predicate
 
- 
ltCreate a predicate for testing whether the first argument is less than the second.- Specified by:
- ltin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- less-than predicate
 
- 
geCreate a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
- gein interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- greater-than-or-equal predicate
 
- 
leCreate a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
- lein interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- less-than-or-equal predicate
 
- 
gtCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
- gtin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- greater-than predicate
 
- 
ltCreate a predicate for testing whether the first argument is less than the second.- Specified by:
- ltin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- less-than predicate
 
- 
geCreate a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
- gein interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- greater-than-or-equal predicate
 
- 
leCreate a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
- lein interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- less-than-or-equal predicate
 
- 
negCreate an expression that returns the arithmetic negation of its argument.- Specified by:
- negin interface- CriteriaBuilder
- Parameters:
- x- expression
- Returns:
- negated expression
 
- 
absCreate an expression that returns the absolute value of its argument.- Specified by:
- absin interface- CriteriaBuilder
- Parameters:
- x- expression
- Returns:
- absolute value
 
- 
sumCreate an expression that returns the sum of its arguments.- Specified by:
- sumin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- sum
 
- 
sumAsLongCreate an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result.- Specified by:
- sumAsLongin interface- CriteriaBuilder
- Parameters:
- x- expression representing input value to sum operation
- Returns:
- sum expression
 
- 
sumAsDoubleCreate an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result.- Specified by:
- sumAsDoublein interface- CriteriaBuilder
- Parameters:
- x- expression representing input value to sum operation
- Returns:
- sum expression
 
- 
prodCreate an expression that returns the product of its arguments.- Specified by:
- prodin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- product
 
- 
diffCreate an expression that returns the difference between its arguments.- Specified by:
- diffin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- difference
 
- 
sumCreate an expression that returns the sum of its arguments.- Specified by:
- sumin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- sum
 
- 
prodCreate an expression that returns the product of its arguments.- Specified by:
- prodin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- product
 
- 
diffCreate an expression that returns the difference between its arguments.- Specified by:
- diffin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- difference
 
- 
sumCreate an expression that returns the sum of its arguments.- Specified by:
- sumin interface- CriteriaBuilder
- Parameters:
- x- value
- y- expression
- Returns:
- sum
 
- 
prodCreate an expression that returns the product of its arguments.- Specified by:
- prodin interface- CriteriaBuilder
- Parameters:
- x- value
- y- expression
- Returns:
- product
 
- 
diffCreate an expression that returns the difference between its arguments.- Specified by:
- diffin interface- CriteriaBuilder
- Parameters:
- x- value
- y- expression
- Returns:
- difference
 
- 
quotCreate an expression that returns the quotient of its arguments.- Specified by:
- quotin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- quotient
 
- 
quotCreate an expression that returns the quotient of its arguments.- Specified by:
- quotin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- quotient
 
- 
quotCreate an expression that returns the quotient of its arguments.- Specified by:
- quotin interface- CriteriaBuilder
- Parameters:
- x- value
- y- expression
- Returns:
- quotient
 
- 
modCreate an expression that returns the modulus of its arguments.- Specified by:
- modin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- modulus
 
- 
modCreate an expression that returns the modulus of its arguments.- Specified by:
- modin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- modulus
 
- 
modCreate an expression that returns the modulus of its arguments.- Specified by:
- modin interface- CriteriaBuilder
- Parameters:
- x- value
- y- expression
- Returns:
- modulus
 
- 
sqrtCreate an expression that returns the square root of its argument.- Specified by:
- sqrtin interface- CriteriaBuilder
- Parameters:
- x- expression
- Returns:
- modulus
 
- 
signCreate an expression that returns the sign of its argument, that is,1if its argument is positive,-1if its argument is negative, or0if its argument is exactly zero.- Specified by:
- signin interface- CriteriaBuilder
- Parameters:
- x- expression
- Returns:
- sign
 
- 
ceilingCreate an expression that returns the ceiling of its argument, that is, the smallest integer greater than or equal to its argument.- Specified by:
- ceilingin interface- CriteriaBuilder
- Parameters:
- x- expression
- Returns:
- ceiling
 
- 
floorCreate an expression that returns the floor of its argument, that is, the largest integer smaller than or equal to its argument.- Specified by:
- floorin interface- CriteriaBuilder
- Parameters:
- x- expression
- Returns:
- floor
 
- 
expCreate an expression that returns the exponential of its argument, that is, Euler's number e raised to the power of its argument.- Specified by:
- expin interface- CriteriaBuilder
- Parameters:
- x- expression
- Returns:
- exponential
 
- 
lnCreate an expression that returns the natural logarithm of its argument.- Specified by:
- lnin interface- CriteriaBuilder
- Parameters:
- x- expression
- Returns:
- natural logarithm
 
- 
powerCreate an expression that returns the first argument raised to the power of its second argument.- Specified by:
- powerin interface- CriteriaBuilder
- Parameters:
- x- base
- y- exponent
- Returns:
- the base raised to the power of the exponent
 
- 
powerCreate an expression that returns the first argument raised to the power of its second argument.- Specified by:
- powerin interface- CriteriaBuilder
- Parameters:
- x- base
- y- exponent
- Returns:
- the base raised to the power of the exponent
 
- 
roundCreate an expression that returns the first argument rounded to the number of decimal places given by the second argument.- Specified by:
- roundin interface- CriteriaBuilder
- Parameters:
- x- base
- n- number of decimal places
- Returns:
- the rounded value
 
- 
toLongTypecast.- Specified by:
- toLongin interface- CriteriaBuilder
- Parameters:
- number- numeric expression
- Returns:
- Expression<Long>
 
- 
toIntegerTypecast.- Specified by:
- toIntegerin interface- CriteriaBuilder
- Parameters:
- number- numeric expression
- Returns:
- Expression<Integer>
 
- 
toFloatTypecast.- Specified by:
- toFloatin interface- CriteriaBuilder
- Parameters:
- number- numeric expression
- Returns:
- Expression<Float>
 
- 
toDoubleTypecast.- Specified by:
- toDoublein interface- CriteriaBuilder
- Parameters:
- number- numeric expression
- Returns:
- Expression<Double>
 
- 
toBigDecimalTypecast.- Specified by:
- toBigDecimalin interface- CriteriaBuilder
- Parameters:
- number- numeric expression
- Returns:
- Expression<BigDecimal>
 
- 
toBigIntegerTypecast.- Specified by:
- toBigIntegerin interface- CriteriaBuilder
- Parameters:
- number- numeric expression
- Returns:
- Expression<BigInteger>
 
- 
toStringTypecast.- Specified by:
- toStringin interface- CriteriaBuilder
- Parameters:
- character- expression
- Returns:
- Expression<String>
 
- 
literalCreate an expression literal.- Specified by:
- literalin interface- CriteriaBuilder
- Returns:
- expression literal
 
- 
nullLiteralCreate an expression for a null literal with the given type.- Specified by:
- nullLiteralin interface- CriteriaBuilder
- Parameters:
- resultClass- type of the null literal
- Returns:
- null expression literal
 
- 
internalLiteralCreate an expression literal but without null validation.- Returns:
- expression literal
 
- 
parameterCreate a parameter. Create a parameter expression.- Specified by:
- parameterin interface- CriteriaBuilder
- Parameters:
- paramClass- parameter class
- Returns:
- parameter expression
 
- 
parameterCreate a parameter expression with the given name.- Specified by:
- parameterin interface- CriteriaBuilder
- Parameters:
- paramClass- parameter class
- Returns:
- parameter
 
- 
isEmptyCreate a predicate that tests whether a collection is empty.- Specified by:
- isEmptyin interface- CriteriaBuilder
- Parameters:
- collection- expression
- Returns:
- predicate
 
- 
isNotEmptyCreate a predicate that tests whether a collection is not empty.- Specified by:
- isNotEmptyin interface- CriteriaBuilder
- Parameters:
- collection- expression
- Returns:
- predicate
 
- 
sizeCreate an expression that tests the size of a collection.- Specified by:
- sizein interface- CriteriaBuilder
- Returns:
- size expression
 
- 
sizeCreate an expression that tests the size of a collection.- Specified by:
- sizein interface- CriteriaBuilder
- Parameters:
- collection- expression
- Returns:
- size expression
 
- 
isMemberCreate a predicate that tests whether an element is a member of a collection.- Specified by:
- isMemberin interface- CriteriaBuilder
- Parameters:
- elem- element
- collection- expression
- Returns:
- predicate
 
- 
isNotMemberCreate a predicate that tests whether an element is not a member of a collection.- Specified by:
- isNotMemberin interface- CriteriaBuilder
- Parameters:
- elem- element
- collection- expression
- Returns:
- predicate
 
- 
isMemberpublic <E,C extends Collection<E>> Predicate isMember(Expression<E> elem, Expression<C> collection) Create a predicate that tests whether an element is a member of a collection.- Specified by:
- isMemberin interface- CriteriaBuilder
- Parameters:
- elem- element expression
- collection- expression
- Returns:
- predicate
 
- 
isNotMemberpublic <E,C extends Collection<E>> Predicate isNotMember(Expression<E> elem, Expression<C> collection) Create a predicate that tests whether an element is not a member of a collection.- Specified by:
- isNotMemberin interface- CriteriaBuilder
- Parameters:
- elem- element expression
- collection- expression
- Returns:
- predicate
 
- 
valuesCreate an expression that returns the values of a map.- Specified by:
- valuesin interface- CriteriaBuilder
- Returns:
- collection expression
 
- 
keysCreate an expression that returns the keys of a map.- Specified by:
- keysin interface- CriteriaBuilder
- Returns:
- set expression
 
- 
likeCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
- likein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string expression
- Returns:
- like predicate
 
- 
likepublic Predicate like(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.- Specified by:
- likein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string expression
- escapeChar- escape character expression
- Returns:
- like predicate
 
- 
likeCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
- likein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string expression
- escapeChar- escape character
- Returns:
- like predicate
 
- 
likeCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
- likein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string
- Returns:
- like predicate
 
- 
likeCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
- likein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string
- escapeChar- escape character expression
- Returns:
- like predicate
 
- 
likeCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
- likein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string
- escapeChar- escape character
- Returns:
- like predicate
 
- 
notLikeCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
- notLikein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string expression
- Returns:
- like predicate
 
- 
notLikepublic Predicate notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
- notLikein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string expression
- escapeChar- escape character expression
- Returns:
- like predicate
 
- 
notLikeCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
- notLikein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string expression
- escapeChar- escape character
- Returns:
- like predicate
 
- 
notLikeCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
- notLikein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string
- Returns:
- like predicate
 
- 
notLikeCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
- notLikein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string
- escapeChar- escape character expression
- Returns:
- like predicate
 
- 
notLikeCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
- notLikein interface- CriteriaBuilder
- Parameters:
- x- string expression
- pattern- string
- escapeChar- escape character
- Returns:
- like predicate
 
- 
concatString concatenation operation.- Specified by:
- concatin interface- CriteriaBuilder
- Parameters:
- x- string expression
- y- string expression
- Returns:
- expression corresponding to concatenation
 
- 
concatString concatenation operation.- Specified by:
- concatin interface- CriteriaBuilder
- Parameters:
- x- string expression
- y- string
- Returns:
- expression corresponding to concatenation
 
- 
concatString concatenation operation.- Specified by:
- concatin interface- CriteriaBuilder
- Parameters:
- x- string
- y- string expression
- Returns:
- expression corresponding to concatenation
 
- 
substringSubstring extraction operation. Extracts a substring starting at specified position through to end of the string. First position is 1.- Specified by:
- substringin interface- CriteriaBuilder
- Parameters:
- x- string expression
- from- start position expression
- Returns:
- expression corresponding to substring extraction
 
- 
substringSubstring extraction operation. Extracts a substring starting at specified position through to end of the string. First position is 1.- Specified by:
- substringin interface- CriteriaBuilder
- Parameters:
- x- string expression
- from- start position
- Returns:
- expression corresponding to substring extraction
 
- 
substringpublic Expression<String> substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len) Substring extraction operation. Extracts a substring of given length starting at specified position. First position is 1.- Specified by:
- substringin interface- CriteriaBuilder
- Parameters:
- x- string expression
- from- start position expression
- len- length expression
- Returns:
- expression corresponding to substring extraction
 
- 
substringSubstring extraction operation. Extracts a substring of given length starting at specified position. First position is 1.- Specified by:
- substringin interface- CriteriaBuilder
- Parameters:
- x- string expression
- from- start position
- len- length
- Returns:
- expression corresponding to substring extraction
 
- 
trimCreate expression to trim blanks from both ends of a string.- Specified by:
- trimin interface- CriteriaBuilder
- Parameters:
- x- expression for string to trim
- Returns:
- trim expression
 
- 
trimCreate expression to trim blanks from a string.- Specified by:
- trimin interface- CriteriaBuilder
- Parameters:
- ts- trim specification
- x- expression for string to trim
- Returns:
- trim expression
 
- 
trimCreate expression to trim character from both ends of a string.- Specified by:
- trimin interface- CriteriaBuilder
- Parameters:
- t- expression for character to be trimmed
- x- expression for string to trim
- Returns:
- trim expression
 
- 
trimpublic Expression<String> trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x) Create expression to trim character from a string.- Specified by:
- trimin interface- CriteriaBuilder
- Parameters:
- ts- trim specification
- t- expression for character to be trimmed
- x- expression for string to trim
- Returns:
- trim expression
 
- 
trimCreate expression to trim character from both ends of a string.- Specified by:
- trimin interface- CriteriaBuilder
- Parameters:
- t- character to be trimmed
- x- expression for string to trim
- Returns:
- trim expression
 
- 
trimCreate expression to trim character from a string.- Specified by:
- trimin interface- CriteriaBuilder
- Parameters:
- ts- trim specification
- t- character to be trimmed
- x- expression for string to trim
- Returns:
- trim expression
 
- 
lowerCreate expression for converting a string to lowercase.- Specified by:
- lowerin interface- CriteriaBuilder
- Parameters:
- x- string expression
- Returns:
- expression to convert to lowercase
 
- 
upperCreate expression for converting a string to uppercase.- Specified by:
- upperin interface- CriteriaBuilder
- Parameters:
- x- string expression
- Returns:
- expression to convert to uppercase
 
- 
lengthCreate expression to return length of a string.- Specified by:
- lengthin interface- CriteriaBuilder
- Parameters:
- x- string expression
- Returns:
- length expression
 
- 
locateCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.- Specified by:
- locatein interface- CriteriaBuilder
- Parameters:
- x- expression for string to be searched
- pattern- expression for string to be located
- Returns:
- expression corresponding to position
 
- 
locatepublic Expression<Integer> locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from) Create expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.- Specified by:
- locatein interface- CriteriaBuilder
- Parameters:
- x- expression for string to be searched
- pattern- expression for string to be located
- from- expression for position at which to start search
- Returns:
- expression corresponding to position
 
- 
locateCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.- Specified by:
- locatein interface- CriteriaBuilder
- Parameters:
- x- expression for string to be searched
- pattern- string to be located
- Returns:
- expression corresponding to position
 
- 
locateCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.- Specified by:
- locatein interface- CriteriaBuilder
- Parameters:
- x- expression for string to be searched
- pattern- string to be located
- from- position at which to start search
- Returns:
- expression corresponding to position
 
- 
currentDateCreate expression to return current date.- Specified by:
- currentDatein interface- CriteriaBuilder
- Returns:
- expression for current date
 
- 
currentTimestampCreate expression to return current timestamp.- Specified by:
- currentTimestampin interface- CriteriaBuilder
- Returns:
- expression for current timestamp
 
- 
currentTimeCreate expression to return current time.- Specified by:
- currentTimein interface- CriteriaBuilder
- Returns:
- expression for current time
 
- 
localDateTimeCreate expression to return local datetime.- Specified by:
- localDateTimein interface- CriteriaBuilder
- Returns:
- expression for local timestamp
 
- 
localDateCreate expression to return local date.- Specified by:
- localDatein interface- CriteriaBuilder
- Returns:
- expression for local date
 
- 
localTimeCreate expression to return local time.- Specified by:
- localTimein interface- CriteriaBuilder
- Returns:
- expression for local time
 
- 
inCreate predicate to test whether given expression is contained in a list of values.- Specified by:
- inin interface- CriteriaBuilder
- Parameters:
- expression- to be tested against list of values
- Returns:
- in predicate
 
- 
coalesceCreate an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.- Specified by:
- coalescein interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- expression corresponding to the given coalesce expression
 
- 
coalesceCreate an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.- Specified by:
- coalescein interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- coalesce expression
 
- 
nullifCreate an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.- Specified by:
- nullifin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- expression
- Returns:
- expression corresponding to the given nullif expression
 
- 
nullifCreate an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.- Specified by:
- nullifin interface- CriteriaBuilder
- Parameters:
- x- expression
- y- value
- Returns:
- expression corresponding to the given nullif expression
 
- 
coalesceCreate a coalesce expression.- Specified by:
- coalescein interface- CriteriaBuilder
- Returns:
- coalesce expression
 
- 
selectCaseCreate simple case expression.- Specified by:
- selectCasein interface- CriteriaBuilder
- Parameters:
- expression- to be tested against the case conditions
- Returns:
- simple case expression
 
- 
selectCaseCreate a general case expression.- Specified by:
- selectCasein interface- CriteriaBuilder
- Returns:
- general case expression
 
- 
functionCreate an expression for execution of a database function.- Specified by:
- functionin interface- CriteriaBuilder
- Parameters:
- name- function name
- type- expected result type
- args- function arguments
- Returns:
- expression
 
- 
fromExpressionADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object. This allows for an extended functionality supported in EclipseLink Expressions to be used in Criteria.- Specified by:
- fromExpressionin interface- JpaCriteriaBuilder
 
- 
fromExpressionADVANCED: Allow a Criteria Expression to be built from a EclipseLink native API Expression object. This allows for an extended functionality supported in EclipseLink Expressions to be used in Criteria.- Specified by:
- fromExpressionin interface- JpaCriteriaBuilder
 
- 
toExpressionADVANCED: Allow a Criteria Expression to be converted to a EclipseLink native API Expression object. This allows for roots and paths defined in the Criteria to be used with EclipseLink native API Expresions.- Specified by:
- toExpressionin interface- JpaCriteriaBuilder
 
- 
createCriteriaDelete- Specified by:
- createCriteriaDeletein interface- CriteriaBuilder
 
- 
createCriteriaUpdate- Specified by:
- createCriteriaUpdatein interface- CriteriaBuilder
 
- 
treat- Specified by:
- treatin interface- CriteriaBuilder
 
- 
treat- Specified by:
- treatin interface- CriteriaBuilder
 
- 
treat- Specified by:
- treatin interface- CriteriaBuilder
 
- 
treat- Specified by:
- treatin interface- CriteriaBuilder
 
- 
treat- Specified by:
- treatin interface- CriteriaBuilder
 
- 
treat- Specified by:
- treatin interface- CriteriaBuilder
 
- 
treat- Specified by:
- treatin interface- CriteriaBuilder
 
 
-