org.hibernate.ejb.criteria
Class CriteriaBuilderImpl

java.lang.Object
  extended by org.hibernate.ejb.criteria.CriteriaBuilderImpl
All Implemented Interfaces:
Serializable, javax.persistence.criteria.CriteriaBuilder

public class CriteriaBuilderImpl
extends Object
implements javax.persistence.criteria.CriteriaBuilder, Serializable

Hibernate implementation of the JPA CriteriaBuilder contract.

Author:
Steve Ebersole
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.persistence.criteria.CriteriaBuilder
javax.persistence.criteria.CriteriaBuilder.Case<R>, javax.persistence.criteria.CriteriaBuilder.Coalesce<T>, javax.persistence.criteria.CriteriaBuilder.In<T>, javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R>, javax.persistence.criteria.CriteriaBuilder.Trimspec
 
Constructor Summary
CriteriaBuilderImpl(EntityManagerFactoryImpl entityManagerFactory)
           
 
Method Summary
<N extends Number>
javax.persistence.criteria.Expression<N>
abs(javax.persistence.criteria.Expression<N> expression)
          
<Y> javax.persistence.criteria.Expression<Y>
all(javax.persistence.criteria.Subquery<Y> subquery)
          
 javax.persistence.criteria.Predicate and(javax.persistence.criteria.Expression<Boolean> x, javax.persistence.criteria.Expression<Boolean> y)
          
 javax.persistence.criteria.Predicate and(javax.persistence.criteria.Predicate... restrictions)
          
<Y> javax.persistence.criteria.Expression<Y>
any(javax.persistence.criteria.Subquery<Y> subquery)
          
<Y> javax.persistence.criteria.CompoundSelection<Y>
array(Class<Y> type, List<javax.persistence.criteria.Selection<?>> selections)
          Version of array(Selection[]) taking a list of selections, as well as the type of array.
 javax.persistence.criteria.CompoundSelection<Object[]> array(List<javax.persistence.criteria.Selection<?>> selections)
          Version of array(Selection[]) taking a list of selections.
 javax.persistence.criteria.CompoundSelection<Object[]> array(javax.persistence.criteria.Selection<?>... selections)
          
 javax.persistence.criteria.Order asc(javax.persistence.criteria.Expression<?> x)
          
<N extends Number>
javax.persistence.criteria.Expression<Double>
avg(javax.persistence.criteria.Expression<N> x)
          
<Y extends Comparable<? super Y>>
javax.persistence.criteria.Predicate
between(javax.persistence.criteria.Expression<? extends Y> expression, javax.persistence.criteria.Expression<? extends Y> lowerBound, javax.persistence.criteria.Expression<? extends Y> upperBound)
          
<Y extends Comparable<? super Y>>
javax.persistence.criteria.Predicate
between(javax.persistence.criteria.Expression<? extends Y> expression, Y lowerBound, Y upperBound)
          
<T> javax.persistence.criteria.CriteriaBuilder.Coalesce<T>
coalesce()
          
<T> javax.persistence.criteria.CriteriaBuilder.Coalesce<T>
coalesce(Class<T> type)
           
<Y> javax.persistence.criteria.Expression<Y>
coalesce(Class<Y> type, javax.persistence.criteria.Expression<? extends Y> exp1, javax.persistence.criteria.Expression<? extends Y> exp2)
           
<Y> javax.persistence.criteria.Expression<Y>
coalesce(Class<Y> type, javax.persistence.criteria.Expression<? extends Y> exp1, Y exp2)
           
<Y> javax.persistence.criteria.Expression<Y>
coalesce(javax.persistence.criteria.Expression<? extends Y> exp1, javax.persistence.criteria.Expression<? extends Y> exp2)
          
<Y> javax.persistence.criteria.Expression<Y>
coalesce(javax.persistence.criteria.Expression<? extends Y> exp1, Y exp2)
          
 javax.persistence.criteria.Expression<String> concat(javax.persistence.criteria.Expression<String> string1, javax.persistence.criteria.Expression<String> string2)
          
 javax.persistence.criteria.Expression<String> concat(javax.persistence.criteria.Expression<String> string1, String string2)
          
 javax.persistence.criteria.Expression<String> concat(String string1, javax.persistence.criteria.Expression<String> string2)
          
 javax.persistence.criteria.Predicate conjunction()
          
<Y> javax.persistence.criteria.CompoundSelection<Y>
construct(Class<Y> result, List<javax.persistence.criteria.Selection<?>> selections)
          Version of construct(Class,Selection[]) taking the to-be-constructed type as well as a list of selections.
<Y> javax.persistence.criteria.CompoundSelection<Y>
construct(Class<Y> result, javax.persistence.criteria.Selection<?>... selections)
          
 javax.persistence.criteria.Expression<Long> count(javax.persistence.criteria.Expression<?> x)
          
 javax.persistence.criteria.Expression<Long> countDistinct(javax.persistence.criteria.Expression<?> x)
          
 javax.persistence.criteria.CriteriaQuery<Object> createQuery()
          
<T> javax.persistence.criteria.CriteriaQuery<T>
createQuery(Class<T> resultClass)
          
 javax.persistence.criteria.CriteriaQuery<Tuple> createTupleQuery()
          
 javax.persistence.criteria.Expression<Date> currentDate()
           
 javax.persistence.criteria.Expression<Time> currentTime()
           
 javax.persistence.criteria.Expression<Timestamp> currentTimestamp()
           
 javax.persistence.criteria.Order desc(javax.persistence.criteria.Expression<?> x)
          
<N extends Number>
javax.persistence.criteria.Expression<N>
diff(javax.persistence.criteria.Expression<? extends N> expression1, javax.persistence.criteria.Expression<? extends N> expression2)
           
<N extends Number>
javax.persistence.criteria.Expression<N>
diff(javax.persistence.criteria.Expression<? extends N> expression, N n)
           
<N extends Number>
javax.persistence.criteria.Expression<N>
diff(N n, javax.persistence.criteria.Expression<? extends N> expression)
           
 javax.persistence.criteria.Predicate disjunction()
          
 javax.persistence.criteria.Predicate equal(javax.persistence.criteria.Expression<?> x, javax.persistence.criteria.Expression<?> y)
          
 javax.persistence.criteria.Predicate equal(javax.persistence.criteria.Expression<?> x, Object y)
          
 javax.persistence.criteria.Predicate exists(javax.persistence.criteria.Subquery<?> subquery)
          
<T> javax.persistence.criteria.Expression<T>
function(String name, Class<T> returnType)
          Create a reference to a function taking no params.
<T> javax.persistence.criteria.Expression<T>
function(String name, Class<T> returnType, javax.persistence.criteria.Expression<?>... arguments)
          
 javax.persistence.criteria.Predicate ge(javax.persistence.criteria.Expression<? extends Number> x, javax.persistence.criteria.Expression<? extends Number> y)
          
 javax.persistence.criteria.Predicate ge(javax.persistence.criteria.Expression<? extends Number> x, Number y)
          
 EntityManagerFactoryImpl getEntityManagerFactory()
          Provides protected access to the underlying EntityManagerFactoryImpl.
<Y extends Comparable<? super Y>>
javax.persistence.criteria.Predicate
greaterThan(javax.persistence.criteria.Expression<? extends Y> x, javax.persistence.criteria.Expression<? extends Y> y)
          
<Y extends Comparable<? super Y>>
javax.persistence.criteria.Predicate
greaterThan(javax.persistence.criteria.Expression<? extends Y> x, Y y)
          
<Y extends Comparable<? super Y>>
javax.persistence.criteria.Predicate
greaterThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x, javax.persistence.criteria.Expression<? extends Y> y)
          
<Y extends Comparable<? super Y>>
javax.persistence.criteria.Predicate
greaterThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x, Y y)
          
<X extends Comparable<? super X>>
javax.persistence.criteria.Expression<X>
greatest(javax.persistence.criteria.Expression<X> x)
          
 javax.persistence.criteria.Predicate gt(javax.persistence.criteria.Expression<? extends Number> x, javax.persistence.criteria.Expression<? extends Number> y)
          
 javax.persistence.criteria.Predicate gt(javax.persistence.criteria.Expression<? extends Number> x, Number y)
          
<T> javax.persistence.criteria.CriteriaBuilder.In<T>
in(javax.persistence.criteria.Expression<? extends T> expression)
          
<T> javax.persistence.criteria.CriteriaBuilder.In<T>
in(javax.persistence.criteria.Expression<? extends T> expression, Collection<T> values)
           
<T> javax.persistence.criteria.CriteriaBuilder.In<T>
in(javax.persistence.criteria.Expression<? extends T> expression, javax.persistence.criteria.Expression<? extends T>... values)
           
<T> javax.persistence.criteria.CriteriaBuilder.In<T>
in(javax.persistence.criteria.Expression<? extends T> expression, T... values)
           
<C extends Collection<?>>
javax.persistence.criteria.Predicate
isEmpty(javax.persistence.criteria.Expression<C> collectionExpression)
          
 javax.persistence.criteria.Predicate isFalse(javax.persistence.criteria.Expression<Boolean> expression)
          
<E,C extends Collection<E>>
javax.persistence.criteria.Predicate
isMember(E e, javax.persistence.criteria.Expression<C> collectionExpression)
          
<E,C extends Collection<E>>
javax.persistence.criteria.Predicate
isMember(javax.persistence.criteria.Expression<E> elementExpression, javax.persistence.criteria.Expression<C> collectionExpression)
          
<C extends Collection<?>>
javax.persistence.criteria.Predicate
isNotEmpty(javax.persistence.criteria.Expression<C> collectionExpression)
          
<E,C extends Collection<E>>
javax.persistence.criteria.Predicate
isNotMember(E e, javax.persistence.criteria.Expression<C> cExpression)
          
<E,C extends Collection<E>>
javax.persistence.criteria.Predicate
isNotMember(javax.persistence.criteria.Expression<E> eExpression, javax.persistence.criteria.Expression<C> cExpression)
          
 javax.persistence.criteria.Predicate isNotNull(javax.persistence.criteria.Expression<?> x)
          
 javax.persistence.criteria.Predicate isNull(javax.persistence.criteria.Expression<?> x)
          s
 javax.persistence.criteria.Predicate isTrue(javax.persistence.criteria.Expression<Boolean> expression)
          
<K,M extends Map<K,?>>
javax.persistence.criteria.Expression<Set<K>>
keys(M map)
          
 javax.persistence.criteria.Predicate le(javax.persistence.criteria.Expression<? extends Number> x, javax.persistence.criteria.Expression<? extends Number> y)
          
 javax.persistence.criteria.Predicate le(javax.persistence.criteria.Expression<? extends Number> x, Number y)
          
<X extends Comparable<? super X>>
javax.persistence.criteria.Expression<X>
least(javax.persistence.criteria.Expression<X> x)
          
 javax.persistence.criteria.Expression<Integer> length(javax.persistence.criteria.Expression<String> value)
           
<Y extends Comparable<? super Y>>
javax.persistence.criteria.Predicate
lessThan(javax.persistence.criteria.Expression<? extends Y> x, javax.persistence.criteria.Expression<? extends Y> y)
          
<Y extends Comparable<? super Y>>
javax.persistence.criteria.Predicate
lessThan(javax.persistence.criteria.Expression<? extends Y> x, Y y)
          
<Y extends Comparable<? super Y>>
javax.persistence.criteria.Predicate
lessThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x, javax.persistence.criteria.Expression<? extends Y> y)
          
<Y extends Comparable<? super Y>>
javax.persistence.criteria.Predicate
lessThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x, Y y)
          
 javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression, javax.persistence.criteria.Expression<String> pattern)
           
 javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression, javax.persistence.criteria.Expression<String> pattern, char escapeCharacter)
           
 javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression, javax.persistence.criteria.Expression<String> pattern, javax.persistence.criteria.Expression<Character> escapeCharacter)
           
 javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression, String pattern)
           
 javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression, String pattern, char escapeCharacter)
           
 javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression, String pattern, javax.persistence.criteria.Expression<Character> escapeCharacter)
           
<T> javax.persistence.criteria.Expression<T>
literal(T value)
          
 javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> string, javax.persistence.criteria.Expression<String> pattern)
           
 javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> string, javax.persistence.criteria.Expression<String> pattern, javax.persistence.criteria.Expression<Integer> start)
           
 javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> string, String pattern)
           
 javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> string, String pattern, int start)
           
 javax.persistence.criteria.Expression<String> lower(javax.persistence.criteria.Expression<String> value)
           
 javax.persistence.criteria.Predicate lt(javax.persistence.criteria.Expression<? extends Number> x, javax.persistence.criteria.Expression<? extends Number> y)
          
 javax.persistence.criteria.Predicate lt(javax.persistence.criteria.Expression<? extends Number> x, Number y)
          
<N extends Number>
javax.persistence.criteria.Expression<N>
max(javax.persistence.criteria.Expression<N> x)
          
<N extends Number>
javax.persistence.criteria.Expression<N>
min(javax.persistence.criteria.Expression<N> x)
          
 javax.persistence.criteria.Expression<Integer> mod(javax.persistence.criteria.Expression<Integer> expression1, javax.persistence.criteria.Expression<Integer> expression2)
           
 javax.persistence.criteria.Expression<Integer> mod(javax.persistence.criteria.Expression<Integer> expression, Integer integer)
           
 javax.persistence.criteria.Expression<Integer> mod(Integer integer, javax.persistence.criteria.Expression<Integer> expression)
           
<N extends Number>
javax.persistence.criteria.Expression<N>
neg(javax.persistence.criteria.Expression<N> expression)
           
 javax.persistence.criteria.Predicate not(javax.persistence.criteria.Expression<Boolean> expression)
          
 javax.persistence.criteria.Predicate notEqual(javax.persistence.criteria.Expression<?> x, javax.persistence.criteria.Expression<?> y)
          
 javax.persistence.criteria.Predicate notEqual(javax.persistence.criteria.Expression<?> x, Object y)
          
 javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression, javax.persistence.criteria.Expression<String> pattern)
           
 javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression, javax.persistence.criteria.Expression<String> pattern, char escapeCharacter)
           
 javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression, javax.persistence.criteria.Expression<String> pattern, javax.persistence.criteria.Expression<Character> escapeCharacter)
           
 javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression, String pattern)
           
 javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression, String pattern, char escapeCharacter)
           
 javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression, String pattern, javax.persistence.criteria.Expression<Character> escapeCharacter)
           
<Y> javax.persistence.criteria.Expression<Y>
nullif(Class<Y> type, javax.persistence.criteria.Expression<Y> exp1, javax.persistence.criteria.Expression<?> exp2)
           
<Y> javax.persistence.criteria.Expression<Y>
nullif(Class<Y> type, javax.persistence.criteria.Expression<Y> exp1, Y exp2)
           
<Y> javax.persistence.criteria.Expression<Y>
nullif(javax.persistence.criteria.Expression<Y> exp1, javax.persistence.criteria.Expression<?> exp2)
          
<Y> javax.persistence.criteria.Expression<Y>
nullif(javax.persistence.criteria.Expression<Y> exp1, Y exp2)
          
<T> javax.persistence.criteria.Expression<T>
nullLiteral(Class<T> resultClass)
          
 javax.persistence.criteria.Predicate or(javax.persistence.criteria.Expression<Boolean> x, javax.persistence.criteria.Expression<Boolean> y)
          
 javax.persistence.criteria.Predicate or(javax.persistence.criteria.Predicate... restrictions)
          
<T> javax.persistence.criteria.ParameterExpression<T>
parameter(Class<T> paramClass)
          
<T> javax.persistence.criteria.ParameterExpression<T>
parameter(Class<T> paramClass, String name)
          
<N extends Number>
javax.persistence.criteria.Expression<N>
prod(javax.persistence.criteria.Expression<? extends N> expression1, javax.persistence.criteria.Expression<? extends N> expression2)
           
<N extends Number>
javax.persistence.criteria.Expression<N>
prod(javax.persistence.criteria.Expression<? extends N> expression, N n)
           
<N extends Number>
javax.persistence.criteria.Expression<N>
prod(N n, javax.persistence.criteria.Expression<? extends N> expression)
           
 javax.persistence.criteria.Expression<Number> quot(javax.persistence.criteria.Expression<? extends Number> expression1, javax.persistence.criteria.Expression<? extends Number> expression2)
           
 javax.persistence.criteria.Expression<Number> quot(javax.persistence.criteria.Expression<? extends Number> expression, Number number)
           
 javax.persistence.criteria.Expression<Number> quot(Number number, javax.persistence.criteria.Expression<? extends Number> expression)
           
<R> javax.persistence.criteria.CriteriaBuilder.Case<R>
selectCase()
          
<R> javax.persistence.criteria.CriteriaBuilder.Case<R>
selectCase(Class<R> type)
           
<C,R> javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R>
selectCase(Class<R> type, javax.persistence.criteria.Expression<? extends C> expression)
           
<C,R> javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R>
selectCase(javax.persistence.criteria.Expression<? extends C> expression)
          
<C extends Collection<?>>
javax.persistence.criteria.Expression<Integer>
size(C c)
          
<C extends Collection<?>>
javax.persistence.criteria.Expression<Integer>
size(javax.persistence.criteria.Expression<C> exp)
          
<Y> javax.persistence.criteria.Expression<Y>
some(javax.persistence.criteria.Subquery<Y> subquery)
          
 javax.persistence.criteria.Expression<Double> sqrt(javax.persistence.criteria.Expression<? extends Number> expression)
          
 javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> value, javax.persistence.criteria.Expression<Integer> start)
           
 javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> value, javax.persistence.criteria.Expression<Integer> start, javax.persistence.criteria.Expression<Integer> length)
           
 javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> value, int start)
           
 javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> value, int start, int length)
           
<N extends Number>
javax.persistence.criteria.Expression<N>
sum(javax.persistence.criteria.Expression<? extends N> expression1, javax.persistence.criteria.Expression<? extends N> expression2)
           
<N extends Number>
javax.persistence.criteria.Expression<N>
sum(javax.persistence.criteria.Expression<? extends N> expression, N n)
           
<N extends Number>
javax.persistence.criteria.Expression<N>
sum(javax.persistence.criteria.Expression<N> x)
          
<N extends Number>
javax.persistence.criteria.Expression<N>
sum(N n, javax.persistence.criteria.Expression<? extends N> expression)
           
 javax.persistence.criteria.Expression<Double> sumAsDouble(javax.persistence.criteria.Expression<Float> x)
          
 javax.persistence.criteria.Expression<Long> sumAsLong(javax.persistence.criteria.Expression<Integer> x)
          
 ExpressionImplementor<BigDecimal> toBigDecimal(javax.persistence.criteria.Expression<? extends Number> expression)
          
 ExpressionImplementor<BigInteger> toBigInteger(javax.persistence.criteria.Expression<? extends Number> expression)
          
 ExpressionImplementor<Double> toDouble(javax.persistence.criteria.Expression<? extends Number> expression)
          
 ExpressionImplementor<Float> toFloat(javax.persistence.criteria.Expression<? extends Number> expression)
          
 ExpressionImplementor<Integer> toInteger(javax.persistence.criteria.Expression<? extends Number> expression)
          
 ExpressionImplementor<Long> toLong(javax.persistence.criteria.Expression<? extends Number> expression)
          
 ExpressionImplementor<String> toString(javax.persistence.criteria.Expression<Character> characterExpression)
          
 javax.persistence.criteria.Expression<String> trim(char trimCharacter, javax.persistence.criteria.Expression<String> trimSource)
           
 javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec, char trimCharacter, javax.persistence.criteria.Expression<String> trimSource)
           
 javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec, javax.persistence.criteria.Expression<Character> trimCharacter, javax.persistence.criteria.Expression<String> trimSource)
           
 javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec, javax.persistence.criteria.Expression<String> trimSource)
           
 javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.Expression<Character> trimCharacter, javax.persistence.criteria.Expression<String> trimSource)
           
 javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.Expression<String> trimSource)
           
 javax.persistence.criteria.CompoundSelection<Tuple> tuple(List<javax.persistence.criteria.Selection<?>> selections)
          Version of tuple(Selection[]) taking a list.
 javax.persistence.criteria.CompoundSelection<Tuple> tuple(javax.persistence.criteria.Selection<?>... selections)
          
 javax.persistence.criteria.Expression<String> upper(javax.persistence.criteria.Expression<String> value)
           
<V,M extends Map<?,V>>
javax.persistence.criteria.Expression<Collection<V>>
values(M map)
          
 javax.persistence.criteria.Predicate wrap(javax.persistence.criteria.Expression<Boolean> expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CriteriaBuilderImpl

public CriteriaBuilderImpl(EntityManagerFactoryImpl entityManagerFactory)
Method Detail

getEntityManagerFactory

public EntityManagerFactoryImpl getEntityManagerFactory()
Provides protected access to the underlying EntityManagerFactoryImpl.

Returns:
The underlying EntityManagerFactoryImpl

createQuery

public javax.persistence.criteria.CriteriaQuery<Object> createQuery()

Specified by:
createQuery in interface javax.persistence.criteria.CriteriaBuilder

createQuery

public <T> javax.persistence.criteria.CriteriaQuery<T> createQuery(Class<T> resultClass)

Specified by:
createQuery in interface javax.persistence.criteria.CriteriaBuilder

createTupleQuery

public javax.persistence.criteria.CriteriaQuery<Tuple> createTupleQuery()

Specified by:
createTupleQuery in interface javax.persistence.criteria.CriteriaBuilder

tuple

public javax.persistence.criteria.CompoundSelection<Tuple> tuple(javax.persistence.criteria.Selection<?>... selections)

Specified by:
tuple in interface javax.persistence.criteria.CriteriaBuilder

tuple

public javax.persistence.criteria.CompoundSelection<Tuple> tuple(List<javax.persistence.criteria.Selection<?>> selections)
Version of tuple(Selection[]) taking a list.

Parameters:
selections - List of selections.
Returns:
The tuple compound selection

array

public javax.persistence.criteria.CompoundSelection<Object[]> array(javax.persistence.criteria.Selection<?>... selections)

Specified by:
array in interface javax.persistence.criteria.CriteriaBuilder

array

public javax.persistence.criteria.CompoundSelection<Object[]> array(List<javax.persistence.criteria.Selection<?>> selections)
Version of array(Selection[]) taking a list of selections.

Parameters:
selections - List of selections.
Returns:
The array compound selection

array

public <Y> javax.persistence.criteria.CompoundSelection<Y> array(Class<Y> type,
                                                                 List<javax.persistence.criteria.Selection<?>> selections)
Version of array(Selection[]) taking a list of selections, as well as the type of array.

Parameters:
type - The type of array
selections - List of selections.
Returns:
The array compound selection

construct

public <Y> javax.persistence.criteria.CompoundSelection<Y> construct(Class<Y> result,
                                                                     javax.persistence.criteria.Selection<?>... selections)

Specified by:
construct in interface javax.persistence.criteria.CriteriaBuilder

construct

public <Y> javax.persistence.criteria.CompoundSelection<Y> construct(Class<Y> result,
                                                                     List<javax.persistence.criteria.Selection<?>> selections)
Version of construct(Class,Selection[]) taking the to-be-constructed type as well as a list of selections.

Parameters:
result - The result class to be constructed.
selections - The selections to use in the constructor call.
Returns:
The view compound selection.

asc

public javax.persistence.criteria.Order asc(javax.persistence.criteria.Expression<?> x)

Specified by:
asc in interface javax.persistence.criteria.CriteriaBuilder

desc

public javax.persistence.criteria.Order desc(javax.persistence.criteria.Expression<?> x)

Specified by:
desc in interface javax.persistence.criteria.CriteriaBuilder

wrap

public javax.persistence.criteria.Predicate wrap(javax.persistence.criteria.Expression<Boolean> expression)

not

public javax.persistence.criteria.Predicate not(javax.persistence.criteria.Expression<Boolean> expression)

Specified by:
not in interface javax.persistence.criteria.CriteriaBuilder

and

public javax.persistence.criteria.Predicate and(javax.persistence.criteria.Expression<Boolean> x,
                                                javax.persistence.criteria.Expression<Boolean> y)

Specified by:
and in interface javax.persistence.criteria.CriteriaBuilder

or

public javax.persistence.criteria.Predicate or(javax.persistence.criteria.Expression<Boolean> x,
                                               javax.persistence.criteria.Expression<Boolean> y)

Specified by:
or in interface javax.persistence.criteria.CriteriaBuilder

and

public javax.persistence.criteria.Predicate and(javax.persistence.criteria.Predicate... restrictions)

Specified by:
and in interface javax.persistence.criteria.CriteriaBuilder

or

public javax.persistence.criteria.Predicate or(javax.persistence.criteria.Predicate... restrictions)

Specified by:
or in interface javax.persistence.criteria.CriteriaBuilder

conjunction

public javax.persistence.criteria.Predicate conjunction()

Specified by:
conjunction in interface javax.persistence.criteria.CriteriaBuilder

disjunction

public javax.persistence.criteria.Predicate disjunction()

Specified by:
disjunction in interface javax.persistence.criteria.CriteriaBuilder

isTrue

public javax.persistence.criteria.Predicate isTrue(javax.persistence.criteria.Expression<Boolean> expression)

Specified by:
isTrue in interface javax.persistence.criteria.CriteriaBuilder

isFalse

public javax.persistence.criteria.Predicate isFalse(javax.persistence.criteria.Expression<Boolean> expression)

Specified by:
isFalse in interface javax.persistence.criteria.CriteriaBuilder

isNull

public javax.persistence.criteria.Predicate isNull(javax.persistence.criteria.Expression<?> x)
s

Specified by:
isNull in interface javax.persistence.criteria.CriteriaBuilder

isNotNull

public javax.persistence.criteria.Predicate isNotNull(javax.persistence.criteria.Expression<?> x)

Specified by:
isNotNull in interface javax.persistence.criteria.CriteriaBuilder

equal

public javax.persistence.criteria.Predicate equal(javax.persistence.criteria.Expression<?> x,
                                                  javax.persistence.criteria.Expression<?> y)

Specified by:
equal in interface javax.persistence.criteria.CriteriaBuilder

notEqual

public javax.persistence.criteria.Predicate notEqual(javax.persistence.criteria.Expression<?> x,
                                                     javax.persistence.criteria.Expression<?> y)

Specified by:
notEqual in interface javax.persistence.criteria.CriteriaBuilder

equal

public javax.persistence.criteria.Predicate equal(javax.persistence.criteria.Expression<?> x,
                                                  Object y)

Specified by:
equal in interface javax.persistence.criteria.CriteriaBuilder

notEqual

public javax.persistence.criteria.Predicate notEqual(javax.persistence.criteria.Expression<?> x,
                                                     Object y)

Specified by:
notEqual in interface javax.persistence.criteria.CriteriaBuilder

greaterThan

public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate greaterThan(javax.persistence.criteria.Expression<? extends Y> x,
                                                                                          javax.persistence.criteria.Expression<? extends Y> y)

Specified by:
greaterThan in interface javax.persistence.criteria.CriteriaBuilder

lessThan

public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate lessThan(javax.persistence.criteria.Expression<? extends Y> x,
                                                                                       javax.persistence.criteria.Expression<? extends Y> y)

Specified by:
lessThan in interface javax.persistence.criteria.CriteriaBuilder

greaterThanOrEqualTo

public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate greaterThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x,
                                                                                                   javax.persistence.criteria.Expression<? extends Y> y)

Specified by:
greaterThanOrEqualTo in interface javax.persistence.criteria.CriteriaBuilder

lessThanOrEqualTo

public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate lessThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x,
                                                                                                javax.persistence.criteria.Expression<? extends Y> y)

Specified by:
lessThanOrEqualTo in interface javax.persistence.criteria.CriteriaBuilder

greaterThan

public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate greaterThan(javax.persistence.criteria.Expression<? extends Y> x,
                                                                                          Y y)

Specified by:
greaterThan in interface javax.persistence.criteria.CriteriaBuilder

lessThan

public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate lessThan(javax.persistence.criteria.Expression<? extends Y> x,
                                                                                       Y y)

Specified by:
lessThan in interface javax.persistence.criteria.CriteriaBuilder

greaterThanOrEqualTo

public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate greaterThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x,
                                                                                                   Y y)

Specified by:
greaterThanOrEqualTo in interface javax.persistence.criteria.CriteriaBuilder

lessThanOrEqualTo

public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate lessThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x,
                                                                                                Y y)

Specified by:
lessThanOrEqualTo in interface javax.persistence.criteria.CriteriaBuilder

gt

public javax.persistence.criteria.Predicate gt(javax.persistence.criteria.Expression<? extends Number> x,
                                               javax.persistence.criteria.Expression<? extends Number> y)

Specified by:
gt in interface javax.persistence.criteria.CriteriaBuilder

lt

public javax.persistence.criteria.Predicate lt(javax.persistence.criteria.Expression<? extends Number> x,
                                               javax.persistence.criteria.Expression<? extends Number> y)

Specified by:
lt in interface javax.persistence.criteria.CriteriaBuilder

ge

public javax.persistence.criteria.Predicate ge(javax.persistence.criteria.Expression<? extends Number> x,
                                               javax.persistence.criteria.Expression<? extends Number> y)

Specified by:
ge in interface javax.persistence.criteria.CriteriaBuilder

le

public javax.persistence.criteria.Predicate le(javax.persistence.criteria.Expression<? extends Number> x,
                                               javax.persistence.criteria.Expression<? extends Number> y)

Specified by:
le in interface javax.persistence.criteria.CriteriaBuilder

gt

public javax.persistence.criteria.Predicate gt(javax.persistence.criteria.Expression<? extends Number> x,
                                               Number y)

Specified by:
gt in interface javax.persistence.criteria.CriteriaBuilder

lt

public javax.persistence.criteria.Predicate lt(javax.persistence.criteria.Expression<? extends Number> x,
                                               Number y)

Specified by:
lt in interface javax.persistence.criteria.CriteriaBuilder

ge

public javax.persistence.criteria.Predicate ge(javax.persistence.criteria.Expression<? extends Number> x,
                                               Number y)

Specified by:
ge in interface javax.persistence.criteria.CriteriaBuilder

le

public javax.persistence.criteria.Predicate le(javax.persistence.criteria.Expression<? extends Number> x,
                                               Number y)

Specified by:
le in interface javax.persistence.criteria.CriteriaBuilder

between

public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate between(javax.persistence.criteria.Expression<? extends Y> expression,
                                                                                      Y lowerBound,
                                                                                      Y upperBound)

Specified by:
between in interface javax.persistence.criteria.CriteriaBuilder

between

public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate between(javax.persistence.criteria.Expression<? extends Y> expression,
                                                                                      javax.persistence.criteria.Expression<? extends Y> lowerBound,
                                                                                      javax.persistence.criteria.Expression<? extends Y> upperBound)

Specified by:
between in interface javax.persistence.criteria.CriteriaBuilder

in

public <T> javax.persistence.criteria.CriteriaBuilder.In<T> in(javax.persistence.criteria.Expression<? extends T> expression)

Specified by:
in in interface javax.persistence.criteria.CriteriaBuilder

in

public <T> javax.persistence.criteria.CriteriaBuilder.In<T> in(javax.persistence.criteria.Expression<? extends T> expression,
                                                               javax.persistence.criteria.Expression<? extends T>... values)

in

public <T> javax.persistence.criteria.CriteriaBuilder.In<T> in(javax.persistence.criteria.Expression<? extends T> expression,
                                                               T... values)

in

public <T> javax.persistence.criteria.CriteriaBuilder.In<T> in(javax.persistence.criteria.Expression<? extends T> expression,
                                                               Collection<T> values)

like

public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression,
                                                 javax.persistence.criteria.Expression<String> pattern)
Specified by:
like in interface javax.persistence.criteria.CriteriaBuilder

like

public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression,
                                                 javax.persistence.criteria.Expression<String> pattern,
                                                 javax.persistence.criteria.Expression<Character> escapeCharacter)
Specified by:
like in interface javax.persistence.criteria.CriteriaBuilder

like

public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression,
                                                 javax.persistence.criteria.Expression<String> pattern,
                                                 char escapeCharacter)
Specified by:
like in interface javax.persistence.criteria.CriteriaBuilder

like

public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression,
                                                 String pattern)
Specified by:
like in interface javax.persistence.criteria.CriteriaBuilder

like

public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression,
                                                 String pattern,
                                                 javax.persistence.criteria.Expression<Character> escapeCharacter)
Specified by:
like in interface javax.persistence.criteria.CriteriaBuilder

like

public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> matchExpression,
                                                 String pattern,
                                                 char escapeCharacter)
Specified by:
like in interface javax.persistence.criteria.CriteriaBuilder

notLike

public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression,
                                                    javax.persistence.criteria.Expression<String> pattern)
Specified by:
notLike in interface javax.persistence.criteria.CriteriaBuilder

notLike

public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression,
                                                    javax.persistence.criteria.Expression<String> pattern,
                                                    javax.persistence.criteria.Expression<Character> escapeCharacter)
Specified by:
notLike in interface javax.persistence.criteria.CriteriaBuilder

notLike

public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression,
                                                    javax.persistence.criteria.Expression<String> pattern,
                                                    char escapeCharacter)
Specified by:
notLike in interface javax.persistence.criteria.CriteriaBuilder

notLike

public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression,
                                                    String pattern)
Specified by:
notLike in interface javax.persistence.criteria.CriteriaBuilder

notLike

public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression,
                                                    String pattern,
                                                    javax.persistence.criteria.Expression<Character> escapeCharacter)
Specified by:
notLike in interface javax.persistence.criteria.CriteriaBuilder

notLike

public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> matchExpression,
                                                    String pattern,
                                                    char escapeCharacter)
Specified by:
notLike in interface javax.persistence.criteria.CriteriaBuilder

parameter

public <T> javax.persistence.criteria.ParameterExpression<T> parameter(Class<T> paramClass)

Specified by:
parameter in interface javax.persistence.criteria.CriteriaBuilder

parameter

public <T> javax.persistence.criteria.ParameterExpression<T> parameter(Class<T> paramClass,
                                                                       String name)

Specified by:
parameter in interface javax.persistence.criteria.CriteriaBuilder

literal

public <T> javax.persistence.criteria.Expression<T> literal(T value)

Specified by:
literal in interface javax.persistence.criteria.CriteriaBuilder

nullLiteral

public <T> javax.persistence.criteria.Expression<T> nullLiteral(Class<T> resultClass)

Specified by:
nullLiteral in interface javax.persistence.criteria.CriteriaBuilder

avg

public <N extends Number> javax.persistence.criteria.Expression<Double> avg(javax.persistence.criteria.Expression<N> x)

Specified by:
avg in interface javax.persistence.criteria.CriteriaBuilder

sum

public <N extends Number> javax.persistence.criteria.Expression<N> sum(javax.persistence.criteria.Expression<N> x)

Specified by:
sum in interface javax.persistence.criteria.CriteriaBuilder

sumAsLong

public javax.persistence.criteria.Expression<Long> sumAsLong(javax.persistence.criteria.Expression<Integer> x)

Specified by:
sumAsLong in interface javax.persistence.criteria.CriteriaBuilder

sumAsDouble

public javax.persistence.criteria.Expression<Double> sumAsDouble(javax.persistence.criteria.Expression<Float> x)

Specified by:
sumAsDouble in interface javax.persistence.criteria.CriteriaBuilder

max

public <N extends Number> javax.persistence.criteria.Expression<N> max(javax.persistence.criteria.Expression<N> x)

Specified by:
max in interface javax.persistence.criteria.CriteriaBuilder

min

public <N extends Number> javax.persistence.criteria.Expression<N> min(javax.persistence.criteria.Expression<N> x)

Specified by:
min in interface javax.persistence.criteria.CriteriaBuilder

greatest

public <X extends Comparable<? super X>> javax.persistence.criteria.Expression<X> greatest(javax.persistence.criteria.Expression<X> x)

Specified by:
greatest in interface javax.persistence.criteria.CriteriaBuilder

least

public <X extends Comparable<? super X>> javax.persistence.criteria.Expression<X> least(javax.persistence.criteria.Expression<X> x)

Specified by:
least in interface javax.persistence.criteria.CriteriaBuilder

count

public javax.persistence.criteria.Expression<Long> count(javax.persistence.criteria.Expression<?> x)

Specified by:
count in interface javax.persistence.criteria.CriteriaBuilder

countDistinct

public javax.persistence.criteria.Expression<Long> countDistinct(javax.persistence.criteria.Expression<?> x)

Specified by:
countDistinct in interface javax.persistence.criteria.CriteriaBuilder

function

public <T> javax.persistence.criteria.Expression<T> function(String name,
                                                             Class<T> returnType,
                                                             javax.persistence.criteria.Expression<?>... arguments)

Specified by:
function in interface javax.persistence.criteria.CriteriaBuilder

function

public <T> javax.persistence.criteria.Expression<T> function(String name,
                                                             Class<T> returnType)
Create a reference to a function taking no params.

Parameters:
name - The function name.
returnType - The return type.
Returns:
The function expression

abs

public <N extends Number> javax.persistence.criteria.Expression<N> abs(javax.persistence.criteria.Expression<N> expression)

Specified by:
abs in interface javax.persistence.criteria.CriteriaBuilder

sqrt

public javax.persistence.criteria.Expression<Double> sqrt(javax.persistence.criteria.Expression<? extends Number> expression)

Specified by:
sqrt in interface javax.persistence.criteria.CriteriaBuilder

currentDate

public javax.persistence.criteria.Expression<Date> currentDate()
Specified by:
currentDate in interface javax.persistence.criteria.CriteriaBuilder

currentTimestamp

public javax.persistence.criteria.Expression<Timestamp> currentTimestamp()
Specified by:
currentTimestamp in interface javax.persistence.criteria.CriteriaBuilder

currentTime

public javax.persistence.criteria.Expression<Time> currentTime()
Specified by:
currentTime in interface javax.persistence.criteria.CriteriaBuilder

substring

public javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> value,
                                                               javax.persistence.criteria.Expression<Integer> start)
Specified by:
substring in interface javax.persistence.criteria.CriteriaBuilder

substring

public javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> value,
                                                               int start)
Specified by:
substring in interface javax.persistence.criteria.CriteriaBuilder

substring

public javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> value,
                                                               javax.persistence.criteria.Expression<Integer> start,
                                                               javax.persistence.criteria.Expression<Integer> length)
Specified by:
substring in interface javax.persistence.criteria.CriteriaBuilder

substring

public javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> value,
                                                               int start,
                                                               int length)
Specified by:
substring in interface javax.persistence.criteria.CriteriaBuilder

trim

public javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.Expression<String> trimSource)
Specified by:
trim in interface javax.persistence.criteria.CriteriaBuilder

trim

public javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec,
                                                          javax.persistence.criteria.Expression<String> trimSource)
Specified by:
trim in interface javax.persistence.criteria.CriteriaBuilder

trim

public javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.Expression<Character> trimCharacter,
                                                          javax.persistence.criteria.Expression<String> trimSource)
Specified by:
trim in interface javax.persistence.criteria.CriteriaBuilder

trim

public javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec,
                                                          javax.persistence.criteria.Expression<Character> trimCharacter,
                                                          javax.persistence.criteria.Expression<String> trimSource)
Specified by:
trim in interface javax.persistence.criteria.CriteriaBuilder

trim

public javax.persistence.criteria.Expression<String> trim(char trimCharacter,
                                                          javax.persistence.criteria.Expression<String> trimSource)
Specified by:
trim in interface javax.persistence.criteria.CriteriaBuilder

trim

public javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec,
                                                          char trimCharacter,
                                                          javax.persistence.criteria.Expression<String> trimSource)
Specified by:
trim in interface javax.persistence.criteria.CriteriaBuilder

lower

public javax.persistence.criteria.Expression<String> lower(javax.persistence.criteria.Expression<String> value)
Specified by:
lower in interface javax.persistence.criteria.CriteriaBuilder

upper

public javax.persistence.criteria.Expression<String> upper(javax.persistence.criteria.Expression<String> value)
Specified by:
upper in interface javax.persistence.criteria.CriteriaBuilder

length

public javax.persistence.criteria.Expression<Integer> length(javax.persistence.criteria.Expression<String> value)
Specified by:
length in interface javax.persistence.criteria.CriteriaBuilder

locate

public javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> string,
                                                             javax.persistence.criteria.Expression<String> pattern)
Specified by:
locate in interface javax.persistence.criteria.CriteriaBuilder

locate

public javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> string,
                                                             javax.persistence.criteria.Expression<String> pattern,
                                                             javax.persistence.criteria.Expression<Integer> start)
Specified by:
locate in interface javax.persistence.criteria.CriteriaBuilder

locate

public javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> string,
                                                             String pattern)
Specified by:
locate in interface javax.persistence.criteria.CriteriaBuilder

locate

public javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> string,
                                                             String pattern,
                                                             int start)
Specified by:
locate in interface javax.persistence.criteria.CriteriaBuilder

neg

public <N extends Number> javax.persistence.criteria.Expression<N> neg(javax.persistence.criteria.Expression<N> expression)
Specified by:
neg in interface javax.persistence.criteria.CriteriaBuilder

sum

public <N extends Number> javax.persistence.criteria.Expression<N> sum(javax.persistence.criteria.Expression<? extends N> expression1,
                                                                       javax.persistence.criteria.Expression<? extends N> expression2)
Specified by:
sum in interface javax.persistence.criteria.CriteriaBuilder

prod

public <N extends Number> javax.persistence.criteria.Expression<N> prod(javax.persistence.criteria.Expression<? extends N> expression1,
                                                                        javax.persistence.criteria.Expression<? extends N> expression2)
Specified by:
prod in interface javax.persistence.criteria.CriteriaBuilder

diff

public <N extends Number> javax.persistence.criteria.Expression<N> diff(javax.persistence.criteria.Expression<? extends N> expression1,
                                                                        javax.persistence.criteria.Expression<? extends N> expression2)
Specified by:
diff in interface javax.persistence.criteria.CriteriaBuilder

sum

public <N extends Number> javax.persistence.criteria.Expression<N> sum(javax.persistence.criteria.Expression<? extends N> expression,
                                                                       N n)
Specified by:
sum in interface javax.persistence.criteria.CriteriaBuilder

prod

public <N extends Number> javax.persistence.criteria.Expression<N> prod(javax.persistence.criteria.Expression<? extends N> expression,
                                                                        N n)
Specified by:
prod in interface javax.persistence.criteria.CriteriaBuilder

diff

public <N extends Number> javax.persistence.criteria.Expression<N> diff(javax.persistence.criteria.Expression<? extends N> expression,
                                                                        N n)
Specified by:
diff in interface javax.persistence.criteria.CriteriaBuilder

sum

public <N extends Number> javax.persistence.criteria.Expression<N> sum(N n,
                                                                       javax.persistence.criteria.Expression<? extends N> expression)
Specified by:
sum in interface javax.persistence.criteria.CriteriaBuilder

prod

public <N extends Number> javax.persistence.criteria.Expression<N> prod(N n,
                                                                        javax.persistence.criteria.Expression<? extends N> expression)
Specified by:
prod in interface javax.persistence.criteria.CriteriaBuilder

diff

public <N extends Number> javax.persistence.criteria.Expression<N> diff(N n,
                                                                        javax.persistence.criteria.Expression<? extends N> expression)
Specified by:
diff in interface javax.persistence.criteria.CriteriaBuilder

quot

public javax.persistence.criteria.Expression<Number> quot(javax.persistence.criteria.Expression<? extends Number> expression1,
                                                          javax.persistence.criteria.Expression<? extends Number> expression2)
Specified by:
quot in interface javax.persistence.criteria.CriteriaBuilder

quot

public javax.persistence.criteria.Expression<Number> quot(javax.persistence.criteria.Expression<? extends Number> expression,
                                                          Number number)
Specified by:
quot in interface javax.persistence.criteria.CriteriaBuilder

quot

public javax.persistence.criteria.Expression<Number> quot(Number number,
                                                          javax.persistence.criteria.Expression<? extends Number> expression)
Specified by:
quot in interface javax.persistence.criteria.CriteriaBuilder

mod

public javax.persistence.criteria.Expression<Integer> mod(javax.persistence.criteria.Expression<Integer> expression1,
                                                          javax.persistence.criteria.Expression<Integer> expression2)
Specified by:
mod in interface javax.persistence.criteria.CriteriaBuilder

mod

public javax.persistence.criteria.Expression<Integer> mod(javax.persistence.criteria.Expression<Integer> expression,
                                                          Integer integer)
Specified by:
mod in interface javax.persistence.criteria.CriteriaBuilder

mod

public javax.persistence.criteria.Expression<Integer> mod(Integer integer,
                                                          javax.persistence.criteria.Expression<Integer> expression)
Specified by:
mod in interface javax.persistence.criteria.CriteriaBuilder

toLong

public ExpressionImplementor<Long> toLong(javax.persistence.criteria.Expression<? extends Number> expression)

Specified by:
toLong in interface javax.persistence.criteria.CriteriaBuilder

toInteger

public ExpressionImplementor<Integer> toInteger(javax.persistence.criteria.Expression<? extends Number> expression)

Specified by:
toInteger in interface javax.persistence.criteria.CriteriaBuilder

toFloat

public ExpressionImplementor<Float> toFloat(javax.persistence.criteria.Expression<? extends Number> expression)

Specified by:
toFloat in interface javax.persistence.criteria.CriteriaBuilder

toDouble

public ExpressionImplementor<Double> toDouble(javax.persistence.criteria.Expression<? extends Number> expression)

Specified by:
toDouble in interface javax.persistence.criteria.CriteriaBuilder

toBigDecimal

public ExpressionImplementor<BigDecimal> toBigDecimal(javax.persistence.criteria.Expression<? extends Number> expression)

Specified by:
toBigDecimal in interface javax.persistence.criteria.CriteriaBuilder

toBigInteger

public ExpressionImplementor<BigInteger> toBigInteger(javax.persistence.criteria.Expression<? extends Number> expression)

Specified by:
toBigInteger in interface javax.persistence.criteria.CriteriaBuilder

toString

public ExpressionImplementor<String> toString(javax.persistence.criteria.Expression<Character> characterExpression)

Specified by:
toString in interface javax.persistence.criteria.CriteriaBuilder

exists

public javax.persistence.criteria.Predicate exists(javax.persistence.criteria.Subquery<?> subquery)

Specified by:
exists in interface javax.persistence.criteria.CriteriaBuilder

all

public <Y> javax.persistence.criteria.Expression<Y> all(javax.persistence.criteria.Subquery<Y> subquery)

Specified by:
all in interface javax.persistence.criteria.CriteriaBuilder

some

public <Y> javax.persistence.criteria.Expression<Y> some(javax.persistence.criteria.Subquery<Y> subquery)

Specified by:
some in interface javax.persistence.criteria.CriteriaBuilder

any

public <Y> javax.persistence.criteria.Expression<Y> any(javax.persistence.criteria.Subquery<Y> subquery)

Specified by:
any in interface javax.persistence.criteria.CriteriaBuilder

coalesce

public <Y> javax.persistence.criteria.Expression<Y> coalesce(javax.persistence.criteria.Expression<? extends Y> exp1,
                                                             javax.persistence.criteria.Expression<? extends Y> exp2)

Specified by:
coalesce in interface javax.persistence.criteria.CriteriaBuilder

coalesce

public <Y> javax.persistence.criteria.Expression<Y> coalesce(Class<Y> type,
                                                             javax.persistence.criteria.Expression<? extends Y> exp1,
                                                             javax.persistence.criteria.Expression<? extends Y> exp2)

coalesce

public <Y> javax.persistence.criteria.Expression<Y> coalesce(javax.persistence.criteria.Expression<? extends Y> exp1,
                                                             Y exp2)

Specified by:
coalesce in interface javax.persistence.criteria.CriteriaBuilder

coalesce

public <Y> javax.persistence.criteria.Expression<Y> coalesce(Class<Y> type,
                                                             javax.persistence.criteria.Expression<? extends Y> exp1,
                                                             Y exp2)

coalesce

public <T> javax.persistence.criteria.CriteriaBuilder.Coalesce<T> coalesce()

Specified by:
coalesce in interface javax.persistence.criteria.CriteriaBuilder

coalesce

public <T> javax.persistence.criteria.CriteriaBuilder.Coalesce<T> coalesce(Class<T> type)

concat

public javax.persistence.criteria.Expression<String> concat(javax.persistence.criteria.Expression<String> string1,
                                                            javax.persistence.criteria.Expression<String> string2)

Specified by:
concat in interface javax.persistence.criteria.CriteriaBuilder

concat

public javax.persistence.criteria.Expression<String> concat(javax.persistence.criteria.Expression<String> string1,
                                                            String string2)

Specified by:
concat in interface javax.persistence.criteria.CriteriaBuilder

concat

public javax.persistence.criteria.Expression<String> concat(String string1,
                                                            javax.persistence.criteria.Expression<String> string2)

Specified by:
concat in interface javax.persistence.criteria.CriteriaBuilder

nullif

public <Y> javax.persistence.criteria.Expression<Y> nullif(javax.persistence.criteria.Expression<Y> exp1,
                                                           javax.persistence.criteria.Expression<?> exp2)

Specified by:
nullif in interface javax.persistence.criteria.CriteriaBuilder

nullif

public <Y> javax.persistence.criteria.Expression<Y> nullif(Class<Y> type,
                                                           javax.persistence.criteria.Expression<Y> exp1,
                                                           javax.persistence.criteria.Expression<?> exp2)

nullif

public <Y> javax.persistence.criteria.Expression<Y> nullif(javax.persistence.criteria.Expression<Y> exp1,
                                                           Y exp2)

Specified by:
nullif in interface javax.persistence.criteria.CriteriaBuilder

nullif

public <Y> javax.persistence.criteria.Expression<Y> nullif(Class<Y> type,
                                                           javax.persistence.criteria.Expression<Y> exp1,
                                                           Y exp2)

selectCase

public <C,R> javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R> selectCase(javax.persistence.criteria.Expression<? extends C> expression)

Specified by:
selectCase in interface javax.persistence.criteria.CriteriaBuilder

selectCase

public <C,R> javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R> selectCase(Class<R> type,
                                                                                   javax.persistence.criteria.Expression<? extends C> expression)

selectCase

public <R> javax.persistence.criteria.CriteriaBuilder.Case<R> selectCase()

Specified by:
selectCase in interface javax.persistence.criteria.CriteriaBuilder

selectCase

public <R> javax.persistence.criteria.CriteriaBuilder.Case<R> selectCase(Class<R> type)

size

public <C extends Collection<?>> javax.persistence.criteria.Expression<Integer> size(C c)

Specified by:
size in interface javax.persistence.criteria.CriteriaBuilder

size

public <C extends Collection<?>> javax.persistence.criteria.Expression<Integer> size(javax.persistence.criteria.Expression<C> exp)

Specified by:
size in interface javax.persistence.criteria.CriteriaBuilder

values

public <V,M extends Map<?,V>> javax.persistence.criteria.Expression<Collection<V>> values(M map)

Specified by:
values in interface javax.persistence.criteria.CriteriaBuilder

keys

public <K,M extends Map<K,?>> javax.persistence.criteria.Expression<Set<K>> keys(M map)

Specified by:
keys in interface javax.persistence.criteria.CriteriaBuilder

isEmpty

public <C extends Collection<?>> javax.persistence.criteria.Predicate isEmpty(javax.persistence.criteria.Expression<C> collectionExpression)

Specified by:
isEmpty in interface javax.persistence.criteria.CriteriaBuilder

isNotEmpty

public <C extends Collection<?>> javax.persistence.criteria.Predicate isNotEmpty(javax.persistence.criteria.Expression<C> collectionExpression)

Specified by:
isNotEmpty in interface javax.persistence.criteria.CriteriaBuilder

isMember

public <E,C extends Collection<E>> javax.persistence.criteria.Predicate isMember(E e,
                                                                                 javax.persistence.criteria.Expression<C> collectionExpression)

Specified by:
isMember in interface javax.persistence.criteria.CriteriaBuilder

isNotMember

public <E,C extends Collection<E>> javax.persistence.criteria.Predicate isNotMember(E e,
                                                                                    javax.persistence.criteria.Expression<C> cExpression)

Specified by:
isNotMember in interface javax.persistence.criteria.CriteriaBuilder

isMember

public <E,C extends Collection<E>> javax.persistence.criteria.Predicate isMember(javax.persistence.criteria.Expression<E> elementExpression,
                                                                                 javax.persistence.criteria.Expression<C> collectionExpression)

Specified by:
isMember in interface javax.persistence.criteria.CriteriaBuilder

isNotMember

public <E,C extends Collection<E>> javax.persistence.criteria.Predicate isNotMember(javax.persistence.criteria.Expression<E> eExpression,
                                                                                    javax.persistence.criteria.Expression<C> cExpression)

Specified by:
isNotMember in interface javax.persistence.criteria.CriteriaBuilder


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.