Package org.hibernate.query.sqm
Interface NodeBuilder
-
- All Superinterfaces:
CriteriaBuilder
,HibernateCriteriaBuilder
- All Known Implementing Classes:
SqmCriteriaNodeBuilder
public interface NodeBuilder extends HibernateCriteriaBuilder
Adapts the JPA CriteriaBuilder to generate SQM nodes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.CriteriaBuilder
CriteriaBuilder.Case<R extends Object>, CriteriaBuilder.Coalesce<T extends Object>, CriteriaBuilder.In<T extends Object>, CriteriaBuilder.SimpleCase<C extends Object,R extends Object>, CriteriaBuilder.Trimspec
-
-
Method Summary
-
Methods inherited from interface org.hibernate.query.criteria.HibernateCriteriaBuilder
acos, addDuration, addDuration, addDuration, array, array, asc, asc, asc, asin, atan, atan2, atan2, atan2, avg, avg, avg, ceiling, collate, cos, cosh, count, count, count, createWindow, cumeDist, day, degrees, denseRank, desc, desc, desc, duration, durationBetween, durationBetween, durationByUnit, durationDiff, durationDiff, durationScaled, durationScaled, durationScaled, durationSum, durationSum, except, except, except, except, exceptAll, exceptAll, exp, firstValue, floor, format, frameBetweenFollowing, frameBetweenFollowing, frameBetweenPreceding, frameBetweenPreceding, frameCurrentRow, frameUnboundedFollowing, frameUnboundedPreceding, functionAggregate, functionAggregate, functionAggregate, functionWithinGroup, functionWithinGroup, functionWithinGroup, functionWithinGroup, hour, ilike, ilike, ilike, ilike, ilike, ilike, intersect, intersect, intersect, intersect, intersectAll, intersectAll, lastValue, left, left, listagg, listagg, listagg, listagg, listagg, listagg, listagg, listagg, ln, localDate, localDateTime, localTime, log, log, log10, minute, mode, mode, mode, mode, month, notIlike, notIlike, notIlike, notIlike, notIlike, notIlike, nthValue, nthValue, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, percentileCont, percentileCont, percentileCont, percentileCont, percentileDisc, percentileDisc, percentileDisc, percentileDisc, percentRank, percentRank, percentRank, percentRank, percentRank, pi, power, power, radians, rank, rank, rank, rank, rank, repeat, repeat, repeat, replace, replace, replace, replace, right, right, round, rowNumber, search, search, search, second, sign, sin, sinh, sql, subtractDuration, subtractDuration, subtractDuration, sum, sum, sum, tan, tanh, truncate, truncate, union, union, union, union, unionAll, unionAll, unwrap, value, windowFunction, year
-
-
-
-
Method Detail
-
getDomainModel
JpaMetamodel getDomainModel()
-
getTypeConfiguration
TypeConfiguration getTypeConfiguration()
-
isJpaQueryComplianceEnabled
boolean isJpaQueryComplianceEnabled()
-
getQueryEngine
QueryEngine getQueryEngine()
-
tuple
<R> SqmTuple<R> tuple(Class<R> tupleType, SqmExpression<?>... expressions)
-
tuple
<R> SqmTuple<R> tuple(Class<R> tupleType, List<? extends SqmExpression<?>> expressions)
-
tuple
<R> SqmTuple<R> tuple(SqmExpressible<R> tupleType, SqmExpression<?>... expressions)
-
tuple
<R> SqmTuple<R> tuple(SqmExpressible<R> tupleType, List<? extends SqmExpression<?>> expressions)
-
createQuery
SqmSelectStatement<Object> createQuery()
- Specified by:
createQuery
in interfaceCriteriaBuilder
- Specified by:
createQuery
in interfaceHibernateCriteriaBuilder
-
createQuery
<T> SqmSelectStatement<T> createQuery(Class<T> resultClass)
- Specified by:
createQuery
in interfaceCriteriaBuilder
- Specified by:
createQuery
in interfaceHibernateCriteriaBuilder
-
createQuery
<T> SqmSelectStatement<T> createQuery(String hql, Class<T> resultClass)
Description copied from interface:HibernateCriteriaBuilder
Transform the given HQLselect
query to an equivalent criteria query.- Specified by:
createQuery
in interfaceHibernateCriteriaBuilder
- Parameters:
hql
- The HQLselect
queryresultClass
- The result type of the query- Returns:
- The equivalent criteria query
-
createTupleQuery
SqmSelectStatement<Tuple> createTupleQuery()
- Specified by:
createTupleQuery
in interfaceCriteriaBuilder
- Specified by:
createTupleQuery
in interfaceHibernateCriteriaBuilder
-
construct
<Y> JpaCompoundSelection<Y> construct(Class<Y> resultClass, Selection<?>[] selections)
- Specified by:
construct
in interfaceCriteriaBuilder
- Specified by:
construct
in interfaceHibernateCriteriaBuilder
-
construct
<Y> JpaCompoundSelection<Y> construct(Class<Y> resultClass, List<? extends JpaSelection<?>> arguments)
- Specified by:
construct
in interfaceHibernateCriteriaBuilder
-
tuple
JpaCompoundSelection<Tuple> tuple(Selection<?>[] selections)
- Specified by:
tuple
in interfaceCriteriaBuilder
- Specified by:
tuple
in interfaceHibernateCriteriaBuilder
-
tuple
JpaCompoundSelection<Tuple> tuple(List<? extends JpaSelection<?>> selections)
- Specified by:
tuple
in interfaceHibernateCriteriaBuilder
-
array
JpaCompoundSelection<Object[]> array(Selection<?>[] selections)
- Specified by:
array
in interfaceCriteriaBuilder
- Specified by:
array
in interfaceHibernateCriteriaBuilder
-
array
JpaCompoundSelection<Object[]> array(List<? extends JpaSelection<?>> selections)
- Specified by:
array
in interfaceHibernateCriteriaBuilder
-
createCriteriaUpdate
<T> SqmUpdateStatement<T> createCriteriaUpdate(Class<T> targetEntity)
- Specified by:
createCriteriaUpdate
in interfaceCriteriaBuilder
- Specified by:
createCriteriaUpdate
in interfaceHibernateCriteriaBuilder
-
createCriteriaDelete
<T> SqmDeleteStatement<T> createCriteriaDelete(Class<T> targetEntity)
- Specified by:
createCriteriaDelete
in interfaceCriteriaBuilder
- Specified by:
createCriteriaDelete
in interfaceHibernateCriteriaBuilder
-
createCriteriaInsertValues
<T> SqmInsertValuesStatement<T> createCriteriaInsertValues(Class<T> targetEntity)
- Specified by:
createCriteriaInsertValues
in interfaceHibernateCriteriaBuilder
-
createCriteriaInsertSelect
<T> SqmInsertSelectStatement<T> createCriteriaInsertSelect(Class<T> targetEntity)
- Specified by:
createCriteriaInsertSelect
in interfaceHibernateCriteriaBuilder
-
abs
<N extends Number> SqmExpression<N> abs(Expression<N> x)
- Specified by:
abs
in interfaceCriteriaBuilder
- Specified by:
abs
in interfaceHibernateCriteriaBuilder
-
cast
<X,T> SqmExpression<X> cast(JpaExpression<T> expression, Class<X> castTargetJavaType)
- Specified by:
cast
in interfaceHibernateCriteriaBuilder
-
wrap
SqmPredicate wrap(Expression<Boolean> expression)
- Specified by:
wrap
in interfaceHibernateCriteriaBuilder
-
wrap
SqmPredicate wrap(Expression<Boolean>... expressions)
- Specified by:
wrap
in interfaceHibernateCriteriaBuilder
-
fk
<P,F> SqmExpression<F> fk(Path<P> path)
- Specified by:
fk
in interfaceHibernateCriteriaBuilder
-
treat
<X,T extends X> SqmPath<T> treat(Path<X> path, Class<T> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,T extends X> SqmRoot<T> treat(Root<X> root, Class<T> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,T,V extends T> SqmSingularJoin<X,V> treat(Join<X,T> join, Class<V> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,T,E extends T> SqmBagJoin<X,E> treat(CollectionJoin<X,T> join, Class<E> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,T,E extends T> SqmSetJoin<X,E> treat(SetJoin<X,T> join, Class<E> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,T,E extends T> SqmListJoin<X,E> treat(ListJoin<X,T> join, Class<E> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,K,T,V extends T> SqmMapJoin<X,K,V> treat(MapJoin<X,K,T> join, Class<V> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
avg
<N extends Number> SqmExpression<Double> avg(Expression<N> argument)
- Specified by:
avg
in interfaceCriteriaBuilder
- Specified by:
avg
in interfaceHibernateCriteriaBuilder
-
sum
<N extends Number> SqmExpression<N> sum(Expression<N> argument)
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
-
sumAsLong
SqmExpression<Long> sumAsLong(Expression<Integer> argument)
- Specified by:
sumAsLong
in interfaceCriteriaBuilder
- Specified by:
sumAsLong
in interfaceHibernateCriteriaBuilder
-
sumAsDouble
SqmExpression<Double> sumAsDouble(Expression<Float> argument)
- Specified by:
sumAsDouble
in interfaceCriteriaBuilder
- Specified by:
sumAsDouble
in interfaceHibernateCriteriaBuilder
-
max
<N extends Number> SqmExpression<N> max(Expression<N> argument)
- Specified by:
max
in interfaceCriteriaBuilder
- Specified by:
max
in interfaceHibernateCriteriaBuilder
-
min
<N extends Number> SqmExpression<N> min(Expression<N> argument)
- Specified by:
min
in interfaceCriteriaBuilder
- Specified by:
min
in interfaceHibernateCriteriaBuilder
-
greatest
<X extends Comparable<? super X>> SqmExpression<X> greatest(Expression<X> argument)
- Specified by:
greatest
in interfaceCriteriaBuilder
- Specified by:
greatest
in interfaceHibernateCriteriaBuilder
-
least
<X extends Comparable<? super X>> SqmExpression<X> least(Expression<X> argument)
- Specified by:
least
in interfaceCriteriaBuilder
- Specified by:
least
in interfaceHibernateCriteriaBuilder
-
count
SqmExpression<Long> count(Expression<?> argument)
- Specified by:
count
in interfaceCriteriaBuilder
- Specified by:
count
in interfaceHibernateCriteriaBuilder
-
countDistinct
SqmExpression<Long> countDistinct(Expression<?> x)
- Specified by:
countDistinct
in interfaceCriteriaBuilder
- Specified by:
countDistinct
in interfaceHibernateCriteriaBuilder
-
neg
<N extends Number> SqmExpression<N> neg(Expression<N> x)
- Specified by:
neg
in interfaceCriteriaBuilder
- Specified by:
neg
in interfaceHibernateCriteriaBuilder
-
sum
<N extends Number> SqmExpression<N> sum(Expression<? extends N> x, Expression<? extends N> y)
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
-
sum
<N extends Number> SqmExpression<N> sum(Expression<? extends N> x, N y)
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
-
sum
<N extends Number> SqmExpression<N> sum(N x, Expression<? extends N> y)
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
-
prod
<N extends Number> SqmExpression<N> prod(Expression<? extends N> x, Expression<? extends N> y)
- Specified by:
prod
in interfaceCriteriaBuilder
- Specified by:
prod
in interfaceHibernateCriteriaBuilder
-
prod
<N extends Number> SqmExpression<N> prod(Expression<? extends N> x, N y)
- Specified by:
prod
in interfaceCriteriaBuilder
- Specified by:
prod
in interfaceHibernateCriteriaBuilder
-
prod
<N extends Number> SqmExpression<N> prod(N x, Expression<? extends N> y)
- Specified by:
prod
in interfaceCriteriaBuilder
- Specified by:
prod
in interfaceHibernateCriteriaBuilder
-
diff
<N extends Number> SqmExpression<N> diff(Expression<? extends N> x, Expression<? extends N> y)
- Specified by:
diff
in interfaceCriteriaBuilder
- Specified by:
diff
in interfaceHibernateCriteriaBuilder
-
diff
<N extends Number> SqmExpression<N> diff(Expression<? extends N> x, N y)
- Specified by:
diff
in interfaceCriteriaBuilder
- Specified by:
diff
in interfaceHibernateCriteriaBuilder
-
diff
<N extends Number> SqmExpression<N> diff(N x, Expression<? extends N> y)
- Specified by:
diff
in interfaceCriteriaBuilder
- Specified by:
diff
in interfaceHibernateCriteriaBuilder
-
quot
SqmExpression<Number> quot(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
quot
in interfaceCriteriaBuilder
- Specified by:
quot
in interfaceHibernateCriteriaBuilder
-
quot
SqmExpression<Number> quot(Expression<? extends Number> x, Number y)
- Specified by:
quot
in interfaceCriteriaBuilder
- Specified by:
quot
in interfaceHibernateCriteriaBuilder
-
quot
SqmExpression<Number> quot(Number x, Expression<? extends Number> y)
- Specified by:
quot
in interfaceCriteriaBuilder
- Specified by:
quot
in interfaceHibernateCriteriaBuilder
-
mod
SqmExpression<Integer> mod(Expression<Integer> x, Expression<Integer> y)
- Specified by:
mod
in interfaceCriteriaBuilder
- Specified by:
mod
in interfaceHibernateCriteriaBuilder
-
mod
SqmExpression<Integer> mod(Expression<Integer> x, Integer y)
- Specified by:
mod
in interfaceCriteriaBuilder
- Specified by:
mod
in interfaceHibernateCriteriaBuilder
-
mod
SqmExpression<Integer> mod(Integer x, Expression<Integer> y)
- Specified by:
mod
in interfaceCriteriaBuilder
- Specified by:
mod
in interfaceHibernateCriteriaBuilder
-
sqrt
SqmExpression<Double> sqrt(Expression<? extends Number> x)
- Specified by:
sqrt
in interfaceCriteriaBuilder
- Specified by:
sqrt
in interfaceHibernateCriteriaBuilder
-
toLong
SqmExpression<Long> toLong(Expression<? extends Number> number)
- Specified by:
toLong
in interfaceCriteriaBuilder
- Specified by:
toLong
in interfaceHibernateCriteriaBuilder
-
toInteger
SqmExpression<Integer> toInteger(Expression<? extends Number> number)
- Specified by:
toInteger
in interfaceCriteriaBuilder
- Specified by:
toInteger
in interfaceHibernateCriteriaBuilder
-
toFloat
SqmExpression<Float> toFloat(Expression<? extends Number> number)
- Specified by:
toFloat
in interfaceCriteriaBuilder
- Specified by:
toFloat
in interfaceHibernateCriteriaBuilder
-
toDouble
SqmExpression<Double> toDouble(Expression<? extends Number> number)
- Specified by:
toDouble
in interfaceCriteriaBuilder
- Specified by:
toDouble
in interfaceHibernateCriteriaBuilder
-
toBigDecimal
SqmExpression<BigDecimal> toBigDecimal(Expression<? extends Number> number)
- Specified by:
toBigDecimal
in interfaceCriteriaBuilder
- Specified by:
toBigDecimal
in interfaceHibernateCriteriaBuilder
-
toBigInteger
SqmExpression<BigInteger> toBigInteger(Expression<? extends Number> number)
- Specified by:
toBigInteger
in interfaceCriteriaBuilder
- Specified by:
toBigInteger
in interfaceHibernateCriteriaBuilder
-
toString
SqmExpression<String> toString(Expression<Character> character)
- Specified by:
toString
in interfaceCriteriaBuilder
- Specified by:
toString
in interfaceHibernateCriteriaBuilder
-
literal
<T> SqmExpression<T> literal(T value)
- Specified by:
literal
in interfaceCriteriaBuilder
- Specified by:
literal
in interfaceHibernateCriteriaBuilder
-
literals
<T> List<? extends SqmExpression<T>> literals(T[] values)
- Specified by:
literals
in interfaceHibernateCriteriaBuilder
-
literals
<T> List<? extends SqmExpression<T>> literals(List<T> values)
- Specified by:
literals
in interfaceHibernateCriteriaBuilder
-
nullLiteral
<T> SqmExpression<T> nullLiteral(Class<T> resultClass)
- Specified by:
nullLiteral
in interfaceCriteriaBuilder
- Specified by:
nullLiteral
in interfaceHibernateCriteriaBuilder
-
parameter
<T> JpaParameterExpression<T> parameter(Class<T> paramClass)
- Specified by:
parameter
in interfaceCriteriaBuilder
- Specified by:
parameter
in interfaceHibernateCriteriaBuilder
- See Also:
JpaParameterExpression
- Implementation Note:
- Notice that this returns a JPA parameter not the SqmParameter
-
parameter
<T> JpaParameterExpression<T> parameter(Class<T> paramClass, String name)
- Specified by:
parameter
in interfaceCriteriaBuilder
- Specified by:
parameter
in interfaceHibernateCriteriaBuilder
-
concat
SqmExpression<String> concat(Expression<String> x, Expression<String> y)
- Specified by:
concat
in interfaceCriteriaBuilder
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
-
concat
SqmExpression<String> concat(Expression<String> x, String y)
- Specified by:
concat
in interfaceCriteriaBuilder
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
-
concat
SqmExpression<String> concat(String x, Expression<String> y)
- Specified by:
concat
in interfaceCriteriaBuilder
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
-
concat
SqmExpression<String> concat(String x, String y)
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
-
substring
SqmFunction<String> substring(Expression<String> x, Expression<Integer> from)
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
-
substring
SqmFunction<String> substring(Expression<String> x, int from)
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
-
substring
SqmFunction<String> substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len)
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
-
substring
SqmFunction<String> substring(Expression<String> x, int from, int len)
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(Expression<Character> t, Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(char t, Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, char t, Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
lower
SqmFunction<String> lower(Expression<String> x)
- Specified by:
lower
in interfaceCriteriaBuilder
- Specified by:
lower
in interfaceHibernateCriteriaBuilder
-
upper
SqmFunction<String> upper(Expression<String> x)
- Specified by:
upper
in interfaceCriteriaBuilder
- Specified by:
upper
in interfaceHibernateCriteriaBuilder
-
length
SqmFunction<Integer> length(Expression<String> x)
- Specified by:
length
in interfaceCriteriaBuilder
- Specified by:
length
in interfaceHibernateCriteriaBuilder
-
locate
SqmFunction<Integer> locate(Expression<String> x, Expression<String> pattern)
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
-
locate
SqmFunction<Integer> locate(Expression<String> x, String pattern)
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
-
locate
SqmFunction<Integer> locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from)
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
-
locate
SqmFunction<Integer> locate(Expression<String> x, String pattern, int from)
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
-
currentDate
SqmFunction<Date> currentDate()
- Specified by:
currentDate
in interfaceCriteriaBuilder
- Specified by:
currentDate
in interfaceHibernateCriteriaBuilder
-
currentTimestamp
SqmFunction<Timestamp> currentTimestamp()
- Specified by:
currentTimestamp
in interfaceCriteriaBuilder
- Specified by:
currentTimestamp
in interfaceHibernateCriteriaBuilder
-
currentTime
SqmFunction<Time> currentTime()
- Specified by:
currentTime
in interfaceCriteriaBuilder
- Specified by:
currentTime
in interfaceHibernateCriteriaBuilder
-
currentInstant
SqmFunction<Instant> currentInstant()
- Specified by:
currentInstant
in interfaceHibernateCriteriaBuilder
-
function
<T> SqmFunction<T> function(String name, Class<T> type, Expression<?>[] args)
- Specified by:
function
in interfaceCriteriaBuilder
- Specified by:
function
in interfaceHibernateCriteriaBuilder
-
all
<Y> SqmModifiedSubQueryExpression<Y> all(Subquery<Y> subquery)
- Specified by:
all
in interfaceCriteriaBuilder
- Specified by:
all
in interfaceHibernateCriteriaBuilder
-
some
<Y> SqmModifiedSubQueryExpression<Y> some(Subquery<Y> subquery)
- Specified by:
some
in interfaceCriteriaBuilder
- Specified by:
some
in interfaceHibernateCriteriaBuilder
-
any
<Y> SqmModifiedSubQueryExpression<Y> any(Subquery<Y> subquery)
- Specified by:
any
in interfaceCriteriaBuilder
- Specified by:
any
in interfaceHibernateCriteriaBuilder
-
keys
<K,M extends Map<K,?>> SqmExpression<Set<K>> keys(M map)
- Specified by:
keys
in interfaceCriteriaBuilder
- Specified by:
keys
in interfaceHibernateCriteriaBuilder
-
indexes
<K,L extends List<?>> SqmExpression<Set<K>> indexes(L list)
- Specified by:
indexes
in interfaceHibernateCriteriaBuilder
-
values
<V,C extends Collection<V>> SqmExpression<Collection<V>> values(C collection)
- Specified by:
values
in interfaceHibernateCriteriaBuilder
-
values
<V,M extends Map<?,V>> Expression<Collection<V>> values(M map)
- Specified by:
values
in interfaceCriteriaBuilder
- Specified by:
values
in interfaceHibernateCriteriaBuilder
-
size
<C extends Collection<?>> SqmExpression<Integer> size(Expression<C> collection)
- Specified by:
size
in interfaceCriteriaBuilder
- Specified by:
size
in interfaceHibernateCriteriaBuilder
-
size
<C extends Collection<?>> SqmExpression<Integer> size(C collection)
- Specified by:
size
in interfaceCriteriaBuilder
- Specified by:
size
in interfaceHibernateCriteriaBuilder
-
coalesce
<T> JpaCoalesce<T> coalesce()
- Specified by:
coalesce
in interfaceCriteriaBuilder
- Specified by:
coalesce
in interfaceHibernateCriteriaBuilder
-
coalesce
<Y> JpaCoalesce<Y> coalesce(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
coalesce
in interfaceCriteriaBuilder
- Specified by:
coalesce
in interfaceHibernateCriteriaBuilder
-
coalesce
<Y> JpaCoalesce<Y> coalesce(Expression<? extends Y> x, Y y)
- Specified by:
coalesce
in interfaceCriteriaBuilder
- Specified by:
coalesce
in interfaceHibernateCriteriaBuilder
-
nullif
<Y> SqmExpression<Y> nullif(Expression<Y> x, Expression<?> y)
- Specified by:
nullif
in interfaceCriteriaBuilder
- Specified by:
nullif
in interfaceHibernateCriteriaBuilder
-
nullif
<Y> SqmExpression<Y> nullif(Expression<Y> x, Y y)
- Specified by:
nullif
in interfaceCriteriaBuilder
- Specified by:
nullif
in interfaceHibernateCriteriaBuilder
-
selectCase
<C,R> JpaSimpleCase<C,R> selectCase(Expression<? extends C> expression)
- Specified by:
selectCase
in interfaceCriteriaBuilder
- Specified by:
selectCase
in interfaceHibernateCriteriaBuilder
-
selectCase
<R> JpaSearchedCase<R> selectCase()
- Specified by:
selectCase
in interfaceCriteriaBuilder
- Specified by:
selectCase
in interfaceHibernateCriteriaBuilder
-
and
SqmPredicate and(Expression<Boolean> x, Expression<Boolean> y)
- Specified by:
and
in interfaceCriteriaBuilder
- Specified by:
and
in interfaceHibernateCriteriaBuilder
-
and
SqmPredicate and(Predicate... restrictions)
- Specified by:
and
in interfaceCriteriaBuilder
- Specified by:
and
in interfaceHibernateCriteriaBuilder
-
or
SqmPredicate or(Expression<Boolean> x, Expression<Boolean> y)
- Specified by:
or
in interfaceCriteriaBuilder
- Specified by:
or
in interfaceHibernateCriteriaBuilder
-
or
SqmPredicate or(Predicate... restrictions)
- Specified by:
or
in interfaceCriteriaBuilder
- Specified by:
or
in interfaceHibernateCriteriaBuilder
-
not
SqmPredicate not(Expression<Boolean> restriction)
- Specified by:
not
in interfaceCriteriaBuilder
- Specified by:
not
in interfaceHibernateCriteriaBuilder
-
conjunction
SqmPredicate conjunction()
- Specified by:
conjunction
in interfaceCriteriaBuilder
- Specified by:
conjunction
in interfaceHibernateCriteriaBuilder
-
disjunction
SqmPredicate disjunction()
- Specified by:
disjunction
in interfaceCriteriaBuilder
- Specified by:
disjunction
in interfaceHibernateCriteriaBuilder
-
isTrue
SqmPredicate isTrue(Expression<Boolean> x)
- Specified by:
isTrue
in interfaceCriteriaBuilder
- Specified by:
isTrue
in interfaceHibernateCriteriaBuilder
-
isFalse
SqmPredicate isFalse(Expression<Boolean> x)
- Specified by:
isFalse
in interfaceCriteriaBuilder
- Specified by:
isFalse
in interfaceHibernateCriteriaBuilder
-
isNull
SqmPredicate isNull(Expression<?> x)
- Specified by:
isNull
in interfaceCriteriaBuilder
- Specified by:
isNull
in interfaceHibernateCriteriaBuilder
-
isNotNull
SqmPredicate isNotNull(Expression<?> x)
- Specified by:
isNotNull
in interfaceCriteriaBuilder
- Specified by:
isNotNull
in interfaceHibernateCriteriaBuilder
-
equal
SqmPredicate equal(Expression<?> x, Expression<?> y)
- Specified by:
equal
in interfaceCriteriaBuilder
- Specified by:
equal
in interfaceHibernateCriteriaBuilder
-
equal
SqmPredicate equal(Expression<?> x, Object y)
- Specified by:
equal
in interfaceCriteriaBuilder
- Specified by:
equal
in interfaceHibernateCriteriaBuilder
-
notEqual
SqmPredicate notEqual(Expression<?> x, Expression<?> y)
- Specified by:
notEqual
in interfaceCriteriaBuilder
- Specified by:
notEqual
in interfaceHibernateCriteriaBuilder
-
notEqual
SqmPredicate notEqual(Expression<?> x, Object y)
- Specified by:
notEqual
in interfaceCriteriaBuilder
- Specified by:
notEqual
in interfaceHibernateCriteriaBuilder
-
distinctFrom
SqmPredicate distinctFrom(Expression<?> x, Expression<?> y)
- Specified by:
distinctFrom
in interfaceHibernateCriteriaBuilder
-
distinctFrom
SqmPredicate distinctFrom(Expression<?> x, Object y)
- Specified by:
distinctFrom
in interfaceHibernateCriteriaBuilder
-
notDistinctFrom
SqmPredicate notDistinctFrom(Expression<?> x, Expression<?> y)
- Specified by:
notDistinctFrom
in interfaceHibernateCriteriaBuilder
-
notDistinctFrom
SqmPredicate notDistinctFrom(Expression<?> x, Object y)
- Specified by:
notDistinctFrom
in interfaceHibernateCriteriaBuilder
-
greaterThan
<Y extends Comparable<? super Y>> SqmPredicate greaterThan(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
greaterThan
in interfaceCriteriaBuilder
- Specified by:
greaterThan
in interfaceHibernateCriteriaBuilder
-
greaterThan
<Y extends Comparable<? super Y>> SqmPredicate greaterThan(Expression<? extends Y> x, Y y)
- Specified by:
greaterThan
in interfaceCriteriaBuilder
- Specified by:
greaterThan
in interfaceHibernateCriteriaBuilder
-
greaterThanOrEqualTo
<Y extends Comparable<? super Y>> SqmPredicate greaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
greaterThanOrEqualTo
in interfaceCriteriaBuilder
- Specified by:
greaterThanOrEqualTo
in interfaceHibernateCriteriaBuilder
-
greaterThanOrEqualTo
<Y extends Comparable<? super Y>> SqmPredicate greaterThanOrEqualTo(Expression<? extends Y> x, Y y)
- Specified by:
greaterThanOrEqualTo
in interfaceCriteriaBuilder
- Specified by:
greaterThanOrEqualTo
in interfaceHibernateCriteriaBuilder
-
lessThan
<Y extends Comparable<? super Y>> SqmPredicate lessThan(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
lessThan
in interfaceCriteriaBuilder
- Specified by:
lessThan
in interfaceHibernateCriteriaBuilder
-
lessThan
<Y extends Comparable<? super Y>> SqmPredicate lessThan(Expression<? extends Y> x, Y y)
- Specified by:
lessThan
in interfaceCriteriaBuilder
- Specified by:
lessThan
in interfaceHibernateCriteriaBuilder
-
lessThanOrEqualTo
<Y extends Comparable<? super Y>> SqmPredicate lessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
lessThanOrEqualTo
in interfaceCriteriaBuilder
- Specified by:
lessThanOrEqualTo
in interfaceHibernateCriteriaBuilder
-
lessThanOrEqualTo
<Y extends Comparable<? super Y>> SqmPredicate lessThanOrEqualTo(Expression<? extends Y> x, Y y)
- Specified by:
lessThanOrEqualTo
in interfaceCriteriaBuilder
- Specified by:
lessThanOrEqualTo
in interfaceHibernateCriteriaBuilder
-
between
<Y extends Comparable<? super Y>> SqmPredicate between(Expression<? extends Y> value, Expression<? extends Y> lower, Expression<? extends Y> upper)
- Specified by:
between
in interfaceCriteriaBuilder
- Specified by:
between
in interfaceHibernateCriteriaBuilder
-
between
<Y extends Comparable<? super Y>> SqmPredicate between(Expression<? extends Y> value, Y lower, Y upper)
- Specified by:
between
in interfaceCriteriaBuilder
- Specified by:
between
in interfaceHibernateCriteriaBuilder
-
gt
SqmPredicate gt(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
gt
in interfaceCriteriaBuilder
- Specified by:
gt
in interfaceHibernateCriteriaBuilder
-
gt
SqmPredicate gt(Expression<? extends Number> x, Number y)
- Specified by:
gt
in interfaceCriteriaBuilder
- Specified by:
gt
in interfaceHibernateCriteriaBuilder
-
ge
SqmPredicate ge(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
ge
in interfaceCriteriaBuilder
- Specified by:
ge
in interfaceHibernateCriteriaBuilder
-
ge
SqmPredicate ge(Expression<? extends Number> x, Number y)
- Specified by:
ge
in interfaceCriteriaBuilder
- Specified by:
ge
in interfaceHibernateCriteriaBuilder
-
lt
SqmPredicate lt(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
lt
in interfaceCriteriaBuilder
- Specified by:
lt
in interfaceHibernateCriteriaBuilder
-
lt
SqmPredicate lt(Expression<? extends Number> x, Number y)
- Specified by:
lt
in interfaceCriteriaBuilder
- Specified by:
lt
in interfaceHibernateCriteriaBuilder
-
le
SqmPredicate le(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
le
in interfaceCriteriaBuilder
- Specified by:
le
in interfaceHibernateCriteriaBuilder
-
le
SqmPredicate le(Expression<? extends Number> x, Number y)
- Specified by:
le
in interfaceCriteriaBuilder
- Specified by:
le
in interfaceHibernateCriteriaBuilder
-
isEmpty
<C extends Collection<?>> SqmPredicate isEmpty(Expression<C> collection)
- Specified by:
isEmpty
in interfaceCriteriaBuilder
- Specified by:
isEmpty
in interfaceHibernateCriteriaBuilder
-
isNotEmpty
<C extends Collection<?>> SqmPredicate isNotEmpty(Expression<C> collection)
- Specified by:
isNotEmpty
in interfaceCriteriaBuilder
- Specified by:
isNotEmpty
in interfaceHibernateCriteriaBuilder
-
isMember
<E,C extends Collection<E>> SqmPredicate isMember(Expression<E> elem, Expression<C> collection)
- Specified by:
isMember
in interfaceCriteriaBuilder
- Specified by:
isMember
in interfaceHibernateCriteriaBuilder
-
isMember
<E,C extends Collection<E>> SqmPredicate isMember(E elem, Expression<C> collection)
- Specified by:
isMember
in interfaceCriteriaBuilder
- Specified by:
isMember
in interfaceHibernateCriteriaBuilder
-
isNotMember
<E,C extends Collection<E>> SqmPredicate isNotMember(Expression<E> elem, Expression<C> collection)
- Specified by:
isNotMember
in interfaceCriteriaBuilder
- Specified by:
isNotMember
in interfaceHibernateCriteriaBuilder
-
isNotMember
<E,C extends Collection<E>> SqmPredicate isNotMember(E elem, Expression<C> collection)
- Specified by:
isNotMember
in interfaceCriteriaBuilder
- Specified by:
isNotMember
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, Expression<String> pattern)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, String pattern)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, Expression<String> pattern, char escapeChar)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, String pattern, Expression<Character> escapeChar)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, String pattern, char escapeChar)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, Expression<String> pattern)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, String pattern)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, Expression<String> pattern, char escapeChar)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, String pattern, Expression<Character> escapeChar)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, String pattern, char escapeChar)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
in
<T> SqmInPredicate<T> in(Expression<? extends T> expression)
- Specified by:
in
in interfaceCriteriaBuilder
- Specified by:
in
in interfaceHibernateCriteriaBuilder
-
in
<T> SqmInPredicate<T> in(Expression<? extends T> expression, Expression<? extends T>... values)
- Specified by:
in
in interfaceHibernateCriteriaBuilder
-
in
<T> SqmInPredicate<T> in(Expression<? extends T> expression, T... values)
- Specified by:
in
in interfaceHibernateCriteriaBuilder
-
in
<T> SqmInPredicate<T> in(Expression<? extends T> expression, Collection<T> values)
- Specified by:
in
in interfaceHibernateCriteriaBuilder
-
in
<T> SqmInPredicate<T> in(Expression<? extends T> expression, SqmSubQuery<T> subQuery)
-
exists
SqmPredicate exists(Subquery<?> subquery)
- Specified by:
exists
in interfaceCriteriaBuilder
- Specified by:
exists
in interfaceHibernateCriteriaBuilder
-
isMapEmpty
<M extends Map<?,?>> SqmPredicate isMapEmpty(JpaExpression<M> mapExpression)
Description copied from interface:HibernateCriteriaBuilder
Create a predicate that tests whether a Map is empty.- Specified by:
isMapEmpty
in interfaceHibernateCriteriaBuilder
- Parameters:
mapExpression
- The expression resolving to a Map which we want to check for emptiness- Returns:
- is-empty predicate
-
isMapNotEmpty
<M extends Map<?,?>> SqmPredicate isMapNotEmpty(JpaExpression<M> mapExpression)
Description copied from interface:HibernateCriteriaBuilder
Create a predicate that tests whether a Map is not empty.- Specified by:
isMapNotEmpty
in interfaceHibernateCriteriaBuilder
- Parameters:
mapExpression
- The expression resolving to a Map which we want to check for non-emptiness- Returns:
- is-not-empty predicate
-
mapSize
<M extends Map<?,?>> SqmExpression<Integer> mapSize(JpaExpression<M> mapExpression)
Description copied from interface:HibernateCriteriaBuilder
Create an expression that tests the size of a map.- Specified by:
mapSize
in interfaceHibernateCriteriaBuilder
- Parameters:
mapExpression
- The expression resolving to a Map for which we want to know the size- Returns:
- size expression
-
mapSize
<M extends Map<?,?>> SqmExpression<Integer> mapSize(M map)
Description copied from interface:HibernateCriteriaBuilder
Create an expression that tests the size of a map.- Specified by:
mapSize
in interfaceHibernateCriteriaBuilder
- Parameters:
map
- The Map for which we want to know the size- Returns:
- size expression
-
sort
SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
- Specified by:
sort
in interfaceHibernateCriteriaBuilder
-
sort
SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder)
- Specified by:
sort
in interfaceHibernateCriteriaBuilder
-
sort
SqmSortSpecification sort(JpaExpression<?> sortExpression)
- Specified by:
sort
in interfaceHibernateCriteriaBuilder
-
asc
SqmSortSpecification asc(Expression<?> x)
- Specified by:
asc
in interfaceCriteriaBuilder
- Specified by:
asc
in interfaceHibernateCriteriaBuilder
-
desc
SqmSortSpecification desc(Expression<?> x)
- Specified by:
desc
in interfaceCriteriaBuilder
- Specified by:
desc
in interfaceHibernateCriteriaBuilder
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
-
-