public class CriteriaBuilderImpl extends Object implements OpenJPACriteriaBuilder, ExpressionParser
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
LANG_CRITERIA
Constructor and Description |
---|
CriteriaBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
<N extends Number> |
abs(javax.persistence.criteria.Expression<N> x) |
<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) |
javax.persistence.criteria.CompoundSelection<Object[]> |
array(javax.persistence.criteria.Selection<?>... terms) |
javax.persistence.criteria.Order |
asc(javax.persistence.criteria.Expression<?> x) |
<N extends Number> |
avg(javax.persistence.criteria.Expression<N> x) |
<Y extends Comparable<? super Y>> |
between(javax.persistence.criteria.Expression<? extends Y> v,
javax.persistence.criteria.Expression<? extends Y> x,
javax.persistence.criteria.Expression<? extends Y> y) |
<Y extends Comparable<? super Y>> |
between(javax.persistence.criteria.Expression<? extends Y> v,
Y x,
Y y) |
<T> javax.persistence.criteria.CriteriaBuilder.Coalesce<T> |
coalesce() |
<Y> javax.persistence.criteria.Expression<Y> |
coalesce(javax.persistence.criteria.Expression<? extends Y> x,
javax.persistence.criteria.Expression<? extends Y> y) |
<Y> javax.persistence.criteria.Expression<Y> |
coalesce(javax.persistence.criteria.Expression<? extends Y> x,
Y y) |
javax.persistence.criteria.Expression<String> |
concat(javax.persistence.criteria.Expression<String> x,
javax.persistence.criteria.Expression<String> y) |
javax.persistence.criteria.Expression<String> |
concat(javax.persistence.criteria.Expression<String> x,
String y) |
javax.persistence.criteria.Expression<String> |
concat(String x,
javax.persistence.criteria.Expression<String> y) |
javax.persistence.criteria.Predicate |
conjunction() |
<Y> javax.persistence.criteria.CompoundSelection<Y> |
construct(Class<Y> result,
javax.persistence.criteria.Selection<?>... selections)
Define a select list item corresponding to a constructor.
|
javax.persistence.criteria.Expression<Long> |
count(javax.persistence.criteria.Expression<?> x) |
javax.persistence.criteria.Expression<Long> |
countDistinct(javax.persistence.criteria.Expression<?> x) |
<T> javax.persistence.criteria.CriteriaDelete<T> |
createCriteriaDelete(Class<T> targetEntity) |
<T> javax.persistence.criteria.CriteriaUpdate<T> |
createCriteriaUpdate(Class<T> targetEntity) |
OpenJPACriteriaQuery<Object> |
createQuery()
Create a
CriteriaQuery object. |
<T> OpenJPACriteriaQuery<T> |
createQuery(Class<T> resultClass)
Create a Criteria query object with the specified result type.
|
OpenJPACriteriaQuery<javax.persistence.Tuple> |
createTupleQuery()
Create a Criteria query object that returns a tuple of
objects as its result.
|
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> |
diff(javax.persistence.criteria.Expression<? extends N> x,
javax.persistence.criteria.Expression<? extends N> y) |
<N extends Number> |
diff(javax.persistence.criteria.Expression<? extends N> x,
N y) |
<N extends Number> |
diff(N x,
javax.persistence.criteria.Expression<? extends N> y) |
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) |
QueryExpressions |
eval(Object parsed,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate)
Parse the given query string.
|
Value[] |
eval(String[] vals,
ExpressionStoreQuery query,
ExpressionFactory factory,
ClassMetaData candidate)
Parse the given value clauses.
|
javax.persistence.criteria.Predicate |
exists(javax.persistence.criteria.Subquery<?> subquery) |
<T> javax.persistence.criteria.Expression<T> |
function(String name,
Class<T> type,
javax.persistence.criteria.Expression<?>... args) |
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) |
String |
getLanguage()
Return a string key describing the language that this instance parses.
|
javax.persistence.metamodel.Metamodel |
getMetamodel()
Gets the metamodel for the managed, persistent domain entities.
|
<Y extends Comparable<? super Y>> |
greaterThan(javax.persistence.criteria.Expression<? extends Y> x,
javax.persistence.criteria.Expression<? extends Y> y) |
<Y extends Comparable<? super Y>> |
greaterThan(javax.persistence.criteria.Expression<? extends Y> x,
Y y) |
<Y extends Comparable<? super Y>> |
greaterThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x,
javax.persistence.criteria.Expression<? extends Y> y) |
<Y extends Comparable<? super Y>> |
greaterThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x,
Y y) |
<X extends Comparable<? super 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) |
<C extends Collection<?>> |
isEmpty(javax.persistence.criteria.Expression<C> collection) |
javax.persistence.criteria.Predicate |
isFalse(javax.persistence.criteria.Expression<Boolean> x) |
<E,C extends Collection<E>> |
isMember(E e,
javax.persistence.criteria.Expression<C> c) |
<E,C extends Collection<E>> |
isMember(javax.persistence.criteria.Expression<E> e,
javax.persistence.criteria.Expression<C> c) |
<C extends Collection<?>> |
isNotEmpty(javax.persistence.criteria.Expression<C> collection) |
<E,C extends Collection<E>> |
isNotMember(E e,
javax.persistence.criteria.Expression<C> c) |
<E,C extends Collection<E>> |
isNotMember(javax.persistence.criteria.Expression<E> e,
javax.persistence.criteria.Expression<C> c) |
javax.persistence.criteria.Predicate |
isNotNull(javax.persistence.criteria.Expression<?> x) |
javax.persistence.criteria.Predicate |
isNull(javax.persistence.criteria.Expression<?> x) |
javax.persistence.criteria.Predicate |
isTrue(javax.persistence.criteria.Expression<Boolean> x) |
<K,M extends Map<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>> |
least(javax.persistence.criteria.Expression<X> x) |
javax.persistence.criteria.Expression<Integer> |
length(javax.persistence.criteria.Expression<String> x) |
<Y extends Comparable<? super Y>> |
lessThan(javax.persistence.criteria.Expression<? extends Y> x,
javax.persistence.criteria.Expression<? extends Y> y) |
<Y extends Comparable<? super Y>> |
lessThan(javax.persistence.criteria.Expression<? extends Y> x,
Y y) |
<Y extends Comparable<? super Y>> |
lessThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x,
javax.persistence.criteria.Expression<? extends Y> y) |
<Y extends Comparable<? super Y>> |
lessThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x,
Y y) |
javax.persistence.criteria.Predicate |
like(javax.persistence.criteria.Expression<String> x,
javax.persistence.criteria.Expression<String> pattern) |
javax.persistence.criteria.Predicate |
like(javax.persistence.criteria.Expression<String> x,
javax.persistence.criteria.Expression<String> pattern,
char escapeChar) |
javax.persistence.criteria.Predicate |
like(javax.persistence.criteria.Expression<String> x,
javax.persistence.criteria.Expression<String> pattern,
javax.persistence.criteria.Expression<Character> escapeChar) |
javax.persistence.criteria.Predicate |
like(javax.persistence.criteria.Expression<String> x,
String pattern) |
javax.persistence.criteria.Predicate |
like(javax.persistence.criteria.Expression<String> x,
String pattern,
char escapeChar) |
javax.persistence.criteria.Predicate |
like(javax.persistence.criteria.Expression<String> x,
String pattern,
javax.persistence.criteria.Expression<Character> escapeChar) |
<T> javax.persistence.criteria.Expression<T> |
literal(T value) |
javax.persistence.criteria.Expression<Integer> |
locate(javax.persistence.criteria.Expression<String> x,
javax.persistence.criteria.Expression<String> pattern) |
javax.persistence.criteria.Expression<Integer> |
locate(javax.persistence.criteria.Expression<String> x,
javax.persistence.criteria.Expression<String> pattern,
javax.persistence.criteria.Expression<Integer> from) |
javax.persistence.criteria.Expression<Integer> |
locate(javax.persistence.criteria.Expression<String> x,
String pattern) |
javax.persistence.criteria.Expression<Integer> |
locate(javax.persistence.criteria.Expression<String> x,
String pattern,
int from) |
javax.persistence.criteria.Expression<String> |
lower(javax.persistence.criteria.Expression<String> x) |
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> |
max(javax.persistence.criteria.Expression<N> x) |
<N extends Number> |
min(javax.persistence.criteria.Expression<N> x) |
javax.persistence.criteria.Expression<Integer> |
mod(javax.persistence.criteria.Expression<Integer> x,
javax.persistence.criteria.Expression<Integer> y) |
javax.persistence.criteria.Expression<Integer> |
mod(javax.persistence.criteria.Expression<Integer> x,
Integer y) |
javax.persistence.criteria.Expression<Integer> |
mod(Integer x,
javax.persistence.criteria.Expression<Integer> y) |
<N extends Number> |
neg(javax.persistence.criteria.Expression<N> x) |
javax.persistence.criteria.Predicate |
not(javax.persistence.criteria.Expression<Boolean> restriction) |
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> x,
javax.persistence.criteria.Expression<String> pattern) |
javax.persistence.criteria.Predicate |
notLike(javax.persistence.criteria.Expression<String> x,
javax.persistence.criteria.Expression<String> pattern,
char escapeChar) |
javax.persistence.criteria.Predicate |
notLike(javax.persistence.criteria.Expression<String> x,
javax.persistence.criteria.Expression<String> pattern,
javax.persistence.criteria.Expression<Character> escapeChar) |
javax.persistence.criteria.Predicate |
notLike(javax.persistence.criteria.Expression<String> x,
String pattern) |
javax.persistence.criteria.Predicate |
notLike(javax.persistence.criteria.Expression<String> x,
String pattern,
char escapeChar) |
javax.persistence.criteria.Predicate |
notLike(javax.persistence.criteria.Expression<String> x,
String pattern,
javax.persistence.criteria.Expression<Character> escapeChar) |
<Y> javax.persistence.criteria.Expression<Y> |
nullif(javax.persistence.criteria.Expression<Y> x,
javax.persistence.criteria.Expression<?> y) |
<Y> javax.persistence.criteria.Expression<Y> |
nullif(javax.persistence.criteria.Expression<Y> x,
Y y) |
<T> javax.persistence.criteria.Expression<T> |
nullLiteral(Class<T> t) |
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)
Construct a ParameterExpression with a null name as key.
|
<T> javax.persistence.criteria.ParameterExpression<T> |
parameter(Class<T> paramClass,
String name) |
Object |
parse(String ql,
ExpressionStoreQuery query)
Return a parsed intermediate form of the given query string.
|
void |
populate(Object parsed,
ExpressionStoreQuery query)
Use the parsed query form to set information such as candidate type,
result type, etc that was encoded in the query string.
|
<N extends Number> |
prod(javax.persistence.criteria.Expression<? extends N> x,
javax.persistence.criteria.Expression<? extends N> y) |
<N extends Number> |
prod(javax.persistence.criteria.Expression<? extends N> x,
N y) |
<N extends Number> |
prod(N x,
javax.persistence.criteria.Expression<? extends N> y) |
<T> javax.persistence.criteria.Predicate |
qbe(javax.persistence.criteria.From<?,T> from,
T example)
Overloaded with default comparison style and no extra attribute to exclude.
|
<T> javax.persistence.criteria.Predicate |
qbe(javax.persistence.criteria.From<?,T> from,
T example,
javax.persistence.metamodel.Attribute<?,?>... excludes)
Overloaded with default comparison style.
|
<T> javax.persistence.criteria.Predicate |
qbe(javax.persistence.criteria.From<?,T> from,
T example,
ComparisonStyle style)
Overloaded with no extra attribute to exclude.
|
<T> javax.persistence.criteria.Predicate |
qbe(javax.persistence.criteria.From<?,T> from,
T example,
ComparisonStyle style,
javax.persistence.metamodel.Attribute<?,?>... excludes)
Create a predicate based upon the attribute values of a given
"example" entity instance.
|
ComparisonStyle |
qbeStyle()
Create a style to tune different aspects of comparison by example.
|
javax.persistence.criteria.Expression<Number> |
quot(javax.persistence.criteria.Expression<? extends Number> x,
javax.persistence.criteria.Expression<? extends Number> y) |
javax.persistence.criteria.Expression<Number> |
quot(javax.persistence.criteria.Expression<? extends Number> x,
Number y) |
javax.persistence.criteria.Expression<Number> |
quot(Number x,
javax.persistence.criteria.Expression<? extends Number> y) |
<R> javax.persistence.criteria.CriteriaBuilder.Case<R> |
selectCase() |
<C,R> javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R> |
selectCase(javax.persistence.criteria.Expression<? extends C> expression) |
OpenJPACriteriaBuilder |
setMetaModel(MetamodelImpl model) |
<C extends Collection<?>> |
size(C collection) |
<C extends Collection<?>> |
size(javax.persistence.criteria.Expression<C> collection) |
<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> x) |
javax.persistence.criteria.Expression<String> |
substring(javax.persistence.criteria.Expression<String> x,
javax.persistence.criteria.Expression<Integer> from) |
javax.persistence.criteria.Expression<String> |
substring(javax.persistence.criteria.Expression<String> x,
javax.persistence.criteria.Expression<Integer> from,
javax.persistence.criteria.Expression<Integer> len) |
javax.persistence.criteria.Expression<String> |
substring(javax.persistence.criteria.Expression<String> x,
int from) |
javax.persistence.criteria.Expression<String> |
substring(javax.persistence.criteria.Expression<String> x,
int from,
int len) |
<N extends Number> |
sum(javax.persistence.criteria.Expression<? extends N> x,
javax.persistence.criteria.Expression<? extends N> y) |
<N extends Number> |
sum(javax.persistence.criteria.Expression<? extends N> x,
N y) |
<N extends Number> |
sum(javax.persistence.criteria.Expression<N> x) |
<N extends Number> |
sum(N x,
javax.persistence.criteria.Expression<? extends N> y) |
javax.persistence.criteria.Expression<Double> |
sumAsDouble(javax.persistence.criteria.Expression<Float> x) |
javax.persistence.criteria.Expression<Long> |
sumAsLong(javax.persistence.criteria.Expression<Integer> x) |
javax.persistence.criteria.Expression<BigDecimal> |
toBigDecimal(javax.persistence.criteria.Expression<? extends Number> number) |
javax.persistence.criteria.Expression<BigInteger> |
toBigInteger(javax.persistence.criteria.Expression<? extends Number> number) |
javax.persistence.criteria.Expression<Double> |
toDouble(javax.persistence.criteria.Expression<? extends Number> number) |
javax.persistence.criteria.Expression<Float> |
toFloat(javax.persistence.criteria.Expression<? extends Number> number) |
javax.persistence.criteria.Expression<Integer> |
toInteger(javax.persistence.criteria.Expression<? extends Number> number) |
javax.persistence.criteria.Expression<Long> |
toLong(javax.persistence.criteria.Expression<? extends Number> number) |
javax.persistence.criteria.Expression<String> |
toString(javax.persistence.criteria.Expression<Character> character) |
<X,T,E extends T> |
treat(javax.persistence.criteria.CollectionJoin<X,T> join,
Class<E> type) |
<X,T,V extends T> |
treat(javax.persistence.criteria.Join<X,T> join,
Class<V> type) |
<X,T,E extends T> |
treat(javax.persistence.criteria.ListJoin<X,T> join,
Class<E> type) |
<X,K,T,V extends T> |
treat(javax.persistence.criteria.MapJoin<X,K,T> join,
Class<V> type) |
<X,T extends X> |
treat(javax.persistence.criteria.Path<X> path,
Class<T> type) |
<X,T extends X> |
treat(javax.persistence.criteria.Root<X> root,
Class<T> type) |
<X,T,E extends T> |
treat(javax.persistence.criteria.SetJoin<X,T> join,
Class<E> type) |
javax.persistence.criteria.Expression<String> |
trim(char t,
javax.persistence.criteria.Expression<String> x) |
javax.persistence.criteria.Expression<String> |
trim(javax.persistence.criteria.CriteriaBuilder.Trimspec ts,
char t,
javax.persistence.criteria.Expression<String> x) |
javax.persistence.criteria.Expression<String> |
trim(javax.persistence.criteria.CriteriaBuilder.Trimspec ts,
javax.persistence.criteria.Expression<Character> t,
javax.persistence.criteria.Expression<String> x) |
javax.persistence.criteria.Expression<String> |
trim(javax.persistence.criteria.CriteriaBuilder.Trimspec ts,
javax.persistence.criteria.Expression<String> x) |
javax.persistence.criteria.Expression<String> |
trim(javax.persistence.criteria.Expression<Character> t,
javax.persistence.criteria.Expression<String> x) |
javax.persistence.criteria.Expression<String> |
trim(javax.persistence.criteria.Expression<String> x) |
javax.persistence.criteria.CompoundSelection<javax.persistence.Tuple> |
tuple(javax.persistence.criteria.Selection<?>... selections)
Define a tuple-valued selection item
|
javax.persistence.criteria.Expression<String> |
upper(javax.persistence.criteria.Expression<String> x) |
<V,M extends Map<?,V>> |
values(M map) |
public OpenJPACriteriaBuilder setMetaModel(MetamodelImpl model)
public javax.persistence.metamodel.Metamodel getMetamodel()
OpenJPACriteriaBuilder
getMetamodel
in interface OpenJPACriteriaBuilder
public QueryExpressions eval(Object parsed, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
ExpressionParser
eval
in interface ExpressionParser
public Value[] eval(String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
ExpressionParser
eval
in interface ExpressionParser
public String getLanguage()
ExpressionParser
getLanguage
in interface ExpressionParser
public <T> OpenJPACriteriaQuery<T> createQuery(Class<T> resultClass)
createQuery
in interface javax.persistence.criteria.CriteriaBuilder
createQuery
in interface OpenJPACriteriaBuilder
resultClass
- type of the query resultpublic OpenJPACriteriaQuery<javax.persistence.Tuple> createTupleQuery()
createTupleQuery
in interface javax.persistence.criteria.CriteriaBuilder
createTupleQuery
in interface OpenJPACriteriaBuilder
public <T> javax.persistence.criteria.CriteriaUpdate<T> createCriteriaUpdate(Class<T> targetEntity)
createCriteriaUpdate
in interface javax.persistence.criteria.CriteriaBuilder
public <T> javax.persistence.criteria.CriteriaDelete<T> createCriteriaDelete(Class<T> targetEntity)
createCriteriaDelete
in interface javax.persistence.criteria.CriteriaBuilder
public Object parse(String ql, ExpressionStoreQuery query)
ExpressionParser
parse
in interface ExpressionParser
public void populate(Object parsed, ExpressionStoreQuery query)
ExpressionParser
populate
in interface ExpressionParser
public <N extends Number> javax.persistence.criteria.Expression<N> abs(javax.persistence.criteria.Expression<N> x)
abs
in interface javax.persistence.criteria.CriteriaBuilder
public <Y> javax.persistence.criteria.Expression<Y> all(javax.persistence.criteria.Subquery<Y> subquery)
all
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate and(javax.persistence.criteria.Predicate... restrictions)
and
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate and(javax.persistence.criteria.Expression<Boolean> x, javax.persistence.criteria.Expression<Boolean> y)
and
in interface javax.persistence.criteria.CriteriaBuilder
public <Y> javax.persistence.criteria.Expression<Y> any(javax.persistence.criteria.Subquery<Y> subquery)
any
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Order asc(javax.persistence.criteria.Expression<?> x)
asc
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<Double> avg(javax.persistence.criteria.Expression<N> x)
avg
in interface javax.persistence.criteria.CriteriaBuilder
public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate between(javax.persistence.criteria.Expression<? extends Y> v, javax.persistence.criteria.Expression<? extends Y> x, javax.persistence.criteria.Expression<? extends Y> y)
between
in interface javax.persistence.criteria.CriteriaBuilder
public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate between(javax.persistence.criteria.Expression<? extends Y> v, Y x, Y y)
between
in interface javax.persistence.criteria.CriteriaBuilder
public <T> javax.persistence.criteria.CriteriaBuilder.Coalesce<T> coalesce()
coalesce
in interface javax.persistence.criteria.CriteriaBuilder
public <Y> javax.persistence.criteria.Expression<Y> coalesce(javax.persistence.criteria.Expression<? extends Y> x, javax.persistence.criteria.Expression<? extends Y> y)
coalesce
in interface javax.persistence.criteria.CriteriaBuilder
public <Y> javax.persistence.criteria.Expression<Y> coalesce(javax.persistence.criteria.Expression<? extends Y> x, Y y)
coalesce
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> concat(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<String> y)
concat
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> concat(javax.persistence.criteria.Expression<String> x, String y)
concat
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> concat(String x, javax.persistence.criteria.Expression<String> y)
concat
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate conjunction()
conjunction
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Long> count(javax.persistence.criteria.Expression<?> x)
count
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Long> countDistinct(javax.persistence.criteria.Expression<?> x)
countDistinct
in interface javax.persistence.criteria.CriteriaBuilder
public OpenJPACriteriaQuery<Object> createQuery()
OpenJPACriteriaBuilder
CriteriaQuery
object.createQuery
in interface javax.persistence.criteria.CriteriaBuilder
createQuery
in interface OpenJPACriteriaBuilder
public javax.persistence.criteria.Expression<Date> currentDate()
currentDate
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Time> currentTime()
currentTime
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Timestamp> currentTimestamp()
currentTimestamp
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Order desc(javax.persistence.criteria.Expression<?> x)
desc
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> diff(javax.persistence.criteria.Expression<? extends N> x, javax.persistence.criteria.Expression<? extends N> y)
diff
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> diff(javax.persistence.criteria.Expression<? extends N> x, N y)
diff
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> diff(N x, javax.persistence.criteria.Expression<? extends N> y)
diff
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate disjunction()
disjunction
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate equal(javax.persistence.criteria.Expression<?> x, javax.persistence.criteria.Expression<?> y)
equal
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate equal(javax.persistence.criteria.Expression<?> x, Object y)
equal
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate exists(javax.persistence.criteria.Subquery<?> subquery)
exists
in interface javax.persistence.criteria.CriteriaBuilder
public <T> javax.persistence.criteria.Expression<T> function(String name, Class<T> type, javax.persistence.criteria.Expression<?>... args)
function
in interface javax.persistence.criteria.CriteriaBuilder
public <X,T,V extends T> javax.persistence.criteria.Join<X,V> treat(javax.persistence.criteria.Join<X,T> join, Class<V> type)
treat
in interface javax.persistence.criteria.CriteriaBuilder
public <X,T,E extends T> javax.persistence.criteria.CollectionJoin<X,E> treat(javax.persistence.criteria.CollectionJoin<X,T> join, Class<E> type)
treat
in interface javax.persistence.criteria.CriteriaBuilder
public <X,T,E extends T> javax.persistence.criteria.SetJoin<X,E> treat(javax.persistence.criteria.SetJoin<X,T> join, Class<E> type)
treat
in interface javax.persistence.criteria.CriteriaBuilder
public <X,T,E extends T> javax.persistence.criteria.ListJoin<X,E> treat(javax.persistence.criteria.ListJoin<X,T> join, Class<E> type)
treat
in interface javax.persistence.criteria.CriteriaBuilder
public <X,K,T,V extends T> javax.persistence.criteria.MapJoin<X,K,V> treat(javax.persistence.criteria.MapJoin<X,K,T> join, Class<V> type)
treat
in interface javax.persistence.criteria.CriteriaBuilder
public <X,T extends X> javax.persistence.criteria.Path<T> treat(javax.persistence.criteria.Path<X> path, Class<T> type)
treat
in interface javax.persistence.criteria.CriteriaBuilder
public <X,T extends X> javax.persistence.criteria.Root<T> treat(javax.persistence.criteria.Root<X> root, Class<T> type)
treat
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate ge(javax.persistence.criteria.Expression<? extends Number> x, javax.persistence.criteria.Expression<? extends Number> y)
ge
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate ge(javax.persistence.criteria.Expression<? extends Number> x, Number y)
ge
in interface javax.persistence.criteria.CriteriaBuilder
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)
greaterThan
in interface javax.persistence.criteria.CriteriaBuilder
public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate greaterThan(javax.persistence.criteria.Expression<? extends Y> x, Y y)
greaterThan
in interface javax.persistence.criteria.CriteriaBuilder
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)
greaterThanOrEqualTo
in interface javax.persistence.criteria.CriteriaBuilder
public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate greaterThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x, Y y)
greaterThanOrEqualTo
in interface javax.persistence.criteria.CriteriaBuilder
public <X extends Comparable<? super X>> javax.persistence.criteria.Expression<X> greatest(javax.persistence.criteria.Expression<X> x)
greatest
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate gt(javax.persistence.criteria.Expression<? extends Number> x, javax.persistence.criteria.Expression<? extends Number> y)
gt
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate gt(javax.persistence.criteria.Expression<? extends Number> x, Number y)
gt
in interface javax.persistence.criteria.CriteriaBuilder
public <T> javax.persistence.criteria.CriteriaBuilder.In<T> in(javax.persistence.criteria.Expression<? extends T> expression)
in
in interface javax.persistence.criteria.CriteriaBuilder
public <C extends Collection<?>> javax.persistence.criteria.Predicate isEmpty(javax.persistence.criteria.Expression<C> collection)
isEmpty
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate isFalse(javax.persistence.criteria.Expression<Boolean> x)
isFalse
in interface javax.persistence.criteria.CriteriaBuilder
public <E,C extends Collection<E>> javax.persistence.criteria.Predicate isMember(E e, javax.persistence.criteria.Expression<C> c)
isMember
in interface javax.persistence.criteria.CriteriaBuilder
public <E,C extends Collection<E>> javax.persistence.criteria.Predicate isMember(javax.persistence.criteria.Expression<E> e, javax.persistence.criteria.Expression<C> c)
isMember
in interface javax.persistence.criteria.CriteriaBuilder
public <C extends Collection<?>> javax.persistence.criteria.Predicate isNotEmpty(javax.persistence.criteria.Expression<C> collection)
isNotEmpty
in interface javax.persistence.criteria.CriteriaBuilder
public <E,C extends Collection<E>> javax.persistence.criteria.Predicate isNotMember(E e, javax.persistence.criteria.Expression<C> c)
isNotMember
in interface javax.persistence.criteria.CriteriaBuilder
public <E,C extends Collection<E>> javax.persistence.criteria.Predicate isNotMember(javax.persistence.criteria.Expression<E> e, javax.persistence.criteria.Expression<C> c)
isNotMember
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate isTrue(javax.persistence.criteria.Expression<Boolean> x)
isTrue
in interface javax.persistence.criteria.CriteriaBuilder
public <K,M extends Map<K,?>> javax.persistence.criteria.Expression<Set<K>> keys(M map)
keys
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate le(javax.persistence.criteria.Expression<? extends Number> x, javax.persistence.criteria.Expression<? extends Number> y)
le
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate le(javax.persistence.criteria.Expression<? extends Number> x, Number y)
le
in interface javax.persistence.criteria.CriteriaBuilder
public <X extends Comparable<? super X>> javax.persistence.criteria.Expression<X> least(javax.persistence.criteria.Expression<X> x)
least
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Integer> length(javax.persistence.criteria.Expression<String> x)
length
in interface javax.persistence.criteria.CriteriaBuilder
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)
lessThan
in interface javax.persistence.criteria.CriteriaBuilder
public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate lessThan(javax.persistence.criteria.Expression<? extends Y> x, Y y)
lessThan
in interface javax.persistence.criteria.CriteriaBuilder
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)
lessThanOrEqualTo
in interface javax.persistence.criteria.CriteriaBuilder
public <Y extends Comparable<? super Y>> javax.persistence.criteria.Predicate lessThanOrEqualTo(javax.persistence.criteria.Expression<? extends Y> x, Y y)
lessThanOrEqualTo
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<String> pattern)
like
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> x, String pattern)
like
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<String> pattern, javax.persistence.criteria.Expression<Character> escapeChar)
like
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<String> pattern, char escapeChar)
like
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> x, String pattern, javax.persistence.criteria.Expression<Character> escapeChar)
like
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate like(javax.persistence.criteria.Expression<String> x, String pattern, char escapeChar)
like
in interface javax.persistence.criteria.CriteriaBuilder
public <T> javax.persistence.criteria.Expression<T> literal(T value)
literal
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<String> pattern)
locate
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> x, String pattern)
locate
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<String> pattern, javax.persistence.criteria.Expression<Integer> from)
locate
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Integer> locate(javax.persistence.criteria.Expression<String> x, String pattern, int from)
locate
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> lower(javax.persistence.criteria.Expression<String> x)
lower
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate lt(javax.persistence.criteria.Expression<? extends Number> x, javax.persistence.criteria.Expression<? extends Number> y)
lt
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate lt(javax.persistence.criteria.Expression<? extends Number> x, Number y)
lt
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> max(javax.persistence.criteria.Expression<N> x)
max
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> min(javax.persistence.criteria.Expression<N> x)
min
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Integer> mod(javax.persistence.criteria.Expression<Integer> x, javax.persistence.criteria.Expression<Integer> y)
mod
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Integer> mod(javax.persistence.criteria.Expression<Integer> x, Integer y)
mod
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Integer> mod(Integer x, javax.persistence.criteria.Expression<Integer> y)
mod
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> neg(javax.persistence.criteria.Expression<N> x)
neg
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate not(javax.persistence.criteria.Expression<Boolean> restriction)
not
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate notEqual(javax.persistence.criteria.Expression<?> x, javax.persistence.criteria.Expression<?> y)
notEqual
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate notEqual(javax.persistence.criteria.Expression<?> x, Object y)
notEqual
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<String> pattern)
notLike
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> x, String pattern)
notLike
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<String> pattern, javax.persistence.criteria.Expression<Character> escapeChar)
notLike
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<String> pattern, char escapeChar)
notLike
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> x, String pattern, javax.persistence.criteria.Expression<Character> escapeChar)
notLike
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate notLike(javax.persistence.criteria.Expression<String> x, String pattern, char escapeChar)
notLike
in interface javax.persistence.criteria.CriteriaBuilder
public <Y> javax.persistence.criteria.Expression<Y> nullif(javax.persistence.criteria.Expression<Y> x, javax.persistence.criteria.Expression<?> y)
nullif
in interface javax.persistence.criteria.CriteriaBuilder
public <Y> javax.persistence.criteria.Expression<Y> nullif(javax.persistence.criteria.Expression<Y> x, Y y)
nullif
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate or(javax.persistence.criteria.Predicate... restrictions)
or
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate or(javax.persistence.criteria.Expression<Boolean> x, javax.persistence.criteria.Expression<Boolean> y)
or
in interface javax.persistence.criteria.CriteriaBuilder
public <T> javax.persistence.criteria.ParameterExpression<T> parameter(Class<T> paramClass)
parameter
in interface javax.persistence.criteria.CriteriaBuilder
ParameterExpressionImpl#assignAutoName(String)
public <T> javax.persistence.criteria.ParameterExpression<T> parameter(Class<T> paramClass, String name)
parameter
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> prod(javax.persistence.criteria.Expression<? extends N> x, javax.persistence.criteria.Expression<? extends N> y)
prod
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> prod(javax.persistence.criteria.Expression<? extends N> x, N y)
prod
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> prod(N x, javax.persistence.criteria.Expression<? extends N> y)
prod
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Number> quot(javax.persistence.criteria.Expression<? extends Number> x, javax.persistence.criteria.Expression<? extends Number> y)
quot
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Number> quot(javax.persistence.criteria.Expression<? extends Number> x, Number y)
quot
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Number> quot(Number x, javax.persistence.criteria.Expression<? extends Number> y)
quot
in interface javax.persistence.criteria.CriteriaBuilder
public <Y> javax.persistence.criteria.CompoundSelection<Y> construct(Class<Y> result, javax.persistence.criteria.Selection<?>... selections)
construct
in interface javax.persistence.criteria.CriteriaBuilder
result
- class whose instance is to be constructedselections
- arguments to the constructorpublic <R> javax.persistence.criteria.CriteriaBuilder.Case<R> selectCase()
selectCase
in interface javax.persistence.criteria.CriteriaBuilder
public <C,R> javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R> selectCase(javax.persistence.criteria.Expression<? extends C> expression)
selectCase
in interface javax.persistence.criteria.CriteriaBuilder
public <C extends Collection<?>> javax.persistence.criteria.Expression<Integer> size(C collection)
size
in interface javax.persistence.criteria.CriteriaBuilder
public <C extends Collection<?>> javax.persistence.criteria.Expression<Integer> size(javax.persistence.criteria.Expression<C> collection)
size
in interface javax.persistence.criteria.CriteriaBuilder
public <Y> javax.persistence.criteria.Expression<Y> some(javax.persistence.criteria.Subquery<Y> subquery)
some
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Double> sqrt(javax.persistence.criteria.Expression<? extends Number> x)
sqrt
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<Integer> from)
substring
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> x, int from)
substring
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> x, javax.persistence.criteria.Expression<Integer> from, javax.persistence.criteria.Expression<Integer> len)
substring
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> substring(javax.persistence.criteria.Expression<String> x, int from, int len)
substring
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> sum(javax.persistence.criteria.Expression<N> x)
sum
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> sum(javax.persistence.criteria.Expression<? extends N> x, javax.persistence.criteria.Expression<? extends N> y)
sum
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> sum(javax.persistence.criteria.Expression<? extends N> x, N y)
sum
in interface javax.persistence.criteria.CriteriaBuilder
public <N extends Number> javax.persistence.criteria.Expression<N> sum(N x, javax.persistence.criteria.Expression<? extends N> y)
sum
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Long> sumAsLong(javax.persistence.criteria.Expression<Integer> x)
sumAsLong
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Double> sumAsDouble(javax.persistence.criteria.Expression<Float> x)
sumAsDouble
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<BigDecimal> toBigDecimal(javax.persistence.criteria.Expression<? extends Number> number)
toBigDecimal
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<BigInteger> toBigInteger(javax.persistence.criteria.Expression<? extends Number> number)
toBigInteger
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Double> toDouble(javax.persistence.criteria.Expression<? extends Number> number)
toDouble
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Float> toFloat(javax.persistence.criteria.Expression<? extends Number> number)
toFloat
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Integer> toInteger(javax.persistence.criteria.Expression<? extends Number> number)
toInteger
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<Long> toLong(javax.persistence.criteria.Expression<? extends Number> number)
toLong
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> toString(javax.persistence.criteria.Expression<Character> character)
toString
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.Expression<String> x)
trim
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.CriteriaBuilder.Trimspec ts, javax.persistence.criteria.Expression<String> x)
trim
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.Expression<Character> t, javax.persistence.criteria.Expression<String> x)
trim
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> trim(char t, javax.persistence.criteria.Expression<String> x)
trim
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.CriteriaBuilder.Trimspec ts, javax.persistence.criteria.Expression<Character> t, javax.persistence.criteria.Expression<String> x)
trim
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> trim(javax.persistence.criteria.CriteriaBuilder.Trimspec ts, char t, javax.persistence.criteria.Expression<String> x)
trim
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Expression<String> upper(javax.persistence.criteria.Expression<String> x)
upper
in interface javax.persistence.criteria.CriteriaBuilder
public <V,M extends Map<?,V>> javax.persistence.criteria.Expression<Collection<V>> values(M map)
values
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.CompoundSelection<Object[]> array(javax.persistence.criteria.Selection<?>... terms)
array
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate isNotNull(javax.persistence.criteria.Expression<?> x)
isNotNull
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.Predicate isNull(javax.persistence.criteria.Expression<?> x)
isNull
in interface javax.persistence.criteria.CriteriaBuilder
public <T> javax.persistence.criteria.Expression<T> nullLiteral(Class<T> t)
nullLiteral
in interface javax.persistence.criteria.CriteriaBuilder
public javax.persistence.criteria.CompoundSelection<javax.persistence.Tuple> tuple(javax.persistence.criteria.Selection<?>... selections)
tuple
in interface javax.persistence.criteria.CriteriaBuilder
selections
- selection itemsIllegalArgumentException
- if an argument is a tuple- or
array-valued selection itempublic <T> javax.persistence.criteria.Predicate qbe(javax.persistence.criteria.From<?,T> from, T example, ComparisonStyle style, javax.persistence.metamodel.Attribute<?,?>... excludes)
qbe
in interface OpenJPACriteriaBuilder
example
- an instance of an entity classstyle
- specifies various aspects of comparison such as whether
non-null attribute values be included, how string-valued attribute be
compared, whether the individual attribute based predicates are ANDed
or ORed etc.excludes
- list of attributes that are excluded from comparison.public <T> javax.persistence.criteria.Predicate qbe(javax.persistence.criteria.From<?,T> from, T example, ComparisonStyle style)
OpenJPACriteriaBuilder
qbe
in interface OpenJPACriteriaBuilder
public <T> javax.persistence.criteria.Predicate qbe(javax.persistence.criteria.From<?,T> from, T example, javax.persistence.metamodel.Attribute<?,?>... excludes)
OpenJPACriteriaBuilder
qbe
in interface OpenJPACriteriaBuilder
public <T> javax.persistence.criteria.Predicate qbe(javax.persistence.criteria.From<?,T> from, T example)
OpenJPACriteriaBuilder
qbe
in interface OpenJPACriteriaBuilder
public ComparisonStyle qbeStyle()
qbeStyle
in interface OpenJPACriteriaBuilder
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.