public class CriteriaBuilderImpl extends Object implements HibernateCriteriaBuilder, Serializable
CriteriaBuilder contract.CriteriaBuilder.Case<R>, CriteriaBuilder.Coalesce<T>, CriteriaBuilder.In<T>, CriteriaBuilder.SimpleCase<C,R>, CriteriaBuilder.Trimspec| Constructor and Description |
|---|
CriteriaBuilderImpl(SessionFactoryImpl sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
<N extends Number> |
abs(Expression<N> expression)
Create an expression that returns the absolute value
of its argument.
|
<Y> Expression<Y> |
all(Subquery<Y> subquery)
Create an all expression over the subquery results.
|
Predicate |
and(Expression<Boolean> x,
Expression<Boolean> y)
Create a conjunction of the given boolean expressions.
|
Predicate |
and(Predicate... restrictions)
Create a conjunction of the given restriction predicates.
|
<Y> Expression<Y> |
any(Subquery<Y> subquery)
Create an any expression over the subquery results.
|
<Y> CompoundSelection<Y> |
array(Class<Y> type,
List<Selection<?>> selections)
Version of
array(Selection[]) taking a list of selections,
as well as the type of array. |
CompoundSelection<Object[]> |
array(List<Selection<?>> selections)
Version of
array(Selection[]) taking a list of selections. |
CompoundSelection<Object[]> |
array(Selection<?>... selections)
Create an array-valued selection item.
|
Order |
asc(Expression<?> x)
Create an ordering by the ascending value of the expression.
|
<N extends Number> |
avg(Expression<N> x)
Create an aggregate expression applying the avg operation.
|
<Y extends Comparable<? super Y>> |
between(Expression<? extends Y> expression,
Expression<? extends Y> lowerBound,
Expression<? extends Y> upperBound)
Create a predicate for testing whether the first argument is
between the second and third arguments in value.
|
<Y extends Comparable<? super Y>> |
between(Expression<? extends Y> expression,
Y lowerBound,
Y upperBound)
Create a predicate for testing whether the first argument is
between the second and third arguments in value.
|
<T> CriteriaBuilder.Coalesce<T> |
coalesce()
Create a coalesce expression.
|
<T> CriteriaBuilder.Coalesce<T> |
coalesce(Class<T> type) |
<Y> Expression<Y> |
coalesce(Class<Y> type,
Expression<? extends Y> exp1,
Expression<? extends Y> exp2) |
<Y> Expression<Y> |
coalesce(Class<Y> type,
Expression<? extends Y> exp1,
Y exp2) |
<Y> Expression<Y> |
coalesce(Expression<? extends Y> exp1,
Expression<? extends Y> exp2)
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> exp1,
Y exp2)
Create an expression that returns null if all its arguments
evaluate to null, and the value of the first non-null argument
otherwise.
|
Expression<String> |
concat(Expression<String> string1,
Expression<String> string2)
Create an expression for string concatenation.
|
Expression<String> |
concat(Expression<String> string1,
String string2)
Create an expression for string concatenation.
|
Expression<String> |
concat(String string1,
Expression<String> string2)
Create an expression for string concatenation.
|
Predicate |
conjunction()
Create a conjunction (with zero conjuncts).
|
<Y> CompoundSelection<Y> |
construct(Class<Y> result,
List<Selection<?>> selections)
Version of
construct(Class,Selection[]) taking the
to-be-constructed type as well as a list of selections. |
<Y> CompoundSelection<Y> |
construct(Class<Y> result,
Selection<?>... selections)
Create a selection item corresponding to a constructor.
|
Expression<Long> |
count(Expression<?> x)
Create an aggregate expression applying the count operation.
|
Expression<Long> |
countDistinct(Expression<?> x)
Create an aggregate expression applying the count distinct
operation.
|
<T> CriteriaDelete<T> |
createCriteriaDelete(Class<T> targetEntity)
Create a
CriteriaDelete query object to perform a bulk delete operation. |
<T> CriteriaUpdate<T> |
createCriteriaUpdate(Class<T> targetEntity)
Create a
CriteriaUpdate query object to perform a bulk update operation. |
CriteriaQuery<Object> |
createQuery()
Create a
CriteriaQuery object. |
<T> CriteriaQuery<T> |
createQuery(Class<T> resultClass)
Create a
CriteriaQuery object with the specified result
type. |
CriteriaQuery<Tuple> |
createTupleQuery()
Create a
CriteriaQuery object that returns a tuple of
objects as its result. |
Expression<Date> |
currentDate()
Create expression to return current date.
|
Expression<Time> |
currentTime()
Create expression to return current time.
|
Expression<Timestamp> |
currentTimestamp()
Create expression to return current timestamp.
|
Order |
desc(Expression<?> x)
Create an ordering by the descending value of the expression.
|
<N extends Number> |
diff(Expression<? extends N> expression1,
Expression<? extends N> expression2)
Create an expression that returns the difference
between its arguments.
|
<N extends Number> |
diff(Expression<? extends N> expression,
N n)
Create an expression that returns the difference
between its arguments.
|
<N extends Number> |
diff(N n,
Expression<? extends N> expression)
Create an expression that returns the difference
between its arguments.
|
Predicate |
disjunction()
Create a disjunction (with zero disjuncts).
|
Predicate |
equal(Expression<?> x,
Expression<?> y)
Create a predicate for testing the arguments for equality.
|
Predicate |
equal(Expression<?> x,
Object y)
Create a predicate for testing the arguments for equality.
|
Predicate |
exists(Subquery<?> subquery)
Create a predicate testing the existence of a subquery result.
|
<T> Expression<T> |
function(String name,
Class<T> returnType)
Create a reference to a function taking no params.
|
<T> Expression<T> |
function(String name,
Class<T> returnType,
Expression<?>... arguments)
Create an expression for the execution of a database
function.
|
Predicate |
ge(Expression<? extends Number> x,
Expression<? extends Number> y)
Create a predicate for testing whether the first argument is
greater than or equal to the second.
|
Predicate |
ge(Expression<? extends Number> x,
Number y)
Create a predicate for testing whether the first argument is
greater than or equal to the second.
|
SessionFactoryImpl |
getEntityManagerFactory()
Provides protected access to the underlying
SessionFactoryImpl. |
<Y extends Comparable<? super Y>> |
greaterThan(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>> |
greaterThan(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>> |
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.
|
<Y extends Comparable<? super Y>> |
greaterThanOrEqualTo(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>> |
greatest(Expression<X> x)
Create an aggregate expression for finding the greatest of
the values (strings, dates, etc).
|
Predicate |
gt(Expression<? extends Number> x,
Expression<? extends Number> y)
Create a predicate for testing whether the first argument is
greater than the second.
|
Predicate |
gt(Expression<? extends Number> x,
Number y)
Create a predicate for testing whether the first argument is
greater than the second.
|
<T> CriteriaBuilder.In<T> |
in(Expression<? extends T> expression)
Create predicate to test whether given expression
is contained in a list of values.
|
<T> CriteriaBuilder.In<T> |
in(Expression<? extends T> expression,
Collection<T> values) |
<T> CriteriaBuilder.In<T> |
in(Expression<? extends T> expression,
Expression<? extends T>... values) |
<T> CriteriaBuilder.In<T> |
in(Expression<? extends T> expression,
T... values) |
<C extends Collection<?>> |
isEmpty(Expression<C> collectionExpression)
Create a predicate that tests whether a collection is empty.
|
Predicate |
isFalse(Expression<Boolean> expression)
Create a predicate testing for a false value.
|
<M extends Map<?,?>> |
isMapEmpty(Expression<M> mapExpression)
Create a predicate that tests whether a Map is empty.
|
<M extends Map<?,?>> |
isMapNotEmpty(Expression<M> mapExpression)
Create a predicate that tests whether a Map is
not empty.
|
<E,C extends Collection<E>> |
isMember(E e,
Expression<C> collectionExpression)
Create a predicate that tests whether an element is
a member of a collection.
|
<E,C extends Collection<E>> |
isMember(Expression<E> elementExpression,
Expression<C> collectionExpression)
Create a predicate that tests whether an element is
a member of a collection.
|
<C extends Collection<?>> |
isNotEmpty(Expression<C> collectionExpression)
Create a predicate that tests whether a collection is
not empty.
|
<E,C extends Collection<E>> |
isNotMember(E e,
Expression<C> cExpression)
Create a predicate that tests whether an element is
not a member of a collection.
|
<E,C extends Collection<E>> |
isNotMember(Expression<E> eExpression,
Expression<C> cExpression)
Create a predicate that tests whether an element is
not a member of a collection.
|
Predicate |
isNotNull(Expression<?> x)
Create a predicate to test whether the expression is not null.
|
Predicate |
isNull(Expression<?> x)
Create a predicate to test whether the expression is null.
|
Predicate |
isTrue(Expression<Boolean> expression)
Create a predicate testing for a true value.
|
<K,M extends Map<K,?>> |
keys(M map)
Create an expression that returns the keys of a map.
|
Predicate |
le(Expression<? extends Number> x,
Expression<? extends Number> y)
Create a predicate for testing whether the first argument is
less than or equal to the second.
|
Predicate |
le(Expression<? extends Number> x,
Number y)
Create a predicate for testing whether the first argument is
less than or equal to the second.
|
<X extends Comparable<? super X>> |
least(Expression<X> x)
Create an aggregate expression for finding the least of
the values (strings, dates, etc).
|
Expression<Integer> |
length(Expression<String> value)
Create expression to return length of a string.
|
<Y extends Comparable<? super Y>> |
lessThan(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>> |
lessThan(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>> |
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.
|
<Y extends Comparable<? super Y>> |
lessThanOrEqualTo(Expression<? extends Y> x,
Y y)
Create a predicate for testing whether the first argument is
less than or equal to the second.
|
Predicate |
like(Expression<String> matchExpression,
Expression<String> pattern)
Create a predicate for testing whether the expression
satisfies the given pattern.
|
Predicate |
like(Expression<String> matchExpression,
Expression<String> pattern,
char escapeCharacter)
Create a predicate for testing whether the expression
satisfies the given pattern.
|
Predicate |
like(Expression<String> matchExpression,
Expression<String> pattern,
Expression<Character> escapeCharacter)
Create a predicate for testing whether the expression
satisfies the given pattern.
|
Predicate |
like(Expression<String> matchExpression,
String pattern)
Create a predicate for testing whether the expression
satisfies the given pattern.
|
Predicate |
like(Expression<String> matchExpression,
String pattern,
char escapeCharacter)
Create a predicate for testing whether the expression
satisfies the given pattern.
|
Predicate |
like(Expression<String> matchExpression,
String pattern,
Expression<Character> escapeCharacter)
Create a predicate for testing whether the expression
satisfies the given pattern.
|
<T> Expression<T> |
literal(T value)
Create an expression for a literal.
|
Expression<Integer> |
locate(Expression<String> string,
Expression<String> pattern)
Create expression to locate the position of one string
within another, returning position of first character
if found.
|
Expression<Integer> |
locate(Expression<String> string,
Expression<String> pattern,
Expression<Integer> start)
Create expression to locate the position of one string
within another, returning position of first character
if found.
|
Expression<Integer> |
locate(Expression<String> string,
String pattern)
Create expression to locate the position of one string
within another, returning position of first character
if found.
|
Expression<Integer> |
locate(Expression<String> string,
String pattern,
int start)
Create expression to locate the position of one string
within another, returning position of first character
if found.
|
Expression<String> |
lower(Expression<String> value)
Create expression for converting a string to lowercase.
|
Predicate |
lt(Expression<? extends Number> x,
Expression<? extends Number> y)
Create a predicate for testing whether the first argument is
less than the second.
|
Predicate |
lt(Expression<? extends Number> x,
Number y)
Create a predicate for testing whether the first argument is
less than the second.
|
<M extends Map<?,?>> |
mapSize(Expression<M> mapExpression)
Create an expression that tests the size of a map.
|
<M extends Map<?,?>> |
mapSize(M map)
Create an expression that tests the size of a map.
|
<N extends Number> |
max(Expression<N> x)
Create an aggregate expression applying the numerical max
operation.
|
<N extends Number> |
min(Expression<N> x)
Create an aggregate expression applying the numerical min
operation.
|
Expression<Integer> |
mod(Expression<Integer> expression1,
Expression<Integer> expression2)
Create an expression that returns the modulus
of its arguments.
|
Expression<Integer> |
mod(Expression<Integer> expression,
Integer integer)
Create an expression that returns the modulus
of its arguments.
|
Expression<Integer> |
mod(Integer integer,
Expression<Integer> expression)
Create an expression that returns the modulus
of its arguments.
|
<N extends Number> |
neg(Expression<N> expression)
Create an expression that returns the arithmetic negation
of its argument.
|
Predicate |
not(Expression<Boolean> expression)
Create a negation of the given restriction.
|
Predicate |
notEqual(Expression<?> x,
Expression<?> y)
Create a predicate for testing the arguments for inequality.
|
Predicate |
notEqual(Expression<?> x,
Object y)
Create a predicate for testing the arguments for inequality.
|
Predicate |
notLike(Expression<String> matchExpression,
Expression<String> pattern)
Create a predicate for testing whether the expression
does not satisfy the given pattern.
|
Predicate |
notLike(Expression<String> matchExpression,
Expression<String> pattern,
char escapeCharacter)
Create a predicate for testing whether the expression
does not satisfy the given pattern.
|
Predicate |
notLike(Expression<String> matchExpression,
Expression<String> pattern,
Expression<Character> escapeCharacter)
Create a predicate for testing whether the expression
does not satisfy the given pattern.
|
Predicate |
notLike(Expression<String> matchExpression,
String pattern)
Create a predicate for testing whether the expression
does not satisfy the given pattern.
|
Predicate |
notLike(Expression<String> matchExpression,
String pattern,
char escapeCharacter)
Create a predicate for testing whether the expression
does not satisfy the given pattern.
|
Predicate |
notLike(Expression<String> matchExpression,
String pattern,
Expression<Character> escapeCharacter)
Create a predicate for testing whether the expression
does not satisfy the given pattern.
|
<Y> Expression<Y> |
nullif(Class<Y> type,
Expression<Y> exp1,
Expression<?> exp2) |
<Y> Expression<Y> |
nullif(Class<Y> type,
Expression<Y> exp1,
Y exp2) |
<Y> Expression<Y> |
nullif(Expression<Y> exp1,
Expression<?> exp2)
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> exp1,
Y exp2)
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.
|
Predicate |
or(Expression<Boolean> x,
Expression<Boolean> y)
Create a disjunction of the given boolean expressions.
|
Predicate |
or(Predicate... restrictions)
Create a disjunction of the given restriction predicates.
|
<T> ParameterExpression<T> |
parameter(Class<T> paramClass)
Create a parameter expression.
|
<T> ParameterExpression<T> |
parameter(Class<T> paramClass,
String name)
Create a parameter expression with the given name.
|
<N extends Number> |
prod(Expression<? extends N> expression1,
Expression<? extends N> expression2)
Create an expression that returns the product
of its arguments.
|
<N extends Number> |
prod(Expression<? extends N> expression,
N n)
Create an expression that returns the product
of its arguments.
|
<N extends Number> |
prod(N n,
Expression<? extends N> expression)
Create an expression that returns the product
of its arguments.
|
Expression<Number> |
quot(Expression<? extends Number> expression1,
Expression<? extends Number> expression2)
Create an expression that returns the quotient
of its arguments.
|
Expression<Number> |
quot(Expression<? extends Number> expression,
Number number)
Create an expression that returns the quotient
of its arguments.
|
Expression<Number> |
quot(Number number,
Expression<? extends Number> expression)
Create an expression that returns the quotient
of its arguments.
|
<R> CriteriaBuilder.Case<R> |
selectCase()
Create a general case expression.
|
<R> CriteriaBuilder.Case<R> |
selectCase(Class<R> type) |
<C,R> CriteriaBuilder.SimpleCase<C,R> |
selectCase(Class<R> type,
Expression<? extends C> expression) |
<C,R> CriteriaBuilder.SimpleCase<C,R> |
selectCase(Expression<? extends C> expression)
Create a simple case expression.
|
<C extends Collection<?>> |
size(C c)
Create an expression that tests the size of a collection.
|
<C extends Collection<?>> |
size(Expression<C> exp)
Create an expression that tests the size of a collection.
|
<Y> Expression<Y> |
some(Subquery<Y> subquery)
Create a some expression over the subquery results.
|
Expression<Double> |
sqrt(Expression<? extends Number> expression)
Create an expression that returns the square root
of its argument.
|
Expression<String> |
substring(Expression<String> value,
Expression<Integer> start)
Create an expression for substring extraction.
|
Expression<String> |
substring(Expression<String> value,
Expression<Integer> start,
Expression<Integer> length)
Create an expression for substring extraction.
|
Expression<String> |
substring(Expression<String> value,
int start)
Create an expression for substring extraction.
|
Expression<String> |
substring(Expression<String> value,
int start,
int length)
Create an expression for substring extraction.
|
<N extends Number> |
sum(Expression<? extends N> expression1,
Expression<? extends N> expression2)
Create an expression that returns the sum
of its arguments.
|
<N extends Number> |
sum(Expression<? extends N> expression,
N n)
Create an expression that returns the sum
of its arguments.
|
<N extends Number> |
sum(Expression<N> x)
Create an aggregate expression applying the sum operation.
|
<N extends Number> |
sum(N n,
Expression<? extends N> expression)
Create an expression that returns the sum
of its arguments.
|
Expression<Double> |
sumAsDouble(Expression<Float> x)
Create an aggregate expression applying the sum operation to a
Float-valued expression, returning a Double result.
|
Expression<Long> |
sumAsLong(Expression<Integer> x)
Create an aggregate expression applying the sum operation to an
Integer-valued expression, returning a Long result.
|
ExpressionImplementor<BigDecimal> |
toBigDecimal(Expression<? extends Number> expression)
Typecast.
|
ExpressionImplementor<BigInteger> |
toBigInteger(Expression<? extends Number> expression)
Typecast.
|
ExpressionImplementor<Double> |
toDouble(Expression<? extends Number> expression)
Typecast.
|
ExpressionImplementor<Float> |
toFloat(Expression<? extends Number> expression)
Typecast.
|
ExpressionImplementor<Integer> |
toInteger(Expression<? extends Number> expression)
Typecast.
|
ExpressionImplementor<Long> |
toLong(Expression<? extends Number> expression)
Typecast.
|
ExpressionImplementor<String> |
toString(Expression<Character> characterExpression)
Typecast.
|
<X,T,E extends T> |
treat(CollectionJoin<X,T> join,
Class<E> type)
Downcast CollectionJoin object to the specified type.
|
<X,T,V extends T> |
treat(Join<X,T> join,
Class<V> type)
Downcast Join object to the specified type.
|
<X,T,E extends T> |
treat(ListJoin<X,T> join,
Class<E> type)
Downcast ListJoin object to the specified type.
|
<X,K,T,V extends T> |
treat(MapJoin<X,K,T> join,
Class<V> type)
Downcast MapJoin object to the specified type.
|
<X,T extends X> |
treat(Path<X> path,
Class<T> type)
Downcast Path object to the specified type.
|
<X,T extends X> |
treat(Root<X> root,
Class<T> type)
Downcast Root object to the specified type.
|
<X,T,E extends T> |
treat(SetJoin<X,T> join,
Class<E> type)
Downcast SetJoin object to the specified type.
|
Expression<String> |
trim(char trimCharacter,
Expression<String> trimSource)
Create expression to trim character from both ends of
a string.
|
Expression<String> |
trim(CriteriaBuilder.Trimspec trimspec,
char trimCharacter,
Expression<String> trimSource)
Create expression to trim character from a string.
|
Expression<String> |
trim(CriteriaBuilder.Trimspec trimspec,
Expression<Character> trimCharacter,
Expression<String> trimSource)
Create expression to trim character from a string.
|
Expression<String> |
trim(CriteriaBuilder.Trimspec trimspec,
Expression<String> trimSource)
Create expression to trim blanks from a string.
|
Expression<String> |
trim(Expression<Character> trimCharacter,
Expression<String> trimSource)
Create expression to trim character from both ends of
a string.
|
Expression<String> |
trim(Expression<String> trimSource)
Create expression to trim blanks from both ends of
a string.
|
CompoundSelection<Tuple> |
tuple(List<Selection<?>> selections)
Version of
tuple(Selection[]) taking a list. |
CompoundSelection<Tuple> |
tuple(Selection<?>... selections)
Create a tuple-valued selection item.
|
Expression<String> |
upper(Expression<String> value)
Create expression for converting a string to uppercase.
|
<V,M extends Map<?,V>> |
values(M map)
Create an expression that returns the values of a map.
|
Predicate |
wrap(Expression<Boolean> expression) |
public CriteriaBuilderImpl(SessionFactoryImpl sessionFactory)
public SessionFactoryImpl getEntityManagerFactory()
SessionFactoryImpl.SessionFactoryImplpublic CriteriaQuery<Object> createQuery()
CriteriaBuilderCriteriaQuery object.createQuery in interface CriteriaBuilderpublic <T> CriteriaQuery<T> createQuery(Class<T> resultClass)
CriteriaBuilderCriteriaQuery object with the specified result
type.createQuery in interface CriteriaBuilderresultClass - type of the query resultpublic CriteriaQuery<Tuple> createTupleQuery()
CriteriaBuilderCriteriaQuery object that returns a tuple of
objects as its result.createTupleQuery in interface CriteriaBuilderpublic <T> CriteriaUpdate<T> createCriteriaUpdate(Class<T> targetEntity)
CriteriaBuilderCriteriaUpdate query object to perform a bulk update operation.createCriteriaUpdate in interface CriteriaBuildertargetEntity - target type for update operationpublic <T> CriteriaDelete<T> createCriteriaDelete(Class<T> targetEntity)
CriteriaBuilderCriteriaDelete query object to perform a bulk delete operation.createCriteriaDelete in interface CriteriaBuildertargetEntity - target type for delete operationpublic CompoundSelection<Tuple> tuple(Selection<?>... selections)
CriteriaBuildertuple in interface CriteriaBuilderselections - selection itemspublic CompoundSelection<Tuple> tuple(List<Selection<?>> selections)
tuple(Selection[]) taking a list.selections - List of selections.public CompoundSelection<Object[]> array(Selection<?>... selections)
CriteriaBuilderarray in interface CriteriaBuilderselections - selection itemspublic CompoundSelection<Object[]> array(List<Selection<?>> selections)
array(Selection[]) taking a list of selections.selections - List of selections.public <Y> CompoundSelection<Y> array(Class<Y> type, List<Selection<?>> selections)
array(Selection[]) taking a list of selections,
as well as the type of array.type - The type of arrayselections - List of selections.public <Y> CompoundSelection<Y> construct(Class<Y> result, Selection<?>... selections)
CriteriaBuilderconstruct in interface CriteriaBuilderresult - class whose instance is to be constructedselections - arguments to the constructorpublic <Y> CompoundSelection<Y> construct(Class<Y> result, List<Selection<?>> selections)
construct(Class,Selection[]) taking the
to-be-constructed type as well as a list of selections.result - The result class to be constructed.selections - The selections to use in the constructor call.public Order asc(Expression<?> x)
CriteriaBuilderasc in interface CriteriaBuilderx - expression used to define the orderingpublic Order desc(Expression<?> x)
CriteriaBuilderdesc in interface CriteriaBuilderx - expression used to define the orderingpublic Predicate wrap(Expression<Boolean> expression)
public Predicate not(Expression<Boolean> expression)
CriteriaBuildernot in interface CriteriaBuilderexpression - restriction expressionpublic Predicate and(Expression<Boolean> x, Expression<Boolean> y)
CriteriaBuilderand in interface CriteriaBuilderx - boolean expressiony - boolean expressionpublic Predicate or(Expression<Boolean> x, Expression<Boolean> y)
CriteriaBuilderor in interface CriteriaBuilderx - boolean expressiony - boolean expressionpublic Predicate and(Predicate... restrictions)
CriteriaBuilderand in interface CriteriaBuilderrestrictions - zero or more restriction predicatespublic Predicate or(Predicate... restrictions)
CriteriaBuilderor in interface CriteriaBuilderrestrictions - zero or more restriction predicatespublic Predicate conjunction()
CriteriaBuilderconjunction in interface CriteriaBuilderpublic Predicate disjunction()
CriteriaBuilderdisjunction in interface CriteriaBuilderpublic Predicate isTrue(Expression<Boolean> expression)
CriteriaBuilderisTrue in interface CriteriaBuilderexpression - expression to be testedpublic Predicate isFalse(Expression<Boolean> expression)
CriteriaBuilderisFalse in interface CriteriaBuilderexpression - expression to be testedpublic Predicate isNull(Expression<?> x)
CriteriaBuilderisNull in interface CriteriaBuilderx - expressionpublic Predicate isNotNull(Expression<?> x)
CriteriaBuilderisNotNull in interface CriteriaBuilderx - expressionpublic Predicate equal(Expression<?> x, Expression<?> y)
CriteriaBuilderequal in interface CriteriaBuilderx - expressiony - expressionpublic Predicate notEqual(Expression<?> x, Expression<?> y)
CriteriaBuildernotEqual in interface CriteriaBuilderx - expressiony - expressionpublic Predicate equal(Expression<?> x, Object y)
CriteriaBuilderequal in interface CriteriaBuilderx - expressiony - objectpublic Predicate notEqual(Expression<?> x, Object y)
CriteriaBuildernotEqual in interface CriteriaBuilderx - expressiony - objectpublic <Y extends Comparable<? super Y>> Predicate greaterThan(Expression<? extends Y> x, Expression<? extends Y> y)
CriteriaBuildergreaterThan in interface CriteriaBuilderx - expressiony - expressionpublic <Y extends Comparable<? super Y>> Predicate lessThan(Expression<? extends Y> x, Expression<? extends Y> y)
CriteriaBuilderlessThan in interface CriteriaBuilderx - expressiony - expressionpublic <Y extends Comparable<? super Y>> Predicate greaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)
CriteriaBuildergreaterThanOrEqualTo in interface CriteriaBuilderx - expressiony - expressionpublic <Y extends Comparable<? super Y>> Predicate lessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)
CriteriaBuilderlessThanOrEqualTo in interface CriteriaBuilderx - expressiony - expressionpublic <Y extends Comparable<? super Y>> Predicate greaterThan(Expression<? extends Y> x, Y y)
CriteriaBuildergreaterThan in interface CriteriaBuilderx - expressiony - valuepublic <Y extends Comparable<? super Y>> Predicate lessThan(Expression<? extends Y> x, Y y)
CriteriaBuilderlessThan in interface CriteriaBuilderx - expressiony - valuepublic <Y extends Comparable<? super Y>> Predicate greaterThanOrEqualTo(Expression<? extends Y> x, Y y)
CriteriaBuildergreaterThanOrEqualTo in interface CriteriaBuilderx - expressiony - valuepublic <Y extends Comparable<? super Y>> Predicate lessThanOrEqualTo(Expression<? extends Y> x, Y y)
CriteriaBuilderlessThanOrEqualTo in interface CriteriaBuilderx - expressiony - valuepublic Predicate gt(Expression<? extends Number> x, Expression<? extends Number> y)
CriteriaBuildergt in interface CriteriaBuilderx - expressiony - expressionpublic Predicate lt(Expression<? extends Number> x, Expression<? extends Number> y)
CriteriaBuilderlt in interface CriteriaBuilderx - expressiony - expressionpublic Predicate ge(Expression<? extends Number> x, Expression<? extends Number> y)
CriteriaBuilderge in interface CriteriaBuilderx - expressiony - expressionpublic Predicate le(Expression<? extends Number> x, Expression<? extends Number> y)
CriteriaBuilderle in interface CriteriaBuilderx - expressiony - expressionpublic Predicate gt(Expression<? extends Number> x, Number y)
CriteriaBuildergt in interface CriteriaBuilderx - expressiony - valuepublic Predicate lt(Expression<? extends Number> x, Number y)
CriteriaBuilderlt in interface CriteriaBuilderx - expressiony - valuepublic Predicate ge(Expression<? extends Number> x, Number y)
CriteriaBuilderge in interface CriteriaBuilderx - expressiony - valuepublic Predicate le(Expression<? extends Number> x, Number y)
CriteriaBuilderle in interface CriteriaBuilderx - expressiony - valuepublic <Y extends Comparable<? super Y>> Predicate between(Expression<? extends Y> expression, Y lowerBound, Y upperBound)
CriteriaBuilderbetween in interface CriteriaBuilderexpression - expressionlowerBound - valueupperBound - valuepublic <Y extends Comparable<? super Y>> Predicate between(Expression<? extends Y> expression, Expression<? extends Y> lowerBound, Expression<? extends Y> upperBound)
CriteriaBuilderbetween in interface CriteriaBuilderexpression - expressionlowerBound - expressionupperBound - expressionpublic <T> CriteriaBuilder.In<T> in(Expression<? extends T> expression)
CriteriaBuilderin in interface CriteriaBuilderexpression - to be tested against list of valuespublic <T> CriteriaBuilder.In<T> in(Expression<? extends T> expression, Expression<? extends T>... values)
public <T> CriteriaBuilder.In<T> in(Expression<? extends T> expression, T... values)
public <T> CriteriaBuilder.In<T> in(Expression<? extends T> expression, Collection<T> values)
public Predicate like(Expression<String> matchExpression, Expression<String> pattern)
CriteriaBuilderlike in interface CriteriaBuildermatchExpression - string expressionpattern - string expressionpublic Predicate like(Expression<String> matchExpression, Expression<String> pattern, Expression<Character> escapeCharacter)
CriteriaBuilderlike in interface CriteriaBuildermatchExpression - string expressionpattern - string expressionescapeCharacter - escape character expressionpublic Predicate like(Expression<String> matchExpression, Expression<String> pattern, char escapeCharacter)
CriteriaBuilderlike in interface CriteriaBuildermatchExpression - string expressionpattern - string expressionescapeCharacter - escape characterpublic Predicate like(Expression<String> matchExpression, String pattern)
CriteriaBuilderlike in interface CriteriaBuildermatchExpression - string expressionpattern - stringpublic Predicate like(Expression<String> matchExpression, String pattern, Expression<Character> escapeCharacter)
CriteriaBuilderlike in interface CriteriaBuildermatchExpression - string expressionpattern - stringescapeCharacter - escape character expressionpublic Predicate like(Expression<String> matchExpression, String pattern, char escapeCharacter)
CriteriaBuilderlike in interface CriteriaBuildermatchExpression - string expressionpattern - stringescapeCharacter - escape characterpublic Predicate notLike(Expression<String> matchExpression, Expression<String> pattern)
CriteriaBuildernotLike in interface CriteriaBuildermatchExpression - string expressionpattern - string expressionpublic Predicate notLike(Expression<String> matchExpression, Expression<String> pattern, Expression<Character> escapeCharacter)
CriteriaBuildernotLike in interface CriteriaBuildermatchExpression - string expressionpattern - string expressionescapeCharacter - escape character expressionpublic Predicate notLike(Expression<String> matchExpression, Expression<String> pattern, char escapeCharacter)
CriteriaBuildernotLike in interface CriteriaBuildermatchExpression - string expressionpattern - string expressionescapeCharacter - escape characterpublic Predicate notLike(Expression<String> matchExpression, String pattern)
CriteriaBuildernotLike in interface CriteriaBuildermatchExpression - string expressionpattern - stringpublic Predicate notLike(Expression<String> matchExpression, String pattern, Expression<Character> escapeCharacter)
CriteriaBuildernotLike in interface CriteriaBuildermatchExpression - string expressionpattern - stringescapeCharacter - escape character expressionpublic Predicate notLike(Expression<String> matchExpression, String pattern, char escapeCharacter)
CriteriaBuildernotLike in interface CriteriaBuildermatchExpression - string expressionpattern - stringescapeCharacter - escape characterpublic <T> ParameterExpression<T> parameter(Class<T> paramClass)
CriteriaBuilderparameter in interface CriteriaBuilderparamClass - parameter classpublic <T> ParameterExpression<T> parameter(Class<T> paramClass, String name)
CriteriaBuilderparameter in interface CriteriaBuilderparamClass - parameter classname - name that can be used to refer to
the parameterpublic <T> Expression<T> literal(T value)
CriteriaBuilderliteral in interface CriteriaBuildervalue - value represented by the expressionpublic <T> Expression<T> nullLiteral(Class<T> resultClass)
CriteriaBuildernullLiteral in interface CriteriaBuilderresultClass - type of the null literalpublic <N extends Number> Expression<Double> avg(Expression<N> x)
CriteriaBuilderavg in interface CriteriaBuilderx - expression representing input value to avg operationpublic <N extends Number> Expression<N> sum(Expression<N> x)
CriteriaBuildersum in interface CriteriaBuilderx - expression representing input value to sum operationpublic Expression<Long> sumAsLong(Expression<Integer> x)
CriteriaBuildersumAsLong in interface CriteriaBuilderx - expression representing input value to sum operationpublic Expression<Double> sumAsDouble(Expression<Float> x)
CriteriaBuildersumAsDouble in interface CriteriaBuilderx - expression representing input value to sum operationpublic <N extends Number> Expression<N> max(Expression<N> x)
CriteriaBuildermax in interface CriteriaBuilderx - expression representing input value to max operationpublic <N extends Number> Expression<N> min(Expression<N> x)
CriteriaBuildermin in interface CriteriaBuilderx - expression representing input value to min operationpublic <X extends Comparable<? super X>> Expression<X> greatest(Expression<X> x)
CriteriaBuildergreatest in interface CriteriaBuilderx - expression representing input value to greatest
operationpublic <X extends Comparable<? super X>> Expression<X> least(Expression<X> x)
CriteriaBuilderleast in interface CriteriaBuilderx - expression representing input value to least
operationpublic Expression<Long> count(Expression<?> x)
CriteriaBuildercount in interface CriteriaBuilderx - expression representing input value to count
operationpublic Expression<Long> countDistinct(Expression<?> x)
CriteriaBuildercountDistinct in interface CriteriaBuilderx - expression representing input value to
count distinct operationpublic <T> Expression<T> function(String name, Class<T> returnType, Expression<?>... arguments)
CriteriaBuilderfunction in interface CriteriaBuildername - function namereturnType - expected result typearguments - function argumentspublic <T> Expression<T> function(String name, Class<T> returnType)
name - The function name.returnType - The return type.public <N extends Number> Expression<N> abs(Expression<N> expression)
CriteriaBuilderabs in interface CriteriaBuilderexpression - expressionpublic Expression<Double> sqrt(Expression<? extends Number> expression)
CriteriaBuildersqrt in interface CriteriaBuilderexpression - expressionpublic Expression<Date> currentDate()
CriteriaBuildercurrentDate in interface CriteriaBuilderpublic Expression<Timestamp> currentTimestamp()
CriteriaBuildercurrentTimestamp in interface CriteriaBuilderpublic Expression<Time> currentTime()
CriteriaBuildercurrentTime in interface CriteriaBuilderpublic Expression<String> substring(Expression<String> value, Expression<Integer> start)
CriteriaBuildersubstring in interface CriteriaBuildervalue - string expressionstart - start position expressionpublic Expression<String> substring(Expression<String> value, int start)
CriteriaBuildersubstring in interface CriteriaBuildervalue - string expressionstart - start positionpublic Expression<String> substring(Expression<String> value, Expression<Integer> start, Expression<Integer> length)
CriteriaBuildersubstring in interface CriteriaBuildervalue - string expressionstart - start position expressionlength - length expressionpublic Expression<String> substring(Expression<String> value, int start, int length)
CriteriaBuildersubstring in interface CriteriaBuildervalue - string expressionstart - start positionlength - lengthpublic Expression<String> trim(Expression<String> trimSource)
CriteriaBuildertrim in interface CriteriaBuildertrimSource - expression for string to trimpublic Expression<String> trim(CriteriaBuilder.Trimspec trimspec, Expression<String> trimSource)
CriteriaBuildertrim in interface CriteriaBuildertrimspec - trim specificationtrimSource - expression for string to trimpublic Expression<String> trim(Expression<Character> trimCharacter, Expression<String> trimSource)
CriteriaBuildertrim in interface CriteriaBuildertrimCharacter - expression for character to be trimmedtrimSource - expression for string to trimpublic Expression<String> trim(CriteriaBuilder.Trimspec trimspec, Expression<Character> trimCharacter, Expression<String> trimSource)
CriteriaBuildertrim in interface CriteriaBuildertrimspec - trim specificationtrimCharacter - expression for character to be trimmedtrimSource - expression for string to trimpublic Expression<String> trim(char trimCharacter, Expression<String> trimSource)
CriteriaBuildertrim in interface CriteriaBuildertrimCharacter - character to be trimmedtrimSource - expression for string to trimpublic Expression<String> trim(CriteriaBuilder.Trimspec trimspec, char trimCharacter, Expression<String> trimSource)
CriteriaBuildertrim in interface CriteriaBuildertrimspec - trim specificationtrimCharacter - character to be trimmedtrimSource - expression for string to trimpublic Expression<String> lower(Expression<String> value)
CriteriaBuilderlower in interface CriteriaBuildervalue - string expressionpublic Expression<String> upper(Expression<String> value)
CriteriaBuilderupper in interface CriteriaBuildervalue - string expressionpublic Expression<Integer> length(Expression<String> value)
CriteriaBuilderlength in interface CriteriaBuildervalue - string expressionpublic Expression<Integer> locate(Expression<String> string, Expression<String> pattern)
CriteriaBuilderlocate in interface CriteriaBuilderstring - expression for string to be searchedpattern - expression for string to be locatedpublic Expression<Integer> locate(Expression<String> string, Expression<String> pattern, Expression<Integer> start)
CriteriaBuilderlocate in interface CriteriaBuilderstring - expression for string to be searchedpattern - expression for string to be locatedstart - expression for position at which to start searchpublic Expression<Integer> locate(Expression<String> string, String pattern)
CriteriaBuilderlocate in interface CriteriaBuilderstring - expression for string to be searchedpattern - string to be locatedpublic Expression<Integer> locate(Expression<String> string, String pattern, int start)
CriteriaBuilderlocate in interface CriteriaBuilderstring - expression for string to be searchedpattern - string to be locatedstart - position at which to start searchpublic <N extends Number> Expression<N> neg(Expression<N> expression)
CriteriaBuilderneg in interface CriteriaBuilderexpression - expressionpublic <N extends Number> Expression<N> sum(Expression<? extends N> expression1, Expression<? extends N> expression2)
CriteriaBuildersum in interface CriteriaBuilderexpression1 - expressionexpression2 - expressionpublic <N extends Number> Expression<N> prod(Expression<? extends N> expression1, Expression<? extends N> expression2)
CriteriaBuilderprod in interface CriteriaBuilderexpression1 - expressionexpression2 - expressionpublic <N extends Number> Expression<N> diff(Expression<? extends N> expression1, Expression<? extends N> expression2)
CriteriaBuilderdiff in interface CriteriaBuilderexpression1 - expressionexpression2 - expressionpublic <N extends Number> Expression<N> sum(Expression<? extends N> expression, N n)
CriteriaBuildersum in interface CriteriaBuilderexpression - expressionn - valuepublic <N extends Number> Expression<N> prod(Expression<? extends N> expression, N n)
CriteriaBuilderprod in interface CriteriaBuilderexpression - expressionn - valuepublic <N extends Number> Expression<N> diff(Expression<? extends N> expression, N n)
CriteriaBuilderdiff in interface CriteriaBuilderexpression - expressionn - valuepublic <N extends Number> Expression<N> sum(N n, Expression<? extends N> expression)
CriteriaBuildersum in interface CriteriaBuildern - valueexpression - expressionpublic <N extends Number> Expression<N> prod(N n, Expression<? extends N> expression)
CriteriaBuilderprod in interface CriteriaBuildern - valueexpression - expressionpublic <N extends Number> Expression<N> diff(N n, Expression<? extends N> expression)
CriteriaBuilderdiff in interface CriteriaBuildern - valueexpression - expressionpublic Expression<Number> quot(Expression<? extends Number> expression1, Expression<? extends Number> expression2)
CriteriaBuilderquot in interface CriteriaBuilderexpression1 - expressionexpression2 - expressionpublic Expression<Number> quot(Expression<? extends Number> expression, Number number)
CriteriaBuilderquot in interface CriteriaBuilderexpression - expressionnumber - valuepublic Expression<Number> quot(Number number, Expression<? extends Number> expression)
CriteriaBuilderquot in interface CriteriaBuildernumber - valueexpression - expressionpublic Expression<Integer> mod(Expression<Integer> expression1, Expression<Integer> expression2)
CriteriaBuildermod in interface CriteriaBuilderexpression1 - expressionexpression2 - expressionpublic Expression<Integer> mod(Expression<Integer> expression, Integer integer)
CriteriaBuildermod in interface CriteriaBuilderexpression - expressioninteger - valuepublic Expression<Integer> mod(Integer integer, Expression<Integer> expression)
CriteriaBuildermod in interface CriteriaBuilderinteger - valueexpression - expressionpublic ExpressionImplementor<Long> toLong(Expression<? extends Number> expression)
CriteriaBuildertoLong in interface CriteriaBuilderexpression - numeric expressionpublic ExpressionImplementor<Integer> toInteger(Expression<? extends Number> expression)
CriteriaBuildertoInteger in interface CriteriaBuilderexpression - numeric expressionpublic ExpressionImplementor<Float> toFloat(Expression<? extends Number> expression)
CriteriaBuildertoFloat in interface CriteriaBuilderexpression - numeric expressionpublic ExpressionImplementor<Double> toDouble(Expression<? extends Number> expression)
CriteriaBuildertoDouble in interface CriteriaBuilderexpression - numeric expressionpublic ExpressionImplementor<BigDecimal> toBigDecimal(Expression<? extends Number> expression)
CriteriaBuildertoBigDecimal in interface CriteriaBuilderexpression - numeric expressionpublic ExpressionImplementor<BigInteger> toBigInteger(Expression<? extends Number> expression)
CriteriaBuildertoBigInteger in interface CriteriaBuilderexpression - numeric expressionpublic ExpressionImplementor<String> toString(Expression<Character> characterExpression)
CriteriaBuildertoString in interface CriteriaBuildercharacterExpression - expressionpublic <X,T,V extends T> Join<X,V> treat(Join<X,T> join, Class<V> type)
CriteriaBuildertreat in interface CriteriaBuilderjoin - Join objecttype - type to be downcast topublic <X,T,E extends T> CollectionJoin<X,E> treat(CollectionJoin<X,T> join, Class<E> type)
CriteriaBuildertreat in interface CriteriaBuilderjoin - CollectionJoin objecttype - type to be downcast topublic <X,T,E extends T> SetJoin<X,E> treat(SetJoin<X,T> join, Class<E> type)
CriteriaBuildertreat in interface CriteriaBuilderjoin - SetJoin objecttype - type to be downcast topublic <X,T,E extends T> ListJoin<X,E> treat(ListJoin<X,T> join, Class<E> type)
CriteriaBuildertreat in interface CriteriaBuilderjoin - ListJoin objecttype - type to be downcast topublic <X,K,T,V extends T> MapJoin<X,K,V> treat(MapJoin<X,K,T> join, Class<V> type)
CriteriaBuildertreat in interface CriteriaBuilderjoin - MapJoin objecttype - type to be downcast topublic <X,T extends X> Path<T> treat(Path<X> path, Class<T> type)
CriteriaBuildertreat in interface CriteriaBuilderpath - pathtype - type to be downcast topublic <X,T extends X> Root<T> treat(Root<X> root, Class<T> type)
CriteriaBuildertreat in interface CriteriaBuilderroot - roottype - type to be downcast topublic Predicate exists(Subquery<?> subquery)
CriteriaBuilderexists in interface CriteriaBuildersubquery - subquery whose result is to be testedpublic <Y> Expression<Y> all(Subquery<Y> subquery)
CriteriaBuilderall in interface CriteriaBuildersubquery - subquerypublic <Y> Expression<Y> some(Subquery<Y> subquery)
CriteriaBuilderany expression.some in interface CriteriaBuildersubquery - subquerypublic <Y> Expression<Y> any(Subquery<Y> subquery)
CriteriaBuildersome expression.any in interface CriteriaBuildersubquery - subquerypublic <Y> Expression<Y> coalesce(Expression<? extends Y> exp1, Expression<? extends Y> exp2)
CriteriaBuildercoalesce in interface CriteriaBuilderexp1 - expressionexp2 - expressionpublic <Y> Expression<Y> coalesce(Class<Y> type, Expression<? extends Y> exp1, Expression<? extends Y> exp2)
public <Y> Expression<Y> coalesce(Expression<? extends Y> exp1, Y exp2)
CriteriaBuildercoalesce in interface CriteriaBuilderexp1 - expressionexp2 - valuepublic <Y> Expression<Y> coalesce(Class<Y> type, Expression<? extends Y> exp1, Y exp2)
public <T> CriteriaBuilder.Coalesce<T> coalesce()
CriteriaBuildercoalesce in interface CriteriaBuilderpublic <T> CriteriaBuilder.Coalesce<T> coalesce(Class<T> type)
public Expression<String> concat(Expression<String> string1, Expression<String> string2)
CriteriaBuilderconcat in interface CriteriaBuilderstring1 - string expressionstring2 - string expressionpublic Expression<String> concat(Expression<String> string1, String string2)
CriteriaBuilderconcat in interface CriteriaBuilderstring1 - string expressionstring2 - stringpublic Expression<String> concat(String string1, Expression<String> string2)
CriteriaBuilderconcat in interface CriteriaBuilderstring1 - stringstring2 - string expressionpublic <Y> Expression<Y> nullif(Expression<Y> exp1, Expression<?> exp2)
CriteriaBuildernullif in interface CriteriaBuilderexp1 - expressionexp2 - expressionpublic <Y> Expression<Y> nullif(Class<Y> type, Expression<Y> exp1, Expression<?> exp2)
public <Y> Expression<Y> nullif(Expression<Y> exp1, Y exp2)
CriteriaBuildernullif in interface CriteriaBuilderexp1 - expressionexp2 - valuepublic <Y> Expression<Y> nullif(Class<Y> type, Expression<Y> exp1, Y exp2)
public <C,R> CriteriaBuilder.SimpleCase<C,R> selectCase(Expression<? extends C> expression)
CriteriaBuilderselectCase in interface CriteriaBuilderexpression - to be tested against the case conditionspublic <C,R> CriteriaBuilder.SimpleCase<C,R> selectCase(Class<R> type, Expression<? extends C> expression)
public <R> CriteriaBuilder.Case<R> selectCase()
CriteriaBuilderselectCase in interface CriteriaBuilderpublic <R> CriteriaBuilder.Case<R> selectCase(Class<R> type)
public <C extends Collection<?>> Expression<Integer> size(C c)
CriteriaBuildersize in interface CriteriaBuilderc - collectionpublic <C extends Collection<?>> Expression<Integer> size(Expression<C> exp)
CriteriaBuildersize in interface CriteriaBuilderexp - expressionpublic <V,M extends Map<?,V>> Expression<Collection<V>> values(M map)
CriteriaBuildervalues in interface CriteriaBuildermap - mappublic <K,M extends Map<K,?>> Expression<Set<K>> keys(M map)
CriteriaBuilderkeys in interface CriteriaBuildermap - mappublic <C extends Collection<?>> Predicate isEmpty(Expression<C> collectionExpression)
CriteriaBuilderisEmpty in interface CriteriaBuildercollectionExpression - expressionpublic <C extends Collection<?>> Predicate isNotEmpty(Expression<C> collectionExpression)
CriteriaBuilderisNotEmpty in interface CriteriaBuildercollectionExpression - expressionpublic <E,C extends Collection<E>> Predicate isMember(E e, Expression<C> collectionExpression)
CriteriaBuilderisMember in interface CriteriaBuildere - elementcollectionExpression - expressionpublic <E,C extends Collection<E>> Predicate isNotMember(E e, Expression<C> cExpression)
CriteriaBuilderisNotMember in interface CriteriaBuildere - elementcExpression - expressionpublic <E,C extends Collection<E>> Predicate isMember(Expression<E> elementExpression, Expression<C> collectionExpression)
CriteriaBuilderisMember in interface CriteriaBuilderelementExpression - element expressioncollectionExpression - expressionpublic <E,C extends Collection<E>> Predicate isNotMember(Expression<E> eExpression, Expression<C> cExpression)
CriteriaBuilderisNotMember in interface CriteriaBuildereExpression - element expressioncExpression - expressionpublic <M extends Map<?,?>> Predicate isMapEmpty(Expression<M> mapExpression)
HibernateCriteriaBuilderCriteriaBuilder.isEmpty(javax.persistence.criteria.Expression<C>)isMapEmpty in interface HibernateCriteriaBuildermapExpression - The expression resolving to a Map which we
want to check for emptinesspublic <M extends Map<?,?>> Predicate isMapNotEmpty(Expression<M> mapExpression)
HibernateCriteriaBuilderCriteriaBuilder.isNotEmpty(javax.persistence.criteria.Expression<C>)isMapNotEmpty in interface HibernateCriteriaBuildermapExpression - The expression resolving to a Map which we
want to check for non-emptinesspublic <M extends Map<?,?>> Expression<Integer> mapSize(Expression<M> mapExpression)
HibernateCriteriaBuilderCriteriaBuilder.size(javax.persistence.criteria.Expression<C>)mapSize in interface HibernateCriteriaBuildermapExpression - The expression resolving to a Map for which we
want to know the sizepublic <M extends Map<?,?>> Expression<Integer> mapSize(M map)
HibernateCriteriaBuildermapSize in interface HibernateCriteriaBuildermap - The Map for which we want to know the sizeCopyright © 2019 JBoss by Red Hat. All rights reserved.