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 Summary
Modifier and TypeClassDescriptionclass
Implementation of Case interface from Criteria Builderclass
Interface used to build coalesce expressions.class
Implementation of SimpleCase interface from CriteriaBuilderNested classes/interfaces inherited from interface jakarta.persistence.criteria.CriteriaBuilder
CriteriaBuilder.Case<R>, CriteriaBuilder.Coalesce<T>, CriteriaBuilder.In<T>, CriteriaBuilder.SimpleCase<C,
R>, CriteriaBuilder.Trimspec -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier 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,1
if its argument is positive,-1
if its argument is negative, or0
if 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
-
createQuery
Create a Criteria query object.- Specified by:
createQuery
in interfaceCriteriaBuilder
- Returns:
- query object
-
createQuery
Create a Criteria query object.- Specified by:
createQuery
in interfaceCriteriaBuilder
- Returns:
- query object
-
createTupleQuery
Create a Criteria query object that returns a tuple of objects as its result.- Specified by:
createTupleQuery
in interfaceCriteriaBuilder
- Returns:
- query object
-
construct
Define a select list item corresponding to a constructor.- Specified by:
construct
in interfaceCriteriaBuilder
- Parameters:
result
- class whose instance is to be constructedselections
- arguments to the constructor- Returns:
- selection item
-
tuple
- Specified by:
tuple
in interfaceCriteriaBuilder
-
array
Create an array-valued selection item- Specified by:
array
in interfaceCriteriaBuilder
- Parameters:
selections
- selection items- Returns:
- array-valued compound selection
- Throws:
IllegalArgumentException
- if an argument is a tuple- or array-valued selection item
-
asc
Create an ordering by the ascending value of the expression.- Specified by:
asc
in interfaceCriteriaBuilder
- Parameters:
x
- expression used to define the ordering- Returns:
- ascending ordering corresponding to the expression
-
desc
Create an ordering by the descending value of the expression.- Specified by:
desc
in interfaceCriteriaBuilder
- Parameters:
x
- expression used to define the ordering- Returns:
- descending ordering corresponding to the expression
-
avg
Create an expression applying the avg operation.- Specified by:
avg
in interfaceCriteriaBuilder
- Parameters:
x
- expression representing input value to avg operation- Returns:
- avg expression
-
sum
Create an expression applying the sum operation.- Specified by:
sum
in interfaceCriteriaBuilder
- Parameters:
x
- expression representing input value to sum operation- Returns:
- sum expression
-
max
Create an expression applying the numerical max operation.- Specified by:
max
in interfaceCriteriaBuilder
- Parameters:
x
- expression representing input value to max operation- Returns:
- max expression
-
min
Create an expression applying the numerical min operation.- Specified by:
min
in interfaceCriteriaBuilder
- Parameters:
x
- expression representing input value to min operation- Returns:
- min expression
-
greatest
Create an aggregate expression for finding the greatest of the values (strings, dates, etc).- Specified by:
greatest
in interfaceCriteriaBuilder
- Parameters:
x
- expression representing input value to greatest operation- Returns:
- greatest expression
-
least
Create an aggregate expression for finding the least of the values (strings, dates, etc).- Specified by:
least
in interfaceCriteriaBuilder
- Parameters:
x
- expression representing input value to least operation- Returns:
- least expression
-
count
Create an expression applying the count operation.- Specified by:
count
in interfaceCriteriaBuilder
- Parameters:
x
- expression representing input value to count operation- Returns:
- count expression
-
countDistinct
Create an expression applying the count distinct operation.- Specified by:
countDistinct
in interfaceCriteriaBuilder
- Parameters:
x
- expression representing input value to count distinct operation- Returns:
- count distinct expression
-
exists
Create a predicate testing the existence of a subquery result.- Specified by:
exists
in interfaceCriteriaBuilder
- Parameters:
subquery
- subquery whose result is to be tested- Returns:
- exists predicate
-
all
Create a predicate corresponding to an all expression over the subquery results.- Specified by:
all
in interfaceCriteriaBuilder
- Returns:
- all expression
-
some
Create a predicate corresponding to a some expression over the subquery results. This is equivalent to an any expression.- Specified by:
some
in interfaceCriteriaBuilder
- Returns:
- all expression
-
any
Create a predicate corresponding to an any expression over the subquery results. This is equivalent to a some expression.- Specified by:
any
in interfaceCriteriaBuilder
- Returns:
- any expression
-
and
Create a conjunction of the given boolean expressions.- Specified by:
and
in interfaceCriteriaBuilder
- Parameters:
x
- boolean expressiony
- boolean expression- Returns:
- and predicate
-
or
Create a disjunction of the given boolean expressions.- Specified by:
or
in interfaceCriteriaBuilder
- Parameters:
x
- boolean expressiony
- boolean expression- Returns:
- or predicate
-
and
Create a conjunction of the given restriction predicates. A conjunction of zero predicates is true.- Specified by:
and
in interfaceCriteriaBuilder
- Parameters:
restrictions
- zero or more restriction predicates- Returns:
- and predicate
-
or
Create a disjunction of the given restriction predicates. A disjunction of zero predicates is false.- Specified by:
or
in interfaceCriteriaBuilder
- Parameters:
restrictions
- zero or more restriction predicates- Returns:
- and predicate
-
not
Create a negation of the given restriction.- Specified by:
not
in interfaceCriteriaBuilder
- Parameters:
restriction
- restriction expression- Returns:
- not predicate
-
conjunction
Create a conjunction (with zero conjuncts). A conjunction with zero conjuncts is true.- Specified by:
conjunction
in interfaceCriteriaBuilder
- Returns:
- and predicate
-
disjunction
Create a disjunction (with zero disjuncts). A disjunction with zero disjuncts is false.- Specified by:
disjunction
in interfaceCriteriaBuilder
- Returns:
- or predicate
-
isTrue
Create a predicate testing for a true value.- Specified by:
isTrue
in interfaceCriteriaBuilder
- Parameters:
x
- expression to be tested if true- Returns:
- predicate
-
isFalse
Create a predicate testing for a false value.- Specified by:
isFalse
in interfaceCriteriaBuilder
- Parameters:
x
- expression to be tested if false- Returns:
- predicate
-
isNull
Create a predicate to test whether the expression is null.- Specified by:
isNull
in interfaceCriteriaBuilder
- Parameters:
x
- expression- Returns:
- predicate
-
isNotNull
Create a predicate to test whether the expression is not null.- Specified by:
isNotNull
in interfaceCriteriaBuilder
- Parameters:
x
- expression- Returns:
- predicate
-
equal
Create a predicate for testing the arguments for equality.- Specified by:
equal
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- equality predicate
-
notEqual
Create a predicate for testing the arguments for inequality.- Specified by:
notEqual
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- inequality predicate
-
equal
Create a predicate for testing the arguments for equality.- Specified by:
equal
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- object- Returns:
- equality predicate
-
notEqual
Create a predicate for testing the arguments for inequality.- Specified by:
notEqual
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- object- Returns:
- inequality predicate
-
greaterThan
public <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:
greaterThan
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- greater-than predicate
-
lessThan
public <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:
lessThan
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- less-than predicate
-
greaterThanOrEqualTo
public <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:
greaterThanOrEqualTo
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- greater-than-or-equal predicate
-
lessThanOrEqualTo
public <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:
lessThanOrEqualTo
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- less-than-or-equal predicate
-
between
public <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:
between
in interfaceCriteriaBuilder
- Parameters:
v
- expressionx
- expressiony
- expression- Returns:
- between predicate
-
greaterThan
Create a predicate for testing whether the first argument is greater than the second.- Specified by:
greaterThan
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- greater-than predicate
-
lessThan
Create a predicate for testing whether the first argument is less than the second.- Specified by:
lessThan
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- less-than predicate
-
greaterThanOrEqualTo
public <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:
greaterThanOrEqualTo
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- greater-than-or-equal predicate
-
lessThanOrEqualTo
public <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:
lessThanOrEqualTo
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- less-than-or-equal predicate
-
between
Create a predicate for testing whether the first argument is between the second and third arguments in value.- Specified by:
between
in interfaceCriteriaBuilder
- Parameters:
v
- expressionx
- valuey
- value- Returns:
- between predicate
-
buildList
-
gt
Create a predicate for testing whether the first argument is greater than the second.- Specified by:
gt
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- greater-than predicate
-
lt
Create a predicate for testing whether the first argument is less than the second.- Specified by:
lt
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- less-than predicate
-
ge
Create a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
ge
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- greater-than-or-equal predicate
-
le
Create a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
le
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- less-than-or-equal predicate
-
gt
Create a predicate for testing whether the first argument is greater than the second.- Specified by:
gt
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- greater-than predicate
-
lt
Create a predicate for testing whether the first argument is less than the second.- Specified by:
lt
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- less-than predicate
-
ge
Create a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
ge
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- greater-than-or-equal predicate
-
le
Create a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
le
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- less-than-or-equal predicate
-
neg
Create an expression that returns the arithmetic negation of its argument.- Specified by:
neg
in interfaceCriteriaBuilder
- Parameters:
x
- expression- Returns:
- negated expression
-
abs
Create an expression that returns the absolute value of its argument.- Specified by:
abs
in interfaceCriteriaBuilder
- Parameters:
x
- expression- Returns:
- absolute value
-
sum
Create an expression that returns the sum of its arguments.- Specified by:
sum
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- sum
-
sumAsLong
Create an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result.- Specified by:
sumAsLong
in interfaceCriteriaBuilder
- Parameters:
x
- expression representing input value to sum operation- Returns:
- sum expression
-
sumAsDouble
Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result.- Specified by:
sumAsDouble
in interfaceCriteriaBuilder
- Parameters:
x
- expression representing input value to sum operation- Returns:
- sum expression
-
prod
Create an expression that returns the product of its arguments.- Specified by:
prod
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- product
-
diff
Create an expression that returns the difference between its arguments.- Specified by:
diff
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- difference
-
sum
Create an expression that returns the sum of its arguments.- Specified by:
sum
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- sum
-
prod
Create an expression that returns the product of its arguments.- Specified by:
prod
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- product
-
diff
Create an expression that returns the difference between its arguments.- Specified by:
diff
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- difference
-
sum
Create an expression that returns the sum of its arguments.- Specified by:
sum
in interfaceCriteriaBuilder
- Parameters:
x
- valuey
- expression- Returns:
- sum
-
prod
Create an expression that returns the product of its arguments.- Specified by:
prod
in interfaceCriteriaBuilder
- Parameters:
x
- valuey
- expression- Returns:
- product
-
diff
Create an expression that returns the difference between its arguments.- Specified by:
diff
in interfaceCriteriaBuilder
- Parameters:
x
- valuey
- expression- Returns:
- difference
-
quot
Create an expression that returns the quotient of its arguments.- Specified by:
quot
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- quotient
-
quot
Create an expression that returns the quotient of its arguments.- Specified by:
quot
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- quotient
-
quot
Create an expression that returns the quotient of its arguments.- Specified by:
quot
in interfaceCriteriaBuilder
- Parameters:
x
- valuey
- expression- Returns:
- quotient
-
mod
Create an expression that returns the modulus of its arguments.- Specified by:
mod
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- modulus
-
mod
Create an expression that returns the modulus of its arguments.- Specified by:
mod
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- modulus
-
mod
Create an expression that returns the modulus of its arguments.- Specified by:
mod
in interfaceCriteriaBuilder
- Parameters:
x
- valuey
- expression- Returns:
- modulus
-
sqrt
Create an expression that returns the square root of its argument.- Specified by:
sqrt
in interfaceCriteriaBuilder
- Parameters:
x
- expression- Returns:
- modulus
-
sign
Create an expression that returns the sign of its argument, that is,1
if its argument is positive,-1
if its argument is negative, or0
if its argument is exactly zero.- Specified by:
sign
in interfaceCriteriaBuilder
- Parameters:
x
- expression- Returns:
- sign
-
ceiling
Create an expression that returns the ceiling of its argument, that is, the smallest integer greater than or equal to its argument.- Specified by:
ceiling
in interfaceCriteriaBuilder
- Parameters:
x
- expression- Returns:
- ceiling
-
floor
Create an expression that returns the floor of its argument, that is, the largest integer smaller than or equal to its argument.- Specified by:
floor
in interfaceCriteriaBuilder
- Parameters:
x
- expression- Returns:
- floor
-
exp
Create an expression that returns the exponential of its argument, that is, Euler's number e raised to the power of its argument.- Specified by:
exp
in interfaceCriteriaBuilder
- Parameters:
x
- expression- Returns:
- exponential
-
ln
Create an expression that returns the natural logarithm of its argument.- Specified by:
ln
in interfaceCriteriaBuilder
- Parameters:
x
- expression- Returns:
- natural logarithm
-
power
Create an expression that returns the first argument raised to the power of its second argument.- Specified by:
power
in interfaceCriteriaBuilder
- Parameters:
x
- basey
- exponent- Returns:
- the base raised to the power of the exponent
-
power
Create an expression that returns the first argument raised to the power of its second argument.- Specified by:
power
in interfaceCriteriaBuilder
- Parameters:
x
- basey
- exponent- Returns:
- the base raised to the power of the exponent
-
round
Create an expression that returns the first argument rounded to the number of decimal places given by the second argument.- Specified by:
round
in interfaceCriteriaBuilder
- Parameters:
x
- basen
- number of decimal places- Returns:
- the rounded value
-
toLong
Typecast.- Specified by:
toLong
in interfaceCriteriaBuilder
- Parameters:
number
- numeric expression- Returns:
- Expression<Long>
-
toInteger
Typecast.- Specified by:
toInteger
in interfaceCriteriaBuilder
- Parameters:
number
- numeric expression- Returns:
- Expression<Integer>
-
toFloat
Typecast.- Specified by:
toFloat
in interfaceCriteriaBuilder
- Parameters:
number
- numeric expression- Returns:
- Expression<Float>
-
toDouble
Typecast.- Specified by:
toDouble
in interfaceCriteriaBuilder
- Parameters:
number
- numeric expression- Returns:
- Expression<Double>
-
toBigDecimal
Typecast.- Specified by:
toBigDecimal
in interfaceCriteriaBuilder
- Parameters:
number
- numeric expression- Returns:
- Expression<BigDecimal>
-
toBigInteger
Typecast.- Specified by:
toBigInteger
in interfaceCriteriaBuilder
- Parameters:
number
- numeric expression- Returns:
- Expression<BigInteger>
-
toString
Typecast.- Specified by:
toString
in interfaceCriteriaBuilder
- Parameters:
character
- expression- Returns:
- Expression<String>
-
literal
Create an expression literal.- Specified by:
literal
in interfaceCriteriaBuilder
- Returns:
- expression literal
-
nullLiteral
Create an expression for a null literal with the given type.- Specified by:
nullLiteral
in interfaceCriteriaBuilder
- Parameters:
resultClass
- type of the null literal- Returns:
- null expression literal
-
internalLiteral
Create an expression literal but without null validation.- Returns:
- expression literal
-
parameter
Create a parameter. Create a parameter expression.- Specified by:
parameter
in interfaceCriteriaBuilder
- Parameters:
paramClass
- parameter class- Returns:
- parameter expression
-
parameter
Create a parameter expression with the given name.- Specified by:
parameter
in interfaceCriteriaBuilder
- Parameters:
paramClass
- parameter class- Returns:
- parameter
-
isEmpty
Create a predicate that tests whether a collection is empty.- Specified by:
isEmpty
in interfaceCriteriaBuilder
- Parameters:
collection
- expression- Returns:
- predicate
-
isNotEmpty
Create a predicate that tests whether a collection is not empty.- Specified by:
isNotEmpty
in interfaceCriteriaBuilder
- Parameters:
collection
- expression- Returns:
- predicate
-
size
Create an expression that tests the size of a collection.- Specified by:
size
in interfaceCriteriaBuilder
- Returns:
- size expression
-
size
Create an expression that tests the size of a collection.- Specified by:
size
in interfaceCriteriaBuilder
- Parameters:
collection
- expression- Returns:
- size expression
-
isMember
Create a predicate that tests whether an element is a member of a collection.- Specified by:
isMember
in interfaceCriteriaBuilder
- Parameters:
elem
- elementcollection
- expression- Returns:
- predicate
-
isNotMember
Create a predicate that tests whether an element is not a member of a collection.- Specified by:
isNotMember
in interfaceCriteriaBuilder
- Parameters:
elem
- elementcollection
- expression- Returns:
- predicate
-
isMember
public <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:
isMember
in interfaceCriteriaBuilder
- Parameters:
elem
- element expressioncollection
- expression- Returns:
- predicate
-
isNotMember
public <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:
isNotMember
in interfaceCriteriaBuilder
- Parameters:
elem
- element expressioncollection
- expression- Returns:
- predicate
-
values
Create an expression that returns the values of a map.- Specified by:
values
in interfaceCriteriaBuilder
- Returns:
- collection expression
-
keys
Create an expression that returns the keys of a map.- Specified by:
keys
in interfaceCriteriaBuilder
- Returns:
- set expression
-
like
Create a predicate for testing whether the expression satisfies the given pattern.- Specified by:
like
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- string expression- Returns:
- like predicate
-
like
public 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:
like
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- string expressionescapeChar
- escape character expression- Returns:
- like predicate
-
like
Create a predicate for testing whether the expression satisfies the given pattern.- Specified by:
like
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- string expressionescapeChar
- escape character- Returns:
- like predicate
-
like
Create a predicate for testing whether the expression satisfies the given pattern.- Specified by:
like
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- string- Returns:
- like predicate
-
like
Create a predicate for testing whether the expression satisfies the given pattern.- Specified by:
like
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- stringescapeChar
- escape character expression- Returns:
- like predicate
-
like
Create a predicate for testing whether the expression satisfies the given pattern.- Specified by:
like
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- stringescapeChar
- escape character- Returns:
- like predicate
-
notLike
Create a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLike
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- string expression- Returns:
- like predicate
-
notLike
public 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:
notLike
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- string expressionescapeChar
- escape character expression- Returns:
- like predicate
-
notLike
Create a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLike
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- string expressionescapeChar
- escape character- Returns:
- like predicate
-
notLike
Create a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLike
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- string- Returns:
- like predicate
-
notLike
Create a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLike
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- stringescapeChar
- escape character expression- Returns:
- like predicate
-
notLike
Create a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLike
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionpattern
- stringescapeChar
- escape character- Returns:
- like predicate
-
concat
String concatenation operation.- Specified by:
concat
in interfaceCriteriaBuilder
- Parameters:
x
- string expressiony
- string expression- Returns:
- expression corresponding to concatenation
-
concat
String concatenation operation.- Specified by:
concat
in interfaceCriteriaBuilder
- Parameters:
x
- string expressiony
- string- Returns:
- expression corresponding to concatenation
-
concat
String concatenation operation.- Specified by:
concat
in interfaceCriteriaBuilder
- Parameters:
x
- stringy
- string expression- Returns:
- expression corresponding to concatenation
-
substring
Substring extraction operation. Extracts a substring starting at specified position through to end of the string. First position is 1.- Specified by:
substring
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionfrom
- start position expression- Returns:
- expression corresponding to substring extraction
-
substring
Substring extraction operation. Extracts a substring starting at specified position through to end of the string. First position is 1.- Specified by:
substring
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionfrom
- start position- Returns:
- expression corresponding to substring extraction
-
substring
public 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:
substring
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionfrom
- start position expressionlen
- length expression- Returns:
- expression corresponding to substring extraction
-
substring
Substring extraction operation. Extracts a substring of given length starting at specified position. First position is 1.- Specified by:
substring
in interfaceCriteriaBuilder
- Parameters:
x
- string expressionfrom
- start positionlen
- length- Returns:
- expression corresponding to substring extraction
-
trim
Create expression to trim blanks from both ends of a string.- Specified by:
trim
in interfaceCriteriaBuilder
- Parameters:
x
- expression for string to trim- Returns:
- trim expression
-
trim
Create expression to trim blanks from a string.- Specified by:
trim
in interfaceCriteriaBuilder
- Parameters:
ts
- trim specificationx
- expression for string to trim- Returns:
- trim expression
-
trim
Create expression to trim character from both ends of a string.- Specified by:
trim
in interfaceCriteriaBuilder
- Parameters:
t
- expression for character to be trimmedx
- expression for string to trim- Returns:
- trim expression
-
trim
public Expression<String> trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x) Create expression to trim character from a string.- Specified by:
trim
in interfaceCriteriaBuilder
- Parameters:
ts
- trim specificationt
- expression for character to be trimmedx
- expression for string to trim- Returns:
- trim expression
-
trim
Create expression to trim character from both ends of a string.- Specified by:
trim
in interfaceCriteriaBuilder
- Parameters:
t
- character to be trimmedx
- expression for string to trim- Returns:
- trim expression
-
trim
Create expression to trim character from a string.- Specified by:
trim
in interfaceCriteriaBuilder
- Parameters:
ts
- trim specificationt
- character to be trimmedx
- expression for string to trim- Returns:
- trim expression
-
lower
Create expression for converting a string to lowercase.- Specified by:
lower
in interfaceCriteriaBuilder
- Parameters:
x
- string expression- Returns:
- expression to convert to lowercase
-
upper
Create expression for converting a string to uppercase.- Specified by:
upper
in interfaceCriteriaBuilder
- Parameters:
x
- string expression- Returns:
- expression to convert to uppercase
-
length
Create expression to return length of a string.- Specified by:
length
in interfaceCriteriaBuilder
- Parameters:
x
- string expression- Returns:
- length expression
-
locate
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:
locate
in interfaceCriteriaBuilder
- Parameters:
x
- expression for string to be searchedpattern
- expression for string to be located- Returns:
- expression corresponding to position
-
locate
public 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:
locate
in interfaceCriteriaBuilder
- Parameters:
x
- expression for string to be searchedpattern
- expression for string to be locatedfrom
- expression for position at which to start search- Returns:
- expression corresponding to position
-
locate
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:
locate
in interfaceCriteriaBuilder
- Parameters:
x
- expression for string to be searchedpattern
- string to be located- Returns:
- expression corresponding to position
-
locate
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:
locate
in interfaceCriteriaBuilder
- Parameters:
x
- expression for string to be searchedpattern
- string to be locatedfrom
- position at which to start search- Returns:
- expression corresponding to position
-
currentDate
Create expression to return current date.- Specified by:
currentDate
in interfaceCriteriaBuilder
- Returns:
- expression for current date
-
currentTimestamp
Create expression to return current timestamp.- Specified by:
currentTimestamp
in interfaceCriteriaBuilder
- Returns:
- expression for current timestamp
-
currentTime
Create expression to return current time.- Specified by:
currentTime
in interfaceCriteriaBuilder
- Returns:
- expression for current time
-
localDateTime
Create expression to return local datetime.- Specified by:
localDateTime
in interfaceCriteriaBuilder
- Returns:
- expression for local timestamp
-
localDate
Create expression to return local date.- Specified by:
localDate
in interfaceCriteriaBuilder
- Returns:
- expression for local date
-
localTime
Create expression to return local time.- Specified by:
localTime
in interfaceCriteriaBuilder
- Returns:
- expression for local time
-
in
Create predicate to test whether given expression is contained in a list of values.- Specified by:
in
in interfaceCriteriaBuilder
- Parameters:
expression
- to be tested against list of values- Returns:
- in predicate
-
coalesce
Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.- Specified by:
coalesce
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- expression corresponding to the given coalesce expression
-
coalesce
Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.- Specified by:
coalesce
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- coalesce expression
-
nullif
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.- Specified by:
nullif
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- expression- Returns:
- expression corresponding to the given nullif expression
-
nullif
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.- Specified by:
nullif
in interfaceCriteriaBuilder
- Parameters:
x
- expressiony
- value- Returns:
- expression corresponding to the given nullif expression
-
coalesce
Create a coalesce expression.- Specified by:
coalesce
in interfaceCriteriaBuilder
- Returns:
- coalesce expression
-
selectCase
Create simple case expression.- Specified by:
selectCase
in interfaceCriteriaBuilder
- Parameters:
expression
- to be tested against the case conditions- Returns:
- simple case expression
-
selectCase
Create a general case expression.- Specified by:
selectCase
in interfaceCriteriaBuilder
- Returns:
- general case expression
-
function
Create an expression for execution of a database function.- Specified by:
function
in interfaceCriteriaBuilder
- Parameters:
name
- function nametype
- expected result typeargs
- function arguments- Returns:
- expression
-
fromExpression
ADVANCED: 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:
fromExpression
in interfaceJpaCriteriaBuilder
-
fromExpression
ADVANCED: 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:
fromExpression
in interfaceJpaCriteriaBuilder
-
toExpression
ADVANCED: 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:
toExpression
in interfaceJpaCriteriaBuilder
-
createCriteriaDelete
- Specified by:
createCriteriaDelete
in interfaceCriteriaBuilder
-
createCriteriaUpdate
- Specified by:
createCriteriaUpdate
in interfaceCriteriaBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
-