Package org.hibernate.query.sqm.internal
Class SqmCriteriaNodeBuilder
java.lang.Object
org.hibernate.query.sqm.internal.SqmCriteriaNodeBuilder
- All Implemented Interfaces:
CriteriaBuilder
,Serializable
,BindingContext
,HibernateCriteriaBuilder
,NodeBuilder
Acts as a JPA
CriteriaBuilder
by
using SQM nodes as the JPA Criteria nodes- See Also:
-
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 -
Constructor Summary
ConstructorsConstructorDescriptionSqmCriteriaNodeBuilder
(String uuid, String name, QueryEngine queryEngine, QueryEngineOptions options, BindingContext bindingContext) -
Method Summary
Modifier and TypeMethodDescription<N extends Number>
SqmExpression<N>abs
(Expression<N> x) acos
(Expression<? extends Number> x) Create an expression that returns the inverse cosine of its argument.<T extends Temporal>
JpaExpression<T>addDuration
(Expression<T> datetime, Expression<Duration> duration) Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.<T extends Temporal>
JpaExpression<T>addDuration
(Expression<T> datetime, Duration duration) Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.<T extends Temporal>
JpaExpression<T>addDuration
(T datetime, Expression<Duration> duration) Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.and
(Expression<Boolean> x, Expression<Boolean> y) <Y> JpaCompoundSelection<Y>
<Y> JpaCompoundSelection<Y>
array
(Class<Y> resultClass, List<? extends JpaSelection<?>> selections) <T> SqmExpression<T[]>
arrayAgg
(JpaOrder order, Expression<? extends T> argument) <T> SqmExpression<T[]>
arrayAgg
(JpaOrder order, JpaPredicate filter, Expression<? extends T> argument) <T> SqmExpression<T[]>
arrayAgg
(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<? extends T> argument) Create aarray_agg
ordered set-aggregate function expression.<T> SqmExpression<T[]>
arrayAgg
(JpaOrder order, JpaWindow window, Expression<? extends T> argument) <T> SqmExpression<T[]>
arrayAppend
(Expression<T[]> arrayExpression, Expression<T> elementExpression) Appends element to array.<T> SqmExpression<T[]>
arrayAppend
(Expression<T[]> arrayExpression, T element) Appends element to array.<T> SqmExpression<T[]>
arrayConcat
(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Concatenates arrays with each other in order.<T> SqmExpression<T[]>
arrayConcat
(Expression<T[]> arrayExpression1, T[] array2) Concatenates arrays with each other in order.<T> SqmExpression<T[]>
arrayConcat
(T[] array1, Expression<T[]> arrayExpression2) Concatenates arrays with each other in order.<T> SqmPredicate
arrayContains
(Expression<T[]> arrayExpression, Expression<T> elementExpression) Whether an array contains an element.<T> SqmPredicate
arrayContains
(Expression<T[]> arrayExpression, T element) Whether an array contains an element.<T> SqmPredicate
arrayContains
(T[] array, Expression<T> elementExpression) Whether an array contains an element.<T> SqmPredicate
arrayContainsNullable
(Expression<T[]> arrayExpression, Expression<T> elementExpression) Whether an array contains a nullable element.<T> SqmPredicate
arrayContainsNullable
(Expression<T[]> arrayExpression, T element) Whether an array contains a nullable element.<T> SqmPredicate
arrayContainsNullable
(T[] array, Expression<T> elementExpression) Whether an array contains a nullable element.<T> SqmExpression<T[]>
arrayFill
(Expression<T> elementExpression, Expression<Integer> elementCountExpression) Creates array with the same element N times, as specified by the arguments.<T> SqmExpression<T[]>
arrayFill
(Expression<T> elementExpression, Integer elementCount) Creates array with the same element N times, as specified by the arguments.<T> SqmExpression<T[]>
arrayFill
(T element, Expression<Integer> elementCountExpression) Creates array with the same element N times, as specified by the arguments.<T> SqmExpression<T[]>
Creates array with the same element N times, as specified by the arguments.<T> SqmExpression<T>
arrayGet
(Expression<T[]> arrayExpression, Expression<Integer> indexExpression) Accesses the element of an array by 1-based index.<T> SqmExpression<T>
arrayGet
(Expression<T[]> arrayExpression, Integer index) Accesses the element of an array by 1-based index.<T> SqmPredicate
arrayIncludes
(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Whether an array is a subset of another array.<T> SqmPredicate
arrayIncludes
(Expression<T[]> arrayExpression, T[] subArray) Whether an array is a subset of another array.<T> SqmPredicate
arrayIncludes
(T[] array, Expression<T[]> subArrayExpression) Whether an array is a subset of another array.<T> SqmPredicate
arrayIncludesNullable
(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Whether an array is a subset of another array with nullable elements.<T> SqmPredicate
arrayIncludesNullable
(Expression<T[]> arrayExpression, T[] subArray) Whether an array is a subset of another array with nullable elements.<T> SqmPredicate
arrayIncludesNullable
(T[] array, Expression<T[]> subArrayExpression) Whether an array is a subset of another array with nullable elements.<T> SqmPredicate
arrayIntersects
(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array.<T> SqmPredicate
arrayIntersects
(Expression<T[]> arrayExpression1, T[] array2) Whether one array has any elements common with another array.<T> SqmPredicate
arrayIntersects
(T[] array1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array.<T> SqmPredicate
arrayIntersectsNullable
(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array, supportingnull
elements.<T> SqmPredicate
arrayIntersectsNullable
(Expression<T[]> arrayExpression1, T[] array2) Whether one array has any elements common with another array, supportingnull
elements.<T> SqmPredicate
arrayIntersectsNullable
(T[] array1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array, supportingnull
elements.<T> SqmExpression<Integer>
arrayLength
(Expression<T[]> arrayExpression) Determines the length of an array.<T> SqmExpression<T[]>
arrayLiteral
(T... elements) Creates an array literal with thearray
constructor function.<T> SqmExpression<Integer>
arrayPosition
(Expression<T[]> arrayExpression, Expression<T> elementExpression) Determines the 1-based position of an element in an array.<T> SqmExpression<Integer>
arrayPosition
(Expression<T[]> arrayExpression, T element) Determines the 1-based position of an element in an array.<T> SqmExpression<int[]>
arrayPositions
(Expression<T[]> arrayExpression, Expression<T> elementExpression) Determines all 1-based positions of an element in an array.<T> SqmExpression<int[]>
arrayPositions
(Expression<T[]> arrayExpression, T element) Determines all 1-based positions of an element in an array.<T> SqmExpression<List<Integer>>
arrayPositionsList
(Expression<T[]> arrayExpression, Expression<T> elementExpression) Determines all 1-based positions of an element in an array.<T> SqmExpression<List<Integer>>
arrayPositionsList
(Expression<T[]> arrayExpression, T element) Determines all 1-based positions of an element in an array.<T> SqmExpression<T[]>
arrayPrepend
(Expression<T> elementExpression, Expression<T[]> arrayExpression) Prepends element to array.<T> SqmExpression<T[]>
arrayPrepend
(T element, Expression<T[]> arrayExpression) Prepends element to array.<T> SqmExpression<T[]>
arrayRemove
(Expression<T[]> arrayExpression, Expression<T> elementExpression) Creates array copy with given element removed.<T> SqmExpression<T[]>
arrayRemove
(Expression<T[]> arrayExpression, T element) Creates array copy with given element removed.<T> SqmExpression<T[]>
arrayRemoveIndex
(Expression<T[]> arrayExpression, Expression<Integer> indexExpression) Creates array copy with the element at the given 1-based index removed.<T> SqmExpression<T[]>
arrayRemoveIndex
(Expression<T[]> arrayExpression, Integer index) Creates array copy with the element at the given 1-based index removed.<T> SqmExpression<T[]>
arrayReplace
(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, Expression<T> newElementExpression) Creates array copy replacing a given element with another.<T> SqmExpression<T[]>
arrayReplace
(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, T newElement) Creates array copy replacing a given element with another.<T> SqmExpression<T[]>
arrayReplace
(Expression<T[]> arrayExpression, T oldElement, Expression<T> newElementExpression) Creates array copy replacing a given element with another.<T> SqmExpression<T[]>
arrayReplace
(Expression<T[]> arrayExpression, T oldElement, T newElement) Creates array copy replacing a given element with another.<T> SqmExpression<T[]>
arraySet
(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, Expression<T> elementExpression) Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>
arraySet
(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, T element) Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>
arraySet
(Expression<T[]> arrayExpression, Integer index, Expression<T> elementExpression) Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>
arraySet
(Expression<T[]> arrayExpression, Integer index, T element) Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>
arraySlice
(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression) Creates a sub-array of the based on 1-based lower and upper index.<T> SqmExpression<T[]>
arraySlice
(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex) Creates a sub-array of the based on 1-based lower and upper index.<T> SqmExpression<T[]>
arraySlice
(Expression<T[]> arrayExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression) Creates a sub-array of the based on 1-based lower and upper index.<T> SqmExpression<T[]>
arraySlice
(Expression<T[]> arrayExpression, Integer lowerIndex, Integer upperIndex) Creates a sub-array of the based on 1-based lower and upper index.arrayToString
(Expression<? extends Object[]> arrayExpression, Expression<String> separatorExpression) Concatenates the non-null array elements with a separator, as specified by the arguments.arrayToString
(Expression<? extends Object[]> arrayExpression, String separator) Concatenates the non-null array elements with a separator, as specified by the arguments.<T> SqmExpression<T[]>
arrayTrim
(Expression<T[]> arrayExpression, Expression<Integer> elementCountExpression) Creates array copy without the last N elements, specified by the second argument.<T> SqmExpression<T[]>
arrayTrim
(Expression<T[]> arrayExpression, Integer elementCount) Creates array copy without the last N elements, specified by the second argument.asc
(Expression<?> x) asc
(Expression<?> x, boolean nullsFirst) Create an ordering by the ascending value of the expression.asc
(Expression<?> expression, Nulls nullPrecedence) Create a search ordering by the ascending value of the CTE attribute.asc
(JpaCteCriteriaAttribute x, boolean nullsFirst) Create a search ordering by the ascending value of the CTE attribute.asin
(Expression<? extends Number> x) Create an expression that returns the inverse sine of its argument.atan
(Expression<? extends Number> x) Create an expression that returns the inverse tangent of its argument.atan2
(Expression<? extends Number> y, Expression<? extends Number> x) Create an expression that returns the inverse tangent ofy
overx
.atan2
(Expression<? extends Number> y, Number x) atan2
(Number y, Expression<? extends Number> x) <N extends Number>
SqmExpression<Double>avg
(Expression<N> argument) <N extends Number>
SqmExpression<Double>avg
(Expression<N> argument, JpaPredicate filter) <N extends Number>
SqmExpression<Double>avg
(Expression<N> argument, JpaPredicate filter, JpaWindow window) Create anavg
aggregate function expression.<N extends Number>
SqmExpression<Double>avg
(Expression<N> argument, JpaWindow window) <Y extends Comparable<? super Y>>
SqmPredicatebetween
(Expression<? extends Y> value, Expression<? extends Y> lower, Expression<? extends Y> upper) <Y extends Comparable<? super Y>>
SqmPredicatebetween
(Expression<? extends Y> value, Y lower, Y upper) <X,
T> SqmExpression<X> cast
(JpaExpression<T> expression, Class<X> castTargetJavaType) <X,
T> SqmExpression<X> cast
(JpaExpression<T> expression, JpaCastTarget<X> castTarget) <X> SqmCastTarget<X>
castTarget
(Class<X> castTargetJavaType) <X> SqmCastTarget<X>
castTarget
(Class<X> castTargetJavaType, int precision, int scale) <X> SqmCastTarget<X>
castTarget
(Class<X> castTargetJavaType, long length) <N extends Number>
JpaExpression<N>ceiling
(Expression<N> x) Create an expression that returns the ceiling of its argument, that is, the smallest integer greater than or equal to its argument.<T> SqmCoalesce<T>
coalesce()
<Y> JpaCoalesce<Y>
coalesce
(Expression<? extends Y> x, Expression<? extends Y> y) <Y> JpaCoalesce<Y>
coalesce
(Expression<? extends Y> x, Y y) collate
(Expression<String> x, String collation) <E,
C extends Collection<? super E>>
SqmExpression<C>collectionAppend
(Expression<C> collectionExpression, E element) Appends element to basic collection.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionAppend
(Expression<C> collectionExpression, Expression<? extends E> elementExpression) Appends element to basic collection.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionConcat
(C collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Concatenates basic collections with each other in order.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionConcat
(Expression<C> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Concatenates basic collections with each other in order.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionConcat
(Expression<C> collectionExpression1, Collection<? extends E> collection2) Concatenates basic collections with each other in order.<E> SqmPredicate
collectionContains
(Expression<? extends Collection<E>> collectionExpression, E element) Whether a basic collection contains an element.<E> SqmPredicate
collectionContains
(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression) Whether a basic collection contains an element.<E> SqmPredicate
collectionContains
(Collection<E> collection, Expression<E> elementExpression) Whether a basic collection contains an element.<E> SqmPredicate
collectionContainsNullable
(Expression<? extends Collection<E>> collectionExpression, E element) Whether a basic collection contains a nullable element.<E> SqmPredicate
collectionContainsNullable
(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression) Whether a basic collection contains a nullable element.<E> SqmPredicate
collectionContainsNullable
(Collection<E> collection, Expression<E> elementExpression) Whether a basic collection contains a nullable element.<T> SqmExpression<Collection<T>>
collectionFill
(Expression<T> elementExpression, Expression<Integer> elementCountExpression) Creates basic collection with the same element N times, as specified by the arguments.<T> SqmExpression<Collection<T>>
collectionFill
(Expression<T> elementExpression, Integer elementCount) Creates basic collection with the same element N times, as specified by the arguments.<T> SqmExpression<Collection<T>>
collectionFill
(T element, Expression<Integer> elementCountExpression) Creates basic collection with the same element N times, as specified by the arguments.<T> SqmExpression<Collection<T>>
collectionFill
(T element, Integer elementCount) Creates basic collection with the same element N times, as specified by the arguments.<E> SqmExpression<E>
collectionGet
(Expression<? extends Collection<E>> collectionExpression, Expression<Integer> indexExpression) Accesses the element of the basic collection by 1-based index.<E> SqmExpression<E>
collectionGet
(Expression<? extends Collection<E>> collectionExpression, Integer index) Accesses the element of the basic collection by 1-based index.<E> SqmPredicate
collectionIncludes
(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Whether a basic collection is a subset of another basic collection.<E> SqmPredicate
collectionIncludes
(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Whether a basic collection is a subset of another basic collection.<E> SqmPredicate
collectionIncludes
(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Whether a basic collection is a subset of another basic collection.<E> SqmPredicate
collectionIncludesNullable
(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Whether a basic collection is a subset of another basic collection with nullable elements.<E> SqmPredicate
collectionIncludesNullable
(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Whether a basic collection is a subset of another basic collection with nullable elements.<E> SqmPredicate
collectionIncludesNullable
(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Whether a basic collection is a subset of another basic collection with nullable elements.<E> SqmPredicate
collectionIntersects
(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection.<E> SqmPredicate
collectionIntersects
(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Whether one basic collection has any elements common with another basic collection.<E> SqmPredicate
collectionIntersects
(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection.<E> SqmPredicate
collectionIntersectsNullable
(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection, supportingnull
elements.<E> SqmPredicate
collectionIntersectsNullable
(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Whether one basic collection has any elements common with another basic collection, supportingnull
elements.<E> SqmPredicate
collectionIntersectsNullable
(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection, supportingnull
elements.collectionLength
(Expression<? extends Collection<?>> collectionExpression) Determines the length of a basic collection.<E,
C extends Collection<E>>
SqmExpression<C>collectionLiteral
(E... elements) Creates a basic collection literal with thearray
constructor function.<E> SqmExpression<Integer>
collectionPosition
(Expression<? extends Collection<? extends E>> collectionExpression, E element) Determines the 1-based position of an element in a basic collection.<E> SqmExpression<Integer>
collectionPosition
(Expression<? extends Collection<? extends E>> collectionExpression, Expression<E> elementExpression) Determines the 1-based position of an element in a basic collection.<T> SqmExpression<int[]>
collectionPositions
(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression) Determines all 1-based positions of an element in a basic collection.<T> SqmExpression<int[]>
collectionPositions
(Expression<? extends Collection<? super T>> collectionExpression, T element) Determines all 1-based positions of an element in a basic collection.<T> SqmExpression<List<Integer>>
collectionPositionsList
(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression) Determines all 1-based positions of an element in a basic collection.<T> SqmExpression<List<Integer>>
collectionPositionsList
(Expression<? extends Collection<? super T>> collectionExpression, T element) Determines all 1-based positions of an element in a basic collection.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionPrepend
(E element, Expression<C> collectionExpression) Prepends element to basic collection.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionPrepend
(Expression<? extends E> elementExpression, Expression<C> collectionExpression) Prepends element to basic collection.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionRemove
(Expression<C> collectionExpression, E element) Creates basic collection copy with given element removed.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionRemove
(Expression<C> collectionExpression, Expression<? extends E> elementExpression) Creates basic collection copy with given element removed.<C extends Collection<?>>
SqmExpression<C>collectionRemoveIndex
(Expression<C> collectionExpression, Expression<Integer> indexExpression) Creates basic collection copy with the element at the given 1-based index removed.<C extends Collection<?>>
SqmExpression<C>collectionRemoveIndex
(Expression<C> collectionExpression, Integer index) Creates basic collection copy with the element at the given 1-based index removed.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionReplace
(Expression<C> collectionExpression, E oldElement, E newElement) Creates basic collection copy replacing a given element with another.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionReplace
(Expression<C> collectionExpression, E oldElement, Expression<? extends E> newElementExpression) Creates basic collection copy replacing a given element with another.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionReplace
(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, E newElement) Creates basic collection copy replacing a given element with another.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionReplace
(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, Expression<? extends E> newElementExpression) Creates basic collection copy replacing a given element with another.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionSet
(Expression<C> collectionExpression, Expression<Integer> indexExpression, E element) Creates basic collection copy with given element at given 1-based index.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionSet
(Expression<C> collectionExpression, Expression<Integer> indexExpression, Expression<? extends E> elementExpression) Creates basic collection copy with given element at given 1-based index.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionSet
(Expression<C> collectionExpression, Integer index, E element) Creates basic collection copy with given element at given 1-based index.<E,
C extends Collection<? super E>>
SqmExpression<C>collectionSet
(Expression<C> collectionExpression, Integer index, Expression<? extends E> elementExpression) Creates basic collection copy with given element at given 1-based index.<C extends Collection<?>>
SqmExpression<C>collectionSlice
(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression) Creates a sub-collection of the based on 1-based lower and upper index.<C extends Collection<?>>
SqmExpression<C>collectionSlice
(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex) Creates a sub-collection of the based on 1-based lower and upper index.<C extends Collection<?>>
SqmExpression<C>collectionSlice
(Expression<C> collectionExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression) Creates a sub-collection of the based on 1-based lower and upper index.<C extends Collection<?>>
SqmExpression<C>collectionSlice
(Expression<C> collectionExpression, Integer lowerIndex, Integer upperIndex) Creates a sub-collection of the based on 1-based lower and upper index.collectionToString
(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression) Concatenates the non-null basic collection elements with a separator, as specified by the arguments.collectionToString
(Expression<? extends Collection<?>> collectionExpression, String separator) Concatenates the non-null basic collection elements with a separator, as specified by the arguments.<C extends Collection<?>>
SqmExpression<C>collectionTrim
(Expression<C> collectionExpression, Expression<Integer> indexExpression) Creates basic collection copy without the last N elements, specified by the second argument.<C extends Collection<?>>
SqmExpression<C>collectionTrim
(Expression<C> collectionExpression, Integer index) Creates basic collection copy without the last N elements, specified by the second argument.concat
(Expression<String> x, Expression<String> y) concat
(Expression<String> x, String y) concat
(String x, Expression<String> y) concat
(List<Expression<String>> expressions) <Y> JpaCompoundSelection<Y>
<Y> JpaCompoundSelection<Y>
construct
(Class<Y> resultClass, List<? extends JpaSelection<?>> arguments) cos
(Expression<? extends Number> x) Create an expression that returns the cosine of its argument.cosh
(Expression<? extends Number> x) Create an expression that returns the hyperbolic cosine of its argument.count()
Equivalent to HQLcount(*)
.count
(Expression<?> argument) count
(Expression<?> argument, JpaPredicate filter) count
(Expression<?> argument, JpaPredicate filter, JpaWindow window) Create acount
aggregate function expression.count
(Expression<?> argument, JpaWindow window) countDistinct
(Expression<?> argument) <T> SqmDeleteStatement<T>
createCriteriaDelete
(Class<T> targetEntity) <T> SqmInsertSelectStatement<T>
createCriteriaInsertSelect
(Class<T> targetEntity) <T> SqmInsertValuesStatement<T>
createCriteriaInsertValues
(Class<T> targetEntity) <T> SqmUpdateStatement<T>
createCriteriaUpdate
(Class<T> targetEntity) <T> SqmSelectStatement<T>
createQuery
(Class<T> resultClass) <T> SqmSelectStatement<T>
createQuery
(String hql, Class<T> resultClass) Transform the given HQLselect
query to an equivalent criteria query.Create an emptyJpaWindow
to use with window and aggregate functions.Create acume_dist
window function expression.day
(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.DAY
of a date, time, or datetime expression.degrees
(Expression<? extends Number> x) Create an expression that converts an angle measured in radians to an approximately equivalent angle measured in degrees.Create adense_rank
window function expression.desc
(Expression<?> x) desc
(Expression<?> x, boolean nullsFirst) Create an ordering by the descending value of the expression.desc
(Expression<?> expression, Nulls nullPrecedence) Create a search ordering by the descending value of the CTE attribute.desc
(JpaCteCriteriaAttribute x, boolean nullsFirst) Create a search ordering by the descending value of the CTE attribute.<N extends Number>
SqmExpression<N>diff
(Expression<? extends N> x, Expression<? extends N> y) <N extends Number>
SqmExpression<N>diff
(Expression<? extends N> x, N y) <N extends Number>
SqmExpression<N>diff
(N x, Expression<? extends N> y) distinctFrom
(Expression<?> x, Expression<?> y) distinctFrom
(Expression<?> x, Object y) duration
(long magnitude, TemporalUnit unit) A literalDuration
, for example, "five days" or "30 minutes".<T extends Temporal>
JpaExpression<Duration>durationBetween
(Expression<T> x, Expression<T> y) Subtract two dates or two datetimes, returning the duration between the two dates or between two datetimes.<T extends Temporal>
JpaExpression<Duration>durationBetween
(Expression<T> x, T y) Subtract two dates or two datetimes, returning the duration between the two dates or between two datetimes.durationByUnit
(TemporalUnit unit, Expression<Duration> duration) Convert aDuration
to a numeric magnitude in the given units.durationDiff
(Expression<Duration> x, Expression<Duration> y) Subtract one duration from another.durationDiff
(Expression<Duration> x, Duration y) Subtract one duration from another.durationScaled
(Expression<? extends Number> number, Expression<Duration> duration) Scale a duration by a number.durationScaled
(Expression<? extends Number> number, Duration duration) Scale a duration by a number.durationScaled
(Number number, Expression<Duration> duration) Scale a duration by a number.durationSum
(Expression<Duration> x, Expression<Duration> y) Add two durations.durationSum
(Expression<Duration> x, Duration y) Add two durations.equal
(Expression<?> x, Expression<?> y) equal
(Expression<?> x, Object y) <T> JpaCriteriaQuery<T>
except
(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries) <T> JpaSubQuery<T>
<T> JpaCriteriaQuery<T>
except
(CriteriaQuery<T> left, CriteriaQuery<?> right) <T> CriteriaSelect<T>
except
(CriteriaSelect<T> left, CriteriaSelect<?> right) <T> JpaCriteriaQuery<T>
exceptAll
(CriteriaQuery<T> left, CriteriaQuery<?> right) <T> CriteriaSelect<T>
exceptAll
(CriteriaSelect<T> left, CriteriaSelect<?> right) exp
(Expression<? extends Number> x) Create an expression that returns the exponential of its argument, that is, Euler's number e raised to the power of its argument.<N,
T extends Temporal>
SqmExpression<N>extract
(TemporalField<N, T> field, Expression<T> temporal) <T> SqmExpression<T>
firstValue
(Expression<T> argument, JpaWindow window) Create afirst_value
window function expression.<P,
F> SqmExpression<F> <N extends Number>
JpaExpression<N>floor
(Expression<N> x) Create an expression that returns the floor of its argument, that is, the largest integer smaller than or equal to its argument.format
(Expression<? extends TemporalAccessor> datetime, String pattern) Format a date, time, or datetime according to a pattern.frameBetweenFollowing
(int offset) frameBetweenFollowing
(Expression<?> offset) Create a window frame of typeFrameKind.OFFSET_FOLLOWING
to use withJpaWindow
s.frameBetweenPreceding
(int offset) frameBetweenPreceding
(Expression<?> offset) Create window frame of typeFrameKind.OFFSET_PRECEDING
to use withJpaWindow
s.Create a window frame of typeFrameKind.CURRENT_ROW
to use withJpaWindow
s.Create a window frame of typeFrameKind.UNBOUNDED_FOLLOWING
to use withJpaWindow
s.Create a window frame of typeFrameKind.UNBOUNDED_PRECEDING
to use withJpaWindow
s.<T> SqmFunction<T>
function
(String name, Class<T> type, Expression<?>[] args) <T> SqmExpression<T>
functionAggregate
(String name, Class<T> type, JpaPredicate filter, Expression<?>... args) <T> SqmExpression<T>
functionAggregate
(String name, Class<T> type, JpaPredicate filter, JpaWindow window, Expression<?>... args) Create a generic aggregate function expression.<T> SqmExpression<T>
functionAggregate
(String name, Class<T> type, JpaWindow window, Expression<?>... args) <T> SqmExpression<T>
functionWithinGroup
(String name, Class<T> type, JpaOrder order, Expression<?>... args) <T> SqmExpression<T>
functionWithinGroup
(String name, Class<T> type, JpaOrder order, JpaPredicate filter, Expression<?>... args) <T> SqmExpression<T>
functionWithinGroup
(String name, Class<T> type, JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... args) Create a generic ordered set-aggregate function expression.<T> SqmExpression<T>
functionWithinGroup
(String name, Class<T> type, JpaOrder order, JpaWindow window, Expression<?>... args) ge
(Expression<? extends Number> x, Expression<? extends Number> y) ge
(Expression<? extends Number> x, Number y) <E extends Number>
SqmSetReturningFunction<E>generateSeries
(E start, E stop) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(E start, E stop, E step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(E start, E stop, Expression<E> step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(E start, Expression<E> stop) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(E start, Expression<E> stop, E step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(E start, Expression<E> stop, Expression<E> step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(Expression<E> start, E stop) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(Expression<E> start, E stop, E step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(Expression<E> start, E stop, Expression<E> step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(Expression<E> start, Expression<E> stop) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(Expression<E> start, Expression<E> stop, E step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E>generateSeries
(Expression<E> start, Expression<E> stop, Expression<E> step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E>generateTimeSeries
(E start, E stop, Expression<? extends TemporalAmount> step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E>generateTimeSeries
(E start, E stop, TemporalAmount step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E>generateTimeSeries
(E start, Expression<E> stop, Expression<? extends TemporalAmount> step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E>generateTimeSeries
(E start, Expression<E> stop, TemporalAmount step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E>generateTimeSeries
(Expression<E> start, E stop, Expression<? extends TemporalAmount> step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E>generateTimeSeries
(Expression<E> start, E stop, TemporalAmount step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E>generateTimeSeries
(Expression<E> start, Expression<E> stop, Expression<? extends TemporalAmount> step) Creates agenerate_series
function expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E>generateTimeSeries
(Expression<E> start, Expression<E> stop, TemporalAmount step) Creates agenerate_series
function expression to generate a set of values as rows.<Y extends Comparable<? super Y>>
SqmPredicategreaterThan
(Expression<? extends Y> x, Expression<? extends Y> y) <Y extends Comparable<? super Y>>
SqmPredicategreaterThan
(Expression<? extends Y> x, Y y) <Y extends Comparable<? super Y>>
SqmPredicategreaterThanOrEqualTo
(Expression<? extends Y> x, Expression<? extends Y> y) <Y extends Comparable<? super Y>>
SqmPredicategreaterThanOrEqualTo
(Expression<? extends Y> x, Y y) <X extends Comparable<? super X>>
SqmExpression<X>greatest
(Expression<X> argument) gt
(Expression<? extends Number> x, Expression<? extends Number> y) gt
(Expression<? extends Number> x, Number y) hour
(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.HOUR
of a date, time, or datetime expression.ilike
(Expression<String> searchString, Expression<String> pattern) ilike
(Expression<String> searchString, Expression<String> pattern, char escapeChar) ilike
(Expression<String> searchString, Expression<String> pattern, Expression<Character> escapeChar) ilike
(Expression<String> searchString, String pattern) ilike
(Expression<String> searchString, String pattern, char escapeChar) ilike
(Expression<String> searchString, String pattern, Expression<Character> escapeChar) <T> SqmInPredicate<T>
in
(Expression<? extends T> expression) <T> SqmInPredicate<T>
in
(Expression<? extends T> expression, Expression<? extends T>... values) <T> SqmInPredicate<T>
in
(Expression<? extends T> expression, Collection<T> values) <T> SqmInPredicate<T>
in
(Expression<? extends T> expression, SqmSubQuery<T> subQuery) <T> SqmInPredicate<T>
in
(Expression<? extends T> expression, T... values) <K,
L extends List<?>>
SqmExpression<Set<K>>indexes
(L list) <T> JpaCriteriaQuery<T>
intersect
(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries) <T> JpaSubQuery<T>
<T> JpaCriteriaQuery<T>
intersect
(CriteriaQuery<? super T> left, CriteriaQuery<? super T> right) <T> CriteriaSelect<T>
intersect
(CriteriaSelect<? super T> left, CriteriaSelect<? super T> right) <T> JpaCriteriaQuery<T>
intersectAll
(CriteriaQuery<? super T> left, CriteriaQuery<? super T> right) <T> CriteriaSelect<T>
intersectAll
(CriteriaSelect<? super T> left, CriteriaSelect<? super T> right) <C extends Collection<?>>
SqmPredicateisEmpty
(Expression<C> collection) isFalse
(Expression<Boolean> x) boolean
<M extends Map<?,
?>>
SqmPredicateisMapEmpty
(JpaExpression<M> mapExpression) Create a predicate that tests whether a Map is empty.<M extends Map<?,
?>>
SqmPredicateisMapNotEmpty
(JpaExpression<M> mapExpression) Create a predicate that tests whether a Map is not empty.<E,
C extends Collection<E>>
SqmPredicateisMember
(E elem, Expression<C> collection) <E,
C extends Collection<E>>
SqmPredicateisMember
(Expression<E> elem, Expression<C> collection) <C extends Collection<?>>
SqmPredicateisNotEmpty
(Expression<C> collection) <E,
C extends Collection<E>>
SqmPredicateisNotMember
(E elem, Expression<C> collection) <E,
C extends Collection<E>>
SqmPredicateisNotMember
(Expression<E> elem, Expression<C> collection) isNotNull
(Expression<?> x) isNull
(Expression<?> x) isTrue
(Expression<Boolean> x) jsonArray
(Expression<?>... values) Create a JSON array from the array of values.jsonArrayAgg
(Expression<?> value) Aggregates the given value into a JSON array.jsonArrayAgg
(Expression<?> value, Predicate filter) Aggregates the given value into a JSON array.jsonArrayAgg
(Expression<?> value, Predicate filter, JpaOrder... orderBy) Aggregates the given value into a JSON array.jsonArrayAgg
(Expression<?> value, JpaOrder... orderBy) Aggregates the given value into a JSON array.jsonArrayAggWithNulls
(Expression<?> value) Aggregates the given value into a JSON array, retainingnull
values in the JSON array.jsonArrayAggWithNulls
(Expression<?> value, Predicate filter) Aggregates the given value into a JSON array, retainingnull
values in the JSON array.jsonArrayAggWithNulls
(Expression<?> value, Predicate filter, JpaOrder... orderBy) Aggregates the given value into a JSON array, retainingnull
values in the JSON array.jsonArrayAggWithNulls
(Expression<?> value, JpaOrder... orderBy) Aggregates the given value into a JSON array, retainingnull
values in the JSON array.jsonArrayWithNulls
(Expression<?>... values) Create a JSON object from the given array of values, retainingnull
values in the JSON array.jsonExists
(Expression<?> jsonDocument, Expression<String> jsonPath) Checks if a JSON document contains a node for the given JSON path.jsonExists
(Expression<?> jsonDocument, String jsonPath) Checks if a JSON document contains a node for the given JSON path.jsonInsert
(Expression<?> jsonDocument, Expression<String> jsonPath, Expression<?> value) Inserts a value by JSON path within a JSON document.jsonInsert
(Expression<?> jsonDocument, Expression<String> jsonPath, Object value) Inserts a value by JSON path within a JSON document.jsonInsert
(Expression<?> jsonDocument, String jsonPath, Expression<?> value) Inserts a value by JSON path within a JSON document.jsonInsert
(Expression<?> jsonDocument, String jsonPath, Object value) Inserts a value by JSON path within a JSON document.jsonMergepatch
(Expression<?> document, Expression<?> patch) Applies the patch JSON document onto the other JSON document and returns that.jsonMergepatch
(Expression<?> document, String patch) Applies the patch JSON document onto the other JSON document and returns that.jsonMergepatch
(String document, Expression<?> patch) Applies the patch JSON document onto the other JSON document and returns that.jsonObject
(Map<?, ? extends Expression<?>> keyValues) Create a JSON object from the given map of key values.jsonObjectAgg
(Expression<?> key, Expression<?> value) Aggregates the given value under the given key into a JSON object.jsonObjectAgg
(Expression<?> key, Expression<?> value, Predicate filter) Aggregates the given value under the given key into a JSON object.jsonObjectAggWithNulls
(Expression<?> key, Expression<?> value) Aggregates the given value under the given key into a JSON object, retainingnull
values in the JSON object.jsonObjectAggWithNulls
(Expression<?> key, Expression<?> value, Predicate filter) Aggregates the given value under the given key into a JSON object, retainingnull
values in the JSON object.jsonObjectAggWithUniqueKeys
(Expression<?> key, Expression<?> value) Aggregates the given value under the given key into a JSON object.jsonObjectAggWithUniqueKeys
(Expression<?> key, Expression<?> value, Predicate filter) Aggregates the given value under the given key into a JSON object.jsonObjectAggWithUniqueKeysAndNulls
(Expression<?> key, Expression<?> value) Aggregates the given value under the given key into a JSON object, retainingnull
values in the JSON object.jsonObjectAggWithUniqueKeysAndNulls
(Expression<?> key, Expression<?> value, Predicate filter) Aggregates the given value under the given key into a JSON object, retainingnull
values in the JSON object.jsonObjectWithNulls
(Map<?, ? extends Expression<?>> keyValues) Create a JSON object from the given map of key values, retainingnull
values in the JSON.jsonQuery
(Expression<?> jsonDocument, Expression<String> jsonPath) Queries values by JSON path from a JSON document.jsonQuery
(Expression<?> jsonDocument, String jsonPath) jsonRemove
(Expression<?> jsonDocument, Expression<String> jsonPath) Removes a value by JSON path within a JSON document.jsonRemove
(Expression<?> jsonDocument, String jsonPath) Removes a value by JSON path within a JSON document.jsonReplace
(Expression<?> jsonDocument, Expression<String> jsonPath, Expression<?> value) Replaces a value by JSON path within a JSON document.jsonReplace
(Expression<?> jsonDocument, Expression<String> jsonPath, Object value) Replaces a value by JSON path within a JSON document.jsonReplace
(Expression<?> jsonDocument, String jsonPath, Expression<?> value) Replaces a value by JSON path within a JSON document.jsonReplace
(Expression<?> jsonDocument, String jsonPath, Object value) Replaces a value by JSON path within a JSON document.jsonSet
(Expression<?> jsonDocument, Expression<String> jsonPath, Expression<?> value) Inserts/Replaces a value by JSON path within a JSON document.jsonSet
(Expression<?> jsonDocument, Expression<String> jsonPath, Object value) Inserts/Replaces a value by JSON path within a JSON document.jsonSet
(Expression<?> jsonDocument, String jsonPath, Expression<?> value) Inserts/Replaces a value by JSON path within a JSON document.jsonSet
(Expression<?> jsonDocument, String jsonPath, Object value) Inserts/Replaces a value by JSON path within a JSON document.jsonTable
(Expression<?> jsonDocument) Creates ajson_table
function expression to generate rows from JSON array elements.jsonTable
(Expression<?> jsonDocument, @Nullable Expression<String> jsonPath) Creates ajson_table
function expression to generate rows from JSON array elements.jsonTable
(Expression<?> jsonDocument, String jsonPath) Creates ajson_table
function expression to generate rows from JSON array elements.jsonValue
(Expression<?> jsonDocument, Expression<String> jsonPath) <T> SqmJsonValueExpression<T>
jsonValue
(Expression<?> jsonDocument, Expression<String> jsonPath, Class<T> returningType) Extracts a value by JSON path from a JSON document.jsonValue
(Expression<?> jsonDocument, String jsonPath) <T> SqmJsonValueExpression<T>
jsonValue
(Expression<?> jsonDocument, String jsonPath, Class<T> returningType) Extracts a value by JSON path from a JSON document.<K,
M extends Map<K, ?>>
SqmExpression<Set<K>>keys
(M map) <T> SqmExpression<T>
lastValue
(Expression<T> argument, JpaWindow window) Create alast_value
window function expression.le
(Expression<? extends Number> x, Expression<? extends Number> y) le
(Expression<? extends Number> x, Number y) <X extends Comparable<? super X>>
SqmExpression<X>least
(Expression<X> argument) left
(Expression<String> x, int length) left
(Expression<String> x, Expression<Integer> length) Extract thelength
leftmost characters of a string.length
(Expression<String> argument) <Y extends Comparable<? super Y>>
SqmPredicatelessThan
(Expression<? extends Y> x, Expression<? extends Y> y) <Y extends Comparable<? super Y>>
SqmPredicatelessThan
(Expression<? extends Y> x, Y y) <Y extends Comparable<? super Y>>
SqmPredicatelessThanOrEqualTo
(Expression<? extends Y> x, Expression<? extends Y> y) <Y extends Comparable<? super Y>>
SqmPredicatelessThanOrEqualTo
(Expression<? extends Y> x, Y y) like
(Expression<String> searchString, Expression<String> pattern) like
(Expression<String> searchString, Expression<String> pattern, char escapeChar) like
(Expression<String> searchString, Expression<String> pattern, Expression<Character> escapeChar) like
(Expression<String> searchString, String pattern) like
(Expression<String> searchString, String pattern, char escapeChar) like
(Expression<String> searchString, String pattern, Expression<Character> escapeChar) listagg
(JpaOrder order, Expression<String> argument, Expression<String> separator) listagg
(JpaOrder order, Expression<String> argument, String separator) listagg
(JpaOrder order, JpaPredicate filter, Expression<String> argument, Expression<String> separator) listagg
(JpaOrder order, JpaPredicate filter, Expression<String> argument, String separator) listagg
(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<String> argument, Expression<String> separator) Create alistagg
ordered set-aggregate function expression.listagg
(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<String> argument, String separator) listagg
(JpaOrder order, JpaWindow window, Expression<String> argument, Expression<String> separator) <T> JpaParameterExpression<List<T>>
listParameter
(Class<T> paramClass) Create a multivalued parameter accepting multiple arguments packaged together as aList
.<T> JpaParameterExpression<List<T>>
listParameter
(Class<T> paramClass, String name) Create a multivalued parameter accepting multiple arguments packaged together as aList
.<T> SqmLiteral<T>
literal
(T value) <T> SqmLiteral<T>
literal
(T value, SqmExpression<? extends T> typeInferenceSource) <T> List<? extends SqmExpression<T>>
<T> List<? extends SqmExpression<T>>
literals
(T[] values) ln
(Expression<? extends Number> x) Create an expression that returns the natural logarithm of its argument.Create expression to return current local date.Create expression to return current local datetime.Create expression to return current local time.locate
(Expression<String> source, Expression<String> pattern) locate
(Expression<String> source, Expression<String> pattern, Expression<Integer> startPosition) locate
(Expression<String> source, String pattern) locate
(Expression<String> source, String pattern, int startPosition) log
(Expression<? extends Number> b, Expression<? extends Number> x) Create an expression that returns the logarithm ofx
to the baseb
.log
(Number b, Expression<? extends Number> x) log10
(Expression<? extends Number> x) Create an expression that returns the base-10 logarithm of its argument.lower
(Expression<String> x) lt
(Expression<? extends Number> x, Expression<? extends Number> y) lt
(Expression<? extends Number> x, Number y) <M extends Map<?,
?>>
SqmExpression<Integer>mapSize
(M map) Create an expression that tests the size of a map.<M extends Map<?,
?>>
SqmExpression<Integer>mapSize
(JpaExpression<M> mapExpression) Create an expression that tests the size of a map.<N extends Number>
SqmExpression<N>max
(Expression<N> argument) <N extends Number>
SqmExpression<N>min
(Expression<N> argument) minute
(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.MINUTE
of a date, time, or datetime expression.mod
(Expression<Integer> x, Expression<Integer> y) mod
(Expression<Integer> x, Integer y) mod
(Integer x, Expression<Integer> y) <T> SqmExpression<T>
mode
(Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
mode
(JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
mode
(JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Create amode
ordered set-aggregate function expression.<T> SqmExpression<T>
mode
(JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) month
(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.MONTH
of a date, time, or datetime expression.<T> SqmExpression<T>
named
(Expression<T> expression, String name) Creates a named expression.<N extends Number>
SqmExpression<N>neg
(Expression<N> x) not
(Expression<Boolean> restriction) notDistinctFrom
(Expression<?> x, Expression<?> y) notDistinctFrom
(Expression<?> x, Object y) notEqual
(Expression<?> x, Expression<?> y) notEqual
(Expression<?> x, Object y) notIlike
(Expression<String> x, Expression<String> pattern) notIlike
(Expression<String> x, Expression<String> pattern, char escapeChar) notIlike
(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) notIlike
(Expression<String> x, String pattern) notIlike
(Expression<String> x, String pattern, char escapeChar) notIlike
(Expression<String> x, String pattern, Expression<Character> escapeChar) notLike
(Expression<String> x, Expression<String> pattern) notLike
(Expression<String> x, Expression<String> pattern, char escapeChar) notLike
(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) notLike
(Expression<String> x, String pattern) notLike
(Expression<String> x, String pattern, char escapeChar) notLike
(Expression<String> x, String pattern, Expression<Character> escapeChar) <T> SqmExpression<T>
nthValue
(Expression<T> argument, int n, JpaWindow window) <T> SqmExpression<T>
nthValue
(Expression<T> argument, Expression<Integer> n, JpaWindow window) Create anth_value
window function expression.<Y> SqmExpression<Y>
nullif
(Expression<Y> x, Expression<?> y) <Y> SqmExpression<Y>
nullif
(Expression<Y> x, Y y) <T> SqmExpression<T>
nullLiteral
(Class<T> resultClass) or
(Expression<Boolean> x, Expression<Boolean> y) overlay
(Expression<String> string, Expression<String> replacement, int start) overlay
(Expression<String> string, Expression<String> replacement, int start, int length) overlay
(Expression<String> string, Expression<String> replacement, int start, Expression<Integer> length) overlay
(Expression<String> string, Expression<String> replacement, Expression<Integer> start) overlay
(Expression<String> string, Expression<String> replacement, Expression<Integer> start, int length) overlay
(Expression<String> string, Expression<String> replacement, Expression<Integer> start, Expression<Integer> length) Overlay thestring
expression with thereplacement
expression, starting from indexstart
and substituting a number of characters corresponding to the length of thereplacement
expression or thelength
parameter if specified.overlay
(Expression<String> string, String replacement, int start) overlay
(Expression<String> string, String replacement, int start, int length) overlay
(Expression<String> string, String replacement, int start, Expression<Integer> length) overlay
(Expression<String> string, String replacement, Expression<Integer> start) overlay
(Expression<String> string, String replacement, Expression<Integer> start, int length) overlay
(Expression<String> string, String replacement, Expression<Integer> start, Expression<Integer> length) pad
(CriteriaBuilder.Trimspec ts, Expression<String> x, int length) pad
(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, char padChar) pad
(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, Expression<Character> padChar) pad
(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length) pad
(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, char padChar) pad
(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, Expression<Character> padChar) Pad the specified string expression with whitespace or with thepadChar
character if specified.pad
(Expression<String> x, int length) pad
(Expression<String> x, int length, char padChar) pad
(Expression<String> x, int length, Expression<Character> padChar) pad
(Expression<String> x, Expression<Integer> length) pad
(Expression<String> x, Expression<Integer> length, char padChar) pad
(Expression<String> x, Expression<Integer> length, Expression<Character> padChar) <T> JpaCriteriaParameter<T>
<T> JpaCriteriaParameter<T>
<T> SqmExpression<T>
percentileCont
(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
percentileCont
(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
percentileCont
(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Create apercentile_cont
ordered set-aggregate function expression.<T> SqmExpression<T>
percentileCont
(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
percentileDisc
(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
percentileDisc
(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) <T> SqmExpression<T>
percentileDisc
(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Create apercentile_disc
ordered set-aggregate function expression.<T> SqmExpression<T>
percentileDisc
(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) percentRank
(JpaOrder order, Expression<?>... arguments) percentRank
(JpaOrder order, JpaPredicate filter, Expression<?>... arguments) percentRank
(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... arguments) Create apercent_rank
ordered set-aggregate function expression.percentRank
(JpaOrder order, JpaWindow window, Expression<?>... arguments) percentRank
(JpaWindow window) Create apercent_rank
window function expression.pi()
Literal expression corresponding to the value of pi.power
(Expression<? extends Number> x, Expression<? extends Number> y) Create an expression that returns the first argument raised to the power of its second argument.power
(Expression<? extends Number> x, Number y) Create an expression that returns the first argument raised to the power of its second argument.<N extends Number>
SqmExpression<N>prod
(Expression<? extends N> x, Expression<? extends N> y) <N extends Number>
SqmExpression<N>prod
(Expression<? extends N> x, N y) <N extends Number>
SqmExpression<N>prod
(N x, Expression<? extends N> y) quot
(Expression<? extends Number> x, Expression<? extends Number> y) quot
(Expression<? extends Number> x, Number y) quot
(Number x, Expression<? extends Number> y) radians
(Expression<? extends Number> x) Create an expression that converts an angle measured in degrees to an approximately equivalent angle measured in radians.rank
(JpaOrder order, Expression<?>... arguments) rank
(JpaOrder order, JpaPredicate filter, Expression<?>... arguments) rank
(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... arguments) Create arank
ordered set-aggregate function expression.rank
(JpaOrder order, JpaWindow window, Expression<?>... arguments) Create arank
window function expression.repeat
(Expression<String> x, int times) Concatenate the given string expression with itself the given number of times.repeat
(Expression<String> x, Expression<Integer> times) Concatenate the given string expression with itself the given number of times.repeat
(String x, Expression<Integer> times) Concatenate the given string expression with itself the given number of times.replace
(Expression<String> x, Expression<String> pattern, Expression<String> replacement) Replace all occurrences ofpattern
within the original string withreplacement
.replace
(Expression<String> x, Expression<String> pattern, String replacement) replace
(Expression<String> x, String pattern, Expression<String> replacement) replace
(Expression<String> x, String pattern, String replacement) right
(Expression<String> x, int length) right
(Expression<String> x, Expression<Integer> length) Extract thelength
rightmost characters of a string.<T extends Number>
JpaExpression<T>round
(Expression<T> x, Integer n) Create an expression that returns the first argument rounded to the number of decimal places given by the second argument.Create arow_number
window function expression.search
(JpaCteCriteriaAttribute sortExpression) Create a search ordering based on the ascending value of the CTE attribute.search
(JpaCteCriteriaAttribute sortExpression, SortDirection sortOrder) Create a search ordering based on the sort order of the value of the CTE attribute.search
(JpaCteCriteriaAttribute sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Create a search ordering based on the sort order and null precedence of the value of the CTE attribute.second
(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.SECOND
of a date, time, or datetime expression.<R> SqmCaseSearched<R>
<C,
R> SqmCaseSimple<C, R> selectCase
(Expression<? extends C> expression) <E> SqmSetReturningFunction<E>
setReturningFunction
(String name, Expression<?>... args) Create a new set-returning function expression.sign
(Expression<? extends Number> x) Create an expression that returns the sign of its argument, that is,1
if its argument is positive,-1
if its argument is negative, or0
if its argument is exactly zero.sin
(Expression<? extends Number> x) Create an expression that returns the sine of its argument.sinh
(Expression<? extends Number> x) Create an expression that returns the hyperbolic sine of its argument.<C extends Collection<?>>
SqmExpression<Integer>size
(C collection) <C extends Collection<?>>
SqmExpression<Integer>size
(Expression<C> collection) sort
(JpaExpression<?> sortExpression) sort
(JpaExpression<?> sortExpression, SortDirection sortOrder) sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence) sort
(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence, boolean ignoreCase) <T> SqmFunction<T>
sql
(String pattern, Class<T> type, Expression<?>... arguments) Embed nativepattern
that will be unquoted and embedded in the generated SQL.sqrt
(Expression<? extends Number> x) substring
(Expression<String> source, int from) substring
(Expression<String> source, int from, int len) substring
(Expression<String> source, Expression<Integer> from) substring
(Expression<String> source, Expression<Integer> from, Expression<Integer> len) <T extends Temporal>
JpaExpression<T>subtractDuration
(Expression<T> datetime, Expression<Duration> duration) Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.<T extends Temporal>
JpaExpression<T>subtractDuration
(Expression<T> datetime, Duration duration) Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.<T extends Temporal>
JpaExpression<T>subtractDuration
(T datetime, Expression<Duration> duration) Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.<N extends Number>
SqmExpression<N>sum
(Expression<? extends N> x, Expression<? extends N> y) <N extends Number>
SqmExpression<N>sum
(Expression<? extends N> x, N y) <N extends Number>
SqmExpression<N>sum
(Expression<N> argument) <N extends Number>
SqmExpression<Number>sum
(Expression<N> argument, JpaPredicate filter) <N extends Number>
SqmExpression<Number>sum
(Expression<N> argument, JpaPredicate filter, JpaWindow window) Create asum
aggregate function expression.<N extends Number>
SqmExpression<Number>sum
(Expression<N> argument, JpaWindow window) <N extends Number>
SqmExpression<N>sum
(N x, Expression<? extends N> y) sumAsDouble
(Expression<Float> argument) sumAsLong
(Expression<Integer> argument) tan
(Expression<? extends Number> x) Create an expression that returns the tangent of its argument.tanh
(Expression<? extends Number> x) Create an expression that returns the hyperbolic tangent of its argument.toBigDecimal
(Expression<? extends Number> number) toBigInteger
(Expression<? extends Number> number) toDouble
(Expression<? extends Number> number) toFloat
(Expression<? extends Number> number) toInteger
(Expression<? extends Number> number) toLong
(Expression<? extends Number> number) toString
(Expression<Character> character) <X,
T, E extends T>
SqmBagJoin<X,E> treat
(CollectionJoin<X, T> join, Class<E> type) <X,
T, V extends T>
SqmSingularJoin<X,V> <X,
T, E extends T>
SqmListJoin<X,E> <X,
K, T, V extends T>
SqmMapJoin<X,K, V> <X,
T extends X>
SqmPath<T><X,
T extends X>
SqmRoot<T><X,
T, E extends T>
SqmSetJoin<X,E> trim
(char trimChar, Expression<String> source) trim
(CriteriaBuilder.Trimspec ts, char trimChar, Expression<String> source) trim
(CriteriaBuilder.Trimspec ts, Expression<Character> trimChar, Expression<String> source) trim
(CriteriaBuilder.Trimspec ts, Expression<String> source) trim
(Expression<Character> trimChar, Expression<String> source) trim
(Expression<String> source) <T extends Number>
JpaExpression<T>truncate
(Expression<T> x, Integer n) Create an expression that returns the first argument truncated to the number of decimal places given by the second argument.<T extends TemporalAccessor>
SqmFunction<T>truncate
(Expression<T> datetime, TemporalUnit temporalUnit) Truncates a date, time or datetime expression to the givenTemporalUnit
.<R> SqmTuple<R>
tuple
(Class<R> tupleType, List<? extends SqmExpression<?>> expressions) <R> SqmTuple<R>
tuple
(Class<R> tupleType, SqmExpression<?>... expressions) <R> SqmTuple<R>
tuple
(SqmExpressible<R> tupleType, List<? extends SqmExpression<?>> sqmExpressions) <R> SqmTuple<R>
tuple
(SqmExpressible<R> tupleType, SqmExpression<?>... expressions) <T> JpaCriteriaQuery<T>
union
(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries) <T> JpaSubQuery<T>
<T> JpaCriteriaQuery<T>
union
(CriteriaQuery<? extends T> left, CriteriaQuery<? extends T> right) <T> JpaCriteriaSelect<T>
union
(CriteriaSelect<? extends T> left, CriteriaSelect<? extends T> right) <T> JpaCriteriaQuery<T>
unionAll
(CriteriaQuery<? extends T> left, CriteriaQuery<? extends T> right) <T> CriteriaSelect<T>
unionAll
(CriteriaSelect<? extends T> left, CriteriaSelect<? extends T> right) <E> SqmSetReturningFunction<E>
unnestArray
(Expression<E[]> array) Creates an unnest function expression to turn an array into a set of rows.<E> SqmSetReturningFunction<E>
unnestCollection
(Expression<? extends Collection<E>> collection) Creates an unnest function expression to turn an array into a set of rows.<T extends HibernateCriteriaBuilder>
Tupper
(Expression<String> x) <T> SqmExpression<T>
value
(T value) <T> SqmExpression<T>
value
(T value, SqmExpression<? extends T> typeInferenceSource) Creates an expression for the value with the given "type inference" informationvalues
(Expression<?>... expressions) values
(List<? extends Expression<?>> expressions) <V,
M extends Map<?, V>>
Expression<Collection<V>>values
(M map) <T> SqmExpression<T>
windowFunction
(String name, Class<T> type, JpaWindow window, Expression<?>... args) Create a generic window function expression that will be applied over the specifiedwindow
.wrap
(Expression<Boolean> expression) final SqmPredicate
wrap
(Expression<Boolean>... expressions) xmlagg
(JpaOrder order, Expression<?> argument) xmlagg
(JpaOrder order, JpaPredicate filter, Expression<?> argument) xmlagg
(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?> argument) Create axmlagg
ordered set-aggregate function expression.xmlagg
(JpaOrder order, JpaWindow window, Expression<?> argument) xmlcomment
(String comment) Creates an XML comment with the given argument as content.xmlconcat
(Expression<?>... elements) Concatenates the given XML element expressions.xmlconcat
(List<? extends Expression<?>> elements) Concatenates the given XML element expressions.xmlelement
(String elementName) Creates an XML element with the given element name.xmlexists
(Expression<String> query, Expression<?> xmlDocument) Checks if the given XPath or XQuery query exists in the given XML document.xmlexists
(String query, Expression<?> xmlDocument) Checks if the given XPath or XQuery query exists in the given XML document.xmlforest
(Expression<?>... elements) Creates an XML forest from the given XML element expressions.xmlforest
(List<? extends Expression<?>> elements) Creates an XML forest from the given XML element expressions.Creates an XML processing with the given name.xmlpi
(String elementName, Expression<String> content) Creates an XML processing with the given name and content.xmlquery
(Expression<String> query, Expression<?> xmlDocument) Queries the given XML document with the given XPath or XQuery query.xmlquery
(String query, Expression<?> xmlDocument) Queries the given XML document with the given XPath or XQuery query.xmlTable
(Expression<String> xpath, Expression<?> xmlDocument) Creates axmltable
function expression to generate rows from XML elements.xmlTable
(String xpath, Expression<?> xmlDocument) Creates axmltable
function expression to generate rows from XML elements.year
(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.YEAR
of a date, time, or datetime expression.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.criteria.HibernateCriteriaBuilder
except, except, exceptAll, exceptAll, intersect, intersect, intersectAll, intersectAll, union, union, unionAll, unionAll
Methods inherited from interface org.hibernate.query.sqm.NodeBuilder
arrayContainsAll, arrayContainsAll, arrayContainsAll, arrayContainsAllNullable, arrayContainsAllNullable, arrayContainsAllNullable, arrayOverlaps, arrayOverlaps, arrayOverlaps, arrayOverlapsNullable, arrayOverlapsNullable, arrayOverlapsNullable, collectionContainsAll, collectionContainsAll, collectionContainsAll, collectionContainsAllNullable, collectionContainsAllNullable, collectionContainsAllNullable, collectionOverlaps, collectionOverlaps, collectionOverlaps, collectionOverlapsNullable, collectionOverlapsNullable, collectionOverlapsNullable, sort, sort
-
Constructor Details
-
SqmCriteriaNodeBuilder
public SqmCriteriaNodeBuilder(String uuid, String name, QueryEngine queryEngine, QueryEngineOptions options, BindingContext bindingContext)
-
-
Method Details
-
getDomainModel
- Specified by:
getDomainModel
in interfaceNodeBuilder
-
getTypeConfiguration
- Specified by:
getTypeConfiguration
in interfaceBindingContext
- Specified by:
getTypeConfiguration
in interfaceNodeBuilder
-
isJpaQueryComplianceEnabled
public boolean isJpaQueryComplianceEnabled()- Specified by:
isJpaQueryComplianceEnabled
in interfaceNodeBuilder
-
getJpaCompliance
- Specified by:
getJpaCompliance
in interfaceNodeBuilder
-
getImmutableEntityUpdateQueryHandlingMode
- Specified by:
getImmutableEntityUpdateQueryHandlingMode
in interfaceNodeBuilder
-
getBooleanType
- Specified by:
getBooleanType
in interfaceNodeBuilder
-
getIntegerType
- Specified by:
getIntegerType
in interfaceNodeBuilder
-
getLongType
- Specified by:
getLongType
in interfaceNodeBuilder
-
getCharacterType
- Specified by:
getCharacterType
in interfaceNodeBuilder
-
getStringType
-
getSumReturnTypeResolver
-
getAvgReturnTypeResolver
-
getQueryEngine
- Specified by:
getQueryEngine
in interfaceNodeBuilder
-
getJpaMetamodel
- Specified by:
getJpaMetamodel
in interfaceBindingContext
-
createQuery
- Specified by:
createQuery
in interfaceCriteriaBuilder
- Specified by:
createQuery
in interfaceHibernateCriteriaBuilder
- Specified by:
createQuery
in interfaceNodeBuilder
-
createQuery
- Specified by:
createQuery
in interfaceCriteriaBuilder
- Specified by:
createQuery
in interfaceHibernateCriteriaBuilder
- Specified by:
createQuery
in interfaceNodeBuilder
-
createQuery
Description copied from interface:HibernateCriteriaBuilder
Transform the given HQLselect
query to an equivalent criteria query.- Specified by:
createQuery
in interfaceHibernateCriteriaBuilder
- Specified by:
createQuery
in interfaceNodeBuilder
- Parameters:
hql
- The HQLselect
queryresultClass
- The result type of the query- Returns:
- The equivalent criteria query
-
createTupleQuery
- Specified by:
createTupleQuery
in interfaceCriteriaBuilder
- Specified by:
createTupleQuery
in interfaceHibernateCriteriaBuilder
- Specified by:
createTupleQuery
in interfaceNodeBuilder
-
createCriteriaUpdate
- Specified by:
createCriteriaUpdate
in interfaceCriteriaBuilder
- Specified by:
createCriteriaUpdate
in interfaceHibernateCriteriaBuilder
- Specified by:
createCriteriaUpdate
in interfaceNodeBuilder
-
createCriteriaDelete
- Specified by:
createCriteriaDelete
in interfaceCriteriaBuilder
- Specified by:
createCriteriaDelete
in interfaceHibernateCriteriaBuilder
- Specified by:
createCriteriaDelete
in interfaceNodeBuilder
-
createCriteriaInsertValues
- Specified by:
createCriteriaInsertValues
in interfaceHibernateCriteriaBuilder
- Specified by:
createCriteriaInsertValues
in interfaceNodeBuilder
-
createCriteriaInsertSelect
- Specified by:
createCriteriaInsertSelect
in interfaceHibernateCriteriaBuilder
- Specified by:
createCriteriaInsertSelect
in interfaceNodeBuilder
-
values
- Specified by:
values
in interfaceHibernateCriteriaBuilder
- Specified by:
values
in interfaceNodeBuilder
-
values
- Specified by:
values
in interfaceHibernateCriteriaBuilder
- Specified by:
values
in interfaceNodeBuilder
-
union
public <T> JpaCriteriaQuery<T> union(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries) - Specified by:
union
in interfaceHibernateCriteriaBuilder
-
intersect
public <T> JpaCriteriaQuery<T> intersect(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries) - Specified by:
intersect
in interfaceHibernateCriteriaBuilder
-
except
public <T> JpaCriteriaQuery<T> except(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries) - Specified by:
except
in interfaceHibernateCriteriaBuilder
-
union
public <T> JpaCriteriaSelect<T> union(CriteriaSelect<? extends T> left, CriteriaSelect<? extends T> right) - Specified by:
union
in interfaceCriteriaBuilder
- Specified by:
union
in interfaceHibernateCriteriaBuilder
-
union
- Specified by:
union
in interfaceHibernateCriteriaBuilder
-
unionAll
public <T> CriteriaSelect<T> unionAll(CriteriaSelect<? extends T> left, CriteriaSelect<? extends T> right) - Specified by:
unionAll
in interfaceCriteriaBuilder
- Specified by:
unionAll
in interfaceHibernateCriteriaBuilder
-
intersect
public <T> JpaSubQuery<T> intersect(boolean all, Subquery<? extends T> query1, Subquery<?>... queries) - Specified by:
intersect
in interfaceHibernateCriteriaBuilder
-
except
- Specified by:
except
in interfaceCriteriaBuilder
- Specified by:
except
in interfaceHibernateCriteriaBuilder
-
exceptAll
- Specified by:
exceptAll
in interfaceCriteriaBuilder
- Specified by:
exceptAll
in interfaceHibernateCriteriaBuilder
-
except
- Specified by:
except
in interfaceHibernateCriteriaBuilder
-
cast
- Specified by:
cast
in interfaceHibernateCriteriaBuilder
- Specified by:
cast
in interfaceNodeBuilder
-
cast
- Specified by:
cast
in interfaceHibernateCriteriaBuilder
- Specified by:
cast
in interfaceNodeBuilder
-
castTarget
- Specified by:
castTarget
in interfaceHibernateCriteriaBuilder
- Specified by:
castTarget
in interfaceNodeBuilder
-
castTarget
- Specified by:
castTarget
in interfaceHibernateCriteriaBuilder
- Specified by:
castTarget
in interfaceNodeBuilder
-
castTarget
- Specified by:
castTarget
in interfaceHibernateCriteriaBuilder
- Specified by:
castTarget
in interfaceNodeBuilder
-
wrap
- Specified by:
wrap
in interfaceHibernateCriteriaBuilder
- Specified by:
wrap
in interfaceNodeBuilder
-
wrap
- Specified by:
wrap
in interfaceHibernateCriteriaBuilder
- Specified by:
wrap
in interfaceNodeBuilder
-
unwrap
- Specified by:
unwrap
in interfaceHibernateCriteriaBuilder
-
fk
- Specified by:
fk
in interfaceHibernateCriteriaBuilder
- Specified by:
fk
in interfaceNodeBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
- Specified by:
treat
in interfaceNodeBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
- Specified by:
treat
in interfaceNodeBuilder
-
union
public <T> JpaCriteriaQuery<T> union(CriteriaQuery<? extends T> left, CriteriaQuery<? extends T> right) - Specified by:
union
in interfaceHibernateCriteriaBuilder
-
unionAll
public <T> JpaCriteriaQuery<T> unionAll(CriteriaQuery<? extends T> left, CriteriaQuery<? extends T> right) - Specified by:
unionAll
in interfaceHibernateCriteriaBuilder
-
intersect
public <T> CriteriaSelect<T> intersect(CriteriaSelect<? super T> left, CriteriaSelect<? super T> right) - Specified by:
intersect
in interfaceCriteriaBuilder
- Specified by:
intersect
in interfaceHibernateCriteriaBuilder
-
intersectAll
public <T> CriteriaSelect<T> intersectAll(CriteriaSelect<? super T> left, CriteriaSelect<? super T> right) - Specified by:
intersectAll
in interfaceCriteriaBuilder
- Specified by:
intersectAll
in interfaceHibernateCriteriaBuilder
-
intersect
public <T> JpaCriteriaQuery<T> intersect(CriteriaQuery<? super T> left, CriteriaQuery<? super T> right) - Specified by:
intersect
in interfaceHibernateCriteriaBuilder
-
intersectAll
public <T> JpaCriteriaQuery<T> intersectAll(CriteriaQuery<? super T> left, CriteriaQuery<? super T> right) - Specified by:
intersectAll
in interfaceHibernateCriteriaBuilder
-
except
- Specified by:
except
in interfaceHibernateCriteriaBuilder
-
exceptAll
- Specified by:
exceptAll
in interfaceHibernateCriteriaBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
- Specified by:
treat
in interfaceNodeBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
- Specified by:
treat
in interfaceNodeBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
- Specified by:
treat
in interfaceNodeBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
- Specified by:
treat
in interfaceNodeBuilder
-
treat
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
- Specified by:
treat
in interfaceNodeBuilder
-
sort
public SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence) - Specified by:
sort
in interfaceHibernateCriteriaBuilder
- Specified by:
sort
in interfaceNodeBuilder
-
sort
public SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence, boolean ignoreCase) - Specified by:
sort
in interfaceHibernateCriteriaBuilder
- Specified by:
sort
in interfaceNodeBuilder
-
sort
- Specified by:
sort
in interfaceHibernateCriteriaBuilder
- Specified by:
sort
in interfaceNodeBuilder
-
sort
- Specified by:
sort
in interfaceHibernateCriteriaBuilder
- Specified by:
sort
in interfaceNodeBuilder
-
asc
- Specified by:
asc
in interfaceCriteriaBuilder
- Specified by:
asc
in interfaceHibernateCriteriaBuilder
- Specified by:
asc
in interfaceNodeBuilder
-
desc
- Specified by:
desc
in interfaceCriteriaBuilder
- Specified by:
desc
in interfaceHibernateCriteriaBuilder
- Specified by:
desc
in interfaceNodeBuilder
-
asc
- Specified by:
asc
in interfaceCriteriaBuilder
-
desc
- Specified by:
desc
in interfaceCriteriaBuilder
-
asc
Description copied from interface:HibernateCriteriaBuilder
Create an ordering by the ascending value of the expression.- Specified by:
asc
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression used to define the orderingnullsFirst
- Whethernull
should be sorted first- Returns:
- ascending ordering corresponding to the expression
-
desc
Description copied from interface:HibernateCriteriaBuilder
Create an ordering by the descending value of the expression.- Specified by:
desc
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression used to define the orderingnullsFirst
- Whethernull
should be sorted first- Returns:
- descending ordering corresponding to the expression
-
search
public JpaSearchOrder search(JpaCteCriteriaAttribute sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Description copied from interface:HibernateCriteriaBuilder
Create a search ordering based on the sort order and null precedence of the value of the CTE attribute.- Specified by:
search
in interfaceHibernateCriteriaBuilder
- Parameters:
sortExpression
- CTE attribute used to define the orderingsortOrder
- The sort ordernullPrecedence
- The null precedence- Returns:
- ordering corresponding to the CTE attribute
-
search
Description copied from interface:HibernateCriteriaBuilder
Create a search ordering based on the sort order of the value of the CTE attribute.- Specified by:
search
in interfaceHibernateCriteriaBuilder
- Parameters:
sortExpression
- CTE attribute used to define the orderingsortOrder
- The sort order- Returns:
- ordering corresponding to the CTE attribute
-
search
Description copied from interface:HibernateCriteriaBuilder
Create a search ordering based on the ascending value of the CTE attribute.- Specified by:
search
in interfaceHibernateCriteriaBuilder
- Parameters:
sortExpression
- CTE attribute used to define the ordering- Returns:
- ascending ordering corresponding to the CTE attribute
-
asc
Description copied from interface:HibernateCriteriaBuilder
Create a search ordering by the ascending value of the CTE attribute.- Specified by:
asc
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- CTE attribute used to define the ordering- Returns:
- ascending ordering corresponding to the CTE attribute
-
desc
Description copied from interface:HibernateCriteriaBuilder
Create a search ordering by the descending value of the CTE attribute.- Specified by:
desc
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- CTE attribute used to define the ordering- Returns:
- descending ordering corresponding to the CTE attribute
-
asc
Description copied from interface:HibernateCriteriaBuilder
Create a search ordering by the ascending value of the CTE attribute.- Specified by:
asc
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- CTE attribute used to define the orderingnullsFirst
- Whethernull
should be sorted first- Returns:
- ascending ordering corresponding to the CTE attribute
-
desc
Description copied from interface:HibernateCriteriaBuilder
Create a search ordering by the descending value of the CTE attribute.- Specified by:
desc
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- CTE attribute used to define the orderingnullsFirst
- Whethernull
should be sorted first- Returns:
- descending ordering corresponding to the CTE attribute
-
tuple
- Specified by:
tuple
in interfaceCriteriaBuilder
- Specified by:
tuple
in interfaceHibernateCriteriaBuilder
- Specified by:
tuple
in interfaceNodeBuilder
-
tuple
- Specified by:
tuple
in interfaceCriteriaBuilder
- Specified by:
tuple
in interfaceHibernateCriteriaBuilder
- Specified by:
tuple
in interfaceNodeBuilder
-
tuple
- Specified by:
tuple
in interfaceNodeBuilder
-
tuple
- Specified by:
tuple
in interfaceNodeBuilder
-
tuple
- Specified by:
tuple
in interfaceNodeBuilder
-
tuple
public <R> SqmTuple<R> tuple(SqmExpressible<R> tupleType, List<? extends SqmExpression<?>> sqmExpressions) - Specified by:
tuple
in interfaceNodeBuilder
-
array
- Specified by:
array
in interfaceCriteriaBuilder
- Specified by:
array
in interfaceHibernateCriteriaBuilder
- Specified by:
array
in interfaceNodeBuilder
-
array
- Specified by:
array
in interfaceCriteriaBuilder
- Specified by:
array
in interfaceHibernateCriteriaBuilder
- Specified by:
array
in interfaceNodeBuilder
-
array
- Specified by:
array
in interfaceHibernateCriteriaBuilder
-
array
public <Y> JpaCompoundSelection<Y> array(Class<Y> resultClass, List<? extends JpaSelection<?>> selections) - Specified by:
array
in interfaceHibernateCriteriaBuilder
-
construct
- Specified by:
construct
in interfaceCriteriaBuilder
- Specified by:
construct
in interfaceHibernateCriteriaBuilder
- Specified by:
construct
in interfaceNodeBuilder
-
construct
public <Y> JpaCompoundSelection<Y> construct(Class<Y> resultClass, List<? extends JpaSelection<?>> arguments) - Specified by:
construct
in interfaceHibernateCriteriaBuilder
- Specified by:
construct
in interfaceNodeBuilder
-
avg
- Specified by:
avg
in interfaceCriteriaBuilder
- Specified by:
avg
in interfaceHibernateCriteriaBuilder
- Specified by:
avg
in interfaceNodeBuilder
-
sum
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
- Specified by:
sum
in interfaceNodeBuilder
-
sumAsLong
- Specified by:
sumAsLong
in interfaceCriteriaBuilder
- Specified by:
sumAsLong
in interfaceHibernateCriteriaBuilder
- Specified by:
sumAsLong
in interfaceNodeBuilder
-
sumAsDouble
- Specified by:
sumAsDouble
in interfaceCriteriaBuilder
- Specified by:
sumAsDouble
in interfaceHibernateCriteriaBuilder
- Specified by:
sumAsDouble
in interfaceNodeBuilder
-
max
- Specified by:
max
in interfaceCriteriaBuilder
- Specified by:
max
in interfaceHibernateCriteriaBuilder
- Specified by:
max
in interfaceNodeBuilder
-
min
- Specified by:
min
in interfaceCriteriaBuilder
- Specified by:
min
in interfaceHibernateCriteriaBuilder
- Specified by:
min
in interfaceNodeBuilder
-
greatest
- Specified by:
greatest
in interfaceCriteriaBuilder
- Specified by:
greatest
in interfaceHibernateCriteriaBuilder
- Specified by:
greatest
in interfaceNodeBuilder
-
least
- Specified by:
least
in interfaceCriteriaBuilder
- Specified by:
least
in interfaceHibernateCriteriaBuilder
- Specified by:
least
in interfaceNodeBuilder
-
count
- Specified by:
count
in interfaceCriteriaBuilder
- Specified by:
count
in interfaceHibernateCriteriaBuilder
- Specified by:
count
in interfaceNodeBuilder
-
countDistinct
- Specified by:
countDistinct
in interfaceCriteriaBuilder
- Specified by:
countDistinct
in interfaceHibernateCriteriaBuilder
- Specified by:
countDistinct
in interfaceNodeBuilder
-
count
Description copied from interface:HibernateCriteriaBuilder
Equivalent to HQLcount(*)
.- Specified by:
count
in interfaceHibernateCriteriaBuilder
- Specified by:
count
in interfaceNodeBuilder
-
sign
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the sign of its argument, that is,1
if its argument is positive,-1
if its argument is negative, or0
if its argument is exactly zero.- Specified by:
sign
in interfaceCriteriaBuilder
- Specified by:
sign
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- sign
-
ceiling
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the ceiling of its argument, that is, the smallest integer greater than or equal to its argument.- Specified by:
ceiling
in interfaceCriteriaBuilder
- Specified by:
ceiling
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- ceiling
-
floor
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the floor of its argument, that is, the largest integer smaller than or equal to its argument.- Specified by:
floor
in interfaceCriteriaBuilder
- Specified by:
floor
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- floor
-
exp
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the exponential of its argument, that is, Euler's number e raised to the power of its argument.- Specified by:
exp
in interfaceCriteriaBuilder
- Specified by:
exp
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- exponential
-
ln
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the natural logarithm of its argument.- Specified by:
ln
in interfaceCriteriaBuilder
- Specified by:
ln
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- natural logarithm
-
power
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the first argument raised to the power of its second argument.- Specified by:
power
in interfaceCriteriaBuilder
- Specified by:
power
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- basey
- exponent- Returns:
- the base raised to the power of the exponent
-
power
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the first argument raised to the power of its second argument.- Specified by:
power
in interfaceCriteriaBuilder
- Specified by:
power
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- basey
- exponent- Returns:
- the base raised to the power of the exponent
-
round
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the first argument rounded to the number of decimal places given by the second argument.- Specified by:
round
in interfaceCriteriaBuilder
- Specified by:
round
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- basen
- number of decimal places- Returns:
- the rounded value
-
truncate
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the first argument truncated to the number of decimal places given by the second argument.- Specified by:
truncate
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- basen
- number of decimal places- Returns:
- the truncated value
-
neg
- Specified by:
neg
in interfaceCriteriaBuilder
- Specified by:
neg
in interfaceHibernateCriteriaBuilder
- Specified by:
neg
in interfaceNodeBuilder
-
abs
- Specified by:
abs
in interfaceCriteriaBuilder
- Specified by:
abs
in interfaceHibernateCriteriaBuilder
- Specified by:
abs
in interfaceNodeBuilder
-
duration
Description copied from interface:HibernateCriteriaBuilder
A literalDuration
, for example, "five days" or "30 minutes".- Specified by:
duration
in interfaceHibernateCriteriaBuilder
-
durationByUnit
Description copied from interface:HibernateCriteriaBuilder
Convert aDuration
to a numeric magnitude in the given units.- Specified by:
durationByUnit
in interfaceHibernateCriteriaBuilder
- Parameters:
unit
- a choice of temporal granularityduration
- the duration in a "unit-free" form- Returns:
- the magnitude of the duration measured in the given units
-
durationSum
Description copied from interface:HibernateCriteriaBuilder
Add two durations.- Specified by:
durationSum
in interfaceHibernateCriteriaBuilder
-
durationSum
Description copied from interface:HibernateCriteriaBuilder
Add two durations.- Specified by:
durationSum
in interfaceHibernateCriteriaBuilder
-
durationDiff
Description copied from interface:HibernateCriteriaBuilder
Subtract one duration from another.- Specified by:
durationDiff
in interfaceHibernateCriteriaBuilder
-
durationDiff
Description copied from interface:HibernateCriteriaBuilder
Subtract one duration from another.- Specified by:
durationDiff
in interfaceHibernateCriteriaBuilder
-
durationScaled
public JpaExpression<Duration> durationScaled(Expression<? extends Number> number, Expression<Duration> duration) Description copied from interface:HibernateCriteriaBuilder
Scale a duration by a number.- Specified by:
durationScaled
in interfaceHibernateCriteriaBuilder
-
durationScaled
Description copied from interface:HibernateCriteriaBuilder
Scale a duration by a number.- Specified by:
durationScaled
in interfaceHibernateCriteriaBuilder
-
durationScaled
public JpaExpression<Duration> durationScaled(Expression<? extends Number> number, Duration duration) Description copied from interface:HibernateCriteriaBuilder
Scale a duration by a number.- Specified by:
durationScaled
in interfaceHibernateCriteriaBuilder
-
durationBetween
public <T extends Temporal> JpaExpression<Duration> durationBetween(Expression<T> x, Expression<T> y) Description copied from interface:HibernateCriteriaBuilder
Subtract two dates or two datetimes, returning the duration between the two dates or between two datetimes.- Specified by:
durationBetween
in interfaceHibernateCriteriaBuilder
-
durationBetween
Description copied from interface:HibernateCriteriaBuilder
Subtract two dates or two datetimes, returning the duration between the two dates or between two datetimes.- Specified by:
durationBetween
in interfaceHibernateCriteriaBuilder
-
addDuration
public <T extends Temporal> JpaExpression<T> addDuration(Expression<T> datetime, Expression<Duration> duration) Description copied from interface:HibernateCriteriaBuilder
Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.- Specified by:
addDuration
in interfaceHibernateCriteriaBuilder
-
addDuration
Description copied from interface:HibernateCriteriaBuilder
Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.- Specified by:
addDuration
in interfaceHibernateCriteriaBuilder
-
addDuration
Description copied from interface:HibernateCriteriaBuilder
Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.- Specified by:
addDuration
in interfaceHibernateCriteriaBuilder
-
subtractDuration
public <T extends Temporal> JpaExpression<T> subtractDuration(Expression<T> datetime, Expression<Duration> duration) Description copied from interface:HibernateCriteriaBuilder
Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.- Specified by:
subtractDuration
in interfaceHibernateCriteriaBuilder
-
subtractDuration
public <T extends Temporal> JpaExpression<T> subtractDuration(Expression<T> datetime, Duration duration) Description copied from interface:HibernateCriteriaBuilder
Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.- Specified by:
subtractDuration
in interfaceHibernateCriteriaBuilder
-
subtractDuration
public <T extends Temporal> JpaExpression<T> subtractDuration(T datetime, Expression<Duration> duration) Description copied from interface:HibernateCriteriaBuilder
Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.- Specified by:
subtractDuration
in interfaceHibernateCriteriaBuilder
-
sum
public <N extends Number> SqmExpression<N> sum(Expression<? extends N> x, Expression<? extends N> y) - Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
- Specified by:
sum
in interfaceNodeBuilder
-
sum
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
- Specified by:
sum
in interfaceNodeBuilder
-
sum
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
- Specified by:
sum
in interfaceNodeBuilder
-
prod
public <N extends Number> SqmExpression<N> prod(Expression<? extends N> x, Expression<? extends N> y) - Specified by:
prod
in interfaceCriteriaBuilder
- Specified by:
prod
in interfaceHibernateCriteriaBuilder
- Specified by:
prod
in interfaceNodeBuilder
-
prod
- Specified by:
prod
in interfaceCriteriaBuilder
- Specified by:
prod
in interfaceHibernateCriteriaBuilder
- Specified by:
prod
in interfaceNodeBuilder
-
prod
- Specified by:
prod
in interfaceCriteriaBuilder
- Specified by:
prod
in interfaceHibernateCriteriaBuilder
- Specified by:
prod
in interfaceNodeBuilder
-
diff
public <N extends Number> SqmExpression<N> diff(Expression<? extends N> x, Expression<? extends N> y) - Specified by:
diff
in interfaceCriteriaBuilder
- Specified by:
diff
in interfaceHibernateCriteriaBuilder
- Specified by:
diff
in interfaceNodeBuilder
-
diff
- Specified by:
diff
in interfaceCriteriaBuilder
- Specified by:
diff
in interfaceHibernateCriteriaBuilder
- Specified by:
diff
in interfaceNodeBuilder
-
diff
- Specified by:
diff
in interfaceCriteriaBuilder
- Specified by:
diff
in interfaceHibernateCriteriaBuilder
- Specified by:
diff
in interfaceNodeBuilder
-
quot
- Specified by:
quot
in interfaceCriteriaBuilder
- Specified by:
quot
in interfaceHibernateCriteriaBuilder
- Specified by:
quot
in interfaceNodeBuilder
-
quot
- Specified by:
quot
in interfaceCriteriaBuilder
- Specified by:
quot
in interfaceHibernateCriteriaBuilder
- Specified by:
quot
in interfaceNodeBuilder
-
quot
- Specified by:
quot
in interfaceCriteriaBuilder
- Specified by:
quot
in interfaceHibernateCriteriaBuilder
- Specified by:
quot
in interfaceNodeBuilder
-
mod
- Specified by:
mod
in interfaceCriteriaBuilder
- Specified by:
mod
in interfaceHibernateCriteriaBuilder
- Specified by:
mod
in interfaceNodeBuilder
-
mod
- Specified by:
mod
in interfaceCriteriaBuilder
- Specified by:
mod
in interfaceHibernateCriteriaBuilder
- Specified by:
mod
in interfaceNodeBuilder
-
mod
- Specified by:
mod
in interfaceCriteriaBuilder
- Specified by:
mod
in interfaceHibernateCriteriaBuilder
- Specified by:
mod
in interfaceNodeBuilder
-
sqrt
- Specified by:
sqrt
in interfaceCriteriaBuilder
- Specified by:
sqrt
in interfaceHibernateCriteriaBuilder
- Specified by:
sqrt
in interfaceNodeBuilder
-
toLong
- Specified by:
toLong
in interfaceCriteriaBuilder
- Specified by:
toLong
in interfaceHibernateCriteriaBuilder
- Specified by:
toLong
in interfaceNodeBuilder
-
toInteger
- Specified by:
toInteger
in interfaceCriteriaBuilder
- Specified by:
toInteger
in interfaceHibernateCriteriaBuilder
- Specified by:
toInteger
in interfaceNodeBuilder
-
toFloat
- Specified by:
toFloat
in interfaceCriteriaBuilder
- Specified by:
toFloat
in interfaceHibernateCriteriaBuilder
- Specified by:
toFloat
in interfaceNodeBuilder
-
toDouble
- Specified by:
toDouble
in interfaceCriteriaBuilder
- Specified by:
toDouble
in interfaceHibernateCriteriaBuilder
- Specified by:
toDouble
in interfaceNodeBuilder
-
toBigDecimal
- Specified by:
toBigDecimal
in interfaceCriteriaBuilder
- Specified by:
toBigDecimal
in interfaceHibernateCriteriaBuilder
- Specified by:
toBigDecimal
in interfaceNodeBuilder
-
toBigInteger
- Specified by:
toBigInteger
in interfaceCriteriaBuilder
- Specified by:
toBigInteger
in interfaceHibernateCriteriaBuilder
- Specified by:
toBigInteger
in interfaceNodeBuilder
-
toString
- Specified by:
toString
in interfaceCriteriaBuilder
- Specified by:
toString
in interfaceHibernateCriteriaBuilder
- Specified by:
toString
in interfaceNodeBuilder
-
literal
-
literal
- Specified by:
literal
in interfaceCriteriaBuilder
- Specified by:
literal
in interfaceHibernateCriteriaBuilder
- Specified by:
literal
in interfaceNodeBuilder
-
getMappingMetamodel
- Specified by:
getMappingMetamodel
in interfaceBindingContext
-
literals
- Specified by:
literals
in interfaceHibernateCriteriaBuilder
- Specified by:
literals
in interfaceNodeBuilder
-
literals
- Specified by:
literals
in interfaceHibernateCriteriaBuilder
- Specified by:
literals
in interfaceNodeBuilder
-
nullLiteral
- Specified by:
nullLiteral
in interfaceCriteriaBuilder
- Specified by:
nullLiteral
in interfaceHibernateCriteriaBuilder
- Specified by:
nullLiteral
in interfaceNodeBuilder
-
parameter
- Specified by:
parameter
in interfaceCriteriaBuilder
- Specified by:
parameter
in interfaceHibernateCriteriaBuilder
- Specified by:
parameter
in interfaceNodeBuilder
- See Also:
-
parameter
- Specified by:
parameter
in interfaceCriteriaBuilder
- Specified by:
parameter
in interfaceHibernateCriteriaBuilder
- Specified by:
parameter
in interfaceNodeBuilder
-
listParameter
Description copied from interface:HibernateCriteriaBuilder
Create a multivalued parameter accepting multiple arguments packaged together as aList
.- Specified by:
listParameter
in interfaceHibernateCriteriaBuilder
- Type Parameters:
T
- the type of each argument to the parameter- Parameters:
paramClass
- the type of each argument to the parameter
-
listParameter
Description copied from interface:HibernateCriteriaBuilder
Create a multivalued parameter accepting multiple arguments packaged together as aList
.- Specified by:
listParameter
in interfaceHibernateCriteriaBuilder
- Type Parameters:
T
- the type of each argument to the parameter- Parameters:
paramClass
- the type of each argument to the parametername
- the parameter name
-
concat
- Specified by:
concat
in interfaceCriteriaBuilder
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
-
concat
- Specified by:
concat
in interfaceCriteriaBuilder
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
- Specified by:
concat
in interfaceNodeBuilder
-
concat
- Specified by:
concat
in interfaceCriteriaBuilder
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
- Specified by:
concat
in interfaceNodeBuilder
-
concat
- Specified by:
concat
in interfaceCriteriaBuilder
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
- Specified by:
concat
in interfaceNodeBuilder
-
concat
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
- Specified by:
concat
in interfaceNodeBuilder
-
substring
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
- Specified by:
substring
in interfaceNodeBuilder
-
substring
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
- Specified by:
substring
in interfaceNodeBuilder
-
substring
public SqmFunction<String> substring(Expression<String> source, Expression<Integer> from, Expression<Integer> len) - Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
- Specified by:
substring
in interfaceNodeBuilder
-
substring
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
- Specified by:
substring
in interfaceNodeBuilder
-
trim
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
- Specified by:
trim
in interfaceNodeBuilder
-
trim
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
- Specified by:
trim
in interfaceNodeBuilder
-
trim
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
- Specified by:
trim
in interfaceNodeBuilder
-
trim
public SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, Expression<Character> trimChar, Expression<String> source) - Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
- Specified by:
trim
in interfaceNodeBuilder
-
trim
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
- Specified by:
trim
in interfaceNodeBuilder
-
trim
public SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, char trimChar, Expression<String> source) - Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
- Specified by:
trim
in interfaceNodeBuilder
-
lower
- Specified by:
lower
in interfaceCriteriaBuilder
- Specified by:
lower
in interfaceHibernateCriteriaBuilder
- Specified by:
lower
in interfaceNodeBuilder
-
upper
- Specified by:
upper
in interfaceCriteriaBuilder
- Specified by:
upper
in interfaceHibernateCriteriaBuilder
- Specified by:
upper
in interfaceNodeBuilder
-
length
- Specified by:
length
in interfaceCriteriaBuilder
- Specified by:
length
in interfaceHibernateCriteriaBuilder
- Specified by:
length
in interfaceNodeBuilder
-
locate
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
- Specified by:
locate
in interfaceNodeBuilder
-
locate
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
- Specified by:
locate
in interfaceNodeBuilder
-
locate
public SqmFunction<Integer> locate(Expression<String> source, Expression<String> pattern, Expression<Integer> startPosition) - Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
- Specified by:
locate
in interfaceNodeBuilder
-
locate
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
- Specified by:
locate
in interfaceNodeBuilder
-
currentDate
- Specified by:
currentDate
in interfaceCriteriaBuilder
- Specified by:
currentDate
in interfaceHibernateCriteriaBuilder
- Specified by:
currentDate
in interfaceNodeBuilder
-
currentTimestamp
- Specified by:
currentTimestamp
in interfaceCriteriaBuilder
- Specified by:
currentTimestamp
in interfaceHibernateCriteriaBuilder
- Specified by:
currentTimestamp
in interfaceNodeBuilder
-
currentTime
- Specified by:
currentTime
in interfaceCriteriaBuilder
- Specified by:
currentTime
in interfaceHibernateCriteriaBuilder
- Specified by:
currentTime
in interfaceNodeBuilder
-
currentInstant
- Specified by:
currentInstant
in interfaceHibernateCriteriaBuilder
- Specified by:
currentInstant
in interfaceNodeBuilder
-
localDate
Description copied from interface:HibernateCriteriaBuilder
Create expression to return current local date.- Specified by:
localDate
in interfaceCriteriaBuilder
- Specified by:
localDate
in interfaceHibernateCriteriaBuilder
- Returns:
- expression for current date
-
localDateTime
Description copied from interface:HibernateCriteriaBuilder
Create expression to return current local datetime.- Specified by:
localDateTime
in interfaceCriteriaBuilder
- Specified by:
localDateTime
in interfaceHibernateCriteriaBuilder
- Returns:
- expression for current timestamp
-
localTime
Description copied from interface:HibernateCriteriaBuilder
Create expression to return current local time.- Specified by:
localTime
in interfaceCriteriaBuilder
- Specified by:
localTime
in interfaceHibernateCriteriaBuilder
- Returns:
- expression for current time
-
function
- Specified by:
function
in interfaceCriteriaBuilder
- Specified by:
function
in interfaceHibernateCriteriaBuilder
- Specified by:
function
in interfaceNodeBuilder
-
all
- Specified by:
all
in interfaceCriteriaBuilder
- Specified by:
all
in interfaceHibernateCriteriaBuilder
- Specified by:
all
in interfaceNodeBuilder
-
some
- Specified by:
some
in interfaceCriteriaBuilder
- Specified by:
some
in interfaceHibernateCriteriaBuilder
- Specified by:
some
in interfaceNodeBuilder
-
any
- Specified by:
any
in interfaceCriteriaBuilder
- Specified by:
any
in interfaceHibernateCriteriaBuilder
- Specified by:
any
in interfaceNodeBuilder
-
keys
- Specified by:
keys
in interfaceCriteriaBuilder
- Specified by:
keys
in interfaceHibernateCriteriaBuilder
- Specified by:
keys
in interfaceNodeBuilder
-
indexes
- Specified by:
indexes
in interfaceHibernateCriteriaBuilder
- Specified by:
indexes
in interfaceNodeBuilder
-
value
Creates an expression for the value with the given "type inference" information -
value
- Specified by:
value
in interfaceHibernateCriteriaBuilder
-
values
- Specified by:
values
in interfaceCriteriaBuilder
- Specified by:
values
in interfaceHibernateCriteriaBuilder
- Specified by:
values
in interfaceNodeBuilder
-
size
- Specified by:
size
in interfaceCriteriaBuilder
- Specified by:
size
in interfaceHibernateCriteriaBuilder
- Specified by:
size
in interfaceNodeBuilder
-
size
- Specified by:
size
in interfaceCriteriaBuilder
- Specified by:
size
in interfaceHibernateCriteriaBuilder
- Specified by:
size
in interfaceNodeBuilder
-
coalesce
- Specified by:
coalesce
in interfaceCriteriaBuilder
- Specified by:
coalesce
in interfaceHibernateCriteriaBuilder
- Specified by:
coalesce
in interfaceNodeBuilder
-
coalesce
- Specified by:
coalesce
in interfaceCriteriaBuilder
- Specified by:
coalesce
in interfaceHibernateCriteriaBuilder
- Specified by:
coalesce
in interfaceNodeBuilder
-
coalesce
- Specified by:
coalesce
in interfaceCriteriaBuilder
- Specified by:
coalesce
in interfaceHibernateCriteriaBuilder
- Specified by:
coalesce
in interfaceNodeBuilder
-
nullif
- Specified by:
nullif
in interfaceCriteriaBuilder
- Specified by:
nullif
in interfaceHibernateCriteriaBuilder
- Specified by:
nullif
in interfaceNodeBuilder
-
nullif
- Specified by:
nullif
in interfaceCriteriaBuilder
- Specified by:
nullif
in interfaceHibernateCriteriaBuilder
- Specified by:
nullif
in interfaceNodeBuilder
-
selectCase
- Specified by:
selectCase
in interfaceCriteriaBuilder
- Specified by:
selectCase
in interfaceHibernateCriteriaBuilder
- Specified by:
selectCase
in interfaceNodeBuilder
-
selectCase
- Specified by:
selectCase
in interfaceCriteriaBuilder
- Specified by:
selectCase
in interfaceHibernateCriteriaBuilder
- Specified by:
selectCase
in interfaceNodeBuilder
-
mapSize
Description copied from interface:HibernateCriteriaBuilder
Create an expression that tests the size of a map.- Specified by:
mapSize
in interfaceHibernateCriteriaBuilder
- Specified by:
mapSize
in interfaceNodeBuilder
- Parameters:
mapExpression
- The expression resolving to a Map for which we want to know the size- Returns:
- size expression
-
mapSize
Description copied from interface:HibernateCriteriaBuilder
Create an expression that tests the size of a map.- Specified by:
mapSize
in interfaceHibernateCriteriaBuilder
- Specified by:
mapSize
in interfaceNodeBuilder
- Parameters:
map
- The Map for which we want to know the size- Returns:
- size expression
-
and
- Specified by:
and
in interfaceCriteriaBuilder
- Specified by:
and
in interfaceHibernateCriteriaBuilder
- Specified by:
and
in interfaceNodeBuilder
-
and
- Specified by:
and
in interfaceCriteriaBuilder
- Specified by:
and
in interfaceHibernateCriteriaBuilder
- Specified by:
and
in interfaceNodeBuilder
-
and
- Specified by:
and
in interfaceCriteriaBuilder
- Specified by:
and
in interfaceHibernateCriteriaBuilder
-
or
- Specified by:
or
in interfaceCriteriaBuilder
- Specified by:
or
in interfaceHibernateCriteriaBuilder
- Specified by:
or
in interfaceNodeBuilder
-
or
- Specified by:
or
in interfaceCriteriaBuilder
- Specified by:
or
in interfaceHibernateCriteriaBuilder
- Specified by:
or
in interfaceNodeBuilder
-
or
- Specified by:
or
in interfaceCriteriaBuilder
- Specified by:
or
in interfaceHibernateCriteriaBuilder
-
not
- Specified by:
not
in interfaceCriteriaBuilder
- Specified by:
not
in interfaceHibernateCriteriaBuilder
- Specified by:
not
in interfaceNodeBuilder
-
conjunction
- Specified by:
conjunction
in interfaceCriteriaBuilder
- Specified by:
conjunction
in interfaceHibernateCriteriaBuilder
- Specified by:
conjunction
in interfaceNodeBuilder
-
disjunction
- Specified by:
disjunction
in interfaceCriteriaBuilder
- Specified by:
disjunction
in interfaceHibernateCriteriaBuilder
- Specified by:
disjunction
in interfaceNodeBuilder
-
isTrue
- Specified by:
isTrue
in interfaceCriteriaBuilder
- Specified by:
isTrue
in interfaceHibernateCriteriaBuilder
- Specified by:
isTrue
in interfaceNodeBuilder
-
isFalse
- Specified by:
isFalse
in interfaceCriteriaBuilder
- Specified by:
isFalse
in interfaceHibernateCriteriaBuilder
- Specified by:
isFalse
in interfaceNodeBuilder
-
isNull
- Specified by:
isNull
in interfaceCriteriaBuilder
- Specified by:
isNull
in interfaceHibernateCriteriaBuilder
- Specified by:
isNull
in interfaceNodeBuilder
-
isNotNull
- Specified by:
isNotNull
in interfaceCriteriaBuilder
- Specified by:
isNotNull
in interfaceHibernateCriteriaBuilder
- Specified by:
isNotNull
in interfaceNodeBuilder
-
between
public <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
- Specified by:
between
in interfaceNodeBuilder
-
between
public <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
- Specified by:
between
in interfaceNodeBuilder
-
equal
- Specified by:
equal
in interfaceCriteriaBuilder
- Specified by:
equal
in interfaceHibernateCriteriaBuilder
- Specified by:
equal
in interfaceNodeBuilder
-
equal
- Specified by:
equal
in interfaceCriteriaBuilder
- Specified by:
equal
in interfaceHibernateCriteriaBuilder
- Specified by:
equal
in interfaceNodeBuilder
-
notEqual
- Specified by:
notEqual
in interfaceCriteriaBuilder
- Specified by:
notEqual
in interfaceHibernateCriteriaBuilder
- Specified by:
notEqual
in interfaceNodeBuilder
-
notEqual
- Specified by:
notEqual
in interfaceCriteriaBuilder
- Specified by:
notEqual
in interfaceHibernateCriteriaBuilder
- Specified by:
notEqual
in interfaceNodeBuilder
-
distinctFrom
- Specified by:
distinctFrom
in interfaceHibernateCriteriaBuilder
- Specified by:
distinctFrom
in interfaceNodeBuilder
-
distinctFrom
- Specified by:
distinctFrom
in interfaceHibernateCriteriaBuilder
- Specified by:
distinctFrom
in interfaceNodeBuilder
-
notDistinctFrom
- Specified by:
notDistinctFrom
in interfaceHibernateCriteriaBuilder
- Specified by:
notDistinctFrom
in interfaceNodeBuilder
-
notDistinctFrom
- Specified by:
notDistinctFrom
in interfaceHibernateCriteriaBuilder
- Specified by:
notDistinctFrom
in interfaceNodeBuilder
-
greaterThan
public <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
- Specified by:
greaterThan
in interfaceNodeBuilder
-
greaterThan
- Specified by:
greaterThan
in interfaceCriteriaBuilder
- Specified by:
greaterThan
in interfaceHibernateCriteriaBuilder
- Specified by:
greaterThan
in interfaceNodeBuilder
-
greaterThanOrEqualTo
public <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
- Specified by:
greaterThanOrEqualTo
in interfaceNodeBuilder
-
greaterThanOrEqualTo
public <Y extends Comparable<? super Y>> SqmPredicate greaterThanOrEqualTo(Expression<? extends Y> x, Y y) - Specified by:
greaterThanOrEqualTo
in interfaceCriteriaBuilder
- Specified by:
greaterThanOrEqualTo
in interfaceHibernateCriteriaBuilder
- Specified by:
greaterThanOrEqualTo
in interfaceNodeBuilder
-
lessThan
public <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
- Specified by:
lessThan
in interfaceNodeBuilder
-
lessThan
- Specified by:
lessThan
in interfaceCriteriaBuilder
- Specified by:
lessThan
in interfaceHibernateCriteriaBuilder
- Specified by:
lessThan
in interfaceNodeBuilder
-
lessThanOrEqualTo
public <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
- Specified by:
lessThanOrEqualTo
in interfaceNodeBuilder
-
lessThanOrEqualTo
public <Y extends Comparable<? super Y>> SqmPredicate lessThanOrEqualTo(Expression<? extends Y> x, Y y) - Specified by:
lessThanOrEqualTo
in interfaceCriteriaBuilder
- Specified by:
lessThanOrEqualTo
in interfaceHibernateCriteriaBuilder
- Specified by:
lessThanOrEqualTo
in interfaceNodeBuilder
-
gt
- Specified by:
gt
in interfaceCriteriaBuilder
- Specified by:
gt
in interfaceHibernateCriteriaBuilder
- Specified by:
gt
in interfaceNodeBuilder
-
gt
- Specified by:
gt
in interfaceCriteriaBuilder
- Specified by:
gt
in interfaceHibernateCriteriaBuilder
- Specified by:
gt
in interfaceNodeBuilder
-
ge
- Specified by:
ge
in interfaceCriteriaBuilder
- Specified by:
ge
in interfaceHibernateCriteriaBuilder
- Specified by:
ge
in interfaceNodeBuilder
-
ge
- Specified by:
ge
in interfaceCriteriaBuilder
- Specified by:
ge
in interfaceHibernateCriteriaBuilder
- Specified by:
ge
in interfaceNodeBuilder
-
lt
- Specified by:
lt
in interfaceCriteriaBuilder
- Specified by:
lt
in interfaceHibernateCriteriaBuilder
- Specified by:
lt
in interfaceNodeBuilder
-
lt
- Specified by:
lt
in interfaceCriteriaBuilder
- Specified by:
lt
in interfaceHibernateCriteriaBuilder
- Specified by:
lt
in interfaceNodeBuilder
-
le
- Specified by:
le
in interfaceCriteriaBuilder
- Specified by:
le
in interfaceHibernateCriteriaBuilder
- Specified by:
le
in interfaceNodeBuilder
-
le
- Specified by:
le
in interfaceCriteriaBuilder
- Specified by:
le
in interfaceHibernateCriteriaBuilder
- Specified by:
le
in interfaceNodeBuilder
-
isEmpty
- Specified by:
isEmpty
in interfaceCriteriaBuilder
- Specified by:
isEmpty
in interfaceHibernateCriteriaBuilder
- Specified by:
isEmpty
in interfaceNodeBuilder
-
isNotEmpty
- Specified by:
isNotEmpty
in interfaceCriteriaBuilder
- Specified by:
isNotEmpty
in interfaceHibernateCriteriaBuilder
- Specified by:
isNotEmpty
in interfaceNodeBuilder
-
isMember
public <E,C extends Collection<E>> SqmPredicate isMember(Expression<E> elem, Expression<C> collection) - Specified by:
isMember
in interfaceCriteriaBuilder
- Specified by:
isMember
in interfaceHibernateCriteriaBuilder
- Specified by:
isMember
in interfaceNodeBuilder
-
isMember
- Specified by:
isMember
in interfaceCriteriaBuilder
- Specified by:
isMember
in interfaceHibernateCriteriaBuilder
- Specified by:
isMember
in interfaceNodeBuilder
-
isNotMember
public <E,C extends Collection<E>> SqmPredicate isNotMember(Expression<E> elem, Expression<C> collection) - Specified by:
isNotMember
in interfaceCriteriaBuilder
- Specified by:
isNotMember
in interfaceHibernateCriteriaBuilder
- Specified by:
isNotMember
in interfaceNodeBuilder
-
isNotMember
- Specified by:
isNotMember
in interfaceCriteriaBuilder
- Specified by:
isNotMember
in interfaceHibernateCriteriaBuilder
- Specified by:
isNotMember
in interfaceNodeBuilder
-
like
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
- Specified by:
like
in interfaceNodeBuilder
-
like
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
- Specified by:
like
in interfaceNodeBuilder
-
like
public SqmPredicate like(Expression<String> searchString, Expression<String> pattern, Expression<Character> escapeChar) - Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
- Specified by:
like
in interfaceNodeBuilder
-
like
public SqmPredicate like(Expression<String> searchString, Expression<String> pattern, char escapeChar) - Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
- Specified by:
like
in interfaceNodeBuilder
-
like
public SqmPredicate like(Expression<String> searchString, String pattern, Expression<Character> escapeChar) - Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
- Specified by:
like
in interfaceNodeBuilder
-
like
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
- Specified by:
like
in interfaceNodeBuilder
-
ilike
- Specified by:
ilike
in interfaceHibernateCriteriaBuilder
-
ilike
- Specified by:
ilike
in interfaceHibernateCriteriaBuilder
-
ilike
public SqmPredicate ilike(Expression<String> searchString, Expression<String> pattern, Expression<Character> escapeChar) - Specified by:
ilike
in interfaceHibernateCriteriaBuilder
-
ilike
public SqmPredicate ilike(Expression<String> searchString, Expression<String> pattern, char escapeChar) - Specified by:
ilike
in interfaceHibernateCriteriaBuilder
-
ilike
public SqmPredicate ilike(Expression<String> searchString, String pattern, Expression<Character> escapeChar) - Specified by:
ilike
in interfaceHibernateCriteriaBuilder
-
ilike
- Specified by:
ilike
in interfaceHibernateCriteriaBuilder
-
notLike
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
- Specified by:
notLike
in interfaceNodeBuilder
-
notLike
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
- Specified by:
notLike
in interfaceNodeBuilder
-
notLike
public SqmPredicate notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) - Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
- Specified by:
notLike
in interfaceNodeBuilder
-
notLike
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
- Specified by:
notLike
in interfaceNodeBuilder
-
notLike
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
- Specified by:
notLike
in interfaceNodeBuilder
-
notLike
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
- Specified by:
notLike
in interfaceNodeBuilder
-
notIlike
- Specified by:
notIlike
in interfaceHibernateCriteriaBuilder
-
notIlike
- Specified by:
notIlike
in interfaceHibernateCriteriaBuilder
-
notIlike
public SqmPredicate notIlike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) - Specified by:
notIlike
in interfaceHibernateCriteriaBuilder
-
notIlike
- Specified by:
notIlike
in interfaceHibernateCriteriaBuilder
-
notIlike
public SqmPredicate notIlike(Expression<String> x, String pattern, Expression<Character> escapeChar) - Specified by:
notIlike
in interfaceHibernateCriteriaBuilder
-
notIlike
- Specified by:
notIlike
in interfaceHibernateCriteriaBuilder
-
in
- Specified by:
in
in interfaceCriteriaBuilder
- Specified by:
in
in interfaceHibernateCriteriaBuilder
- Specified by:
in
in interfaceNodeBuilder
-
in
public <T> SqmInPredicate<T> in(Expression<? extends T> expression, Expression<? extends T>... values) - Specified by:
in
in interfaceHibernateCriteriaBuilder
- Specified by:
in
in interfaceNodeBuilder
-
in
- Specified by:
in
in interfaceHibernateCriteriaBuilder
- Specified by:
in
in interfaceNodeBuilder
-
in
- Specified by:
in
in interfaceHibernateCriteriaBuilder
- Specified by:
in
in interfaceNodeBuilder
-
in
- Specified by:
in
in interfaceNodeBuilder
-
exists
- Specified by:
exists
in interfaceCriteriaBuilder
- Specified by:
exists
in interfaceHibernateCriteriaBuilder
- Specified by:
exists
in interfaceNodeBuilder
-
isMapEmpty
Description copied from interface:HibernateCriteriaBuilder
Create a predicate that tests whether a Map is empty.- Specified by:
isMapEmpty
in interfaceHibernateCriteriaBuilder
- Specified by:
isMapEmpty
in interfaceNodeBuilder
- Parameters:
mapExpression
- The expression resolving to a Map which we want to check for emptiness- Returns:
- is-empty predicate
-
isMapNotEmpty
Description copied from interface:HibernateCriteriaBuilder
Create a predicate that tests whether a Map is not empty.- Specified by:
isMapNotEmpty
in interfaceHibernateCriteriaBuilder
- Specified by:
isMapNotEmpty
in interfaceNodeBuilder
- Parameters:
mapExpression
- The expression resolving to a Map which we want to check for non-emptiness- Returns:
- is-not-empty predicate
-
sql
Description copied from interface:HibernateCriteriaBuilder
Embed nativepattern
that will be unquoted and embedded in the generated SQL. Occurrences of?
in the pattern are replaced with the remainingarguments
of the function.- Specified by:
sql
in interfaceHibernateCriteriaBuilder
- Type Parameters:
T
- type of this expression- Parameters:
pattern
- native SQL patterntype
- type of this expressionarguments
- optional arguments to the SQL pattern- Returns:
- native SQL expression
-
format
Description copied from interface:HibernateCriteriaBuilder
Format a date, time, or datetime according to a pattern. The pattern must be written in a subset of the pattern language defined by Java’sDateTimeFormatter
.See
Dialect.appendDatetimeFormat(org.hibernate.sql.ast.spi.SqlAppender, java.lang.String)
for a full list of pattern elements.- Specified by:
format
in interfaceHibernateCriteriaBuilder
- Parameters:
datetime
- the datetime expression to formatpattern
- the pattern to use for formatting- Returns:
- format expression
-
extract
public <N,T extends Temporal> SqmExpression<N> extract(TemporalField<N, T> field, Expression<T> temporal) - Specified by:
extract
in interfaceCriteriaBuilder
- Specified by:
extract
in interfaceHibernateCriteriaBuilder
-
year
Description copied from interface:HibernateCriteriaBuilder
Extracts theTemporalUnit.YEAR
of a date, time, or datetime expression.- Specified by:
year
in interfaceHibernateCriteriaBuilder
- Parameters:
datetime
- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
month
Description copied from interface:HibernateCriteriaBuilder
Extracts theTemporalUnit.MONTH
of a date, time, or datetime expression.- Specified by:
month
in interfaceHibernateCriteriaBuilder
- Parameters:
datetime
- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
day
Description copied from interface:HibernateCriteriaBuilder
Extracts theTemporalUnit.DAY
of a date, time, or datetime expression.- Specified by:
day
in interfaceHibernateCriteriaBuilder
- Parameters:
datetime
- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
hour
Description copied from interface:HibernateCriteriaBuilder
Extracts theTemporalUnit.HOUR
of a date, time, or datetime expression.- Specified by:
hour
in interfaceHibernateCriteriaBuilder
- Parameters:
datetime
- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
minute
Description copied from interface:HibernateCriteriaBuilder
Extracts theTemporalUnit.MINUTE
of a date, time, or datetime expression.- Specified by:
minute
in interfaceHibernateCriteriaBuilder
- Parameters:
datetime
- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
second
Description copied from interface:HibernateCriteriaBuilder
Extracts theTemporalUnit.SECOND
of a date, time, or datetime expression.- Specified by:
second
in interfaceHibernateCriteriaBuilder
- Parameters:
datetime
- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
truncate
public <T extends TemporalAccessor> SqmFunction<T> truncate(Expression<T> datetime, TemporalUnit temporalUnit) Description copied from interface:HibernateCriteriaBuilder
Truncates a date, time or datetime expression to the givenTemporalUnit
. Supported units are:YEAR
,MONTH
,DAY
,HOUR
,MINUTE
,SECOND
.Truncating translates to obtaining a value of the same type in which all temporal units smaller than
field
have been pruned. For hours, minutes and second this means setting them to00
. For months and days, this means setting them to01
.- Specified by:
truncate
in interfaceHibernateCriteriaBuilder
- Parameters:
datetime
- the date, time or datetime expression to be truncatedtemporalUnit
- the temporal unit for truncation- Returns:
- the truncated value
-
overlay
- Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, int start) - Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, String replacement, Expression<Integer> start) - Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start) - Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, String replacement, int start, int length) - Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, int start, int length) - Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, String replacement, Expression<Integer> start, int length) - Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, int length) - Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, String replacement, int start, Expression<Integer> length) - Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, int start, Expression<Integer> length) - Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, String replacement, Expression<Integer> start, Expression<Integer> length) - Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, Expression<Integer> length) Description copied from interface:HibernateCriteriaBuilder
Overlay thestring
expression with thereplacement
expression, starting from indexstart
and substituting a number of characters corresponding to the length of thereplacement
expression or thelength
parameter if specified.- Specified by:
overlay
in interfaceHibernateCriteriaBuilder
- Parameters:
string
- string expression to be manipulatedreplacement
- string expression to replace in originalstart
- start positionlength
- optional, number of characters to substitute- Returns:
- overlay expression
-
pad
- Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
- Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
- Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
public SqmFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length) - Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
- Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
public SqmFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, char padChar) - Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
- Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
public SqmFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, Expression<Character> padChar) - Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
- Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
public SqmFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, char padChar) - Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
public SqmFunction<String> pad(Expression<String> x, Expression<Integer> length, Expression<Character> padChar) - Specified by:
pad
in interfaceHibernateCriteriaBuilder
- See Also:
-
pad
public SqmFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, Expression<Character> padChar) Description copied from interface:HibernateCriteriaBuilder
Pad the specified string expression with whitespace or with thepadChar
character if specified. Optionally pass aCriteriaBuilder.Trimspec
to pad the string expression withLEADING
orTRAILING
(default) characters.- Specified by:
pad
in interfaceHibernateCriteriaBuilder
- Parameters:
ts
- optionalCriteriaBuilder.Trimspec
x
- string expression to padlength
- length of the result string after paddingpadChar
- optional pad character- Returns:
- pad expression
-
repeat
Description copied from interface:HibernateCriteriaBuilder
Concatenate the given string expression with itself the given number of times.- Specified by:
repeat
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- the string expression to concatenatetimes
- the number of times it should be repeated- Returns:
- repeat expression
-
repeat
Description copied from interface:HibernateCriteriaBuilder
Concatenate the given string expression with itself the given number of times.- Specified by:
repeat
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- the string expression to concatenatetimes
- the number of times it should be repeated- Returns:
- repeat expression
-
repeat
Description copied from interface:HibernateCriteriaBuilder
Concatenate the given string expression with itself the given number of times.- Specified by:
repeat
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- the string expression to concatenatetimes
- the number of times it should be repeated- Returns:
- repeat expression
-
left
- Specified by:
left
in interfaceCriteriaBuilder
- Specified by:
left
in interfaceHibernateCriteriaBuilder
- See Also:
-
left
Description copied from interface:HibernateCriteriaBuilder
Extract thelength
leftmost characters of a string.- Specified by:
left
in interfaceCriteriaBuilder
- Specified by:
left
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- original stringlength
- number of characters- Returns:
- left expression
-
right
- Specified by:
right
in interfaceCriteriaBuilder
- Specified by:
right
in interfaceHibernateCriteriaBuilder
- See Also:
-
right
Description copied from interface:HibernateCriteriaBuilder
Extract thelength
rightmost characters of a string.- Specified by:
right
in interfaceCriteriaBuilder
- Specified by:
right
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- original stringlength
- number of characters- Returns:
- left expression
-
replace
- Specified by:
replace
in interfaceCriteriaBuilder
- Specified by:
replace
in interfaceHibernateCriteriaBuilder
- See Also:
-
replace
public SqmFunction<String> replace(Expression<String> x, String pattern, Expression<String> replacement) - Specified by:
replace
in interfaceCriteriaBuilder
- Specified by:
replace
in interfaceHibernateCriteriaBuilder
- See Also:
-
replace
public SqmFunction<String> replace(Expression<String> x, Expression<String> pattern, String replacement) - Specified by:
replace
in interfaceCriteriaBuilder
- Specified by:
replace
in interfaceHibernateCriteriaBuilder
- See Also:
-
replace
public SqmFunction<String> replace(Expression<String> x, Expression<String> pattern, Expression<String> replacement) Description copied from interface:HibernateCriteriaBuilder
Replace all occurrences ofpattern
within the original string withreplacement
.- Specified by:
replace
in interfaceCriteriaBuilder
- Specified by:
replace
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- original stringpattern
- the string to be replacedreplacement
- the new replacement string- Returns:
- replace expression
-
collate
- Specified by:
collate
in interfaceHibernateCriteriaBuilder
-
log10
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the base-10 logarithm of its argument.- Specified by:
log10
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- base-10 logarithm
-
log
- Specified by:
log
in interfaceHibernateCriteriaBuilder
- See Also:
-
log
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the logarithm ofx
to the baseb
.- Specified by:
log
in interfaceHibernateCriteriaBuilder
- Parameters:
b
- basex
- expression- Returns:
- arbitrary-base logarithm
-
pi
Description copied from interface:HibernateCriteriaBuilder
Literal expression corresponding to the value of pi.- Specified by:
pi
in interfaceHibernateCriteriaBuilder
- Returns:
- pi expression
-
sin
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the sine of its argument.- Specified by:
sin
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- sine
-
cos
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the cosine of its argument.- Specified by:
cos
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- cosine
-
tan
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the tangent of its argument.- Specified by:
tan
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- tangent
-
asin
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the inverse sine of its argument.- Specified by:
asin
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- inverse sine
-
acos
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the inverse cosine of its argument.- Specified by:
acos
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- inverse cosine
-
atan
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the inverse tangent of its argument.- Specified by:
atan
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- inverse tangent
-
atan2
- Specified by:
atan2
in interfaceHibernateCriteriaBuilder
- See Also:
-
atan2
- Specified by:
atan2
in interfaceHibernateCriteriaBuilder
- See Also:
-
atan2
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the inverse tangent ofy
overx
.- Specified by:
atan2
in interfaceHibernateCriteriaBuilder
- Parameters:
y
- y coordinatex
- x coordinate- Returns:
- 2-argument inverse tangent
-
sinh
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the hyperbolic sine of its argument.- Specified by:
sinh
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- hyperbolic sine
-
cosh
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the hyperbolic cosine of its argument.- Specified by:
cosh
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- hyperbolic cosine
-
tanh
Description copied from interface:HibernateCriteriaBuilder
Create an expression that returns the hyperbolic tangent of its argument.- Specified by:
tanh
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- hyperbolic tangent
-
degrees
Description copied from interface:HibernateCriteriaBuilder
Create an expression that converts an angle measured in radians to an approximately equivalent angle measured in degrees.- Specified by:
degrees
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- degrees
-
radians
Description copied from interface:HibernateCriteriaBuilder
Create an expression that converts an angle measured in degrees to an approximately equivalent angle measured in radians.- Specified by:
radians
in interfaceHibernateCriteriaBuilder
- Parameters:
x
- expression- Returns:
- radians
-
createWindow
Description copied from interface:HibernateCriteriaBuilder
Create an emptyJpaWindow
to use with window and aggregate functions.- Specified by:
createWindow
in interfaceHibernateCriteriaBuilder
- Returns:
- the empty window
-
frameUnboundedPreceding
Description copied from interface:HibernateCriteriaBuilder
Create a window frame of typeFrameKind.UNBOUNDED_PRECEDING
to use withJpaWindow
s.- Specified by:
frameUnboundedPreceding
in interfaceHibernateCriteriaBuilder
- Returns:
- the window frame
-
frameBetweenPreceding
- Specified by:
frameBetweenPreceding
in interfaceHibernateCriteriaBuilder
- See Also:
-
frameBetweenPreceding
Description copied from interface:HibernateCriteriaBuilder
Create window frame of typeFrameKind.OFFSET_PRECEDING
to use withJpaWindow
s.- Specified by:
frameBetweenPreceding
in interfaceHibernateCriteriaBuilder
- Parameters:
offset
- theoffset
expression- Returns:
- the window frame
-
frameCurrentRow
Description copied from interface:HibernateCriteriaBuilder
Create a window frame of typeFrameKind.CURRENT_ROW
to use withJpaWindow
s.- Specified by:
frameCurrentRow
in interfaceHibernateCriteriaBuilder
- Returns:
- the window frame
-
frameBetweenFollowing
- Specified by:
frameBetweenFollowing
in interfaceHibernateCriteriaBuilder
- See Also:
-
frameBetweenFollowing
Description copied from interface:HibernateCriteriaBuilder
Create a window frame of typeFrameKind.OFFSET_FOLLOWING
to use withJpaWindow
s.- Specified by:
frameBetweenFollowing
in interfaceHibernateCriteriaBuilder
- Parameters:
offset
- theoffset
expression- Returns:
- the window frame
-
frameUnboundedFollowing
Description copied from interface:HibernateCriteriaBuilder
Create a window frame of typeFrameKind.UNBOUNDED_FOLLOWING
to use withJpaWindow
s.- Specified by:
frameUnboundedFollowing
in interfaceHibernateCriteriaBuilder
- Returns:
- the window frame
-
windowFunction
public <T> SqmExpression<T> windowFunction(String name, Class<T> type, JpaWindow window, Expression<?>... args) Description copied from interface:HibernateCriteriaBuilder
Create a generic window function expression that will be applied over the specifiedwindow
.- Specified by:
windowFunction
in interfaceHibernateCriteriaBuilder
- Type Parameters:
T
- type of this expression- Parameters:
name
- name of the window functiontype
- type of this expressionwindow
- window over which the function will be appliedargs
- arguments to the function- Returns:
- window function expression
-
rowNumber
Description copied from interface:HibernateCriteriaBuilder
Create arow_number
window function expression.- Specified by:
rowNumber
in interfaceHibernateCriteriaBuilder
- Parameters:
window
- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
firstValue
Description copied from interface:HibernateCriteriaBuilder
Create afirst_value
window function expression.- Specified by:
firstValue
in interfaceHibernateCriteriaBuilder
- Type Parameters:
T
- type of the expression- Parameters:
argument
- argument expression to pass tofirst_value
window
- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
lastValue
Description copied from interface:HibernateCriteriaBuilder
Create alast_value
window function expression.- Specified by:
lastValue
in interfaceHibernateCriteriaBuilder
- Type Parameters:
T
- type of the expression- Parameters:
argument
- argument expression to pass tolast_value
window
- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
nthValue
- Specified by:
nthValue
in interfaceHibernateCriteriaBuilder
- See Also:
-
nthValue
public <T> SqmExpression<T> nthValue(Expression<T> argument, Expression<Integer> n, JpaWindow window) Description copied from interface:HibernateCriteriaBuilder
Create anth_value
window function expression.- Specified by:
nthValue
in interfaceHibernateCriteriaBuilder
- Type Parameters:
T
- type of the expression- Parameters:
argument
- argument expression to pass tonth_value
n
- theN
argument for the functionwindow
- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
rank
Description copied from interface:HibernateCriteriaBuilder
Create arank
window function expression.- Specified by:
rank
in interfaceHibernateCriteriaBuilder
- Parameters:
window
- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
denseRank
Description copied from interface:HibernateCriteriaBuilder
Create adense_rank
window function expression.- Specified by:
denseRank
in interfaceHibernateCriteriaBuilder
- Parameters:
window
- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
percentRank
Description copied from interface:HibernateCriteriaBuilder
Create apercent_rank
window function expression.- Specified by:
percentRank
in interfaceHibernateCriteriaBuilder
- Parameters:
window
- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
cumeDist
Description copied from interface:HibernateCriteriaBuilder
Create acume_dist
window function expression.- Specified by:
cumeDist
in interfaceHibernateCriteriaBuilder
- Parameters:
window
- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
functionAggregate
public <T> SqmExpression<T> functionAggregate(String name, Class<T> type, JpaPredicate filter, Expression<?>... args) - Specified by:
functionAggregate
in interfaceHibernateCriteriaBuilder
- See Also:
-
functionAggregate
public <T> SqmExpression<T> functionAggregate(String name, Class<T> type, JpaWindow window, Expression<?>... args) - Specified by:
functionAggregate
in interfaceHibernateCriteriaBuilder
- See Also:
-
functionAggregate
public <T> SqmExpression<T> functionAggregate(String name, Class<T> type, JpaPredicate filter, JpaWindow window, Expression<?>... args) Description copied from interface:HibernateCriteriaBuilder
Create a generic aggregate function expression.- Specified by:
functionAggregate
in interfaceHibernateCriteriaBuilder
- Type Parameters:
T
- type of this expression- Parameters:
name
- name of the ordered set-aggregate functiontype
- type of this expressionfilter
- optional filter clausewindow
- optional window over which to apply the functionargs
- optional arguments to the function- Returns:
- aggregate function expression
-
sum
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
- See Also:
-
sum
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
- See Also:
-
sum
public <N extends Number> SqmExpression<Number> sum(Expression<N> argument, JpaPredicate filter, JpaWindow window) Description copied from interface:HibernateCriteriaBuilder
Create asum
aggregate function expression.- Specified by:
sum
in interfaceHibernateCriteriaBuilder
- Type Parameters:
N
- type of the input expression- Parameters:
argument
- argument to the functionfilter
- optional filter clausewindow
- optional window over which to apply the function- Returns:
- aggregate function expression
- See Also:
-
avg
- Specified by:
avg
in interfaceHibernateCriteriaBuilder
- See Also:
-
avg
- Specified by:
avg
in interfaceHibernateCriteriaBuilder
- See Also:
-
avg
public <N extends Number> SqmExpression<Double> avg(Expression<N> argument, JpaPredicate filter, JpaWindow window) Description copied from interface:HibernateCriteriaBuilder
Create anavg
aggregate function expression.- Specified by:
avg
in interfaceHibernateCriteriaBuilder
- Type Parameters:
N
- type of the input expression- Parameters:
argument
- argument to the functionfilter
- optional filter clausewindow
- optional window over which to apply the function- Returns:
- aggregate function expression
- See Also:
-
count
- Specified by:
count
in interfaceHibernateCriteriaBuilder
- See Also:
-
count
- Specified by:
count
in interfaceHibernateCriteriaBuilder
- See Also:
-
count
Description copied from interface:HibernateCriteriaBuilder
Create acount
aggregate function expression.- Specified by:
count
in interfaceHibernateCriteriaBuilder
- Parameters:
argument
- argument to the functionfilter
- optional filter clausewindow
- optional window over which to apply the function- Returns:
- aggregate function expression
- See Also:
-
functionWithinGroup
public <T> SqmExpression<T> functionWithinGroup(String name, Class<T> type, JpaOrder order, Expression<?>... args) - Specified by:
functionWithinGroup
in interfaceHibernateCriteriaBuilder
- See Also:
-
functionWithinGroup
public <T> SqmExpression<T> functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaPredicate filter, Expression<?>... args) - Specified by:
functionWithinGroup
in interfaceHibernateCriteriaBuilder
- See Also:
-
functionWithinGroup
public <T> SqmExpression<T> functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaWindow window, Expression<?>... args) - Specified by:
functionWithinGroup
in interfaceHibernateCriteriaBuilder
- See Also:
-
functionWithinGroup
public <T> SqmExpression<T> functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... args) Description copied from interface:HibernateCriteriaBuilder
Create a generic ordered set-aggregate function expression.- Specified by:
functionWithinGroup
in interfaceHibernateCriteriaBuilder
- Type Parameters:
T
- type of this expression- Parameters:
name
- name of the ordered set-aggregate functiontype
- type of this expressionorder
- order by clause used in within groupfilter
- optional filter clausewindow
- optional window over which to apply the functionargs
- optional arguments to the function- Returns:
- ordered set-aggregate function expression
-
listagg
- Specified by:
listagg
in interfaceHibernateCriteriaBuilder
- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, Expression<String> argument, Expression<String> separator) - Specified by:
listagg
in interfaceHibernateCriteriaBuilder
- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaPredicate filter, Expression<String> argument, String separator) - Specified by:
listagg
in interfaceHibernateCriteriaBuilder
- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaPredicate filter, Expression<String> argument, Expression<String> separator) - Specified by:
listagg
in interfaceHibernateCriteriaBuilder
- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaWindow window, Expression<String> argument, String separator) - Specified by:
listagg
in interfaceHibernateCriteriaBuilder
- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaWindow window, Expression<String> argument, Expression<String> separator) - Specified by:
listagg
in interfaceHibernateCriteriaBuilder
- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<String> argument, String separator) - Specified by:
listagg
in interfaceHibernateCriteriaBuilder
- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<String> argument, Expression<String> separator) Description copied from interface:HibernateCriteriaBuilder
Create alistagg
ordered set-aggregate function expression.- Specified by:
listagg
in interfaceHibernateCriteriaBuilder
- Parameters:
order
- order by clause used in within groupfilter
- optional filter clausewindow
- optional window over which to apply the functionargument
- values to joinseparator
- the separator used to join the values- Returns:
- ordered set-aggregate expression
- See Also:
-
mode
public <T> SqmExpression<T> mode(Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) - Specified by:
mode
in interfaceHibernateCriteriaBuilder
- See Also:
-
mode
public <T> SqmExpression<T> mode(JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) - Specified by:
mode
in interfaceHibernateCriteriaBuilder
- See Also:
-
mode
public <T> SqmExpression<T> mode(JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) - Specified by:
mode
in interfaceHibernateCriteriaBuilder
- See Also:
-
mode
public <T> SqmExpression<T> mode(JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Description copied from interface:HibernateCriteriaBuilder
Create amode
ordered set-aggregate function expression.- Specified by:
mode
in interfaceHibernateCriteriaBuilder
- Type Parameters:
T
- type of this expression- Parameters:
filter
- optional filter clausewindow
- optional window over which to apply the functionsortExpression
- the sort expressionsortOrder
- the sort ordernullPrecedence
- the null precedence- Returns:
- ordered set-aggregate expression
- See Also:
-
percentileCont
public <T> SqmExpression<T> percentileCont(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) -
percentileCont
public <T> SqmExpression<T> percentileCont(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) -
percentileCont
public <T> SqmExpression<T> percentileCont(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) -
percentileCont
public <T> SqmExpression<T> percentileCont(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Description copied from interface:HibernateCriteriaBuilder
Create apercentile_cont
ordered set-aggregate function expression.- Specified by:
percentileCont
in interfaceHibernateCriteriaBuilder
- Parameters:
argument
- argument to the functionfilter
- optional filter clausewindow
- optional window over which to apply the functionsortExpression
- the sort expressionsortOrder
- the sort ordernullPrecedence
- the null precedence- Returns:
- ordered set-aggregate expression
- See Also:
-
percentileDisc
public <T> SqmExpression<T> percentileDisc(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) -
percentileDisc
public <T> SqmExpression<T> percentileDisc(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) -
percentileDisc
public <T> SqmExpression<T> percentileDisc(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) -
percentileDisc
public <T> SqmExpression<T> percentileDisc(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Description copied from interface:HibernateCriteriaBuilder
Create apercentile_disc
ordered set-aggregate function expression.- Specified by:
percentileDisc
in interfaceHibernateCriteriaBuilder
- Parameters:
argument
- argument to the functionfilter
- optional filter clausewindow
- optional window over which to apply the functionsortExpression
- the sort expressionsortOrder
- the sort ordernullPrecedence
- the null precedence- Returns:
- ordered set-aggregate expression
- See Also:
-
rank
- Specified by:
rank
in interfaceHibernateCriteriaBuilder
- See Also:
-
rank
- Specified by:
rank
in interfaceHibernateCriteriaBuilder
- See Also:
-
rank
- Specified by:
rank
in interfaceHibernateCriteriaBuilder
- See Also:
-
rank
public SqmExpression<Long> rank(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... arguments) Description copied from interface:HibernateCriteriaBuilder
Create arank
ordered set-aggregate function expression.- Specified by:
rank
in interfaceHibernateCriteriaBuilder
- Parameters:
order
- order by clause used in within groupfilter
- optional filter clausewindow
- optional window over which to apply the functionarguments
- arguments to the function- Returns:
- ordered set-aggregate expression
- See Also:
-
percentRank
- Specified by:
percentRank
in interfaceHibernateCriteriaBuilder
- See Also:
-
percentRank
public SqmExpression<Double> percentRank(JpaOrder order, JpaPredicate filter, Expression<?>... arguments) - Specified by:
percentRank
in interfaceHibernateCriteriaBuilder
- See Also:
-
percentRank
public SqmExpression<Double> percentRank(JpaOrder order, JpaWindow window, Expression<?>... arguments) - Specified by:
percentRank
in interfaceHibernateCriteriaBuilder
- See Also:
-
percentRank
public SqmExpression<Double> percentRank(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... arguments) Description copied from interface:HibernateCriteriaBuilder
Create apercent_rank
ordered set-aggregate function expression.- Specified by:
percentRank
in interfaceHibernateCriteriaBuilder
- Parameters:
order
- order by clause used in within groupfilter
- optional filter clausewindow
- optional window over which to apply the functionarguments
- arguments to the function- Returns:
- ordered set-aggregate expression
- See Also:
-
arrayAgg
- Specified by:
arrayAgg
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayAgg
in interfaceNodeBuilder
- See Also:
-
arrayAgg
public <T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaPredicate filter, Expression<? extends T> argument) - Specified by:
arrayAgg
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayAgg
in interfaceNodeBuilder
- See Also:
-
arrayAgg
public <T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaWindow window, Expression<? extends T> argument) - Specified by:
arrayAgg
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayAgg
in interfaceNodeBuilder
- See Also:
-
arrayAgg
public <T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<? extends T> argument) Description copied from interface:HibernateCriteriaBuilder
Create aarray_agg
ordered set-aggregate function expression.- Specified by:
arrayAgg
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayAgg
in interfaceNodeBuilder
- Parameters:
order
- order by clause used in within groupfilter
- optional filter clausewindow
- optional window over which to apply the functionargument
- values to aggregate- Returns:
- ordered set-aggregate expression
- See Also:
-
arrayLiteral
Description copied from interface:HibernateCriteriaBuilder
Creates an array literal with thearray
constructor function.- Specified by:
arrayLiteral
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayLiteral
in interfaceNodeBuilder
-
arrayPosition
Description copied from interface:HibernateCriteriaBuilder
Determines the 1-based position of an element in an array.- Specified by:
arrayPosition
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayPosition
in interfaceNodeBuilder
-
arrayPosition
public <T> SqmExpression<Integer> arrayPosition(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Determines the 1-based position of an element in an array.- Specified by:
arrayPosition
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayPosition
in interfaceNodeBuilder
-
arrayPositions
public <T> SqmExpression<int[]> arrayPositions(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in an array.- Specified by:
arrayPositions
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayPositions
in interfaceNodeBuilder
-
arrayPositions
Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in an array.- Specified by:
arrayPositions
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayPositions
in interfaceNodeBuilder
-
arrayPositionsList
public <T> SqmExpression<List<Integer>> arrayPositionsList(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in an array.- Specified by:
arrayPositionsList
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayPositionsList
in interfaceNodeBuilder
-
arrayPositionsList
public <T> SqmExpression<List<Integer>> arrayPositionsList(Expression<T[]> arrayExpression, T element) Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in an array.- Specified by:
arrayPositionsList
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayPositionsList
in interfaceNodeBuilder
-
arrayLength
Description copied from interface:HibernateCriteriaBuilder
Determines the length of an array.- Specified by:
arrayLength
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayLength
in interfaceNodeBuilder
-
arrayConcat
public <T> SqmExpression<T[]> arrayConcat(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilder
Concatenates arrays with each other in order.- Specified by:
arrayConcat
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayConcat
in interfaceNodeBuilder
-
arrayConcat
Description copied from interface:HibernateCriteriaBuilder
Concatenates arrays with each other in order.- Specified by:
arrayConcat
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayConcat
in interfaceNodeBuilder
-
arrayConcat
Description copied from interface:HibernateCriteriaBuilder
Concatenates arrays with each other in order.- Specified by:
arrayConcat
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayConcat
in interfaceNodeBuilder
-
arrayAppend
public <T> SqmExpression<T[]> arrayAppend(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Appends element to array.- Specified by:
arrayAppend
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayAppend
in interfaceNodeBuilder
-
arrayAppend
Description copied from interface:HibernateCriteriaBuilder
Appends element to array.- Specified by:
arrayAppend
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayAppend
in interfaceNodeBuilder
-
arrayPrepend
public <T> SqmExpression<T[]> arrayPrepend(Expression<T> elementExpression, Expression<T[]> arrayExpression) Description copied from interface:HibernateCriteriaBuilder
Prepends element to array.- Specified by:
arrayPrepend
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayPrepend
in interfaceNodeBuilder
-
arrayPrepend
Description copied from interface:HibernateCriteriaBuilder
Prepends element to array.- Specified by:
arrayPrepend
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayPrepend
in interfaceNodeBuilder
-
arrayContains
public <T> SqmPredicate arrayContains(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Whether an array contains an element.- Specified by:
arrayContains
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayContains
in interfaceNodeBuilder
-
arrayContains
Description copied from interface:HibernateCriteriaBuilder
Whether an array contains an element.- Specified by:
arrayContains
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayContains
in interfaceNodeBuilder
-
arrayContains
Description copied from interface:HibernateCriteriaBuilder
Whether an array contains an element.- Specified by:
arrayContains
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayContains
in interfaceNodeBuilder
-
arrayContainsNullable
public <T> SqmPredicate arrayContainsNullable(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Whether an array contains a nullable element.- Specified by:
arrayContainsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayContainsNullable
in interfaceNodeBuilder
-
arrayContainsNullable
Description copied from interface:HibernateCriteriaBuilder
Whether an array contains a nullable element.- Specified by:
arrayContainsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayContainsNullable
in interfaceNodeBuilder
-
arrayContainsNullable
Description copied from interface:HibernateCriteriaBuilder
Whether an array contains a nullable element.- Specified by:
arrayContainsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayContainsNullable
in interfaceNodeBuilder
-
arrayIncludes
public <T> SqmPredicate arrayIncludes(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array.- Specified by:
arrayIncludes
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIncludes
in interfaceNodeBuilder
-
arrayIncludes
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array.- Specified by:
arrayIncludes
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIncludes
in interfaceNodeBuilder
-
arrayIncludes
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array.- Specified by:
arrayIncludes
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIncludes
in interfaceNodeBuilder
-
arrayIncludesNullable
public <T> SqmPredicate arrayIncludesNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIncludesNullable
in interfaceNodeBuilder
-
arrayIncludesNullable
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIncludesNullable
in interfaceNodeBuilder
-
arrayIncludesNullable
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIncludesNullable
in interfaceNodeBuilder
-
arrayIntersects
public <T> SqmPredicate arrayIntersects(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array.- Specified by:
arrayIntersects
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIntersects
in interfaceNodeBuilder
-
arrayIntersects
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array.- Specified by:
arrayIntersects
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIntersects
in interfaceNodeBuilder
-
arrayIntersects
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array.- Specified by:
arrayIntersects
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIntersects
in interfaceNodeBuilder
-
arrayIntersectsNullable
public <T> SqmPredicate arrayIntersectsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array, supportingnull
elements.- Specified by:
arrayIntersectsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIntersectsNullable
in interfaceNodeBuilder
-
arrayIntersectsNullable
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array, supportingnull
elements.- Specified by:
arrayIntersectsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIntersectsNullable
in interfaceNodeBuilder
-
arrayIntersectsNullable
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array, supportingnull
elements.- Specified by:
arrayIntersectsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayIntersectsNullable
in interfaceNodeBuilder
-
arrayGet
public <T> SqmExpression<T> arrayGet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilder
Accesses the element of an array by 1-based index.- Specified by:
arrayGet
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayGet
in interfaceNodeBuilder
-
arrayGet
Description copied from interface:HibernateCriteriaBuilder
Accesses the element of an array by 1-based index.- Specified by:
arrayGet
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayGet
in interfaceNodeBuilder
-
arraySet
public <T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element at given 1-based index.- Specified by:
arraySet
in interfaceHibernateCriteriaBuilder
- Specified by:
arraySet
in interfaceNodeBuilder
-
arraySet
public <T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, T element) Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element at given 1-based index.- Specified by:
arraySet
in interfaceHibernateCriteriaBuilder
- Specified by:
arraySet
in interfaceNodeBuilder
-
arraySet
public <T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Integer index, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element at given 1-based index.- Specified by:
arraySet
in interfaceHibernateCriteriaBuilder
- Specified by:
arraySet
in interfaceNodeBuilder
-
arraySet
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element at given 1-based index.- Specified by:
arraySet
in interfaceHibernateCriteriaBuilder
- Specified by:
arraySet
in interfaceNodeBuilder
-
arrayRemove
public <T> SqmExpression<T[]> arrayRemove(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element removed.- Specified by:
arrayRemove
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayRemove
in interfaceNodeBuilder
-
arrayRemove
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element removed.- Specified by:
arrayRemove
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayRemove
in interfaceNodeBuilder
-
arrayRemoveIndex
public <T> SqmExpression<T[]> arrayRemoveIndex(Expression<T[]> arrayExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilder
Creates array copy with the element at the given 1-based index removed.- Specified by:
arrayRemoveIndex
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayRemoveIndex
in interfaceNodeBuilder
-
arrayRemoveIndex
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with the element at the given 1-based index removed.- Specified by:
arrayRemoveIndex
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayRemoveIndex
in interfaceNodeBuilder
-
arraySlice
public <T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilder
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlice
in interfaceHibernateCriteriaBuilder
- Specified by:
arraySlice
in interfaceNodeBuilder
-
arraySlice
public <T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilder
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlice
in interfaceHibernateCriteriaBuilder
- Specified by:
arraySlice
in interfaceNodeBuilder
-
arraySlice
public <T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilder
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlice
in interfaceHibernateCriteriaBuilder
- Specified by:
arraySlice
in interfaceNodeBuilder
-
arraySlice
public <T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilder
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlice
in interfaceHibernateCriteriaBuilder
- Specified by:
arraySlice
in interfaceNodeBuilder
-
arrayReplace
public <T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, Expression<T> newElementExpression) Description copied from interface:HibernateCriteriaBuilder
Creates array copy replacing a given element with another.- Specified by:
arrayReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayReplace
in interfaceNodeBuilder
-
arrayReplace
public <T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, T newElement) Description copied from interface:HibernateCriteriaBuilder
Creates array copy replacing a given element with another.- Specified by:
arrayReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayReplace
in interfaceNodeBuilder
-
arrayReplace
public <T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, T oldElement, Expression<T> newElementExpression) Description copied from interface:HibernateCriteriaBuilder
Creates array copy replacing a given element with another.- Specified by:
arrayReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayReplace
in interfaceNodeBuilder
-
arrayReplace
public <T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, T oldElement, T newElement) Description copied from interface:HibernateCriteriaBuilder
Creates array copy replacing a given element with another.- Specified by:
arrayReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayReplace
in interfaceNodeBuilder
-
arrayTrim
public <T> SqmExpression<T[]> arrayTrim(Expression<T[]> arrayExpression, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilder
Creates array copy without the last N elements, specified by the second argument.- Specified by:
arrayTrim
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayTrim
in interfaceNodeBuilder
-
arrayTrim
Description copied from interface:HibernateCriteriaBuilder
Creates array copy without the last N elements, specified by the second argument.- Specified by:
arrayTrim
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayTrim
in interfaceNodeBuilder
-
arrayFill
public <T> SqmExpression<T[]> arrayFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilder
Creates array with the same element N times, as specified by the arguments.- Specified by:
arrayFill
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayFill
in interfaceNodeBuilder
-
arrayFill
Description copied from interface:HibernateCriteriaBuilder
Creates array with the same element N times, as specified by the arguments.- Specified by:
arrayFill
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayFill
in interfaceNodeBuilder
-
arrayFill
Description copied from interface:HibernateCriteriaBuilder
Creates array with the same element N times, as specified by the arguments.- Specified by:
arrayFill
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayFill
in interfaceNodeBuilder
-
arrayFill
Description copied from interface:HibernateCriteriaBuilder
Creates array with the same element N times, as specified by the arguments.- Specified by:
arrayFill
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayFill
in interfaceNodeBuilder
-
arrayToString
public SqmExpression<String> arrayToString(Expression<? extends Object[]> arrayExpression, Expression<String> separatorExpression) Description copied from interface:HibernateCriteriaBuilder
Concatenates the non-null array elements with a separator, as specified by the arguments.- Specified by:
arrayToString
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayToString
in interfaceNodeBuilder
-
arrayToString
public SqmExpression<String> arrayToString(Expression<? extends Object[]> arrayExpression, String separator) Description copied from interface:HibernateCriteriaBuilder
Concatenates the non-null array elements with a separator, as specified by the arguments.- Specified by:
arrayToString
in interfaceHibernateCriteriaBuilder
- Specified by:
arrayToString
in interfaceNodeBuilder
-
collectionLiteral
Description copied from interface:HibernateCriteriaBuilder
Creates a basic collection literal with thearray
constructor function.- Specified by:
collectionLiteral
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionLiteral
in interfaceNodeBuilder
-
collectionPosition
public <E> SqmExpression<Integer> collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilder
Determines the 1-based position of an element in a basic collection.- Specified by:
collectionPosition
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionPosition
in interfaceNodeBuilder
-
collectionPosition
public <E> SqmExpression<Integer> collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Determines the 1-based position of an element in a basic collection.- Specified by:
collectionPosition
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionPosition
in interfaceNodeBuilder
-
collectionPositions
public <T> SqmExpression<int[]> collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositions
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionPositions
in interfaceNodeBuilder
-
collectionPositions
public <T> SqmExpression<int[]> collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, T element) Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositions
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionPositions
in interfaceNodeBuilder
-
collectionPositionsList
public <T> SqmExpression<List<Integer>> collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsList
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionPositionsList
in interfaceNodeBuilder
-
collectionPositionsList
public <T> SqmExpression<List<Integer>> collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, T element) Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsList
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionPositionsList
in interfaceNodeBuilder
-
collectionLength
public SqmExpression<Integer> collectionLength(Expression<? extends Collection<?>> collectionExpression) Description copied from interface:HibernateCriteriaBuilder
Determines the length of a basic collection.- Specified by:
collectionLength
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionLength
in interfaceNodeBuilder
-
collectionConcat
public <E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(Expression<C> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilder
Concatenates basic collections with each other in order.- Specified by:
collectionConcat
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionConcat
in interfaceNodeBuilder
-
collectionConcat
public <E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(Expression<C> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilder
Concatenates basic collections with each other in order.- Specified by:
collectionConcat
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionConcat
in interfaceNodeBuilder
-
collectionConcat
public <E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(C collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilder
Concatenates basic collections with each other in order.- Specified by:
collectionConcat
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionConcat
in interfaceNodeBuilder
-
collectionAppend
public <E,C extends Collection<? super E>> SqmExpression<C> collectionAppend(Expression<C> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Appends element to basic collection.- Specified by:
collectionAppend
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionAppend
in interfaceNodeBuilder
-
collectionAppend
public <E,C extends Collection<? super E>> SqmExpression<C> collectionAppend(Expression<C> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilder
Appends element to basic collection.- Specified by:
collectionAppend
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionAppend
in interfaceNodeBuilder
-
collectionPrepend
public <E,C extends Collection<? super E>> SqmExpression<C> collectionPrepend(Expression<? extends E> elementExpression, Expression<C> collectionExpression) Description copied from interface:HibernateCriteriaBuilder
Prepends element to basic collection.- Specified by:
collectionPrepend
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionPrepend
in interfaceNodeBuilder
-
collectionPrepend
public <E,C extends Collection<? super E>> SqmExpression<C> collectionPrepend(E element, Expression<C> collectionExpression) Description copied from interface:HibernateCriteriaBuilder
Prepends element to basic collection.- Specified by:
collectionPrepend
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionPrepend
in interfaceNodeBuilder
-
collectionContains
public <E> SqmPredicate collectionContains(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains an element.- Specified by:
collectionContains
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionContains
in interfaceNodeBuilder
-
collectionContains
public <E> SqmPredicate collectionContains(Expression<? extends Collection<E>> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains an element.- Specified by:
collectionContains
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionContains
in interfaceNodeBuilder
-
collectionContains
public <E> SqmPredicate collectionContains(Collection<E> collection, Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains an element.- Specified by:
collectionContains
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionContains
in interfaceNodeBuilder
-
collectionContainsNullable
public <E> SqmPredicate collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains a nullable element.- Specified by:
collectionContainsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionContainsNullable
in interfaceNodeBuilder
-
collectionContainsNullable
public <E> SqmPredicate collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains a nullable element.- Specified by:
collectionContainsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionContainsNullable
in interfaceNodeBuilder
-
collectionContainsNullable
public <E> SqmPredicate collectionContainsNullable(Collection<E> collection, Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains a nullable element.- Specified by:
collectionContainsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionContainsNullable
in interfaceNodeBuilder
-
collectionIncludes
public <E> SqmPredicate collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludes
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIncludes
in interfaceNodeBuilder
-
collectionIncludes
public <E> SqmPredicate collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludes
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIncludes
in interfaceNodeBuilder
-
collectionIncludes
public <E> SqmPredicate collectionIncludes(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludes
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIncludes
in interfaceNodeBuilder
-
collectionIncludesNullable
public <E> SqmPredicate collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIncludesNullable
in interfaceNodeBuilder
-
collectionIncludesNullable
public <E> SqmPredicate collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIncludesNullable
in interfaceNodeBuilder
-
collectionIncludesNullable
public <E> SqmPredicate collectionIncludesNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIncludesNullable
in interfaceNodeBuilder
-
collectionIntersects
public <E> SqmPredicate collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersects
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIntersects
in interfaceNodeBuilder
-
collectionIntersects
public <E> SqmPredicate collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersects
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIntersects
in interfaceNodeBuilder
-
collectionIntersects
public <E> SqmPredicate collectionIntersects(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersects
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIntersects
in interfaceNodeBuilder
-
collectionIntersectsNullable
public <E> SqmPredicate collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.- Specified by:
collectionIntersectsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIntersectsNullable
in interfaceNodeBuilder
-
collectionIntersectsNullable
public <E> SqmPredicate collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.- Specified by:
collectionIntersectsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIntersectsNullable
in interfaceNodeBuilder
-
collectionIntersectsNullable
public <E> SqmPredicate collectionIntersectsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.- Specified by:
collectionIntersectsNullable
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionIntersectsNullable
in interfaceNodeBuilder
-
collectionGet
public <E> SqmExpression<E> collectionGet(Expression<? extends Collection<E>> collectionExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilder
Accesses the element of the basic collection by 1-based index.- Specified by:
collectionGet
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionGet
in interfaceNodeBuilder
-
collectionGet
public <E> SqmExpression<E> collectionGet(Expression<? extends Collection<E>> collectionExpression, Integer index) Description copied from interface:HibernateCriteriaBuilder
Accesses the element of the basic collection by 1-based index.- Specified by:
collectionGet
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionGet
in interfaceNodeBuilder
-
collectionSet
public <E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element at given 1-based index.- Specified by:
collectionSet
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionSet
in interfaceNodeBuilder
-
collectionSet
public <E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, E element) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element at given 1-based index.- Specified by:
collectionSet
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionSet
in interfaceNodeBuilder
-
collectionSet
public <E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Integer index, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element at given 1-based index.- Specified by:
collectionSet
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionSet
in interfaceNodeBuilder
-
collectionSet
public <E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Integer index, E element) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element at given 1-based index.- Specified by:
collectionSet
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionSet
in interfaceNodeBuilder
-
collectionRemove
public <E,C extends Collection<? super E>> SqmExpression<C> collectionRemove(Expression<C> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element removed.- Specified by:
collectionRemove
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionRemove
in interfaceNodeBuilder
-
collectionRemove
public <E,C extends Collection<? super E>> SqmExpression<C> collectionRemove(Expression<C> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element removed.- Specified by:
collectionRemove
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionRemove
in interfaceNodeBuilder
-
collectionRemoveIndex
public <C extends Collection<?>> SqmExpression<C> collectionRemoveIndex(Expression<C> collectionExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with the element at the given 1-based index removed.- Specified by:
collectionRemoveIndex
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionRemoveIndex
in interfaceNodeBuilder
-
collectionRemoveIndex
public <C extends Collection<?>> SqmExpression<C> collectionRemoveIndex(Expression<C> collectionExpression, Integer index) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with the element at the given 1-based index removed.- Specified by:
collectionRemoveIndex
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionRemoveIndex
in interfaceNodeBuilder
-
collectionSlice
public <C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilder
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlice
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionSlice
in interfaceNodeBuilder
-
collectionSlice
public <C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilder
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlice
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionSlice
in interfaceNodeBuilder
-
collectionSlice
public <C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilder
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlice
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionSlice
in interfaceNodeBuilder
-
collectionSlice
public <C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilder
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlice
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionSlice
in interfaceNodeBuilder
-
collectionReplace
public <E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, Expression<? extends E> newElementExpression) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy replacing a given element with another.- Specified by:
collectionReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionReplace
in interfaceNodeBuilder
-
collectionReplace
public <E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, E newElement) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy replacing a given element with another.- Specified by:
collectionReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionReplace
in interfaceNodeBuilder
-
collectionReplace
public <E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, E oldElement, Expression<? extends E> newElementExpression) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy replacing a given element with another.- Specified by:
collectionReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionReplace
in interfaceNodeBuilder
-
collectionReplace
public <E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, E oldElement, E newElement) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy replacing a given element with another.- Specified by:
collectionReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionReplace
in interfaceNodeBuilder
-
collectionTrim
public <C extends Collection<?>> SqmExpression<C> collectionTrim(Expression<C> collectionExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy without the last N elements, specified by the second argument.- Specified by:
collectionTrim
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionTrim
in interfaceNodeBuilder
-
collectionTrim
public <C extends Collection<?>> SqmExpression<C> collectionTrim(Expression<C> collectionExpression, Integer index) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy without the last N elements, specified by the second argument.- Specified by:
collectionTrim
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionTrim
in interfaceNodeBuilder
-
collectionFill
public <T> SqmExpression<Collection<T>> collectionFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFill
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionFill
in interfaceNodeBuilder
-
collectionFill
public <T> SqmExpression<Collection<T>> collectionFill(Expression<T> elementExpression, Integer elementCount) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFill
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionFill
in interfaceNodeBuilder
-
collectionFill
public <T> SqmExpression<Collection<T>> collectionFill(T element, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilder
Creates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFill
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionFill
in interfaceNodeBuilder
-
collectionFill
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFill
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionFill
in interfaceNodeBuilder
-
collectionToString
public SqmExpression<String> collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression) Description copied from interface:HibernateCriteriaBuilder
Concatenates the non-null basic collection elements with a separator, as specified by the arguments.- Specified by:
collectionToString
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionToString
in interfaceNodeBuilder
-
collectionToString
public SqmExpression<String> collectionToString(Expression<? extends Collection<?>> collectionExpression, String separator) Description copied from interface:HibernateCriteriaBuilder
Concatenates the non-null basic collection elements with a separator, as specified by the arguments.- Specified by:
collectionToString
in interfaceHibernateCriteriaBuilder
- Specified by:
collectionToString
in interfaceNodeBuilder
-
jsonValue
- Specified by:
jsonValue
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonValue
in interfaceNodeBuilder
- See Also:
-
jsonValue
public <T> SqmJsonValueExpression<T> jsonValue(Expression<?> jsonDocument, String jsonPath, Class<T> returningType) Description copied from interface:HibernateCriteriaBuilder
Extracts a value by JSON path from a JSON document.- Specified by:
jsonValue
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonValue
in interfaceNodeBuilder
-
jsonValue
public SqmJsonValueExpression<String> jsonValue(Expression<?> jsonDocument, Expression<String> jsonPath) - Specified by:
jsonValue
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonValue
in interfaceNodeBuilder
- See Also:
-
jsonValue
public <T> SqmJsonValueExpression<T> jsonValue(Expression<?> jsonDocument, Expression<String> jsonPath, Class<T> returningType) Description copied from interface:HibernateCriteriaBuilder
Extracts a value by JSON path from a JSON document.- Specified by:
jsonValue
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonValue
in interfaceNodeBuilder
-
jsonQuery
- Specified by:
jsonQuery
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonQuery
in interfaceNodeBuilder
- See Also:
-
jsonQuery
Description copied from interface:HibernateCriteriaBuilder
Queries values by JSON path from a JSON document.- Specified by:
jsonQuery
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonQuery
in interfaceNodeBuilder
-
jsonExists
Description copied from interface:HibernateCriteriaBuilder
Checks if a JSON document contains a node for the given JSON path.- Specified by:
jsonExists
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonExists
in interfaceNodeBuilder
-
jsonExists
Description copied from interface:HibernateCriteriaBuilder
Checks if a JSON document contains a node for the given JSON path.- Specified by:
jsonExists
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonExists
in interfaceNodeBuilder
-
jsonArrayWithNulls
Description copied from interface:HibernateCriteriaBuilder
Create a JSON object from the given array of values, retainingnull
values in the JSON array.- Specified by:
jsonArrayWithNulls
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonArrayWithNulls
in interfaceNodeBuilder
-
jsonArray
Description copied from interface:HibernateCriteriaBuilder
Create a JSON array from the array of values.- Specified by:
jsonArray
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonArray
in interfaceNodeBuilder
-
jsonArrayAgg
Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value into a JSON array.- Specified by:
jsonArrayAgg
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonArrayAgg
in interfaceNodeBuilder
-
jsonArrayAgg
public SqmExpression<String> jsonArrayAgg(Expression<?> value, Predicate filter, JpaOrder... orderBy) Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value into a JSON array. Filtering rows that don't match the given filter predicate. Ordering values based on the given order by items.- Specified by:
jsonArrayAgg
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonArrayAgg
in interfaceNodeBuilder
-
jsonArrayAgg
Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value into a JSON array. Filtering rows that don't match the given filter predicate.- Specified by:
jsonArrayAgg
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonArrayAgg
in interfaceNodeBuilder
-
jsonArrayAgg
Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value into a JSON array. Ordering values based on the given order by items.- Specified by:
jsonArrayAgg
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonArrayAgg
in interfaceNodeBuilder
-
jsonArrayAggWithNulls
Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value into a JSON array, retainingnull
values in the JSON array.- Specified by:
jsonArrayAggWithNulls
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonArrayAggWithNulls
in interfaceNodeBuilder
-
jsonArrayAggWithNulls
public SqmExpression<String> jsonArrayAggWithNulls(Expression<?> value, Predicate filter, JpaOrder... orderBy) Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value into a JSON array, retainingnull
values in the JSON array. Filtering rows that don't match the given filter predicate. Ordering values based on the given order by items.- Specified by:
jsonArrayAggWithNulls
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonArrayAggWithNulls
in interfaceNodeBuilder
-
jsonArrayAggWithNulls
Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value into a JSON array, retainingnull
values in the JSON array. Filtering rows that don't match the given filter predicate.- Specified by:
jsonArrayAggWithNulls
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonArrayAggWithNulls
in interfaceNodeBuilder
-
jsonArrayAggWithNulls
Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value into a JSON array, retainingnull
values in the JSON array. Ordering values based on the given order by items.- Specified by:
jsonArrayAggWithNulls
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonArrayAggWithNulls
in interfaceNodeBuilder
-
jsonObjectAggWithUniqueKeysAndNulls
public SqmExpression<String> jsonObjectAggWithUniqueKeysAndNulls(Expression<?> key, Expression<?> value) Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value under the given key into a JSON object, retainingnull
values in the JSON object.- Specified by:
jsonObjectAggWithUniqueKeysAndNulls
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonObjectAggWithUniqueKeysAndNulls
in interfaceNodeBuilder
-
jsonObjectAggWithUniqueKeys
Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value under the given key into a JSON object.- Specified by:
jsonObjectAggWithUniqueKeys
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonObjectAggWithUniqueKeys
in interfaceNodeBuilder
-
jsonObjectAggWithNulls
Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value under the given key into a JSON object, retainingnull
values in the JSON object.- Specified by:
jsonObjectAggWithNulls
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonObjectAggWithNulls
in interfaceNodeBuilder
-
jsonObjectAgg
Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value under the given key into a JSON object.- Specified by:
jsonObjectAgg
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonObjectAgg
in interfaceNodeBuilder
-
jsonObjectAggWithUniqueKeysAndNulls
public SqmExpression<String> jsonObjectAggWithUniqueKeysAndNulls(Expression<?> key, Expression<?> value, Predicate filter) Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value under the given key into a JSON object, retainingnull
values in the JSON object.- Specified by:
jsonObjectAggWithUniqueKeysAndNulls
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonObjectAggWithUniqueKeysAndNulls
in interfaceNodeBuilder
-
jsonObjectAggWithUniqueKeys
public SqmExpression<String> jsonObjectAggWithUniqueKeys(Expression<?> key, Expression<?> value, Predicate filter) Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value under the given key into a JSON object.- Specified by:
jsonObjectAggWithUniqueKeys
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonObjectAggWithUniqueKeys
in interfaceNodeBuilder
-
jsonObjectAggWithNulls
public SqmExpression<String> jsonObjectAggWithNulls(Expression<?> key, Expression<?> value, Predicate filter) Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value under the given key into a JSON object, retainingnull
values in the JSON object.- Specified by:
jsonObjectAggWithNulls
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonObjectAggWithNulls
in interfaceNodeBuilder
-
jsonObjectAgg
public SqmExpression<String> jsonObjectAgg(Expression<?> key, Expression<?> value, Predicate filter) Description copied from interface:HibernateCriteriaBuilder
Aggregates the given value under the given key into a JSON object.- Specified by:
jsonObjectAgg
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonObjectAgg
in interfaceNodeBuilder
-
jsonObjectWithNulls
Description copied from interface:HibernateCriteriaBuilder
Create a JSON object from the given map of key values, retainingnull
values in the JSON.- Specified by:
jsonObjectWithNulls
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonObjectWithNulls
in interfaceNodeBuilder
-
jsonObject
Description copied from interface:HibernateCriteriaBuilder
Create a JSON object from the given map of key values.- Specified by:
jsonObject
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonObject
in interfaceNodeBuilder
-
jsonSet
public SqmExpression<String> jsonSet(Expression<?> jsonDocument, Expression<String> jsonPath, Object value) Description copied from interface:HibernateCriteriaBuilder
Inserts/Replaces a value by JSON path within a JSON document.- Specified by:
jsonSet
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonSet
in interfaceNodeBuilder
-
jsonSet
Description copied from interface:HibernateCriteriaBuilder
Inserts/Replaces a value by JSON path within a JSON document.- Specified by:
jsonSet
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonSet
in interfaceNodeBuilder
-
jsonSet
public SqmExpression<String> jsonSet(Expression<?> jsonDocument, String jsonPath, Expression<?> value) Description copied from interface:HibernateCriteriaBuilder
Inserts/Replaces a value by JSON path within a JSON document.- Specified by:
jsonSet
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonSet
in interfaceNodeBuilder
-
jsonSet
public SqmExpression<String> jsonSet(Expression<?> jsonDocument, Expression<String> jsonPath, Expression<?> value) Description copied from interface:HibernateCriteriaBuilder
Inserts/Replaces a value by JSON path within a JSON document.- Specified by:
jsonSet
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonSet
in interfaceNodeBuilder
-
jsonRemove
Description copied from interface:HibernateCriteriaBuilder
Removes a value by JSON path within a JSON document.- Specified by:
jsonRemove
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonRemove
in interfaceNodeBuilder
-
jsonRemove
Description copied from interface:HibernateCriteriaBuilder
Removes a value by JSON path within a JSON document.- Specified by:
jsonRemove
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonRemove
in interfaceNodeBuilder
-
jsonInsert
public SqmExpression<String> jsonInsert(Expression<?> jsonDocument, Expression<String> jsonPath, Object value) Description copied from interface:HibernateCriteriaBuilder
Inserts a value by JSON path within a JSON document.- Specified by:
jsonInsert
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonInsert
in interfaceNodeBuilder
-
jsonInsert
Description copied from interface:HibernateCriteriaBuilder
Inserts a value by JSON path within a JSON document.- Specified by:
jsonInsert
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonInsert
in interfaceNodeBuilder
-
jsonInsert
public SqmExpression<String> jsonInsert(Expression<?> jsonDocument, String jsonPath, Expression<?> value) Description copied from interface:HibernateCriteriaBuilder
Inserts a value by JSON path within a JSON document.- Specified by:
jsonInsert
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonInsert
in interfaceNodeBuilder
-
jsonInsert
public SqmExpression<String> jsonInsert(Expression<?> jsonDocument, Expression<String> jsonPath, Expression<?> value) Description copied from interface:HibernateCriteriaBuilder
Inserts a value by JSON path within a JSON document.- Specified by:
jsonInsert
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonInsert
in interfaceNodeBuilder
-
jsonReplace
public SqmExpression<String> jsonReplace(Expression<?> jsonDocument, Expression<String> jsonPath, Object value) Description copied from interface:HibernateCriteriaBuilder
Replaces a value by JSON path within a JSON document.- Specified by:
jsonReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonReplace
in interfaceNodeBuilder
-
jsonReplace
Description copied from interface:HibernateCriteriaBuilder
Replaces a value by JSON path within a JSON document.- Specified by:
jsonReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonReplace
in interfaceNodeBuilder
-
jsonReplace
public SqmExpression<String> jsonReplace(Expression<?> jsonDocument, String jsonPath, Expression<?> value) Description copied from interface:HibernateCriteriaBuilder
Replaces a value by JSON path within a JSON document.- Specified by:
jsonReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonReplace
in interfaceNodeBuilder
-
jsonReplace
public SqmExpression<String> jsonReplace(Expression<?> jsonDocument, Expression<String> jsonPath, Expression<?> value) Description copied from interface:HibernateCriteriaBuilder
Replaces a value by JSON path within a JSON document.- Specified by:
jsonReplace
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonReplace
in interfaceNodeBuilder
-
jsonMergepatch
Description copied from interface:HibernateCriteriaBuilder
Applies the patch JSON document onto the other JSON document and returns that.- Specified by:
jsonMergepatch
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonMergepatch
in interfaceNodeBuilder
-
jsonMergepatch
Description copied from interface:HibernateCriteriaBuilder
Applies the patch JSON document onto the other JSON document and returns that.- Specified by:
jsonMergepatch
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonMergepatch
in interfaceNodeBuilder
-
jsonMergepatch
Description copied from interface:HibernateCriteriaBuilder
Applies the patch JSON document onto the other JSON document and returns that.- Specified by:
jsonMergepatch
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonMergepatch
in interfaceNodeBuilder
-
xmlelement
Description copied from interface:HibernateCriteriaBuilder
Creates an XML element with the given element name.- Specified by:
xmlelement
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlelement
in interfaceNodeBuilder
-
xmlcomment
Description copied from interface:HibernateCriteriaBuilder
Creates an XML comment with the given argument as content.- Specified by:
xmlcomment
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlcomment
in interfaceNodeBuilder
-
named
Description copied from interface:HibernateCriteriaBuilder
Creates a named expression. The name is important for the result of the expression, e.g. when building anxmlforest
, the name acts as the XML element name.- Specified by:
named
in interfaceHibernateCriteriaBuilder
- Specified by:
named
in interfaceNodeBuilder
- See Also:
-
xmlforest
Description copied from interface:HibernateCriteriaBuilder
Creates an XML forest from the given XML element expressions.- Specified by:
xmlforest
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlforest
in interfaceNodeBuilder
- See Also:
-
xmlforest
Description copied from interface:HibernateCriteriaBuilder
Creates an XML forest from the given XML element expressions.- Specified by:
xmlforest
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlforest
in interfaceNodeBuilder
- See Also:
-
xmlconcat
Description copied from interface:HibernateCriteriaBuilder
Concatenates the given XML element expressions.- Specified by:
xmlconcat
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlconcat
in interfaceNodeBuilder
-
xmlconcat
Description copied from interface:HibernateCriteriaBuilder
Concatenates the given XML element expressions.- Specified by:
xmlconcat
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlconcat
in interfaceNodeBuilder
-
xmlpi
Description copied from interface:HibernateCriteriaBuilder
Creates an XML processing with the given name.- Specified by:
xmlpi
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlpi
in interfaceNodeBuilder
-
xmlpi
Description copied from interface:HibernateCriteriaBuilder
Creates an XML processing with the given name and content.- Specified by:
xmlpi
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlpi
in interfaceNodeBuilder
-
xmlquery
Description copied from interface:HibernateCriteriaBuilder
Queries the given XML document with the given XPath or XQuery query.- Specified by:
xmlquery
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlquery
in interfaceNodeBuilder
-
xmlquery
Description copied from interface:HibernateCriteriaBuilder
Queries the given XML document with the given XPath or XQuery query.- Specified by:
xmlquery
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlquery
in interfaceNodeBuilder
-
xmlexists
Description copied from interface:HibernateCriteriaBuilder
Checks if the given XPath or XQuery query exists in the given XML document.- Specified by:
xmlexists
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlexists
in interfaceNodeBuilder
-
xmlexists
Description copied from interface:HibernateCriteriaBuilder
Checks if the given XPath or XQuery query exists in the given XML document.- Specified by:
xmlexists
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlexists
in interfaceNodeBuilder
-
xmlagg
- Specified by:
xmlagg
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlagg
in interfaceNodeBuilder
- See Also:
-
xmlagg
- Specified by:
xmlagg
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlagg
in interfaceNodeBuilder
- See Also:
-
xmlagg
- Specified by:
xmlagg
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlagg
in interfaceNodeBuilder
- See Also:
-
xmlagg
public SqmExpression<String> xmlagg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?> argument) Description copied from interface:HibernateCriteriaBuilder
Create axmlagg
ordered set-aggregate function expression.- Specified by:
xmlagg
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlagg
in interfaceNodeBuilder
- Parameters:
order
- order by clause used in within groupfilter
- optional filter clausewindow
- optional window over which to apply the functionargument
- values to join- Returns:
- ordered set-aggregate expression
- See Also:
-
setReturningFunction
Description copied from interface:HibernateCriteriaBuilder
Create a new set-returning function expression.- Specified by:
setReturningFunction
in interfaceHibernateCriteriaBuilder
- Specified by:
setReturningFunction
in interfaceNodeBuilder
- See Also:
-
unnestArray
Description copied from interface:HibernateCriteriaBuilder
Creates an unnest function expression to turn an array into a set of rows.- Specified by:
unnestArray
in interfaceHibernateCriteriaBuilder
- Specified by:
unnestArray
in interfaceNodeBuilder
- See Also:
-
unnestCollection
public <E> SqmSetReturningFunction<E> unnestCollection(Expression<? extends Collection<E>> collection) Description copied from interface:HibernateCriteriaBuilder
Creates an unnest function expression to turn an array into a set of rows.- Specified by:
unnestCollection
in interfaceHibernateCriteriaBuilder
- Specified by:
unnestCollection
in interfaceNodeBuilder
- See Also:
-
generateTimeSeries
public <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(Expression<E> start, Expression<E> stop, Expression<? extends TemporalAmount> step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateTimeSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateTimeSeries
in interfaceNodeBuilder
- See Also:
-
generateTimeSeries
public <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(E start, E stop, TemporalAmount step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateTimeSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateTimeSeries
in interfaceNodeBuilder
- See Also:
-
generateTimeSeries
public <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(E start, Expression<E> stop, TemporalAmount step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateTimeSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateTimeSeries
in interfaceNodeBuilder
- See Also:
-
generateTimeSeries
public <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(Expression<E> start, E stop, TemporalAmount step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateTimeSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateTimeSeries
in interfaceNodeBuilder
- See Also:
-
generateTimeSeries
public <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(Expression<E> start, Expression<E> stop, TemporalAmount step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateTimeSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateTimeSeries
in interfaceNodeBuilder
- See Also:
-
generateTimeSeries
public <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(E start, E stop, Expression<? extends TemporalAmount> step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateTimeSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateTimeSeries
in interfaceNodeBuilder
- See Also:
-
generateTimeSeries
public <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(Expression<E> start, E stop, Expression<? extends TemporalAmount> step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateTimeSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateTimeSeries
in interfaceNodeBuilder
- See Also:
-
generateTimeSeries
public <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(E start, Expression<E> stop, Expression<? extends TemporalAmount> step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateTimeSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateTimeSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
public <E extends Number> SqmSetReturningFunction<E> generateSeries(Expression<E> start, Expression<E> stop, Expression<E> step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
public <E extends Number> SqmSetReturningFunction<E> generateSeries(E start, E stop, Expression<E> step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
public <E extends Number> SqmSetReturningFunction<E> generateSeries(Expression<E> start, E stop, E step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
public <E extends Number> SqmSetReturningFunction<E> generateSeries(E start, Expression<E> stop, E step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
public <E extends Number> SqmSetReturningFunction<E> generateSeries(Expression<E> start, Expression<E> stop, E step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
public <E extends Number> SqmSetReturningFunction<E> generateSeries(Expression<E> start, E stop, Expression<E> step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
public <E extends Number> SqmSetReturningFunction<E> generateSeries(E start, Expression<E> stop, Expression<E> step) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
public <E extends Number> SqmSetReturningFunction<E> generateSeries(Expression<E> start, Expression<E> stop) Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
generateSeries
Description copied from interface:HibernateCriteriaBuilder
Creates agenerate_series
function expression to generate a set of values as rows.- Specified by:
generateSeries
in interfaceHibernateCriteriaBuilder
- Specified by:
generateSeries
in interfaceNodeBuilder
- See Also:
-
jsonTable
Description copied from interface:HibernateCriteriaBuilder
Creates ajson_table
function expression to generate rows from JSON array elements.- Specified by:
jsonTable
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonTable
in interfaceNodeBuilder
- See Also:
-
jsonTable
Description copied from interface:HibernateCriteriaBuilder
Creates ajson_table
function expression to generate rows from JSON array elements.- Specified by:
jsonTable
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonTable
in interfaceNodeBuilder
- See Also:
-
jsonTable
public SqmJsonTableFunction<?> jsonTable(Expression<?> jsonDocument, @Nullable Expression<String> jsonPath) Description copied from interface:HibernateCriteriaBuilder
Creates ajson_table
function expression to generate rows from JSON array elements.- Specified by:
jsonTable
in interfaceHibernateCriteriaBuilder
- Specified by:
jsonTable
in interfaceNodeBuilder
- See Also:
-
xmlTable
Description copied from interface:HibernateCriteriaBuilder
Creates axmltable
function expression to generate rows from XML elements.- Specified by:
xmlTable
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlTable
in interfaceNodeBuilder
- See Also:
-
xmlTable
Description copied from interface:HibernateCriteriaBuilder
Creates axmltable
function expression to generate rows from XML elements.- Specified by:
xmlTable
in interfaceHibernateCriteriaBuilder
- Specified by:
xmlTable
in interfaceNodeBuilder
- See Also:
-