Class SqmCriteriaNodeBuilder
- All Implemented Interfaces:
CriteriaBuilder,Serializable,HibernateCriteriaBuilder,NodeBuilder,SqmCreationContext
CriteriaBuilder by
using SQM nodes as the JPA Criteria nodes- Author:
- Steve Ebersole
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.CriteriaBuilder
CriteriaBuilder.Case<R>, CriteriaBuilder.Coalesce<T>, CriteriaBuilder.In<T>, CriteriaBuilder.SimpleCase<C,R>, CriteriaBuilder.Trimspec -
Constructor Summary
ConstructorsConstructorDescriptionSqmCriteriaNodeBuilder(String uuid, String name, QueryEngine queryEngine, boolean jpaComplianceEnabled, ValueHandlingMode criteriaValueHandlingMode, Supplier<SessionFactoryImplementor> sessionFactory) -
Method Summary
Modifier and TypeMethodDescription<N extends Number>
SqmExpression<N>abs(Expression<N> x) Create an expression that returns the absolute value of its argument.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.Create an all expression over the subquery results.and(Expression<Boolean> x, Expression<Boolean> y) Create a conjunction of the given boolean expressions.Create a conjunction of the given restriction predicates.Create an any expression over the subquery results.Create an array-valued selection item.<Y> JpaCompoundSelection<Y><Y> JpaCompoundSelection<Y>array(Class<Y> resultClass, List<? extends JpaSelection<?>> selections) array(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_aggordered 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> SqmPredicatearrayContains(Expression<T[]> arrayExpression, Expression<T> elementExpression) Whether an array contains an element.<T> SqmPredicatearrayContains(Expression<T[]> arrayExpression, T element) Whether an array contains an element.<T> SqmPredicatearrayContains(T[] array, Expression<T> elementExpression) Whether an array contains an element.<T> SqmPredicatearrayContainsNullable(Expression<T[]> arrayExpression, Expression<T> elementExpression) Whether an array contains a nullable element.<T> SqmPredicatearrayContainsNullable(Expression<T[]> arrayExpression, T element) Whether an array contains a nullable element.<T> SqmPredicatearrayContainsNullable(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> SqmPredicatearrayIncludes(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Whether an array is a subset of another array.<T> SqmPredicatearrayIncludes(Expression<T[]> arrayExpression, T[] subArray) Whether an array is a subset of another array.<T> SqmPredicatearrayIncludes(T[] array, Expression<T[]> subArrayExpression) Whether an array is a subset of another array.<T> SqmPredicatearrayIncludesNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Whether an array is a subset of another array with nullable elements.<T> SqmPredicatearrayIncludesNullable(Expression<T[]> arrayExpression, T[] subArray) Whether an array is a subset of another array with nullable elements.<T> SqmPredicatearrayIncludesNullable(T[] array, Expression<T[]> subArrayExpression) Whether an array is a subset of another array with nullable elements.<T> SqmPredicatearrayIntersects(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array.<T> SqmPredicatearrayIntersects(Expression<T[]> arrayExpression1, T[] array2) Whether one array has any elements common with another array.<T> SqmPredicatearrayIntersects(T[] array1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array.<T> SqmPredicatearrayIntersectsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array, supportingnullelements.<T> SqmPredicatearrayIntersectsNullable(Expression<T[]> arrayExpression1, T[] array2) Whether one array has any elements common with another array, supportingnullelements.<T> SqmPredicatearrayIntersectsNullable(T[] array1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array, supportingnullelements.<T> SqmExpression<Integer>arrayLength(Expression<T[]> arrayExpression) Determines the length of an array.<T> SqmExpression<T[]>arrayLiteral(T... elements) Creates an array literal with thearrayconstructor 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) Create an ordering by the ascending value of the expression.asc(Expression<?> x, boolean nullsFirst) Create an ordering by the ascending value of the expression.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 ofyoverx.atan2(Expression<? extends Number> y, Number x) atan2(Number y, Expression<? extends Number> x) <N extends Number>
SqmExpression<Double>avg(Expression<N> argument) Create an aggregate expression applying the avg operation.<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 anavgaggregate 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) Create a predicate for testing whether the first argument is between the second and third arguments in value.<Y extends Comparable<? super Y>>
SqmPredicatebetween(Expression<? extends Y> value, Y lower, Y upper) Create a predicate for testing whether the first argument is between the second and third arguments in value.<X,T> SqmExpression<X> cast(JpaExpression<T> expression, Class<X> castTargetJavaType) <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()Create a coalesce expression.<Y> JpaCoalesce<Y>coalesce(Expression<? extends Y> x, Expression<? extends Y> y) Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.<Y> JpaCoalesce<Y>coalesce(Expression<? extends Y> x, Y y) Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.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> SqmPredicatecollectionContains(Expression<? extends Collection<E>> collectionExpression, E element) Whether a basic collection contains an element.<E> SqmPredicatecollectionContains(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression) Whether a basic collection contains an element.<E> SqmPredicatecollectionContains(Collection<E> collection, Expression<E> elementExpression) Whether a basic collection contains an element.<E> SqmPredicatecollectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, E element) Whether a basic collection contains a nullable element.<E> SqmPredicatecollectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression) Whether a basic collection contains a nullable element.<E> SqmPredicatecollectionContainsNullable(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> SqmPredicatecollectionIncludes(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Whether a basic collection is a subset of another basic collection.<E> SqmPredicatecollectionIncludes(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Whether a basic collection is a subset of another basic collection.<E> SqmPredicatecollectionIncludes(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Whether a basic collection is a subset of another basic collection.<E> SqmPredicatecollectionIncludesNullable(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> SqmPredicatecollectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Whether a basic collection is a subset of another basic collection with nullable elements.<E> SqmPredicatecollectionIncludesNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Whether a basic collection is a subset of another basic collection with nullable elements.<E> SqmPredicatecollectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection.<E> SqmPredicatecollectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Whether one basic collection has any elements common with another basic collection.<E> SqmPredicatecollectionIntersects(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection.<E> SqmPredicatecollectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection, supportingnullelements.<E> SqmPredicatecollectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Whether one basic collection has any elements common with another basic collection, supportingnullelements.<E> SqmPredicatecollectionIntersectsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection, supportingnullelements.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 thearrayconstructor 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.<T> SqmExpression<String>collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression) Concatenates the non-null basic collection elements with a separator, as specified by the arguments.<T> SqmExpression<String>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) Create an expression for string concatenation.concat(Expression<String> x, String y) Create an expression for string concatenation.concat(String x, Expression<String> y) Create an expression for string concatenation.Create a conjunction (with zero conjuncts).<Y> JpaCompoundSelection<Y>Create a selection item corresponding to a constructor.<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) Create an aggregate expression applying the count operation.count(Expression<?> argument, JpaPredicate filter) count(Expression<?> argument, JpaPredicate filter, JpaWindow window) Create acountaggregate function expression.count(Expression<?> argument, JpaWindow window) countDistinct(Expression<?> argument) Create an aggregate expression applying the count distinct operation.<T> SqmDeleteStatement<T>createCriteriaDelete(Class<T> targetEntity) Create aCriteriaDeletequery object to perform a bulk delete operation.<T> SqmInsertSelectStatement<T>createCriteriaInsertSelect(Class<T> targetEntity) <T> SqmInsertValuesStatement<T>createCriteriaInsertValues(Class<T> targetEntity) <T> SqmUpdateStatement<T>createCriteriaUpdate(Class<T> targetEntity) Create aCriteriaUpdatequery object to perform a bulk update operation.Create aCriteriaQueryobject.<T> SqmSelectStatement<T>createQuery(Class<T> resultClass) Create aCriteriaQueryobject with the specified result type.<T> SqmSelectStatement<T>createQuery(String hql, Class<T> resultClass) Transform the given HQLselectquery to an equivalent criteria query.Create aCriteriaQueryobject that returns a tuple of objects as its result.Create an emptyJpaWindowto use with window and aggregate functions.Create acume_distwindow function expression.Create expression to return current date.Create expression to return current time.Create expression to return current timestamp.day(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.DAYof 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_rankwindow function expression.desc(Expression<?> x) Create an ordering by the descending value of the expression.desc(Expression<?> x, boolean nullsFirst) Create an ordering by the descending value of the expression.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) Create an expression that returns the difference between its arguments.<N extends Number>
SqmExpression<N>diff(Expression<? extends N> x, N y) Create an expression that returns the difference between its arguments.<N extends Number>
SqmExpression<N>diff(N x, Expression<? extends N> y) Create an expression that returns the difference between its arguments.Create a disjunction (with zero disjuncts).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 aDurationto 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) Create a predicate for testing the arguments for equality.equal(Expression<?> x, Object y) Create a predicate for testing the arguments for equality.<T> JpaCriteriaQuery<T>except(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries) <T> JpaSubQuery<T>Create a predicate testing the existence of a subquery result.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.<T> SqmExpression<T>firstValue(Expression<T> argument, JpaWindow window) Create afirst_valuewindow 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_FOLLOWINGto use withJpaWindows.frameBetweenPreceding(int offset) frameBetweenPreceding(Expression<?> offset) Create window frame of typeFrameKind.OFFSET_PRECEDINGto use withJpaWindows.Create a window frame of typeFrameKind.CURRENT_ROWto use withJpaWindows.Create a window frame of typeFrameKind.UNBOUNDED_FOLLOWINGto use withJpaWindows.Create a window frame of typeFrameKind.UNBOUNDED_PRECEDINGto use withJpaWindows.<T> SqmFunction<T>function(String name, Class<T> type, Expression<?>[] args) Create an expression for the execution of a database function.<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) Create a predicate for testing whether the first argument is greater than or equal to the second.ge(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is greater than or equal to the second.Access to the domain model metadata<Y extends Comparable<? super Y>>
SqmPredicategreaterThan(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is greater than the second.<Y extends Comparable<? super Y>>
SqmPredicategreaterThan(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is greater than the second.<Y extends Comparable<? super Y>>
SqmPredicategreaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is greater than or equal to the second.<Y extends Comparable<? super Y>>
SqmPredicategreaterThanOrEqualTo(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is greater than or equal to the second.<X extends Comparable<? super X>>
SqmExpression<X>greatest(Expression<X> argument) Create an aggregate expression for finding the greatest of the values (strings, dates, etc).gt(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is greater than the second.gt(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is greater than the second.hour(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.HOURof 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) Create predicate to test whether given expression is contained in a list of values.<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><C extends Collection<?>>
SqmPredicateisEmpty(Expression<C> collection) Create a predicate that tests whether a collection is empty.isFalse(Expression<Boolean> x) Create a predicate testing for a false value.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) Create a predicate that tests whether an element is a member of a collection.<E,C extends Collection<E>>
SqmPredicateisMember(Expression<E> elem, Expression<C> collection) Create a predicate that tests whether an element is a member of a collection.<C extends Collection<?>>
SqmPredicateisNotEmpty(Expression<C> collection) Create a predicate that tests whether a collection is not empty.<E,C extends Collection<E>>
SqmPredicateisNotMember(E elem, Expression<C> collection) Create a predicate that tests whether an element is not a member of a collection.<E,C extends Collection<E>>
SqmPredicateisNotMember(Expression<E> elem, Expression<C> collection) Create a predicate that tests whether an element is not a member of a collection.isNotNull(Expression<?> x) Create a predicate to test whether the expression is not null.isNull(Expression<?> x) Create a predicate to test whether the expression is null.isTrue(Expression<Boolean> x) Create a predicate testing for a true value.<K,M extends Map<K, ?>>
SqmExpression<Set<K>>keys(M map) Create an expression that returns the keys of a map.<T> SqmExpression<T>lastValue(Expression<T> argument, JpaWindow window) Create alast_valuewindow function expression.le(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is less than or equal to the second.le(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is less than or equal to the second.<X extends Comparable<? super X>>
SqmExpression<X>least(Expression<X> argument) Create an aggregate expression for finding the least of the values (strings, dates, etc).left(Expression<String> x, int length) left(Expression<String> x, Expression<Integer> length) Extract thelengthleftmost characters of a string.length(Expression<String> argument) Create expression to return length of a string.<Y extends Comparable<? super Y>>
SqmPredicatelessThan(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is less than the second.<Y extends Comparable<? super Y>>
SqmPredicatelessThan(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is less than the second.<Y extends Comparable<? super Y>>
SqmPredicatelessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is less than or equal to the second.<Y extends Comparable<? super Y>>
SqmPredicatelessThanOrEqualTo(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is less than or equal to the second.like(Expression<String> searchString, Expression<String> pattern) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> searchString, Expression<String> pattern, char escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> searchString, Expression<String> pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> searchString, String pattern) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> searchString, String pattern, char escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> searchString, String pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.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 alistaggordered 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> SqmLiteral<T>literal(T value) Create an expression for a literal.<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) Create expression to locate the position of one string within another, returning position of first character if found.locate(Expression<String> source, Expression<String> pattern, Expression<Integer> startPosition) Create expression to locate the position of one string within another, returning position of first character if found.locate(Expression<String> source, String pattern) Create expression to locate the position of one string within another, returning position of first character if found.locate(Expression<String> source, String pattern, int startPosition) Create expression to locate the position of one string within another, returning position of first character if found.log(Expression<? extends Number> b, Expression<? extends Number> x) Create an expression that returns the logarithm ofxto 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) Create expression for converting a string to lowercase.lt(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is less than the second.lt(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is less than the second.<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) Create an aggregate expression applying the numerical max operation.<N extends Number>
SqmExpression<N>min(Expression<N> argument) Create an aggregate expression applying the numerical min operation.minute(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.MINUTEof a date, time, or datetime expression.mod(Expression<Integer> x, Expression<Integer> y) Create an expression that returns the modulus (remainder under integer division) of its arguments.mod(Expression<Integer> x, Integer y) Create an expression that returns the modulus (remainder under integer division) of its arguments.mod(Integer x, Expression<Integer> y) Create an expression that returns the modulus (remainder under integer division) of its arguments.<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 amodeordered set-aggregate function expression.<T> SqmExpression<T>mode(JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) month(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.MONTHof a date, time, or datetime expression.<N extends Number>
SqmExpression<N>neg(Expression<N> x) Create an expression that returns the arithmetic negation of its argument.not(Expression<Boolean> restriction) Create a negation of the given restriction.notDistinctFrom(Expression<?> x, Expression<?> y) notDistinctFrom(Expression<?> x, Object y) notEqual(Expression<?> x, Expression<?> y) Create a predicate for testing the arguments for inequality.notEqual(Expression<?> x, Object y) Create a predicate for testing the arguments for inequality.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) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, Expression<String> pattern, char escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, String pattern) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, String pattern, char escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, String pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.<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_valuewindow function expression.<Y> SqmExpression<Y>nullif(Expression<Y> x, Expression<?> y) Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.<Y> SqmExpression<Y>nullif(Expression<Y> x, Y y) Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.<T> SqmExpression<T>nullLiteral(Class<T> resultClass) Create an expression for a null literal with the given type.or(Expression<Boolean> x, Expression<Boolean> y) Create a disjunction of the given boolean expressions.Create a disjunction of the given restriction predicates.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 thestringexpression with thereplacementexpression, starting from indexstartand substituting a number of characters corresponding to the length of thereplacementexpression or thelengthparameter 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 thepadCharcharacter 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>Create a parameter expression.<T> JpaCriteriaParameter<T>Create a parameter expression with the given name.<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_contordered 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_discordered 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_rankordered set-aggregate function expression.percentRank(JpaOrder order, JpaWindow window, Expression<?>... arguments) percentRank(JpaWindow window) Create apercent_rankwindow 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) Create an expression that returns the product of its arguments.<N extends Number>
SqmExpression<N>prod(Expression<? extends N> x, N y) Create an expression that returns the product of its arguments.<N extends Number>
SqmExpression<N>prod(N x, Expression<? extends N> y) Create an expression that returns the product of its arguments.quot(Expression<? extends Number> x, Expression<? extends Number> y) Create an expression that returns the quotient of its arguments.quot(Expression<? extends Number> x, Number y) Create an expression that returns the quotient of its arguments.quot(Number x, Expression<? extends Number> y) Create an expression that returns the quotient of its arguments.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 arankordered set-aggregate function expression.rank(JpaOrder order, JpaWindow window, Expression<?>... arguments) Create arankwindow 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 ofpatternwithin 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 thelengthrightmost 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_numberwindow 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.SECONDof a date, time, or datetime expression.<R> SqmCaseSearched<R>Create a general case expression.<C,R> SqmCaseSimple<C, R> selectCase(Expression<? extends C> expression) Create a simple case expression.sign(Expression<? extends Number> x) Create an expression that returns the sign of its argument, that is,1if its argument is positive,-1if its argument is negative, or0if 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) Create an expression that tests the size of a collection.<C extends Collection<?>>
SqmExpression<Integer>size(Expression<C> collection) Create an expression that tests the size of a collection.Create a some expression over the subquery results.sort(JpaExpression<?> sortExpression) sort(JpaExpression<?> sortExpression, SortDirection sortOrder) sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase) <T> SqmFunction<T>sql(String pattern, Class<T> type, Expression<?>... arguments) Embed nativepatternthat will be unquoted and embedded in the generated SQL.sqrt(Expression<? extends Number> x) Create an expression that returns the square root of its argument.substring(Expression<String> source, int from) Create an expression for substring extraction.substring(Expression<String> source, int from, int len) Create an expression for substring extraction.substring(Expression<String> source, Expression<Integer> from) Create an expression for substring extraction.substring(Expression<String> source, Expression<Integer> from, Expression<Integer> len) Create an expression for substring extraction.<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) Create an expression that returns the sum of its arguments.<N extends Number>
SqmExpression<N>sum(Expression<? extends N> x, N y) Create an expression that returns the sum of its arguments.<N extends Number>
SqmExpression<N>sum(Expression<N> argument) Create an aggregate expression applying the sum operation.<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 asumaggregate 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) Create an expression that returns the sum of its arguments.sumAsDouble(Expression<Float> argument) Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result.sumAsLong(Expression<Integer> argument) Create an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result.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) Typecast.toBigInteger(Expression<? extends Number> number) Typecast.toDouble(Expression<? extends Number> number) Typecast.toFloat(Expression<? extends Number> number) Typecast.toInteger(Expression<? extends Number> number) Typecast.toLong(Expression<? extends Number> number) Typecast.toString(Expression<Character> character) Typecast.<X,T, E extends T>
SqmBagJoin<X,E> treat(CollectionJoin<X, T> join, Class<E> type) Downcast CollectionJoin object to the specified type.<X,T, V extends T>
SqmSingularJoin<X,V> Downcast Join object to the specified type.<X,T, E extends T>
SqmListJoin<X,E> Downcast ListJoin object to the specified type.<X,K, T, V extends T>
SqmMapJoin<X,K, V> Downcast MapJoin object to the specified type.<X,T extends X>
SqmPath<T>Downcast Path object to the specified type.<X,T extends X>
SqmRoot<T>Downcast Root object to the specified type.<X,T, E extends T>
SqmSetJoin<X,E> Downcast SetJoin object to the specified type.trim(char trimChar, Expression<String> source) Create expression to trim character from both ends of a string.trim(CriteriaBuilder.Trimspec ts, char trimChar, Expression<String> source) Create expression to trim character from a string.trim(CriteriaBuilder.Trimspec ts, Expression<Character> trimChar, Expression<String> source) Create expression to trim character from a string.trim(CriteriaBuilder.Trimspec ts, Expression<String> source) Create expression to trim blanks from a string.trim(Expression<Character> trimChar, Expression<String> source) Create expression to trim character from both ends of a string.trim(Expression<String> source) Create expression to trim blanks from both ends of a string.<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.Create a tuple-valued selection item.<R> SqmTuple<R>tuple(Class<R> tupleType, List<? extends SqmExpression<?>> expressions) <R> SqmTuple<R>tuple(Class<R> tupleType, SqmExpression<?>... expressions) tuple(List<? extends JpaSelection<?>> selections) <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 extends HibernateCriteriaBuilder>
Tupper(Expression<String> x) Create expression for converting a string to uppercase.<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) Create an expression that returns the values of a 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 SqmPredicatewrap(Expression<Boolean>... expressions) year(Expression<? extends TemporalAccessor> datetime) Extracts theTemporalUnit.YEARof a date, time, or datetime expression.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.criteria.HibernateCriteriaBuilder
except, except, exceptAll, exceptAll, intersect, intersect, intersectAll, intersectAll, union, union, unionAll, unionAllMethods 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, collectionOverlapsNullableMethods inherited from interface org.hibernate.query.sqm.spi.SqmCreationContext
getNodeBuilder, getServiceRegistry
-
Constructor Details
-
SqmCriteriaNodeBuilder
public SqmCriteriaNodeBuilder(String uuid, String name, QueryEngine queryEngine, boolean jpaComplianceEnabled, ValueHandlingMode criteriaValueHandlingMode, Supplier<SessionFactoryImplementor> sessionFactory)
-
-
Method Details
-
getDomainModel
- Specified by:
getDomainModelin interfaceNodeBuilder
-
getTypeConfiguration
- Specified by:
getTypeConfigurationin interfaceNodeBuilder- Specified by:
getTypeConfigurationin interfaceSqmCreationContext
-
isJpaQueryComplianceEnabled
public boolean isJpaQueryComplianceEnabled()- Specified by:
isJpaQueryComplianceEnabledin interfaceNodeBuilder
-
getSessionFactory
- Specified by:
getSessionFactoryin interfaceNodeBuilder
-
getBooleanType
- Specified by:
getBooleanTypein interfaceNodeBuilder
-
getIntegerType
- Specified by:
getIntegerTypein interfaceNodeBuilder
-
getLongType
- Specified by:
getLongTypein interfaceNodeBuilder
-
getCharacterType
- Specified by:
getCharacterTypein interfaceNodeBuilder
-
getSumReturnTypeResolver
-
getAvgReturnTypeResolver
-
getQueryEngine
- Specified by:
getQueryEnginein interfaceNodeBuilder- Specified by:
getQueryEnginein interfaceSqmCreationContext
-
getJpaMetamodel
Description copied from interface:SqmCreationContextAccess to the domain model metadata- Specified by:
getJpaMetamodelin interfaceSqmCreationContext
-
createQuery
Description copied from interface:CriteriaBuilderCreate aCriteriaQueryobject.- Specified by:
createQueryin interfaceCriteriaBuilder- Specified by:
createQueryin interfaceHibernateCriteriaBuilder- Specified by:
createQueryin interfaceNodeBuilder- Returns:
- criteria query object
-
createQuery
Description copied from interface:CriteriaBuilderCreate aCriteriaQueryobject with the specified result type.- Specified by:
createQueryin interfaceCriteriaBuilder- Specified by:
createQueryin interfaceHibernateCriteriaBuilder- Specified by:
createQueryin interfaceNodeBuilder- Parameters:
resultClass- type of the query result- Returns:
- criteria query object
-
createQuery
Description copied from interface:HibernateCriteriaBuilderTransform the given HQLselectquery to an equivalent criteria query.- Specified by:
createQueryin interfaceHibernateCriteriaBuilder- Specified by:
createQueryin interfaceNodeBuilder- Parameters:
hql- The HQLselectqueryresultClass- The result type of the query- Returns:
- The equivalent criteria query
-
createTupleQuery
Description copied from interface:CriteriaBuilderCreate aCriteriaQueryobject that returns a tuple of objects as its result.- Specified by:
createTupleQueryin interfaceCriteriaBuilder- Specified by:
createTupleQueryin interfaceHibernateCriteriaBuilder- Specified by:
createTupleQueryin interfaceNodeBuilder- Returns:
- criteria query object
-
createCriteriaUpdate
Description copied from interface:CriteriaBuilderCreate aCriteriaUpdatequery object to perform a bulk update operation.- Specified by:
createCriteriaUpdatein interfaceCriteriaBuilder- Specified by:
createCriteriaUpdatein interfaceHibernateCriteriaBuilder- Specified by:
createCriteriaUpdatein interfaceNodeBuilder- Parameters:
targetEntity- target type for update operation- Returns:
- the query object
-
createCriteriaDelete
Description copied from interface:CriteriaBuilderCreate aCriteriaDeletequery object to perform a bulk delete operation.- Specified by:
createCriteriaDeletein interfaceCriteriaBuilder- Specified by:
createCriteriaDeletein interfaceHibernateCriteriaBuilder- Specified by:
createCriteriaDeletein interfaceNodeBuilder- Parameters:
targetEntity- target type for delete operation- Returns:
- the query object
-
createCriteriaInsertValues
- Specified by:
createCriteriaInsertValuesin interfaceHibernateCriteriaBuilder- Specified by:
createCriteriaInsertValuesin interfaceNodeBuilder
-
createCriteriaInsertSelect
- Specified by:
createCriteriaInsertSelectin interfaceHibernateCriteriaBuilder- Specified by:
createCriteriaInsertSelectin interfaceNodeBuilder
-
values
- Specified by:
valuesin interfaceHibernateCriteriaBuilder- Specified by:
valuesin interfaceNodeBuilder
-
values
- Specified by:
valuesin interfaceHibernateCriteriaBuilder- Specified by:
valuesin interfaceNodeBuilder
-
union
public <T> JpaCriteriaQuery<T> union(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries) - Specified by:
unionin interfaceHibernateCriteriaBuilder
-
intersect
public <T> JpaCriteriaQuery<T> intersect(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries) - Specified by:
intersectin interfaceHibernateCriteriaBuilder
-
except
public <T> JpaCriteriaQuery<T> except(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries) - Specified by:
exceptin interfaceHibernateCriteriaBuilder
-
union
- Specified by:
unionin interfaceHibernateCriteriaBuilder
-
intersect
public <T> JpaSubQuery<T> intersect(boolean all, Subquery<? extends T> query1, Subquery<?>... queries) - Specified by:
intersectin interfaceHibernateCriteriaBuilder
-
except
- Specified by:
exceptin interfaceHibernateCriteriaBuilder
-
cast
- Specified by:
castin interfaceHibernateCriteriaBuilder- Specified by:
castin interfaceNodeBuilder
-
wrap
- Specified by:
wrapin interfaceHibernateCriteriaBuilder- Specified by:
wrapin interfaceNodeBuilder
-
wrap
- Specified by:
wrapin interfaceHibernateCriteriaBuilder- Specified by:
wrapin interfaceNodeBuilder
-
unwrap
- Specified by:
unwrapin interfaceHibernateCriteriaBuilder
-
fk
- Specified by:
fkin interfaceHibernateCriteriaBuilder- Specified by:
fkin interfaceNodeBuilder
-
treat
Description copied from interface:CriteriaBuilderDowncast Path object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Specified by:
treatin interfaceNodeBuilder- Parameters:
path- pathtype- type to be downcast to- Returns:
- Path object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast Root object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Specified by:
treatin interfaceNodeBuilder- Parameters:
root- roottype- type to be downcast to- Returns:
- Root object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast Join object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Specified by:
treatin interfaceNodeBuilder- Parameters:
join- Join objecttype- type to be downcast to- Returns:
- Join object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast CollectionJoin object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Specified by:
treatin interfaceNodeBuilder- Parameters:
join- CollectionJoin objecttype- type to be downcast to- Returns:
- CollectionJoin object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast SetJoin object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Specified by:
treatin interfaceNodeBuilder- Parameters:
join- SetJoin objecttype- type to be downcast to- Returns:
- SetJoin object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast ListJoin object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Specified by:
treatin interfaceNodeBuilder- Parameters:
join- ListJoin objecttype- type to be downcast to- Returns:
- ListJoin object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast MapJoin object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Specified by:
treatin interfaceNodeBuilder- Parameters:
join- MapJoin objecttype- type to be downcast to- Returns:
- MapJoin object of the specified type
-
sort
public SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) - Specified by:
sortin interfaceHibernateCriteriaBuilder- Specified by:
sortin interfaceNodeBuilder
-
sort
public SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase) - Specified by:
sortin interfaceHibernateCriteriaBuilder- Specified by:
sortin interfaceNodeBuilder
-
sort
- Specified by:
sortin interfaceHibernateCriteriaBuilder- Specified by:
sortin interfaceNodeBuilder
-
sort
- Specified by:
sortin interfaceHibernateCriteriaBuilder- Specified by:
sortin interfaceNodeBuilder
-
asc
Description copied from interface:CriteriaBuilderCreate an ordering by the ascending value of the expression.- Specified by:
ascin interfaceCriteriaBuilder- Specified by:
ascin interfaceHibernateCriteriaBuilder- Specified by:
ascin interfaceNodeBuilder- Parameters:
x- expression used to define the ordering- Returns:
- ascending ordering corresponding to the expression
-
desc
Description copied from interface:CriteriaBuilderCreate an ordering by the descending value of the expression.- Specified by:
descin interfaceCriteriaBuilder- Specified by:
descin interfaceHibernateCriteriaBuilder- Specified by:
descin interfaceNodeBuilder- Parameters:
x- expression used to define the ordering- Returns:
- descending ordering corresponding to the expression
-
asc
Description copied from interface:HibernateCriteriaBuilderCreate an ordering by the ascending value of the expression.- Specified by:
ascin interfaceHibernateCriteriaBuilder- Parameters:
x- expression used to define the orderingnullsFirst- Whethernullshould be sorted first- Returns:
- ascending ordering corresponding to the expression
-
desc
Description copied from interface:HibernateCriteriaBuilderCreate an ordering by the descending value of the expression.- Specified by:
descin interfaceHibernateCriteriaBuilder- Parameters:
x- expression used to define the orderingnullsFirst- Whethernullshould be sorted first- Returns:
- descending ordering corresponding to the expression
-
search
public JpaSearchOrder search(JpaCteCriteriaAttribute sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Description copied from interface:HibernateCriteriaBuilderCreate a search ordering based on the sort order and null precedence of the value of the CTE attribute.- Specified by:
searchin 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:HibernateCriteriaBuilderCreate a search ordering based on the sort order of the value of the CTE attribute.- Specified by:
searchin 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:HibernateCriteriaBuilderCreate a search ordering based on the ascending value of the CTE attribute.- Specified by:
searchin interfaceHibernateCriteriaBuilder- Parameters:
sortExpression- CTE attribute used to define the ordering- Returns:
- ascending ordering corresponding to the CTE attribute
-
asc
Description copied from interface:HibernateCriteriaBuilderCreate a search ordering by the ascending value of the CTE attribute.- Specified by:
ascin interfaceHibernateCriteriaBuilder- Parameters:
x- CTE attribute used to define the ordering- Returns:
- ascending ordering corresponding to the CTE attribute
-
desc
Description copied from interface:HibernateCriteriaBuilderCreate a search ordering by the descending value of the CTE attribute.- Specified by:
descin interfaceHibernateCriteriaBuilder- Parameters:
x- CTE attribute used to define the ordering- Returns:
- descending ordering corresponding to the CTE attribute
-
asc
Description copied from interface:HibernateCriteriaBuilderCreate a search ordering by the ascending value of the CTE attribute.- Specified by:
ascin interfaceHibernateCriteriaBuilder- Parameters:
x- CTE attribute used to define the orderingnullsFirst- Whethernullshould be sorted first- Returns:
- ascending ordering corresponding to the CTE attribute
-
desc
Description copied from interface:HibernateCriteriaBuilderCreate a search ordering by the descending value of the CTE attribute.- Specified by:
descin interfaceHibernateCriteriaBuilder- Parameters:
x- CTE attribute used to define the orderingnullsFirst- Whethernullshould be sorted first- Returns:
- descending ordering corresponding to the CTE attribute
-
tuple
Description copied from interface:CriteriaBuilderCreate a tuple-valued selection item.- Specified by:
tuplein interfaceCriteriaBuilder- Specified by:
tuplein interfaceHibernateCriteriaBuilder- Specified by:
tuplein interfaceNodeBuilder- Parameters:
selections- selection items- Returns:
- tuple-valued compound selection
-
tuple
- Specified by:
tuplein interfaceHibernateCriteriaBuilder- Specified by:
tuplein interfaceNodeBuilder
-
tuple
- Specified by:
tuplein interfaceNodeBuilder
-
tuple
- Specified by:
tuplein interfaceNodeBuilder
-
tuple
- Specified by:
tuplein interfaceNodeBuilder
-
tuple
public <R> SqmTuple<R> tuple(SqmExpressible<R> tupleType, List<? extends SqmExpression<?>> sqmExpressions) - Specified by:
tuplein interfaceNodeBuilder
-
array
Description copied from interface:CriteriaBuilderCreate an array-valued selection item.- Specified by:
arrayin interfaceCriteriaBuilder- Specified by:
arrayin interfaceHibernateCriteriaBuilder- Specified by:
arrayin interfaceNodeBuilder- Parameters:
selections- selection items- Returns:
- array-valued compound selection
-
array
- Specified by:
arrayin interfaceHibernateCriteriaBuilder- Specified by:
arrayin interfaceNodeBuilder
-
array
- Specified by:
arrayin interfaceHibernateCriteriaBuilder
-
array
public <Y> JpaCompoundSelection<Y> array(Class<Y> resultClass, List<? extends JpaSelection<?>> selections) - Specified by:
arrayin interfaceHibernateCriteriaBuilder
-
construct
Description copied from interface:CriteriaBuilderCreate a selection item corresponding to a constructor. This method is used to specify a constructor that will be applied to the results of the query execution. If the constructor is for an entity class, the resulting entities will be in the new state after the query is executed.- Specified by:
constructin interfaceCriteriaBuilder- Specified by:
constructin interfaceHibernateCriteriaBuilder- Specified by:
constructin interfaceNodeBuilder- Parameters:
resultClass- class whose instance is to be constructedarguments- arguments to the constructor- Returns:
- compound selection item
-
construct
public <Y> JpaCompoundSelection<Y> construct(Class<Y> resultClass, List<? extends JpaSelection<?>> arguments) - Specified by:
constructin interfaceHibernateCriteriaBuilder- Specified by:
constructin interfaceNodeBuilder
-
avg
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the avg operation.- Specified by:
avgin interfaceCriteriaBuilder- Specified by:
avgin interfaceHibernateCriteriaBuilder- Specified by:
avgin interfaceNodeBuilder- Parameters:
argument- expression representing input value to avg operation- Returns:
- avg expression
-
sum
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the sum operation.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder- Specified by:
sumin interfaceNodeBuilder- Parameters:
argument- expression representing input value to sum operation- Returns:
- sum expression
-
sumAsLong
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result.- Specified by:
sumAsLongin interfaceCriteriaBuilder- Specified by:
sumAsLongin interfaceHibernateCriteriaBuilder- Specified by:
sumAsLongin interfaceNodeBuilder- Parameters:
argument- expression representing input value to sum operation- Returns:
- sum expression
-
sumAsDouble
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result.- Specified by:
sumAsDoublein interfaceCriteriaBuilder- Specified by:
sumAsDoublein interfaceHibernateCriteriaBuilder- Specified by:
sumAsDoublein interfaceNodeBuilder- Parameters:
argument- expression representing input value to sum operation- Returns:
- sum expression
-
max
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the numerical max operation.- Specified by:
maxin interfaceCriteriaBuilder- Specified by:
maxin interfaceHibernateCriteriaBuilder- Specified by:
maxin interfaceNodeBuilder- Parameters:
argument- expression representing input value to max operation- Returns:
- max expression
-
min
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the numerical min operation.- Specified by:
minin interfaceCriteriaBuilder- Specified by:
minin interfaceHibernateCriteriaBuilder- Specified by:
minin interfaceNodeBuilder- Parameters:
argument- expression representing input value to min operation- Returns:
- min expression
-
greatest
Description copied from interface:CriteriaBuilderCreate an aggregate expression for finding the greatest of the values (strings, dates, etc).- Specified by:
greatestin interfaceCriteriaBuilder- Specified by:
greatestin interfaceHibernateCriteriaBuilder- Specified by:
greatestin interfaceNodeBuilder- Parameters:
argument- expression representing input value to greatest operation- Returns:
- greatest expression
-
least
Description copied from interface:CriteriaBuilderCreate an aggregate expression for finding the least of the values (strings, dates, etc).- Specified by:
leastin interfaceCriteriaBuilder- Specified by:
leastin interfaceHibernateCriteriaBuilder- Specified by:
leastin interfaceNodeBuilder- Parameters:
argument- expression representing input value to least operation- Returns:
- least expression
-
count
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the count operation.- Specified by:
countin interfaceCriteriaBuilder- Specified by:
countin interfaceHibernateCriteriaBuilder- Specified by:
countin interfaceNodeBuilder- Parameters:
argument- expression representing input value to count operation- Returns:
- count expression
-
countDistinct
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the count distinct operation.- Specified by:
countDistinctin interfaceCriteriaBuilder- Specified by:
countDistinctin interfaceHibernateCriteriaBuilder- Specified by:
countDistinctin interfaceNodeBuilder- Parameters:
argument- expression representing input value to count distinct operation- Returns:
- count distinct expression
-
count
Description copied from interface:HibernateCriteriaBuilderEquivalent to HQLcount(*).- Specified by:
countin interfaceHibernateCriteriaBuilder- Specified by:
countin interfaceNodeBuilder
-
sign
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the sign of its argument, that is,1if its argument is positive,-1if its argument is negative, or0if its argument is exactly zero.- Specified by:
signin interfaceCriteriaBuilder- Specified by:
signin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- sign
-
ceiling
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the ceiling of its argument, that is, the smallest integer greater than or equal to its argument.- Specified by:
ceilingin interfaceCriteriaBuilder- Specified by:
ceilingin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- ceiling
-
floor
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the floor of its argument, that is, the largest integer smaller than or equal to its argument.- Specified by:
floorin interfaceCriteriaBuilder- Specified by:
floorin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- floor
-
exp
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the exponential of its argument, that is, Euler's number e raised to the power of its argument.- Specified by:
expin interfaceCriteriaBuilder- Specified by:
expin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- exponential
-
ln
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the natural logarithm of its argument.- Specified by:
lnin interfaceCriteriaBuilder- Specified by:
lnin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- natural logarithm
-
power
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the first argument raised to the power of its second argument.- Specified by:
powerin interfaceCriteriaBuilder- Specified by:
powerin interfaceHibernateCriteriaBuilder- Parameters:
x- basey- exponent- Returns:
- the base raised to the power of the exponent
-
power
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the first argument raised to the power of its second argument.- Specified by:
powerin interfaceCriteriaBuilder- Specified by:
powerin interfaceHibernateCriteriaBuilder- Parameters:
x- basey- exponent- Returns:
- the base raised to the power of the exponent
-
round
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the first argument rounded to the number of decimal places given by the second argument.- Specified by:
roundin interfaceCriteriaBuilder- Specified by:
roundin interfaceHibernateCriteriaBuilder- Parameters:
x- basen- number of decimal places- Returns:
- the rounded value
-
truncate
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the first argument truncated to the number of decimal places given by the second argument.- Specified by:
truncatein interfaceHibernateCriteriaBuilder- Parameters:
x- basen- number of decimal places- Returns:
- the truncated value
-
neg
Description copied from interface:CriteriaBuilderCreate an expression that returns the arithmetic negation of its argument.- Specified by:
negin interfaceCriteriaBuilder- Specified by:
negin interfaceHibernateCriteriaBuilder- Specified by:
negin interfaceNodeBuilder- Parameters:
x- expression- Returns:
- arithmetic negation
-
abs
Description copied from interface:CriteriaBuilderCreate an expression that returns the absolute value of its argument.- Specified by:
absin interfaceCriteriaBuilder- Specified by:
absin interfaceHibernateCriteriaBuilder- Specified by:
absin interfaceNodeBuilder- Parameters:
x- expression- Returns:
- absolute value
-
duration
Description copied from interface:HibernateCriteriaBuilderA literalDuration, for example, "five days" or "30 minutes".- Specified by:
durationin interfaceHibernateCriteriaBuilder
-
durationByUnit
Description copied from interface:HibernateCriteriaBuilderConvert aDurationto a numeric magnitude in the given units.- Specified by:
durationByUnitin 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:HibernateCriteriaBuilderAdd two durations.- Specified by:
durationSumin interfaceHibernateCriteriaBuilder
-
durationSum
Description copied from interface:HibernateCriteriaBuilderAdd two durations.- Specified by:
durationSumin interfaceHibernateCriteriaBuilder
-
durationDiff
Description copied from interface:HibernateCriteriaBuilderSubtract one duration from another.- Specified by:
durationDiffin interfaceHibernateCriteriaBuilder
-
durationDiff
Description copied from interface:HibernateCriteriaBuilderSubtract one duration from another.- Specified by:
durationDiffin interfaceHibernateCriteriaBuilder
-
durationScaled
public JpaExpression<Duration> durationScaled(Expression<? extends Number> number, Expression<Duration> duration) Description copied from interface:HibernateCriteriaBuilderScale a duration by a number.- Specified by:
durationScaledin interfaceHibernateCriteriaBuilder
-
durationScaled
Description copied from interface:HibernateCriteriaBuilderScale a duration by a number.- Specified by:
durationScaledin interfaceHibernateCriteriaBuilder
-
durationScaled
public JpaExpression<Duration> durationScaled(Expression<? extends Number> number, Duration duration) Description copied from interface:HibernateCriteriaBuilderScale a duration by a number.- Specified by:
durationScaledin interfaceHibernateCriteriaBuilder
-
durationBetween
public <T extends Temporal> JpaExpression<Duration> durationBetween(Expression<T> x, Expression<T> y) Description copied from interface:HibernateCriteriaBuilderSubtract two dates or two datetimes, returning the duration between the two dates or between two datetimes.- Specified by:
durationBetweenin interfaceHibernateCriteriaBuilder
-
durationBetween
Description copied from interface:HibernateCriteriaBuilderSubtract two dates or two datetimes, returning the duration between the two dates or between two datetimes.- Specified by:
durationBetweenin interfaceHibernateCriteriaBuilder
-
addDuration
public <T extends Temporal> JpaExpression<T> addDuration(Expression<T> datetime, Expression<Duration> duration) Description copied from interface:HibernateCriteriaBuilderAdd 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:
addDurationin interfaceHibernateCriteriaBuilder
-
addDuration
Description copied from interface:HibernateCriteriaBuilderAdd 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:
addDurationin interfaceHibernateCriteriaBuilder
-
addDuration
Description copied from interface:HibernateCriteriaBuilderAdd 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:
addDurationin interfaceHibernateCriteriaBuilder
-
subtractDuration
public <T extends Temporal> JpaExpression<T> subtractDuration(Expression<T> datetime, Expression<Duration> duration) Description copied from interface:HibernateCriteriaBuilderSubtract 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:
subtractDurationin interfaceHibernateCriteriaBuilder
-
subtractDuration
public <T extends Temporal> JpaExpression<T> subtractDuration(Expression<T> datetime, Duration duration) Description copied from interface:HibernateCriteriaBuilderSubtract 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:
subtractDurationin interfaceHibernateCriteriaBuilder
-
subtractDuration
public <T extends Temporal> JpaExpression<T> subtractDuration(T datetime, Expression<Duration> duration) Description copied from interface:HibernateCriteriaBuilderSubtract 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:
subtractDurationin interfaceHibernateCriteriaBuilder
-
sum
public <N extends Number> SqmExpression<N> sum(Expression<? extends N> x, Expression<? extends N> y) Description copied from interface:CriteriaBuilderCreate an expression that returns the sum of its arguments.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder- Specified by:
sumin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- sum
-
sum
Description copied from interface:CriteriaBuilderCreate an expression that returns the sum of its arguments.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder- Specified by:
sumin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- sum
-
sum
Description copied from interface:CriteriaBuilderCreate an expression that returns the sum of its arguments.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder- Specified by:
sumin interfaceNodeBuilder- Parameters:
x- valuey- expression- Returns:
- sum
-
prod
public <N extends Number> SqmExpression<N> prod(Expression<? extends N> x, Expression<? extends N> y) Description copied from interface:CriteriaBuilderCreate an expression that returns the product of its arguments.- Specified by:
prodin interfaceCriteriaBuilder- Specified by:
prodin interfaceHibernateCriteriaBuilder- Specified by:
prodin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- product
-
prod
Description copied from interface:CriteriaBuilderCreate an expression that returns the product of its arguments.- Specified by:
prodin interfaceCriteriaBuilder- Specified by:
prodin interfaceHibernateCriteriaBuilder- Specified by:
prodin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- product
-
prod
Description copied from interface:CriteriaBuilderCreate an expression that returns the product of its arguments.- Specified by:
prodin interfaceCriteriaBuilder- Specified by:
prodin interfaceHibernateCriteriaBuilder- Specified by:
prodin interfaceNodeBuilder- Parameters:
x- valuey- expression- Returns:
- product
-
diff
public <N extends Number> SqmExpression<N> diff(Expression<? extends N> x, Expression<? extends N> y) Description copied from interface:CriteriaBuilderCreate an expression that returns the difference between its arguments.- Specified by:
diffin interfaceCriteriaBuilder- Specified by:
diffin interfaceHibernateCriteriaBuilder- Specified by:
diffin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- difference
-
diff
Description copied from interface:CriteriaBuilderCreate an expression that returns the difference between its arguments.- Specified by:
diffin interfaceCriteriaBuilder- Specified by:
diffin interfaceHibernateCriteriaBuilder- Specified by:
diffin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- difference
-
diff
Description copied from interface:CriteriaBuilderCreate an expression that returns the difference between its arguments.- Specified by:
diffin interfaceCriteriaBuilder- Specified by:
diffin interfaceHibernateCriteriaBuilder- Specified by:
diffin interfaceNodeBuilder- Parameters:
x- valuey- expression- Returns:
- difference
-
quot
Description copied from interface:CriteriaBuilderCreate an expression that returns the quotient of its arguments.- Specified by:
quotin interfaceCriteriaBuilder- Specified by:
quotin interfaceHibernateCriteriaBuilder- Specified by:
quotin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- quotient
-
quot
Description copied from interface:CriteriaBuilderCreate an expression that returns the quotient of its arguments.- Specified by:
quotin interfaceCriteriaBuilder- Specified by:
quotin interfaceHibernateCriteriaBuilder- Specified by:
quotin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- quotient
-
quot
Description copied from interface:CriteriaBuilderCreate an expression that returns the quotient of its arguments.- Specified by:
quotin interfaceCriteriaBuilder- Specified by:
quotin interfaceHibernateCriteriaBuilder- Specified by:
quotin interfaceNodeBuilder- Parameters:
x- valuey- expression- Returns:
- quotient
-
mod
Description copied from interface:CriteriaBuilderCreate an expression that returns the modulus (remainder under integer division) of its arguments.- Specified by:
modin interfaceCriteriaBuilder- Specified by:
modin interfaceHibernateCriteriaBuilder- Specified by:
modin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- modulus
-
mod
Description copied from interface:CriteriaBuilderCreate an expression that returns the modulus (remainder under integer division) of its arguments.- Specified by:
modin interfaceCriteriaBuilder- Specified by:
modin interfaceHibernateCriteriaBuilder- Specified by:
modin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- modulus
-
mod
Description copied from interface:CriteriaBuilderCreate an expression that returns the modulus (remainder under integer division) of its arguments.- Specified by:
modin interfaceCriteriaBuilder- Specified by:
modin interfaceHibernateCriteriaBuilder- Specified by:
modin interfaceNodeBuilder- Parameters:
x- valuey- expression- Returns:
- modulus
-
sqrt
Description copied from interface:CriteriaBuilderCreate an expression that returns the square root of its argument.- Specified by:
sqrtin interfaceCriteriaBuilder- Specified by:
sqrtin interfaceHibernateCriteriaBuilder- Specified by:
sqrtin interfaceNodeBuilder- Parameters:
x- expression- Returns:
- square root
-
toLong
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toLongin interfaceCriteriaBuilder- Specified by:
toLongin interfaceHibernateCriteriaBuilder- Specified by:
toLongin interfaceNodeBuilder- Parameters:
number- numeric expression- Returns:
- Expression<Long>
-
toInteger
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toIntegerin interfaceCriteriaBuilder- Specified by:
toIntegerin interfaceHibernateCriteriaBuilder- Specified by:
toIntegerin interfaceNodeBuilder- Parameters:
number- numeric expression- Returns:
- Expression<Integer>
-
toFloat
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toFloatin interfaceCriteriaBuilder- Specified by:
toFloatin interfaceHibernateCriteriaBuilder- Specified by:
toFloatin interfaceNodeBuilder- Parameters:
number- numeric expression- Returns:
- Expression<Float>
-
toDouble
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toDoublein interfaceCriteriaBuilder- Specified by:
toDoublein interfaceHibernateCriteriaBuilder- Specified by:
toDoublein interfaceNodeBuilder- Parameters:
number- numeric expression- Returns:
- Expression<Double>
-
toBigDecimal
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toBigDecimalin interfaceCriteriaBuilder- Specified by:
toBigDecimalin interfaceHibernateCriteriaBuilder- Specified by:
toBigDecimalin interfaceNodeBuilder- Parameters:
number- numeric expression- Returns:
- Expression<BigDecimal>
-
toBigInteger
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toBigIntegerin interfaceCriteriaBuilder- Specified by:
toBigIntegerin interfaceHibernateCriteriaBuilder- Specified by:
toBigIntegerin interfaceNodeBuilder- Parameters:
number- numeric expression- Returns:
- Expression<BigInteger>
-
toString
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toStringin interfaceCriteriaBuilder- Specified by:
toStringin interfaceHibernateCriteriaBuilder- Specified by:
toStringin interfaceNodeBuilder- Parameters:
character- expression- Returns:
- Expression<String>
-
literal
-
literal
Description copied from interface:CriteriaBuilderCreate an expression for a literal.- Specified by:
literalin interfaceCriteriaBuilder- Specified by:
literalin interfaceHibernateCriteriaBuilder- Specified by:
literalin interfaceNodeBuilder- Parameters:
value- value represented by the expression- Returns:
- expression literal
-
literals
- Specified by:
literalsin interfaceHibernateCriteriaBuilder- Specified by:
literalsin interfaceNodeBuilder
-
literals
- Specified by:
literalsin interfaceHibernateCriteriaBuilder- Specified by:
literalsin interfaceNodeBuilder
-
nullLiteral
Description copied from interface:CriteriaBuilderCreate an expression for a null literal with the given type.- Specified by:
nullLiteralin interfaceCriteriaBuilder- Specified by:
nullLiteralin interfaceHibernateCriteriaBuilder- Specified by:
nullLiteralin interfaceNodeBuilder- Parameters:
resultClass- type of the null literal- Returns:
- null expression literal
-
parameter
Description copied from interface:CriteriaBuilderCreate a parameter expression.- Specified by:
parameterin interfaceCriteriaBuilder- Specified by:
parameterin interfaceHibernateCriteriaBuilder- Specified by:
parameterin interfaceNodeBuilder- Parameters:
paramClass- parameter class- Returns:
- parameter expression
- See Also:
-
parameter
Description copied from interface:CriteriaBuilderCreate a parameter expression with the given name.- Specified by:
parameterin interfaceCriteriaBuilder- Specified by:
parameterin interfaceHibernateCriteriaBuilder- Specified by:
parameterin interfaceNodeBuilder- Parameters:
paramClass- parameter classname- name that can be used to refer to the parameter- Returns:
- parameter expression
-
concat
Description copied from interface:CriteriaBuilderCreate an expression for string concatenation.- Specified by:
concatin interfaceCriteriaBuilder- Specified by:
concatin interfaceHibernateCriteriaBuilder- Specified by:
concatin interfaceNodeBuilder- Parameters:
x- string expressiony- string expression- Returns:
- expression corresponding to concatenation
-
concat
Description copied from interface:CriteriaBuilderCreate an expression for string concatenation.- Specified by:
concatin interfaceCriteriaBuilder- Specified by:
concatin interfaceHibernateCriteriaBuilder- Specified by:
concatin interfaceNodeBuilder- Parameters:
x- string expressiony- string- Returns:
- expression corresponding to concatenation
-
concat
Description copied from interface:CriteriaBuilderCreate an expression for string concatenation.- Specified by:
concatin interfaceCriteriaBuilder- Specified by:
concatin interfaceHibernateCriteriaBuilder- Specified by:
concatin interfaceNodeBuilder- Parameters:
x- stringy- string expression- Returns:
- expression corresponding to concatenation
-
concat
- Specified by:
concatin interfaceHibernateCriteriaBuilder- Specified by:
concatin interfaceNodeBuilder
-
substring
Description copied from interface:CriteriaBuilderCreate an expression for substring extraction. Extracts a substring starting at the specified position through to end of the string. First position is 1.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder- Specified by:
substringin interfaceNodeBuilder- Parameters:
source- string expressionfrom- start position expression- Returns:
- expression corresponding to substring extraction
-
substring
Description copied from interface:CriteriaBuilderCreate an expression for substring extraction. Extracts a substring starting at the specified position through to end of the string. First position is 1.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder- Specified by:
substringin interfaceNodeBuilder- Parameters:
source- string expressionfrom- start position- Returns:
- expression corresponding to substring extraction
-
substring
public SqmFunction<String> substring(Expression<String> source, Expression<Integer> from, Expression<Integer> len) Description copied from interface:CriteriaBuilderCreate an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder- Specified by:
substringin interfaceNodeBuilder- Parameters:
source- string expressionfrom- start position expressionlen- length expression- Returns:
- expression corresponding to substring extraction
-
substring
Description copied from interface:CriteriaBuilderCreate an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder- Specified by:
substringin interfaceNodeBuilder- Parameters:
source- string expressionfrom- start positionlen- length- Returns:
- expression corresponding to substring extraction
-
trim
Description copied from interface:CriteriaBuilderCreate expression to trim blanks from both ends of a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Specified by:
trimin interfaceNodeBuilder- Parameters:
source- expression for string to trim- Returns:
- trim expression
-
trim
Description copied from interface:CriteriaBuilderCreate expression to trim blanks from a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Specified by:
trimin interfaceNodeBuilder- Parameters:
ts- trim specificationsource- expression for string to trim- Returns:
- trim expression
-
trim
Description copied from interface:CriteriaBuilderCreate expression to trim character from both ends of a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Specified by:
trimin interfaceNodeBuilder- Parameters:
trimChar- expression for character to be trimmedsource- expression for string to trim- Returns:
- trim expression
-
trim
public SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, Expression<Character> trimChar, Expression<String> source) Description copied from interface:CriteriaBuilderCreate expression to trim character from a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Specified by:
trimin interfaceNodeBuilder- Parameters:
ts- trim specificationtrimChar- expression for character to be trimmedsource- expression for string to trim- Returns:
- trim expression
-
trim
Description copied from interface:CriteriaBuilderCreate expression to trim character from both ends of a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Specified by:
trimin interfaceNodeBuilder- Parameters:
trimChar- character to be trimmedsource- expression for string to trim- Returns:
- trim expression
-
trim
public SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, char trimChar, Expression<String> source) Description copied from interface:CriteriaBuilderCreate expression to trim character from a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Specified by:
trimin interfaceNodeBuilder- Parameters:
ts- trim specificationtrimChar- character to be trimmedsource- expression for string to trim- Returns:
- trim expression
-
lower
Description copied from interface:CriteriaBuilderCreate expression for converting a string to lowercase.- Specified by:
lowerin interfaceCriteriaBuilder- Specified by:
lowerin interfaceHibernateCriteriaBuilder- Specified by:
lowerin interfaceNodeBuilder- Parameters:
x- string expression- Returns:
- expression to convert to lowercase
-
upper
Description copied from interface:CriteriaBuilderCreate expression for converting a string to uppercase.- Specified by:
upperin interfaceCriteriaBuilder- Specified by:
upperin interfaceHibernateCriteriaBuilder- Specified by:
upperin interfaceNodeBuilder- Parameters:
x- string expression- Returns:
- expression to convert to uppercase
-
length
Description copied from interface:CriteriaBuilderCreate expression to return length of a string.- Specified by:
lengthin interfaceCriteriaBuilder- Specified by:
lengthin interfaceHibernateCriteriaBuilder- Specified by:
lengthin interfaceNodeBuilder- Parameters:
argument- string expression- Returns:
- length expression
-
locate
Description copied from interface:CriteriaBuilderCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.Warning: the order of the parameters of this method is reversed compared to the corresponding function in JPQL.
- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder- Specified by:
locatein interfaceNodeBuilder- Parameters:
source- expression for string to be searchedpattern- expression for string to be located- Returns:
- expression corresponding to position
-
locate
Description copied from interface:CriteriaBuilderCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.Warning: the order of the parameters of this method is reversed compared to the corresponding function in JPQL.
- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder- Specified by:
locatein interfaceNodeBuilder- Parameters:
source- expression for string to be searchedpattern- string to be located- Returns:
- expression corresponding to position
-
locate
public SqmFunction<Integer> locate(Expression<String> source, Expression<String> pattern, Expression<Integer> startPosition) Description copied from interface:CriteriaBuilderCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.Warning: the order of the first two parameters of this method is reversed compared to the corresponding function in JPQL.
- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder- Specified by:
locatein interfaceNodeBuilder- Parameters:
source- expression for string to be searchedpattern- expression for string to be locatedstartPosition- expression for position at which to start search- Returns:
- expression corresponding to position
-
locate
Description copied from interface:CriteriaBuilderCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.Warning: the order of the first two parameters of this method is reversed compared to the corresponding function in JPQL.
- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder- Specified by:
locatein interfaceNodeBuilder- Parameters:
source- expression for string to be searchedpattern- string to be locatedstartPosition- position at which to start search- Returns:
- expression corresponding to position
-
currentDate
Description copied from interface:CriteriaBuilderCreate expression to return current date.- Specified by:
currentDatein interfaceCriteriaBuilder- Specified by:
currentDatein interfaceHibernateCriteriaBuilder- Specified by:
currentDatein interfaceNodeBuilder- Returns:
- expression for current date
-
currentTimestamp
Description copied from interface:CriteriaBuilderCreate expression to return current timestamp.- Specified by:
currentTimestampin interfaceCriteriaBuilder- Specified by:
currentTimestampin interfaceHibernateCriteriaBuilder- Specified by:
currentTimestampin interfaceNodeBuilder- Returns:
- expression for current timestamp
-
currentTime
Description copied from interface:CriteriaBuilderCreate expression to return current time.- Specified by:
currentTimein interfaceCriteriaBuilder- Specified by:
currentTimein interfaceHibernateCriteriaBuilder- Specified by:
currentTimein interfaceNodeBuilder- Returns:
- expression for current time
-
currentInstant
- Specified by:
currentInstantin interfaceHibernateCriteriaBuilder- Specified by:
currentInstantin interfaceNodeBuilder
-
localDate
Description copied from interface:HibernateCriteriaBuilderCreate expression to return current local date.- Specified by:
localDatein interfaceCriteriaBuilder- Specified by:
localDatein interfaceHibernateCriteriaBuilder- Returns:
- expression for current date
-
localDateTime
Description copied from interface:HibernateCriteriaBuilderCreate expression to return current local datetime.- Specified by:
localDateTimein interfaceCriteriaBuilder- Specified by:
localDateTimein interfaceHibernateCriteriaBuilder- Returns:
- expression for current timestamp
-
localTime
Description copied from interface:HibernateCriteriaBuilderCreate expression to return current local time.- Specified by:
localTimein interfaceCriteriaBuilder- Specified by:
localTimein interfaceHibernateCriteriaBuilder- Returns:
- expression for current time
-
function
Description copied from interface:CriteriaBuilderCreate an expression for the execution of a database function.- Specified by:
functionin interfaceCriteriaBuilder- Specified by:
functionin interfaceHibernateCriteriaBuilder- Specified by:
functionin interfaceNodeBuilder- Parameters:
name- function nametype- expected result typeargs- function arguments- Returns:
- expression
-
all
Description copied from interface:CriteriaBuilderCreate an all expression over the subquery results.- Specified by:
allin interfaceCriteriaBuilder- Specified by:
allin interfaceHibernateCriteriaBuilder- Specified by:
allin interfaceNodeBuilder- Parameters:
subquery- subquery- Returns:
- all expression
-
some
Description copied from interface:CriteriaBuilderCreate a some expression over the subquery results. This expression is equivalent to ananyexpression.- Specified by:
somein interfaceCriteriaBuilder- Specified by:
somein interfaceHibernateCriteriaBuilder- Specified by:
somein interfaceNodeBuilder- Parameters:
subquery- subquery- Returns:
- some expression
-
any
Description copied from interface:CriteriaBuilderCreate an any expression over the subquery results. This expression is equivalent to asomeexpression.- Specified by:
anyin interfaceCriteriaBuilder- Specified by:
anyin interfaceHibernateCriteriaBuilder- Specified by:
anyin interfaceNodeBuilder- Parameters:
subquery- subquery- Returns:
- any expression
-
keys
Description copied from interface:CriteriaBuilderCreate an expression that returns the keys of a map.- Specified by:
keysin interfaceCriteriaBuilder- Specified by:
keysin interfaceHibernateCriteriaBuilder- Specified by:
keysin interfaceNodeBuilder- Parameters:
map- map- Returns:
- set expression
-
indexes
- Specified by:
indexesin interfaceHibernateCriteriaBuilder- Specified by:
indexesin interfaceNodeBuilder
-
value
Creates an expression for the value with the given "type inference" information -
value
- Specified by:
valuein interfaceHibernateCriteriaBuilder
-
values
Description copied from interface:CriteriaBuilderCreate an expression that returns the values of a map.- Specified by:
valuesin interfaceCriteriaBuilder- Specified by:
valuesin interfaceHibernateCriteriaBuilder- Specified by:
valuesin interfaceNodeBuilder- Parameters:
map- map- Returns:
- collection expression
-
size
Description copied from interface:CriteriaBuilderCreate an expression that tests the size of a collection.- Specified by:
sizein interfaceCriteriaBuilder- Specified by:
sizein interfaceHibernateCriteriaBuilder- Specified by:
sizein interfaceNodeBuilder- Parameters:
collection- expression- Returns:
- size expression
-
size
Description copied from interface:CriteriaBuilderCreate an expression that tests the size of a collection.- Specified by:
sizein interfaceCriteriaBuilder- Specified by:
sizein interfaceHibernateCriteriaBuilder- Specified by:
sizein interfaceNodeBuilder- Parameters:
collection- collection- Returns:
- size expression
-
coalesce
Description copied from interface:CriteriaBuilderCreate a coalesce expression.- Specified by:
coalescein interfaceCriteriaBuilder- Specified by:
coalescein interfaceHibernateCriteriaBuilder- Specified by:
coalescein interfaceNodeBuilder- Returns:
- coalesce expression
-
coalesce
Description copied from interface:CriteriaBuilderCreate an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.- Specified by:
coalescein interfaceCriteriaBuilder- Specified by:
coalescein interfaceHibernateCriteriaBuilder- Specified by:
coalescein interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- coalesce expression
-
coalesce
Description copied from interface:CriteriaBuilderCreate an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.- Specified by:
coalescein interfaceCriteriaBuilder- Specified by:
coalescein interfaceHibernateCriteriaBuilder- Specified by:
coalescein interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- coalesce expression
-
nullif
Description copied from interface:CriteriaBuilderCreate an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.- Specified by:
nullifin interfaceCriteriaBuilder- Specified by:
nullifin interfaceHibernateCriteriaBuilder- Specified by:
nullifin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- nullif expression
-
nullif
Description copied from interface:CriteriaBuilderCreate an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.- Specified by:
nullifin interfaceCriteriaBuilder- Specified by:
nullifin interfaceHibernateCriteriaBuilder- Specified by:
nullifin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- nullif expression
-
selectCase
Description copied from interface:CriteriaBuilderCreate a simple case expression.- Specified by:
selectCasein interfaceCriteriaBuilder- Specified by:
selectCasein interfaceHibernateCriteriaBuilder- Specified by:
selectCasein interfaceNodeBuilder- Parameters:
expression- to be tested against the case conditions- Returns:
- simple case expression
-
selectCase
Description copied from interface:CriteriaBuilderCreate a general case expression.- Specified by:
selectCasein interfaceCriteriaBuilder- Specified by:
selectCasein interfaceHibernateCriteriaBuilder- Specified by:
selectCasein interfaceNodeBuilder- Returns:
- general case expression
-
mapSize
Description copied from interface:HibernateCriteriaBuilderCreate an expression that tests the size of a map.- Specified by:
mapSizein interfaceHibernateCriteriaBuilder- Specified by:
mapSizein 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:HibernateCriteriaBuilderCreate an expression that tests the size of a map.- Specified by:
mapSizein interfaceHibernateCriteriaBuilder- Specified by:
mapSizein interfaceNodeBuilder- Parameters:
map- The Map for which we want to know the size- Returns:
- size expression
-
and
Description copied from interface:CriteriaBuilderCreate a conjunction of the given boolean expressions.- Specified by:
andin interfaceCriteriaBuilder- Specified by:
andin interfaceHibernateCriteriaBuilder- Specified by:
andin interfaceNodeBuilder- Parameters:
x- boolean expressiony- boolean expression- Returns:
- and predicate
-
and
Description copied from interface:CriteriaBuilderCreate a conjunction of the given restriction predicates. A conjunction of zero predicates is true.- Specified by:
andin interfaceCriteriaBuilder- Specified by:
andin interfaceHibernateCriteriaBuilder- Specified by:
andin interfaceNodeBuilder- Parameters:
restrictions- zero or more restriction predicates- Returns:
- and predicate
-
or
Description copied from interface:CriteriaBuilderCreate a disjunction of the given boolean expressions.- Specified by:
orin interfaceCriteriaBuilder- Specified by:
orin interfaceHibernateCriteriaBuilder- Specified by:
orin interfaceNodeBuilder- Parameters:
x- boolean expressiony- boolean expression- Returns:
- or predicate
-
or
Description copied from interface:CriteriaBuilderCreate a disjunction of the given restriction predicates. A disjunction of zero predicates is false.- Specified by:
orin interfaceCriteriaBuilder- Specified by:
orin interfaceHibernateCriteriaBuilder- Specified by:
orin interfaceNodeBuilder- Parameters:
restrictions- zero or more restriction predicates- Returns:
- or predicate
-
not
Description copied from interface:CriteriaBuilderCreate a negation of the given restriction.- Specified by:
notin interfaceCriteriaBuilder- Specified by:
notin interfaceHibernateCriteriaBuilder- Specified by:
notin interfaceNodeBuilder- Parameters:
restriction- restriction expression- Returns:
- not predicate
-
conjunction
Description copied from interface:CriteriaBuilderCreate a conjunction (with zero conjuncts). A conjunction with zero conjuncts is true.- Specified by:
conjunctionin interfaceCriteriaBuilder- Specified by:
conjunctionin interfaceHibernateCriteriaBuilder- Specified by:
conjunctionin interfaceNodeBuilder- Returns:
- and predicate
-
disjunction
Description copied from interface:CriteriaBuilderCreate a disjunction (with zero disjuncts). A disjunction with zero disjuncts is false.- Specified by:
disjunctionin interfaceCriteriaBuilder- Specified by:
disjunctionin interfaceHibernateCriteriaBuilder- Specified by:
disjunctionin interfaceNodeBuilder- Returns:
- or predicate
-
isTrue
Description copied from interface:CriteriaBuilderCreate a predicate testing for a true value.- Specified by:
isTruein interfaceCriteriaBuilder- Specified by:
isTruein interfaceHibernateCriteriaBuilder- Specified by:
isTruein interfaceNodeBuilder- Parameters:
x- expression to be tested- Returns:
- predicate
-
isFalse
Description copied from interface:CriteriaBuilderCreate a predicate testing for a false value.- Specified by:
isFalsein interfaceCriteriaBuilder- Specified by:
isFalsein interfaceHibernateCriteriaBuilder- Specified by:
isFalsein interfaceNodeBuilder- Parameters:
x- expression to be tested- Returns:
- predicate
-
isNull
Description copied from interface:CriteriaBuilderCreate a predicate to test whether the expression is null.- Specified by:
isNullin interfaceCriteriaBuilder- Specified by:
isNullin interfaceHibernateCriteriaBuilder- Specified by:
isNullin interfaceNodeBuilder- Parameters:
x- expression- Returns:
- is-null predicate
-
isNotNull
Description copied from interface:CriteriaBuilderCreate a predicate to test whether the expression is not null.- Specified by:
isNotNullin interfaceCriteriaBuilder- Specified by:
isNotNullin interfaceHibernateCriteriaBuilder- Specified by:
isNotNullin interfaceNodeBuilder- Parameters:
x- expression- Returns:
- is-not-null predicate
-
between
public <Y extends Comparable<? super Y>> SqmPredicate between(Expression<? extends Y> value, Expression<? extends Y> lower, Expression<? extends Y> upper) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is between the second and third arguments in value.- Specified by:
betweenin interfaceCriteriaBuilder- Specified by:
betweenin interfaceHibernateCriteriaBuilder- Specified by:
betweenin interfaceNodeBuilder- Parameters:
value- expressionlower- expressionupper- expression- Returns:
- between predicate
-
between
public <Y extends Comparable<? super Y>> SqmPredicate between(Expression<? extends Y> value, Y lower, Y upper) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is between the second and third arguments in value.- Specified by:
betweenin interfaceCriteriaBuilder- Specified by:
betweenin interfaceHibernateCriteriaBuilder- Specified by:
betweenin interfaceNodeBuilder- Parameters:
value- expressionlower- valueupper- value- Returns:
- between predicate
-
equal
Description copied from interface:CriteriaBuilderCreate a predicate for testing the arguments for equality.- Specified by:
equalin interfaceCriteriaBuilder- Specified by:
equalin interfaceHibernateCriteriaBuilder- Specified by:
equalin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- equality predicate
-
equal
Description copied from interface:CriteriaBuilderCreate a predicate for testing the arguments for equality.- Specified by:
equalin interfaceCriteriaBuilder- Specified by:
equalin interfaceHibernateCriteriaBuilder- Specified by:
equalin interfaceNodeBuilder- Parameters:
x- expressiony- object- Returns:
- equality predicate
-
notEqual
Description copied from interface:CriteriaBuilderCreate a predicate for testing the arguments for inequality.- Specified by:
notEqualin interfaceCriteriaBuilder- Specified by:
notEqualin interfaceHibernateCriteriaBuilder- Specified by:
notEqualin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- inequality predicate
-
notEqual
Description copied from interface:CriteriaBuilderCreate a predicate for testing the arguments for inequality.- Specified by:
notEqualin interfaceCriteriaBuilder- Specified by:
notEqualin interfaceHibernateCriteriaBuilder- Specified by:
notEqualin interfaceNodeBuilder- Parameters:
x- expressiony- object- Returns:
- inequality predicate
-
distinctFrom
- Specified by:
distinctFromin interfaceHibernateCriteriaBuilder- Specified by:
distinctFromin interfaceNodeBuilder
-
distinctFrom
- Specified by:
distinctFromin interfaceHibernateCriteriaBuilder- Specified by:
distinctFromin interfaceNodeBuilder
-
notDistinctFrom
- Specified by:
notDistinctFromin interfaceHibernateCriteriaBuilder- Specified by:
notDistinctFromin interfaceNodeBuilder
-
notDistinctFrom
- Specified by:
notDistinctFromin interfaceHibernateCriteriaBuilder- Specified by:
notDistinctFromin interfaceNodeBuilder
-
greaterThan
public <Y extends Comparable<? super Y>> SqmPredicate greaterThan(Expression<? extends Y> x, Expression<? extends Y> y) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
greaterThanin interfaceCriteriaBuilder- Specified by:
greaterThanin interfaceHibernateCriteriaBuilder- Specified by:
greaterThanin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- greater-than predicate
-
greaterThan
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
greaterThanin interfaceCriteriaBuilder- Specified by:
greaterThanin interfaceHibernateCriteriaBuilder- Specified by:
greaterThanin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- greater-than predicate
-
greaterThanOrEqualTo
public <Y extends Comparable<? super Y>> SqmPredicate greaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
greaterThanOrEqualToin interfaceCriteriaBuilder- Specified by:
greaterThanOrEqualToin interfaceHibernateCriteriaBuilder- Specified by:
greaterThanOrEqualToin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- greater-than-or-equal predicate
-
greaterThanOrEqualTo
public <Y extends Comparable<? super Y>> SqmPredicate greaterThanOrEqualTo(Expression<? extends Y> x, Y y) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
greaterThanOrEqualToin interfaceCriteriaBuilder- Specified by:
greaterThanOrEqualToin interfaceHibernateCriteriaBuilder- Specified by:
greaterThanOrEqualToin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- greater-than-or-equal predicate
-
lessThan
public <Y extends Comparable<? super Y>> SqmPredicate lessThan(Expression<? extends Y> x, Expression<? extends Y> y) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than the second.- Specified by:
lessThanin interfaceCriteriaBuilder- Specified by:
lessThanin interfaceHibernateCriteriaBuilder- Specified by:
lessThanin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- less-than predicate
-
lessThan
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than the second.- Specified by:
lessThanin interfaceCriteriaBuilder- Specified by:
lessThanin interfaceHibernateCriteriaBuilder- Specified by:
lessThanin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- less-than predicate
-
lessThanOrEqualTo
public <Y extends Comparable<? super Y>> SqmPredicate lessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
lessThanOrEqualToin interfaceCriteriaBuilder- Specified by:
lessThanOrEqualToin interfaceHibernateCriteriaBuilder- Specified by:
lessThanOrEqualToin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- less-than-or-equal predicate
-
lessThanOrEqualTo
public <Y extends Comparable<? super Y>> SqmPredicate lessThanOrEqualTo(Expression<? extends Y> x, Y y) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
lessThanOrEqualToin interfaceCriteriaBuilder- Specified by:
lessThanOrEqualToin interfaceHibernateCriteriaBuilder- Specified by:
lessThanOrEqualToin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- less-than-or-equal predicate
-
gt
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
gtin interfaceCriteriaBuilder- Specified by:
gtin interfaceHibernateCriteriaBuilder- Specified by:
gtin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- greater-than predicate
-
gt
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
gtin interfaceCriteriaBuilder- Specified by:
gtin interfaceHibernateCriteriaBuilder- Specified by:
gtin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- greater-than predicate
-
ge
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
gein interfaceCriteriaBuilder- Specified by:
gein interfaceHibernateCriteriaBuilder- Specified by:
gein interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- greater-than-or-equal predicate
-
ge
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
gein interfaceCriteriaBuilder- Specified by:
gein interfaceHibernateCriteriaBuilder- Specified by:
gein interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- greater-than-or-equal predicate
-
lt
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than the second.- Specified by:
ltin interfaceCriteriaBuilder- Specified by:
ltin interfaceHibernateCriteriaBuilder- Specified by:
ltin interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- less-than predicate
-
lt
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than the second.- Specified by:
ltin interfaceCriteriaBuilder- Specified by:
ltin interfaceHibernateCriteriaBuilder- Specified by:
ltin interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- less-than predicate
-
le
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
lein interfaceCriteriaBuilder- Specified by:
lein interfaceHibernateCriteriaBuilder- Specified by:
lein interfaceNodeBuilder- Parameters:
x- expressiony- expression- Returns:
- less-than-or-equal predicate
-
le
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
lein interfaceCriteriaBuilder- Specified by:
lein interfaceHibernateCriteriaBuilder- Specified by:
lein interfaceNodeBuilder- Parameters:
x- expressiony- value- Returns:
- less-than-or-equal predicate
-
isEmpty
Description copied from interface:CriteriaBuilderCreate a predicate that tests whether a collection is empty.- Specified by:
isEmptyin interfaceCriteriaBuilder- Specified by:
isEmptyin interfaceHibernateCriteriaBuilder- Specified by:
isEmptyin interfaceNodeBuilder- Parameters:
collection- expression- Returns:
- is-empty predicate
-
isNotEmpty
Description copied from interface:CriteriaBuilderCreate a predicate that tests whether a collection is not empty.- Specified by:
isNotEmptyin interfaceCriteriaBuilder- Specified by:
isNotEmptyin interfaceHibernateCriteriaBuilder- Specified by:
isNotEmptyin interfaceNodeBuilder- Parameters:
collection- expression- Returns:
- is-not-empty predicate
-
isMember
public <E,C extends Collection<E>> SqmPredicate isMember(Expression<E> elem, Expression<C> collection) Description copied from interface:CriteriaBuilderCreate a predicate that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false.- Specified by:
isMemberin interfaceCriteriaBuilder- Specified by:
isMemberin interfaceHibernateCriteriaBuilder- Specified by:
isMemberin interfaceNodeBuilder- Parameters:
elem- element expressioncollection- expression- Returns:
- is-member predicate
-
isMember
Description copied from interface:CriteriaBuilderCreate a predicate that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false.- Specified by:
isMemberin interfaceCriteriaBuilder- Specified by:
isMemberin interfaceHibernateCriteriaBuilder- Specified by:
isMemberin interfaceNodeBuilder- Parameters:
elem- elementcollection- expression- Returns:
- is-member predicate
-
isNotMember
public <E,C extends Collection<E>> SqmPredicate isNotMember(Expression<E> elem, Expression<C> collection) Description copied from interface:CriteriaBuilderCreate a predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate will be true.- Specified by:
isNotMemberin interfaceCriteriaBuilder- Specified by:
isNotMemberin interfaceHibernateCriteriaBuilder- Specified by:
isNotMemberin interfaceNodeBuilder- Parameters:
elem- element expressioncollection- expression- Returns:
- is-not-member predicate
-
isNotMember
Description copied from interface:CriteriaBuilderCreate a predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate will be true.- Specified by:
isNotMemberin interfaceCriteriaBuilder- Specified by:
isNotMemberin interfaceHibernateCriteriaBuilder- Specified by:
isNotMemberin interfaceNodeBuilder- Parameters:
elem- elementcollection- expression- Returns:
- is-not-member predicate
-
like
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Specified by:
likein interfaceNodeBuilder- Parameters:
searchString- string expressionpattern- string expression- Returns:
- like predicate
-
like
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Specified by:
likein interfaceNodeBuilder- Parameters:
searchString- string expressionpattern- string- Returns:
- like predicate
-
like
public SqmPredicate like(Expression<String> searchString, Expression<String> pattern, Expression<Character> escapeChar) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Specified by:
likein interfaceNodeBuilder- Parameters:
searchString- string expressionpattern- string expressionescapeChar- escape character expression- Returns:
- like predicate
-
like
public SqmPredicate like(Expression<String> searchString, Expression<String> pattern, char escapeChar) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Specified by:
likein interfaceNodeBuilder- Parameters:
searchString- string expressionpattern- string expressionescapeChar- escape character- Returns:
- like predicate
-
like
public SqmPredicate like(Expression<String> searchString, String pattern, Expression<Character> escapeChar) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Specified by:
likein interfaceNodeBuilder- Parameters:
searchString- string expressionpattern- stringescapeChar- escape character expression- Returns:
- like predicate
-
like
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Specified by:
likein interfaceNodeBuilder- Parameters:
searchString- string expressionpattern- stringescapeChar- escape character- Returns:
- like predicate
-
ilike
- Specified by:
ilikein interfaceHibernateCriteriaBuilder
-
ilike
- Specified by:
ilikein interfaceHibernateCriteriaBuilder
-
ilike
public SqmPredicate ilike(Expression<String> searchString, Expression<String> pattern, Expression<Character> escapeChar) - Specified by:
ilikein interfaceHibernateCriteriaBuilder
-
ilike
public SqmPredicate ilike(Expression<String> searchString, Expression<String> pattern, char escapeChar) - Specified by:
ilikein interfaceHibernateCriteriaBuilder
-
ilike
public SqmPredicate ilike(Expression<String> searchString, String pattern, Expression<Character> escapeChar) - Specified by:
ilikein interfaceHibernateCriteriaBuilder
-
ilike
- Specified by:
ilikein interfaceHibernateCriteriaBuilder
-
notLike
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Specified by:
notLikein interfaceNodeBuilder- Parameters:
x- string expressionpattern- string expression- Returns:
- not-like predicate
-
notLike
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Specified by:
notLikein interfaceNodeBuilder- Parameters:
x- string expressionpattern- string- Returns:
- not-like predicate
-
notLike
public SqmPredicate notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Specified by:
notLikein interfaceNodeBuilder- Parameters:
x- string expressionpattern- string expressionescapeChar- escape character expression- Returns:
- not-like predicate
-
notLike
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Specified by:
notLikein interfaceNodeBuilder- Parameters:
x- string expressionpattern- string expressionescapeChar- escape character- Returns:
- not-like predicate
-
notLike
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Specified by:
notLikein interfaceNodeBuilder- Parameters:
x- string expressionpattern- stringescapeChar- escape character expression- Returns:
- not-like predicate
-
notLike
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Specified by:
notLikein interfaceNodeBuilder- Parameters:
x- string expressionpattern- stringescapeChar- escape character- Returns:
- not-like predicate
-
notIlike
- Specified by:
notIlikein interfaceHibernateCriteriaBuilder
-
notIlike
- Specified by:
notIlikein interfaceHibernateCriteriaBuilder
-
notIlike
public SqmPredicate notIlike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) - Specified by:
notIlikein interfaceHibernateCriteriaBuilder
-
notIlike
- Specified by:
notIlikein interfaceHibernateCriteriaBuilder
-
notIlike
public SqmPredicate notIlike(Expression<String> x, String pattern, Expression<Character> escapeChar) - Specified by:
notIlikein interfaceHibernateCriteriaBuilder
-
notIlike
- Specified by:
notIlikein interfaceHibernateCriteriaBuilder
-
in
Description copied from interface:CriteriaBuilderCreate predicate to test whether given expression is contained in a list of values.- Specified by:
inin interfaceCriteriaBuilder- Specified by:
inin interfaceHibernateCriteriaBuilder- Specified by:
inin interfaceNodeBuilder- Parameters:
expression- to be tested against list of values- Returns:
- in predicate
-
in
public <T> SqmInPredicate<T> in(Expression<? extends T> expression, Expression<? extends T>... values) - Specified by:
inin interfaceHibernateCriteriaBuilder- Specified by:
inin interfaceNodeBuilder
-
in
- Specified by:
inin interfaceHibernateCriteriaBuilder- Specified by:
inin interfaceNodeBuilder
-
in
- Specified by:
inin interfaceHibernateCriteriaBuilder- Specified by:
inin interfaceNodeBuilder
-
in
- Specified by:
inin interfaceNodeBuilder
-
exists
Description copied from interface:CriteriaBuilderCreate a predicate testing the existence of a subquery result.- Specified by:
existsin interfaceCriteriaBuilder- Specified by:
existsin interfaceHibernateCriteriaBuilder- Specified by:
existsin interfaceNodeBuilder- Parameters:
subQuery- subquery whose result is to be tested- Returns:
- exists predicate
-
isMapEmpty
Description copied from interface:HibernateCriteriaBuilderCreate a predicate that tests whether a Map is empty.- Specified by:
isMapEmptyin interfaceHibernateCriteriaBuilder- Specified by:
isMapEmptyin 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:HibernateCriteriaBuilderCreate a predicate that tests whether a Map is not empty.- Specified by:
isMapNotEmptyin interfaceHibernateCriteriaBuilder- Specified by:
isMapNotEmptyin 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:HibernateCriteriaBuilderEmbed nativepatternthat will be unquoted and embedded in the generated SQL. Occurrences of?in the pattern are replaced with the remainingargumentsof the function.- Specified by:
sqlin 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:HibernateCriteriaBuilderFormat 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:
formatin interfaceHibernateCriteriaBuilder- Parameters:
datetime- the datetime expression to formatpattern- the pattern to use for formatting- Returns:
- format expression
-
year
Description copied from interface:HibernateCriteriaBuilderExtracts theTemporalUnit.YEARof a date, time, or datetime expression.- Specified by:
yearin interfaceHibernateCriteriaBuilder- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
month
Description copied from interface:HibernateCriteriaBuilderExtracts theTemporalUnit.MONTHof a date, time, or datetime expression.- Specified by:
monthin interfaceHibernateCriteriaBuilder- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
day
Description copied from interface:HibernateCriteriaBuilderExtracts theTemporalUnit.DAYof a date, time, or datetime expression.- Specified by:
dayin interfaceHibernateCriteriaBuilder- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
hour
Description copied from interface:HibernateCriteriaBuilderExtracts theTemporalUnit.HOURof a date, time, or datetime expression.- Specified by:
hourin interfaceHibernateCriteriaBuilder- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
minute
Description copied from interface:HibernateCriteriaBuilderExtracts theTemporalUnit.MINUTEof a date, time, or datetime expression.- Specified by:
minutein interfaceHibernateCriteriaBuilder- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
second
Description copied from interface:HibernateCriteriaBuilderExtracts theTemporalUnit.SECONDof a date, time, or datetime expression.- Specified by:
secondin 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:HibernateCriteriaBuilderTruncates 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
fieldhave been pruned. For hours, minutes and second this means setting them to00. For months and days, this means setting them to01.- Specified by:
truncatein interfaceHibernateCriteriaBuilder- Parameters:
datetime- the date, time or datetime expression to be truncatedtemporalUnit- the temporal unit for truncation- Returns:
- the truncated value
-
overlay
- Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, int start) - Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, String replacement, Expression<Integer> start) - Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start) - Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, String replacement, int start, int length) - Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, int start, int length) - Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, String replacement, Expression<Integer> start, int length) - Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, int length) - Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, String replacement, int start, Expression<Integer> length) - Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, int start, Expression<Integer> length) - Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, String replacement, Expression<Integer> start, Expression<Integer> length) - Specified by:
overlayin interfaceHibernateCriteriaBuilder- See Also:
-
overlay
public SqmFunction<String> overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, Expression<Integer> length) Description copied from interface:HibernateCriteriaBuilderOverlay thestringexpression with thereplacementexpression, starting from indexstartand substituting a number of characters corresponding to the length of thereplacementexpression or thelengthparameter if specified.- Specified by:
overlayin 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:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
- Specified by:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
- Specified by:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
public SqmFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length) - Specified by:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
- Specified by:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
public SqmFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, char padChar) - Specified by:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
- Specified by:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
public SqmFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, Expression<Character> padChar) - Specified by:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
- Specified by:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
public SqmFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, char padChar) - Specified by:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
public SqmFunction<String> pad(Expression<String> x, Expression<Integer> length, Expression<Character> padChar) - Specified by:
padin interfaceHibernateCriteriaBuilder- See Also:
-
pad
public SqmFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, Expression<Character> padChar) Description copied from interface:HibernateCriteriaBuilderPad the specified string expression with whitespace or with thepadCharcharacter if specified. Optionally pass aCriteriaBuilder.Trimspecto pad the string expression withLEADINGorTRAILING(default) characters.- Specified by:
padin interfaceHibernateCriteriaBuilder- Parameters:
ts- optionalCriteriaBuilder.Trimspecx- string expression to padlength- length of the result string after paddingpadChar- optional pad character- Returns:
- pad expression
-
repeat
Description copied from interface:HibernateCriteriaBuilderConcatenate the given string expression with itself the given number of times.- Specified by:
repeatin interfaceHibernateCriteriaBuilder- Parameters:
x- the string expression to concatenatetimes- the number of times it should be repeated- Returns:
- repeat expression
-
repeat
Description copied from interface:HibernateCriteriaBuilderConcatenate the given string expression with itself the given number of times.- Specified by:
repeatin interfaceHibernateCriteriaBuilder- Parameters:
x- the string expression to concatenatetimes- the number of times it should be repeated- Returns:
- repeat expression
-
repeat
Description copied from interface:HibernateCriteriaBuilderConcatenate the given string expression with itself the given number of times.- Specified by:
repeatin interfaceHibernateCriteriaBuilder- Parameters:
x- the string expression to concatenatetimes- the number of times it should be repeated- Returns:
- repeat expression
-
left
- Specified by:
leftin interfaceHibernateCriteriaBuilder- See Also:
-
left
Description copied from interface:HibernateCriteriaBuilderExtract thelengthleftmost characters of a string.- Specified by:
leftin interfaceHibernateCriteriaBuilder- Parameters:
x- original stringlength- number of characters- Returns:
- left expression
-
right
- Specified by:
rightin interfaceHibernateCriteriaBuilder- See Also:
-
right
Description copied from interface:HibernateCriteriaBuilderExtract thelengthrightmost characters of a string.- Specified by:
rightin interfaceHibernateCriteriaBuilder- Parameters:
x- original stringlength- number of characters- Returns:
- left expression
-
replace
- Specified by:
replacein interfaceHibernateCriteriaBuilder- See Also:
-
replace
public SqmFunction<String> replace(Expression<String> x, String pattern, Expression<String> replacement) - Specified by:
replacein interfaceHibernateCriteriaBuilder- See Also:
-
replace
public SqmFunction<String> replace(Expression<String> x, Expression<String> pattern, String replacement) - Specified by:
replacein interfaceHibernateCriteriaBuilder- See Also:
-
replace
public SqmFunction<String> replace(Expression<String> x, Expression<String> pattern, Expression<String> replacement) Description copied from interface:HibernateCriteriaBuilderReplace all occurrences ofpatternwithin the original string withreplacement.- Specified by:
replacein interfaceHibernateCriteriaBuilder- Parameters:
x- original stringpattern- the string to be replacedreplacement- the new replacement string- Returns:
- replace expression
-
collate
- Specified by:
collatein interfaceHibernateCriteriaBuilder
-
log10
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the base-10 logarithm of its argument.- Specified by:
log10in interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- base-10 logarithm
-
log
- Specified by:
login interfaceHibernateCriteriaBuilder- See Also:
-
log
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the logarithm ofxto the baseb.- Specified by:
login interfaceHibernateCriteriaBuilder- Parameters:
b- basex- expression- Returns:
- arbitrary-base logarithm
-
pi
Description copied from interface:HibernateCriteriaBuilderLiteral expression corresponding to the value of pi.- Specified by:
piin interfaceHibernateCriteriaBuilder- Returns:
- pi expression
-
sin
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the sine of its argument.- Specified by:
sinin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- sine
-
cos
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the cosine of its argument.- Specified by:
cosin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- cosine
-
tan
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the tangent of its argument.- Specified by:
tanin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- tangent
-
asin
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the inverse sine of its argument.- Specified by:
asinin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- inverse sine
-
acos
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the inverse cosine of its argument.- Specified by:
acosin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- inverse cosine
-
atan
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the inverse tangent of its argument.- Specified by:
atanin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- inverse tangent
-
atan2
- Specified by:
atan2in interfaceHibernateCriteriaBuilder- See Also:
-
atan2
- Specified by:
atan2in interfaceHibernateCriteriaBuilder- See Also:
-
atan2
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the inverse tangent ofyoverx.- Specified by:
atan2in interfaceHibernateCriteriaBuilder- Parameters:
y- y coordinatex- x coordinate- Returns:
- 2-argument inverse tangent
-
sinh
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the hyperbolic sine of its argument.- Specified by:
sinhin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- hyperbolic sine
-
cosh
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the hyperbolic cosine of its argument.- Specified by:
coshin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- hyperbolic cosine
-
tanh
Description copied from interface:HibernateCriteriaBuilderCreate an expression that returns the hyperbolic tangent of its argument.- Specified by:
tanhin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- hyperbolic tangent
-
degrees
Description copied from interface:HibernateCriteriaBuilderCreate an expression that converts an angle measured in radians to an approximately equivalent angle measured in degrees.- Specified by:
degreesin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- degrees
-
radians
Description copied from interface:HibernateCriteriaBuilderCreate an expression that converts an angle measured in degrees to an approximately equivalent angle measured in radians.- Specified by:
radiansin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- radians
-
createWindow
Description copied from interface:HibernateCriteriaBuilderCreate an emptyJpaWindowto use with window and aggregate functions.- Specified by:
createWindowin interfaceHibernateCriteriaBuilder- Returns:
- the empty window
-
frameUnboundedPreceding
Description copied from interface:HibernateCriteriaBuilderCreate a window frame of typeFrameKind.UNBOUNDED_PRECEDINGto use withJpaWindows.- Specified by:
frameUnboundedPrecedingin interfaceHibernateCriteriaBuilder- Returns:
- the window frame
-
frameBetweenPreceding
- Specified by:
frameBetweenPrecedingin interfaceHibernateCriteriaBuilder- See Also:
-
frameBetweenPreceding
Description copied from interface:HibernateCriteriaBuilderCreate window frame of typeFrameKind.OFFSET_PRECEDINGto use withJpaWindows.- Specified by:
frameBetweenPrecedingin interfaceHibernateCriteriaBuilder- Parameters:
offset- theoffsetexpression- Returns:
- the window frame
-
frameCurrentRow
Description copied from interface:HibernateCriteriaBuilderCreate a window frame of typeFrameKind.CURRENT_ROWto use withJpaWindows.- Specified by:
frameCurrentRowin interfaceHibernateCriteriaBuilder- Returns:
- the window frame
-
frameBetweenFollowing
- Specified by:
frameBetweenFollowingin interfaceHibernateCriteriaBuilder- See Also:
-
frameBetweenFollowing
Description copied from interface:HibernateCriteriaBuilderCreate a window frame of typeFrameKind.OFFSET_FOLLOWINGto use withJpaWindows.- Specified by:
frameBetweenFollowingin interfaceHibernateCriteriaBuilder- Parameters:
offset- theoffsetexpression- Returns:
- the window frame
-
frameUnboundedFollowing
Description copied from interface:HibernateCriteriaBuilderCreate a window frame of typeFrameKind.UNBOUNDED_FOLLOWINGto use withJpaWindows.- Specified by:
frameUnboundedFollowingin interfaceHibernateCriteriaBuilder- Returns:
- the window frame
-
windowFunction
public <T> SqmExpression<T> windowFunction(String name, Class<T> type, JpaWindow window, Expression<?>... args) Description copied from interface:HibernateCriteriaBuilderCreate a generic window function expression that will be applied over the specifiedwindow.- Specified by:
windowFunctionin 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:HibernateCriteriaBuilderCreate arow_numberwindow function expression.- Specified by:
rowNumberin interfaceHibernateCriteriaBuilder- Parameters:
window- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
firstValue
Description copied from interface:HibernateCriteriaBuilderCreate afirst_valuewindow function expression.- Specified by:
firstValuein interfaceHibernateCriteriaBuilder- Type Parameters:
T- type of the expression- Parameters:
argument- argument expression to pass tofirst_valuewindow- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
lastValue
Description copied from interface:HibernateCriteriaBuilderCreate alast_valuewindow function expression.- Specified by:
lastValuein interfaceHibernateCriteriaBuilder- Type Parameters:
T- type of the expression- Parameters:
argument- argument expression to pass tolast_valuewindow- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
nthValue
- Specified by:
nthValuein interfaceHibernateCriteriaBuilder- See Also:
-
nthValue
public <T> SqmExpression<T> nthValue(Expression<T> argument, Expression<Integer> n, JpaWindow window) Description copied from interface:HibernateCriteriaBuilderCreate anth_valuewindow function expression.- Specified by:
nthValuein interfaceHibernateCriteriaBuilder- Type Parameters:
T- type of the expression- Parameters:
argument- argument expression to pass tonth_valuen- theNargument for the functionwindow- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
rank
Description copied from interface:HibernateCriteriaBuilderCreate arankwindow function expression.- Specified by:
rankin interfaceHibernateCriteriaBuilder- Parameters:
window- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
denseRank
Description copied from interface:HibernateCriteriaBuilderCreate adense_rankwindow function expression.- Specified by:
denseRankin interfaceHibernateCriteriaBuilder- Parameters:
window- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
percentRank
Description copied from interface:HibernateCriteriaBuilderCreate apercent_rankwindow function expression.- Specified by:
percentRankin interfaceHibernateCriteriaBuilder- Parameters:
window- window over which the function will be applied- Returns:
- window function expression
- See Also:
-
cumeDist
Description copied from interface:HibernateCriteriaBuilderCreate acume_distwindow function expression.- Specified by:
cumeDistin 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:
functionAggregatein interfaceHibernateCriteriaBuilder- See Also:
-
functionAggregate
public <T> SqmExpression<T> functionAggregate(String name, Class<T> type, JpaWindow window, Expression<?>... args) - Specified by:
functionAggregatein interfaceHibernateCriteriaBuilder- See Also:
-
functionAggregate
public <T> SqmExpression<T> functionAggregate(String name, Class<T> type, JpaPredicate filter, JpaWindow window, Expression<?>... args) Description copied from interface:HibernateCriteriaBuilderCreate a generic aggregate function expression.- Specified by:
functionAggregatein 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:
sumin interfaceHibernateCriteriaBuilder- See Also:
-
sum
- Specified by:
sumin interfaceHibernateCriteriaBuilder- See Also:
-
sum
public <N extends Number> SqmExpression<Number> sum(Expression<N> argument, JpaPredicate filter, JpaWindow window) Description copied from interface:HibernateCriteriaBuilderCreate asumaggregate function expression.- Specified by:
sumin 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:
avgin interfaceHibernateCriteriaBuilder- See Also:
-
avg
- Specified by:
avgin interfaceHibernateCriteriaBuilder- See Also:
-
avg
public <N extends Number> SqmExpression<Double> avg(Expression<N> argument, JpaPredicate filter, JpaWindow window) Description copied from interface:HibernateCriteriaBuilderCreate anavgaggregate function expression.- Specified by:
avgin 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:
countin interfaceHibernateCriteriaBuilder- See Also:
-
count
- Specified by:
countin interfaceHibernateCriteriaBuilder- See Also:
-
count
Description copied from interface:HibernateCriteriaBuilderCreate acountaggregate function expression.- Specified by:
countin 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:
functionWithinGroupin interfaceHibernateCriteriaBuilder- See Also:
-
functionWithinGroup
public <T> SqmExpression<T> functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaPredicate filter, Expression<?>... args) - Specified by:
functionWithinGroupin interfaceHibernateCriteriaBuilder- See Also:
-
functionWithinGroup
public <T> SqmExpression<T> functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaWindow window, Expression<?>... args) - Specified by:
functionWithinGroupin 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:HibernateCriteriaBuilderCreate a generic ordered set-aggregate function expression.- Specified by:
functionWithinGroupin 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:
listaggin interfaceHibernateCriteriaBuilder- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, Expression<String> argument, Expression<String> separator) - Specified by:
listaggin interfaceHibernateCriteriaBuilder- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaPredicate filter, Expression<String> argument, String separator) - Specified by:
listaggin interfaceHibernateCriteriaBuilder- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaPredicate filter, Expression<String> argument, Expression<String> separator) - Specified by:
listaggin interfaceHibernateCriteriaBuilder- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaWindow window, Expression<String> argument, String separator) - Specified by:
listaggin interfaceHibernateCriteriaBuilder- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaWindow window, Expression<String> argument, Expression<String> separator) - Specified by:
listaggin interfaceHibernateCriteriaBuilder- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<String> argument, String separator) - Specified by:
listaggin interfaceHibernateCriteriaBuilder- See Also:
-
listagg
public SqmExpression<String> listagg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<String> argument, Expression<String> separator) Description copied from interface:HibernateCriteriaBuilderCreate alistaggordered set-aggregate function expression.- Specified by:
listaggin 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:
modein interfaceHibernateCriteriaBuilder- See Also:
-
mode
public <T> SqmExpression<T> mode(JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) - Specified by:
modein interfaceHibernateCriteriaBuilder- See Also:
-
mode
public <T> SqmExpression<T> mode(JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) - Specified by:
modein interfaceHibernateCriteriaBuilder- See Also:
-
mode
public <T> SqmExpression<T> mode(JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) Description copied from interface:HibernateCriteriaBuilderCreate amodeordered set-aggregate function expression.- Specified by:
modein 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:HibernateCriteriaBuilderCreate apercentile_contordered set-aggregate function expression.- Specified by:
percentileContin 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:HibernateCriteriaBuilderCreate apercentile_discordered set-aggregate function expression.- Specified by:
percentileDiscin 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:
rankin interfaceHibernateCriteriaBuilder- See Also:
-
rank
- Specified by:
rankin interfaceHibernateCriteriaBuilder- See Also:
-
rank
- Specified by:
rankin interfaceHibernateCriteriaBuilder- See Also:
-
rank
public SqmExpression<Long> rank(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... arguments) Description copied from interface:HibernateCriteriaBuilderCreate arankordered set-aggregate function expression.- Specified by:
rankin 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:
percentRankin interfaceHibernateCriteriaBuilder- See Also:
-
percentRank
public SqmExpression<Double> percentRank(JpaOrder order, JpaPredicate filter, Expression<?>... arguments) - Specified by:
percentRankin interfaceHibernateCriteriaBuilder- See Also:
-
percentRank
public SqmExpression<Double> percentRank(JpaOrder order, JpaWindow window, Expression<?>... arguments) - Specified by:
percentRankin interfaceHibernateCriteriaBuilder- See Also:
-
percentRank
public SqmExpression<Double> percentRank(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... arguments) Description copied from interface:HibernateCriteriaBuilderCreate apercent_rankordered set-aggregate function expression.- Specified by:
percentRankin 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:
arrayAggin interfaceHibernateCriteriaBuilder- Specified by:
arrayAggin interfaceNodeBuilder- See Also:
-
arrayAgg
public <T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaPredicate filter, Expression<? extends T> argument) - Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- Specified by:
arrayAggin interfaceNodeBuilder- See Also:
-
arrayAgg
public <T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaWindow window, Expression<? extends T> argument) - Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- Specified by:
arrayAggin interfaceNodeBuilder- See Also:
-
arrayAgg
public <T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<? extends T> argument) Description copied from interface:HibernateCriteriaBuilderCreate aarray_aggordered set-aggregate function expression.- Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- Specified by:
arrayAggin 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:HibernateCriteriaBuilderCreates an array literal with thearrayconstructor function.- Specified by:
arrayLiteralin interfaceHibernateCriteriaBuilder- Specified by:
arrayLiteralin interfaceNodeBuilder
-
arrayPosition
Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in an array.- Specified by:
arrayPositionin interfaceHibernateCriteriaBuilder- Specified by:
arrayPositionin interfaceNodeBuilder
-
arrayPosition
public <T> SqmExpression<Integer> arrayPosition(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in an array.- Specified by:
arrayPositionin interfaceHibernateCriteriaBuilder- Specified by:
arrayPositionin interfaceNodeBuilder
-
arrayPositions
public <T> SqmExpression<int[]> arrayPositions(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsin interfaceHibernateCriteriaBuilder- Specified by:
arrayPositionsin interfaceNodeBuilder
-
arrayPositions
Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsin interfaceHibernateCriteriaBuilder- Specified by:
arrayPositionsin interfaceNodeBuilder
-
arrayPositionsList
public <T> SqmExpression<List<Integer>> arrayPositionsList(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsListin interfaceHibernateCriteriaBuilder- Specified by:
arrayPositionsListin interfaceNodeBuilder
-
arrayPositionsList
public <T> SqmExpression<List<Integer>> arrayPositionsList(Expression<T[]> arrayExpression, T element) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsListin interfaceHibernateCriteriaBuilder- Specified by:
arrayPositionsListin interfaceNodeBuilder
-
arrayLength
Description copied from interface:HibernateCriteriaBuilderDetermines the length of an array.- Specified by:
arrayLengthin interfaceHibernateCriteriaBuilder- Specified by:
arrayLengthin interfaceNodeBuilder
-
arrayConcat
public <T> SqmExpression<T[]> arrayConcat(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderConcatenates arrays with each other in order.- Specified by:
arrayConcatin interfaceHibernateCriteriaBuilder- Specified by:
arrayConcatin interfaceNodeBuilder
-
arrayConcat
Description copied from interface:HibernateCriteriaBuilderConcatenates arrays with each other in order.- Specified by:
arrayConcatin interfaceHibernateCriteriaBuilder- Specified by:
arrayConcatin interfaceNodeBuilder
-
arrayConcat
Description copied from interface:HibernateCriteriaBuilderConcatenates arrays with each other in order.- Specified by:
arrayConcatin interfaceHibernateCriteriaBuilder- Specified by:
arrayConcatin interfaceNodeBuilder
-
arrayAppend
public <T> SqmExpression<T[]> arrayAppend(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderAppends element to array.- Specified by:
arrayAppendin interfaceHibernateCriteriaBuilder- Specified by:
arrayAppendin interfaceNodeBuilder
-
arrayAppend
Description copied from interface:HibernateCriteriaBuilderAppends element to array.- Specified by:
arrayAppendin interfaceHibernateCriteriaBuilder- Specified by:
arrayAppendin interfaceNodeBuilder
-
arrayPrepend
public <T> SqmExpression<T[]> arrayPrepend(Expression<T> elementExpression, Expression<T[]> arrayExpression) Description copied from interface:HibernateCriteriaBuilderPrepends element to array.- Specified by:
arrayPrependin interfaceHibernateCriteriaBuilder- Specified by:
arrayPrependin interfaceNodeBuilder
-
arrayPrepend
Description copied from interface:HibernateCriteriaBuilderPrepends element to array.- Specified by:
arrayPrependin interfaceHibernateCriteriaBuilder- Specified by:
arrayPrependin interfaceNodeBuilder
-
arrayContains
public <T> SqmPredicate arrayContains(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array contains an element.- Specified by:
arrayContainsin interfaceHibernateCriteriaBuilder- Specified by:
arrayContainsin interfaceNodeBuilder
-
arrayContains
Description copied from interface:HibernateCriteriaBuilderWhether an array contains an element.- Specified by:
arrayContainsin interfaceHibernateCriteriaBuilder- Specified by:
arrayContainsin interfaceNodeBuilder
-
arrayContains
Description copied from interface:HibernateCriteriaBuilderWhether an array contains an element.- Specified by:
arrayContainsin interfaceHibernateCriteriaBuilder- Specified by:
arrayContainsin interfaceNodeBuilder
-
arrayContainsNullable
public <T> SqmPredicate arrayContainsNullable(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array contains a nullable element.- Specified by:
arrayContainsNullablein interfaceHibernateCriteriaBuilder- Specified by:
arrayContainsNullablein interfaceNodeBuilder
-
arrayContainsNullable
Description copied from interface:HibernateCriteriaBuilderWhether an array contains a nullable element.- Specified by:
arrayContainsNullablein interfaceHibernateCriteriaBuilder- Specified by:
arrayContainsNullablein interfaceNodeBuilder
-
arrayContainsNullable
Description copied from interface:HibernateCriteriaBuilderWhether an array contains a nullable element.- Specified by:
arrayContainsNullablein interfaceHibernateCriteriaBuilder- Specified by:
arrayContainsNullablein interfaceNodeBuilder
-
arrayIncludes
public <T> SqmPredicate arrayIncludes(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayIncludesin interfaceHibernateCriteriaBuilder- Specified by:
arrayIncludesin interfaceNodeBuilder
-
arrayIncludes
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayIncludesin interfaceHibernateCriteriaBuilder- Specified by:
arrayIncludesin interfaceNodeBuilder
-
arrayIncludes
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayIncludesin interfaceHibernateCriteriaBuilder- Specified by:
arrayIncludesin interfaceNodeBuilder
-
arrayIncludesNullable
public <T> SqmPredicate arrayIncludesNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullablein interfaceHibernateCriteriaBuilder- Specified by:
arrayIncludesNullablein interfaceNodeBuilder
-
arrayIncludesNullable
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullablein interfaceHibernateCriteriaBuilder- Specified by:
arrayIncludesNullablein interfaceNodeBuilder
-
arrayIncludesNullable
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullablein interfaceHibernateCriteriaBuilder- Specified by:
arrayIncludesNullablein interfaceNodeBuilder
-
arrayIntersects
public <T> SqmPredicate arrayIntersects(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayIntersectsin interfaceHibernateCriteriaBuilder- Specified by:
arrayIntersectsin interfaceNodeBuilder
-
arrayIntersects
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayIntersectsin interfaceHibernateCriteriaBuilder- Specified by:
arrayIntersectsin interfaceNodeBuilder
-
arrayIntersects
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayIntersectsin interfaceHibernateCriteriaBuilder- Specified by:
arrayIntersectsin interfaceNodeBuilder
-
arrayIntersectsNullable
public <T> SqmPredicate arrayIntersectsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayIntersectsNullablein interfaceHibernateCriteriaBuilder- Specified by:
arrayIntersectsNullablein interfaceNodeBuilder
-
arrayIntersectsNullable
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayIntersectsNullablein interfaceHibernateCriteriaBuilder- Specified by:
arrayIntersectsNullablein interfaceNodeBuilder
-
arrayIntersectsNullable
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayIntersectsNullablein interfaceHibernateCriteriaBuilder- Specified by:
arrayIntersectsNullablein interfaceNodeBuilder
-
arrayGet
public <T> SqmExpression<T> arrayGet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderAccesses the element of an array by 1-based index.- Specified by:
arrayGetin interfaceHibernateCriteriaBuilder- Specified by:
arrayGetin interfaceNodeBuilder
-
arrayGet
Description copied from interface:HibernateCriteriaBuilderAccesses the element of an array by 1-based index.- Specified by:
arrayGetin interfaceHibernateCriteriaBuilder- Specified by:
arrayGetin interfaceNodeBuilder
-
arraySet
public <T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder- Specified by:
arraySetin interfaceNodeBuilder
-
arraySet
public <T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, T element) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder- Specified by:
arraySetin interfaceNodeBuilder
-
arraySet
public <T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Integer index, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder- Specified by:
arraySetin interfaceNodeBuilder
-
arraySet
Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder- Specified by:
arraySetin interfaceNodeBuilder
-
arrayRemove
public <T> SqmExpression<T[]> arrayRemove(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element removed.- Specified by:
arrayRemovein interfaceHibernateCriteriaBuilder- Specified by:
arrayRemovein interfaceNodeBuilder
-
arrayRemove
Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element removed.- Specified by:
arrayRemovein interfaceHibernateCriteriaBuilder- Specified by:
arrayRemovein interfaceNodeBuilder
-
arrayRemoveIndex
public <T> SqmExpression<T[]> arrayRemoveIndex(Expression<T[]> arrayExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with the element at the given 1-based index removed.- Specified by:
arrayRemoveIndexin interfaceHibernateCriteriaBuilder- Specified by:
arrayRemoveIndexin interfaceNodeBuilder
-
arrayRemoveIndex
Description copied from interface:HibernateCriteriaBuilderCreates array copy with the element at the given 1-based index removed.- Specified by:
arrayRemoveIndexin interfaceHibernateCriteriaBuilder- Specified by:
arrayRemoveIndexin interfaceNodeBuilder
-
arraySlice
public <T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilderCreates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlicein interfaceHibernateCriteriaBuilder- Specified by:
arraySlicein interfaceNodeBuilder
-
arraySlice
public <T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilderCreates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlicein interfaceHibernateCriteriaBuilder- Specified by:
arraySlicein interfaceNodeBuilder
-
arraySlice
public <T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilderCreates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlicein interfaceHibernateCriteriaBuilder- Specified by:
arraySlicein interfaceNodeBuilder
-
arraySlice
public <T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilderCreates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlicein interfaceHibernateCriteriaBuilder- Specified by:
arraySlicein interfaceNodeBuilder
-
arrayReplace
public <T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, Expression<T> newElementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder- Specified by:
arrayReplacein interfaceNodeBuilder
-
arrayReplace
public <T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, T newElement) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder- Specified by:
arrayReplacein interfaceNodeBuilder
-
arrayReplace
public <T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, T oldElement, Expression<T> newElementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder- Specified by:
arrayReplacein interfaceNodeBuilder
-
arrayReplace
public <T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, T oldElement, T newElement) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder- Specified by:
arrayReplacein interfaceNodeBuilder
-
arrayTrim
public <T> SqmExpression<T[]> arrayTrim(Expression<T[]> arrayExpression, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy without the last N elements, specified by the second argument.- Specified by:
arrayTrimin interfaceHibernateCriteriaBuilder- Specified by:
arrayTrimin interfaceNodeBuilder
-
arrayTrim
Description copied from interface:HibernateCriteriaBuilderCreates array copy without the last N elements, specified by the second argument.- Specified by:
arrayTrimin interfaceHibernateCriteriaBuilder- Specified by:
arrayTrimin interfaceNodeBuilder
-
arrayFill
public <T> SqmExpression<T[]> arrayFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates array with the same element N times, as specified by the arguments.- Specified by:
arrayFillin interfaceHibernateCriteriaBuilder- Specified by:
arrayFillin interfaceNodeBuilder
-
arrayFill
Description copied from interface:HibernateCriteriaBuilderCreates array with the same element N times, as specified by the arguments.- Specified by:
arrayFillin interfaceHibernateCriteriaBuilder- Specified by:
arrayFillin interfaceNodeBuilder
-
arrayFill
Description copied from interface:HibernateCriteriaBuilderCreates array with the same element N times, as specified by the arguments.- Specified by:
arrayFillin interfaceHibernateCriteriaBuilder- Specified by:
arrayFillin interfaceNodeBuilder
-
arrayFill
Description copied from interface:HibernateCriteriaBuilderCreates array with the same element N times, as specified by the arguments.- Specified by:
arrayFillin interfaceHibernateCriteriaBuilder- Specified by:
arrayFillin interfaceNodeBuilder
-
arrayToString
public SqmExpression<String> arrayToString(Expression<? extends Object[]> arrayExpression, Expression<String> separatorExpression) Description copied from interface:HibernateCriteriaBuilderConcatenates the non-null array elements with a separator, as specified by the arguments.- Specified by:
arrayToStringin interfaceHibernateCriteriaBuilder- Specified by:
arrayToStringin interfaceNodeBuilder
-
arrayToString
public SqmExpression<String> arrayToString(Expression<? extends Object[]> arrayExpression, String separator) Description copied from interface:HibernateCriteriaBuilderConcatenates the non-null array elements with a separator, as specified by the arguments.- Specified by:
arrayToStringin interfaceHibernateCriteriaBuilder- Specified by:
arrayToStringin interfaceNodeBuilder
-
collectionLiteral
Description copied from interface:HibernateCriteriaBuilderCreates a basic collection literal with thearrayconstructor function.- Specified by:
collectionLiteralin interfaceHibernateCriteriaBuilder- Specified by:
collectionLiteralin interfaceNodeBuilder
-
collectionPosition
public <E> SqmExpression<Integer> collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in a basic collection.- Specified by:
collectionPositionin interfaceHibernateCriteriaBuilder- Specified by:
collectionPositionin interfaceNodeBuilder
-
collectionPosition
public <E> SqmExpression<Integer> collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in a basic collection.- Specified by:
collectionPositionin interfaceHibernateCriteriaBuilder- Specified by:
collectionPositionin interfaceNodeBuilder
-
collectionPositions
public <T> SqmExpression<int[]> collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsin interfaceHibernateCriteriaBuilder- Specified by:
collectionPositionsin interfaceNodeBuilder
-
collectionPositions
public <T> SqmExpression<int[]> collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, T element) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsin interfaceHibernateCriteriaBuilder- Specified by:
collectionPositionsin interfaceNodeBuilder
-
collectionPositionsList
public <T> SqmExpression<List<Integer>> collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsListin interfaceHibernateCriteriaBuilder- Specified by:
collectionPositionsListin interfaceNodeBuilder
-
collectionPositionsList
public <T> SqmExpression<List<Integer>> collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, T element) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsListin interfaceHibernateCriteriaBuilder- Specified by:
collectionPositionsListin interfaceNodeBuilder
-
collectionLength
public SqmExpression<Integer> collectionLength(Expression<? extends Collection<?>> collectionExpression) Description copied from interface:HibernateCriteriaBuilderDetermines the length of a basic collection.- Specified by:
collectionLengthin interfaceHibernateCriteriaBuilder- Specified by:
collectionLengthin 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:HibernateCriteriaBuilderConcatenates basic collections with each other in order.- Specified by:
collectionConcatin interfaceHibernateCriteriaBuilder- Specified by:
collectionConcatin interfaceNodeBuilder
-
collectionConcat
public <E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(Expression<C> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilderConcatenates basic collections with each other in order.- Specified by:
collectionConcatin interfaceHibernateCriteriaBuilder- Specified by:
collectionConcatin interfaceNodeBuilder
-
collectionConcat
public <E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(C collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderConcatenates basic collections with each other in order.- Specified by:
collectionConcatin interfaceHibernateCriteriaBuilder- Specified by:
collectionConcatin interfaceNodeBuilder
-
collectionAppend
public <E,C extends Collection<? super E>> SqmExpression<C> collectionAppend(Expression<C> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderAppends element to basic collection.- Specified by:
collectionAppendin interfaceHibernateCriteriaBuilder- Specified by:
collectionAppendin interfaceNodeBuilder
-
collectionAppend
public <E,C extends Collection<? super E>> SqmExpression<C> collectionAppend(Expression<C> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilderAppends element to basic collection.- Specified by:
collectionAppendin interfaceHibernateCriteriaBuilder- Specified by:
collectionAppendin interfaceNodeBuilder
-
collectionPrepend
public <E,C extends Collection<? super E>> SqmExpression<C> collectionPrepend(Expression<? extends E> elementExpression, Expression<C> collectionExpression) Description copied from interface:HibernateCriteriaBuilderPrepends element to basic collection.- Specified by:
collectionPrependin interfaceHibernateCriteriaBuilder- Specified by:
collectionPrependin interfaceNodeBuilder
-
collectionPrepend
public <E,C extends Collection<? super E>> SqmExpression<C> collectionPrepend(E element, Expression<C> collectionExpression) Description copied from interface:HibernateCriteriaBuilderPrepends element to basic collection.- Specified by:
collectionPrependin interfaceHibernateCriteriaBuilder- Specified by:
collectionPrependin interfaceNodeBuilder
-
collectionContains
public <E> SqmPredicate collectionContains(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains an element.- Specified by:
collectionContainsin interfaceHibernateCriteriaBuilder- Specified by:
collectionContainsin interfaceNodeBuilder
-
collectionContains
public <E> SqmPredicate collectionContains(Expression<? extends Collection<E>> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains an element.- Specified by:
collectionContainsin interfaceHibernateCriteriaBuilder- Specified by:
collectionContainsin interfaceNodeBuilder
-
collectionContains
public <E> SqmPredicate collectionContains(Collection<E> collection, Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains an element.- Specified by:
collectionContainsin interfaceHibernateCriteriaBuilder- Specified by:
collectionContainsin interfaceNodeBuilder
-
collectionContainsNullable
public <E> SqmPredicate collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains a nullable element.- Specified by:
collectionContainsNullablein interfaceHibernateCriteriaBuilder- Specified by:
collectionContainsNullablein interfaceNodeBuilder
-
collectionContainsNullable
public <E> SqmPredicate collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains a nullable element.- Specified by:
collectionContainsNullablein interfaceHibernateCriteriaBuilder- Specified by:
collectionContainsNullablein interfaceNodeBuilder
-
collectionContainsNullable
public <E> SqmPredicate collectionContainsNullable(Collection<E> collection, Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains a nullable element.- Specified by:
collectionContainsNullablein interfaceHibernateCriteriaBuilder- Specified by:
collectionContainsNullablein interfaceNodeBuilder
-
collectionIncludes
public <E> SqmPredicate collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludesin interfaceHibernateCriteriaBuilder- Specified by:
collectionIncludesin interfaceNodeBuilder
-
collectionIncludes
public <E> SqmPredicate collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludesin interfaceHibernateCriteriaBuilder- Specified by:
collectionIncludesin interfaceNodeBuilder
-
collectionIncludes
public <E> SqmPredicate collectionIncludes(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludesin interfaceHibernateCriteriaBuilder- Specified by:
collectionIncludesin interfaceNodeBuilder
-
collectionIncludesNullable
public <E> SqmPredicate collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullablein interfaceHibernateCriteriaBuilder- Specified by:
collectionIncludesNullablein interfaceNodeBuilder
-
collectionIncludesNullable
public <E> SqmPredicate collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullablein interfaceHibernateCriteriaBuilder- Specified by:
collectionIncludesNullablein interfaceNodeBuilder
-
collectionIncludesNullable
public <E> SqmPredicate collectionIncludesNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullablein interfaceHibernateCriteriaBuilder- Specified by:
collectionIncludesNullablein interfaceNodeBuilder
-
collectionIntersects
public <E> SqmPredicate collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersectsin interfaceHibernateCriteriaBuilder- Specified by:
collectionIntersectsin interfaceNodeBuilder
-
collectionIntersects
public <E> SqmPredicate collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersectsin interfaceHibernateCriteriaBuilder- Specified by:
collectionIntersectsin interfaceNodeBuilder
-
collectionIntersects
public <E> SqmPredicate collectionIntersects(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersectsin interfaceHibernateCriteriaBuilder- Specified by:
collectionIntersectsin interfaceNodeBuilder
-
collectionIntersectsNullable
public <E> SqmPredicate collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection, supportingnullelements.- Specified by:
collectionIntersectsNullablein interfaceHibernateCriteriaBuilder- Specified by:
collectionIntersectsNullablein interfaceNodeBuilder
-
collectionIntersectsNullable
public <E> SqmPredicate collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection, supportingnullelements.- Specified by:
collectionIntersectsNullablein interfaceHibernateCriteriaBuilder- Specified by:
collectionIntersectsNullablein interfaceNodeBuilder
-
collectionIntersectsNullable
public <E> SqmPredicate collectionIntersectsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection, supportingnullelements.- Specified by:
collectionIntersectsNullablein interfaceHibernateCriteriaBuilder- Specified by:
collectionIntersectsNullablein interfaceNodeBuilder
-
collectionGet
public <E> SqmExpression<E> collectionGet(Expression<? extends Collection<E>> collectionExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderAccesses the element of the basic collection by 1-based index.- Specified by:
collectionGetin interfaceHibernateCriteriaBuilder- Specified by:
collectionGetin interfaceNodeBuilder
-
collectionGet
public <E> SqmExpression<E> collectionGet(Expression<? extends Collection<E>> collectionExpression, Integer index) Description copied from interface:HibernateCriteriaBuilderAccesses the element of the basic collection by 1-based index.- Specified by:
collectionGetin interfaceHibernateCriteriaBuilder- Specified by:
collectionGetin 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:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder- Specified by:
collectionSetin interfaceNodeBuilder
-
collectionSet
public <E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, E element) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder- Specified by:
collectionSetin 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:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder- Specified by:
collectionSetin interfaceNodeBuilder
-
collectionSet
public <E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Integer index, E element) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder- Specified by:
collectionSetin interfaceNodeBuilder
-
collectionRemove
public <E,C extends Collection<? super E>> SqmExpression<C> collectionRemove(Expression<C> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element removed.- Specified by:
collectionRemovein interfaceHibernateCriteriaBuilder- Specified by:
collectionRemovein interfaceNodeBuilder
-
collectionRemove
public <E,C extends Collection<? super E>> SqmExpression<C> collectionRemove(Expression<C> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element removed.- Specified by:
collectionRemovein interfaceHibernateCriteriaBuilder- Specified by:
collectionRemovein interfaceNodeBuilder
-
collectionRemoveIndex
public <C extends Collection<?>> SqmExpression<C> collectionRemoveIndex(Expression<C> collectionExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with the element at the given 1-based index removed.- Specified by:
collectionRemoveIndexin interfaceHibernateCriteriaBuilder- Specified by:
collectionRemoveIndexin interfaceNodeBuilder
-
collectionRemoveIndex
public <C extends Collection<?>> SqmExpression<C> collectionRemoveIndex(Expression<C> collectionExpression, Integer index) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with the element at the given 1-based index removed.- Specified by:
collectionRemoveIndexin interfaceHibernateCriteriaBuilder- Specified by:
collectionRemoveIndexin interfaceNodeBuilder
-
collectionSlice
public <C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilderCreates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlicein interfaceHibernateCriteriaBuilder- Specified by:
collectionSlicein interfaceNodeBuilder
-
collectionSlice
public <C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilderCreates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlicein interfaceHibernateCriteriaBuilder- Specified by:
collectionSlicein interfaceNodeBuilder
-
collectionSlice
public <C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilderCreates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlicein interfaceHibernateCriteriaBuilder- Specified by:
collectionSlicein interfaceNodeBuilder
-
collectionSlice
public <C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilderCreates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlicein interfaceHibernateCriteriaBuilder- Specified by:
collectionSlicein 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:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder- Specified by:
collectionReplacein 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:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder- Specified by:
collectionReplacein 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:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder- Specified by:
collectionReplacein interfaceNodeBuilder
-
collectionReplace
public <E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, E oldElement, E newElement) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder- Specified by:
collectionReplacein interfaceNodeBuilder
-
collectionTrim
public <C extends Collection<?>> SqmExpression<C> collectionTrim(Expression<C> collectionExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy without the last N elements, specified by the second argument.- Specified by:
collectionTrimin interfaceHibernateCriteriaBuilder- Specified by:
collectionTrimin interfaceNodeBuilder
-
collectionTrim
public <C extends Collection<?>> SqmExpression<C> collectionTrim(Expression<C> collectionExpression, Integer index) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy without the last N elements, specified by the second argument.- Specified by:
collectionTrimin interfaceHibernateCriteriaBuilder- Specified by:
collectionTrimin interfaceNodeBuilder
-
collectionFill
public <T> SqmExpression<Collection<T>> collectionFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFillin interfaceHibernateCriteriaBuilder- Specified by:
collectionFillin interfaceNodeBuilder
-
collectionFill
public <T> SqmExpression<Collection<T>> collectionFill(Expression<T> elementExpression, Integer elementCount) Description copied from interface:HibernateCriteriaBuilderCreates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFillin interfaceHibernateCriteriaBuilder- Specified by:
collectionFillin interfaceNodeBuilder
-
collectionFill
public <T> SqmExpression<Collection<T>> collectionFill(T element, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFillin interfaceHibernateCriteriaBuilder- Specified by:
collectionFillin interfaceNodeBuilder
-
collectionFill
Description copied from interface:HibernateCriteriaBuilderCreates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFillin interfaceHibernateCriteriaBuilder- Specified by:
collectionFillin interfaceNodeBuilder
-
collectionToString
public <T> SqmExpression<String> collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression) Description copied from interface:HibernateCriteriaBuilderConcatenates the non-null basic collection elements with a separator, as specified by the arguments.- Specified by:
collectionToStringin interfaceHibernateCriteriaBuilder- Specified by:
collectionToStringin interfaceNodeBuilder
-
collectionToString
public <T> SqmExpression<String> collectionToString(Expression<? extends Collection<?>> collectionExpression, String separator) Description copied from interface:HibernateCriteriaBuilderConcatenates the non-null basic collection elements with a separator, as specified by the arguments.- Specified by:
collectionToStringin interfaceHibernateCriteriaBuilder- Specified by:
collectionToStringin interfaceNodeBuilder
-