Interface NodeBuilder
- All Superinterfaces:
BindingContext, CriteriaBuilder, HibernateCriteriaBuilder, SqmCreationContext
Adapts the JPA CriteriaBuilder to generate SQM nodes.
-
Nested Class Summary
Nested classes/interfaces inherited from interface CriteriaBuilder
CriteriaBuilder.Case<R>, CriteriaBuilder.Coalesce<T>, CriteriaBuilder.In<T>, CriteriaBuilder.SimpleCase<C,R>, CriteriaBuilder.Trimspec -
Method Summary
Modifier and TypeMethodDescription<N extends Number>
SqmExpression<N> abs(Expression<N> x) Create an expression returning the absolute value of its argument.Create anallquantified expression over a subquery.booleanDeprecated, for removal: This API element is subject to removal in a future version.and(Expression<Boolean> x, Expression<Boolean> y) Create a conjunction predicate.Create ananyquantified expression over a subquery.Create an array-valued compound selection.Create an array-valued compound selection from a list of 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[]> arrayReverse(Expression<T[]> arrayExpression) Reverses the order of elements in an array.<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.<T> SqmExpression<T[]> arraySort(Expression<T[]> arrayExpression) Sorts the elements of an array in ascending order.<T> SqmExpression<T[]> arraySort(Expression<T[]> arrayExpression, boolean descending) Sorts the elements of an array in the specified order.<T> SqmExpression<T[]> arraySort(Expression<T[]> arrayExpression, boolean descending, boolean nullsFirst) Create an expression that sorts the given array with explicit null ordering.<T> SqmExpression<T[]> arraySort(Expression<T[]> arrayExpression, Expression<Boolean> descendingExpression) Sorts the elements of an array in the specified order.<T> SqmExpression<T[]> arraySort(Expression<T[]> arrayExpression, Expression<Boolean> descendingExpression, Expression<Boolean> nullsFirstExpression) Create an expression that sorts the given array with explicit null ordering.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, Expression<String> separatorExpression, Expression<String> defaultExpression) Concatenates the array elements with a separator, as specified by the arguments.arrayToString(Expression<? extends Object[]> arrayExpression, Expression<String> separatorExpression, String defaultValue) Concatenates the 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.arrayToString(Expression<? extends Object[]> arrayExpression, String separator, Expression<String> defaultExpression) Concatenates the array elements with a separator, as specified by the arguments.arrayToString(Expression<? extends Object[]> arrayExpression, String separator, String defaultValue) Concatenates the 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 ascending ordering for the given expression.<N extends Number>
SqmExpression<Double> avg(Expression<N> argument) Create an aggregate expression returning the average of numeric values.between(Expression<?> value, Expression<?> lower, Expression<?> upper, boolean negated) <Y extends Comparable<? super Y>>
SqmPredicatebetween(Expression<? extends Y> value, Expression<? extends Y> lower, Expression<? extends Y> upper) Create a predicate testing whether a value is between two bounds.<Y extends Comparable<? super Y>>
SqmPredicatebetween(Expression<? extends Y> value, Y lower, Y upper) Create a predicate testing whether a value is between two bounds.<Y extends Comparable<? super Y>>
SqmPredicatebetween(Y value, Expression<? extends Y> lower, Expression<? extends Y> upper) Create a predicate testing whether a value is between two bounds.<X,T> SqmExpression <X> cast(JpaExpression<T> expression, Class<X> castTargetJavaType) Create an expression that casts the given expression to the specified Java type.<X,T> SqmExpression <X> cast(JpaExpression<T> expression, JpaCastTarget<X> castTarget) Create an expression that casts the given expression to the specified cast target.<X> SqmCastTarget<X> castTarget(Class<X> castTargetJavaType) Create a cast target for the given Java type.<X> SqmCastTarget<X> castTarget(Class<X> castTargetJavaType, int precision, int scale) Create a cast target for the given Java type, precision, and scale.<X> SqmCastTarget<X> castTarget(Class<X> castTargetJavaType, long length) Create a cast target for the given Java type and SQL type length.<T> JpaCoalesce<T> coalesce()Create a coalesce expression.<Y> JpaCoalesce<Y> coalesce(Expression<? extends Y> x, Expression<? extends Y> y) Create a coalesce expression.<Y> JpaCoalesce<Y> coalesce(Expression<? extends Y> x, Y y) Create a coalesce expression.<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>> subArrayExpression) 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.<C extends Collection<?>>
SqmExpression<C> collectionReverse(Expression<C> collectionExpression) Create an expression that reverses the order of the elements of a collection.<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.<C extends Collection<?>>
SqmExpression<C> collectionSort(Expression<C> collectionExpression) Create an expression that sorts the elements of a collection.<C extends Collection<?>>
SqmExpression<C> collectionSort(Expression<C> collectionExpression, boolean descending) Create an expression that sorts the given collection in specified order.<C extends Collection<?>>
SqmExpression<C> collectionSort(Expression<C> collectionExpression, boolean descending, boolean nullsFirst) Create an expression that sorts the given collection with explicit null ordering.<C extends Collection<?>>
SqmExpression<C> collectionSort(Expression<C> collectionExpression, Expression<Boolean> descendingExpression) Create an expression that sorts the given collection in specified order.<C extends Collection<?>>
SqmExpression<C> collectionSort(Expression<C> collectionExpression, Expression<Boolean> descendingExpression, Expression<Boolean> nullsFirstExpression) Create an expression that sorts the given collection with explicit null ordering.collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression) Concatenates the non-null basic collection elements with a separator, as specified by the arguments.collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression, Expression<String> defaultExpression) Concatenates the collection elements with a separator, as specified by the arguments.collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression, String defaultValue) Concatenates the collection elements with a separator, as specified by the arguments.collectionToString(Expression<? extends Collection<?>> collectionExpression, String separator) Concatenates the non-null basic collection elements with a separator, as specified by the arguments.collectionToString(Expression<? extends Collection<?>> collectionExpression, String separator, Expression<String> defaultExpression) Concatenates the collection elements with a separator, as specified by the arguments.collectionToString(Expression<? extends Collection<?>> collectionExpression, String separator, String defaultValue) Concatenates the collection elements with a separator, as specified by the arguments.<C extends Collection<?>>
SqmExpression<C> collectionTrim(Expression<C> arrayExpression, Expression<Integer> elementCountExpression) Creates basic collection copy without the last N elements, specified by the second argument.<C extends Collection<?>>
SqmExpression<C> collectionTrim(Expression<C> arrayExpression, Integer elementCount) Creates basic collection copy without the last N elements, specified by the second argument.comparison(Expression<?> x, ComparisonOperator operator, Expression<?> y) concat(Expression<String> x, Expression<String> y) Create a string concatenation expression.concat(Expression<String> x, String y) Create a string concatenation expression.concat(String x, Expression<String> y) Create a string concatenation expression.Create an expression that concatenates two string literals.Create a predicate that is always true.<Y> JpaCompoundSelection<Y> Create a compound selection using the specified result type constructor.<Y> JpaCompoundSelection<Y> Create a compound selection whose arguments are supplied as a list.count()Equivalent to HQLcount(*).count(Expression<?> argument) Create an aggregate expression returning a row count.countDistinct(Expression<?> x) Create an aggregate expression returning the count of distinct values.<T> SqmDeleteStatement<T> createCriteriaDelete(Class<T> targetEntity) Create a criteria delete statement for the given entity type.<T> SqmInsertSelectStatement<T> createCriteriaInsertSelect(Class<T> targetEntity) Create a criteria insert statement which obtains inserted values from a select query.<T> SqmInsertValuesStatement<T> createCriteriaInsertValues(Class<T> targetEntity) Create a criteria insert statement which supplies explicit values.<T> SqmUpdateStatement<T> createCriteriaUpdate(Class<T> targetEntity) Create a criteria update statement for the given entity type.Create a criteria query.<T> SqmSelectStatement<T> createQuery(Class<T> resultClass) Create a criteria query for the given result type.<T> SqmSelectStatement<T> createQuery(String hql, Class<T> resultClass) Transform the given HQLselectquery to an equivalent criteria query.Create a tuple-valued criteria query.Create an expression for the current SQL date.Create an expression for the current instant.Create an expression for the current SQL time.Create an expression for the current SQL timestamp.desc(Expression<?> x) Create a descending ordering for the given expression.<N extends Number>
SqmExpression<N> diff(Expression<? extends N> x, Expression<? extends N> y) Create an expression returning a numeric difference.<N extends Number>
SqmExpression<N> diff(Expression<? extends N> x, N y) Create an expression returning a numeric difference.<N extends Number>
SqmExpression<N> diff(N x, Expression<? extends N> y) Create an expression returning a numeric difference.Create a predicate that is always false.distinctFrom(Expression<?> x, Expression<?> y) Create a predicate testing whether two expressions are distinct, treating nulls as comparable values.distinctFrom(Expression<?> x, Object y) Create a predicate testing whether an expression and a value are distinct, treating nulls as comparable values.equal(Expression<?> x, Expression<?> y) Create an equality predicate.equal(Expression<?> x, Object y) Create an equality predicate.Create a predicate testing whether a subquery returns results.Create an expression representing the foreign key of the given association path.<T> SqmFunction<T> function(String name, Class<T> type, Expression<?>[] args) Create an expression invoking a database function.ge(Expression<? extends Number> x, Expression<? extends Number> y) Create a greater-than-or-equal predicate for numeric expressions.ge(Expression<? extends Number> x, Number y) Create a greater-than-or-equal predicate for numeric expressions.<E extends Number>
SqmSetReturningFunction<E> generateSeries(E start, E stop) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(E start, E stop, E step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(E start, E stop, Expression<E> step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(E start, Expression<E> stop) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(E start, Expression<E> stop, E step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(E start, Expression<E> stop, Expression<E> step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(Expression<E> start, E stop) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(Expression<E> start, E stop, E step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(Expression<E> start, E stop, Expression<E> step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(Expression<E> start, Expression<E> stop) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(Expression<E> start, Expression<E> stop, E step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Number>
SqmSetReturningFunction<E> generateSeries(Expression<E> start, Expression<E> stop, Expression<E> step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E> generateTimeSeries(E start, E stop, Expression<? extends TemporalAmount> step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E> generateTimeSeries(E start, E stop, TemporalAmount step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E> generateTimeSeries(E start, Expression<E> stop, Expression<? extends TemporalAmount> step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E> generateTimeSeries(E start, Expression<E> stop, TemporalAmount step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E> generateTimeSeries(Expression<E> start, E stop, Expression<? extends TemporalAmount> step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E> generateTimeSeries(Expression<E> start, E stop, TemporalAmount step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E> generateTimeSeries(Expression<E> start, Expression<E> stop, Expression<? extends TemporalAmount> step) Creates agenerate_seriesfunction expression to generate a set of values as rows.<E extends Temporal>
SqmSetReturningFunction<E> generateTimeSeries(Expression<E> start, Expression<E> stop, TemporalAmount step) Creates agenerate_seriesfunction expression to generate a set of values as rows.default JpaMetamodelDeprecated, for removal: This API element is subject to removal in a future version.default NodeBuilderTheNodeBuilder.<Y extends Comparable<? super Y>>
SqmPredicategreaterThan(Expression<? extends Y> x, Expression<? extends Y> y) Create a greater-than predicate for comparable expressions.<Y extends Comparable<? super Y>>
SqmPredicategreaterThan(Expression<? extends Y> x, Y y) Create a greater-than predicate for comparable expressions.<Y extends Comparable<? super Y>>
SqmPredicategreaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y) Create a greater-than-or-equal predicate for comparable expressions.<Y extends Comparable<? super Y>>
SqmPredicategreaterThanOrEqualTo(Expression<? extends Y> x, Y y) Create a greater-than-or-equal predicate for comparable expressions.<X extends Comparable<? super X>>
SqmExpression<X> greatest(Expression<X> argument) Create an aggregate expression returning the greatest comparable value.gt(Expression<? extends Number> x, Expression<? extends Number> y) Create a greater-than predicate for numeric expressions.gt(Expression<? extends Number> x, Number y) Create a greater-than predicate for numeric expressions.Create an expression representing the identifier of the given path.<T> SqmInPredicate<T> in(Expression<? extends T> expression) Create aninpredicate builder for the given expression.<T> SqmInPredicate<T> in(Expression<? extends T> expression, Expression<? extends T>... values) Create aninpredicate with expression values.<T> SqmInPredicate<T> in(Expression<? extends T> expression, Collection<T> values) Create aninpredicate with values supplied as a collection.<T> SqmInPredicate<T> in(Expression<? extends T> expression, SqmSubQuery<T> subQuery) <T> SqmInPredicate<T> in(Expression<? extends T> expression, T... values) Create aninpredicate with literal values.<K, L extends List<?>>
SqmExpression<Set<K>> indexes(L list) Create an expression representing the indexes of the given list.<C extends Collection<?>>
SqmPredicateisEmpty(Expression<C> collection) Create a predicate testing whether a collection is empty.isFalse(Expression<Boolean> x) Create a predicate testing whether an expression is false.default 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 testing whether an element is a member of a collection.<E, C extends Collection<E>>
SqmPredicateisMember(Expression<E> elem, Expression<C> collection) Create a predicate testing whether an element is a member of a collection.<C extends Collection<?>>
SqmPredicateisNotEmpty(Expression<C> collection) Create a predicate testing whether a collection is not empty.<E, C extends Collection<E>>
SqmPredicateisNotMember(E elem, Expression<C> collection) Create a predicate testing 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 testing whether an element is not a member of a collection.isNotNull(Expression<?> x) Create a predicate testing whether an expression is not null.isNull(Expression<?> x) Create a predicate testing whether an expression is null.isTrue(Expression<Boolean> x) Create a predicate testing whether an expression is true.jsonArray(Expression<?>... values) Create a JSON array from the array of values.jsonArrayAgg(Expression<?> value) Aggregates the given value into a JSON array.jsonArrayAgg(Expression<?> value, Predicate filter) Aggregates the given value into a JSON array.jsonArrayAgg(Expression<?> value, Predicate filter, JpaOrder... orderBy) Aggregates the given value into a JSON array.jsonArrayAgg(Expression<?> value, JpaOrder... orderBy) Aggregates the given value into a JSON array.jsonArrayAggWithNulls(Expression<?> value) Aggregates the given value into a JSON array, retainingnullvalues in the JSON array.jsonArrayAggWithNulls(Expression<?> value, Predicate filter) Aggregates the given value into a JSON array, retainingnullvalues in the JSON array.jsonArrayAggWithNulls(Expression<?> value, Predicate filter, JpaOrder... orderBy) Aggregates the given value into a JSON array, retainingnullvalues in the JSON array.jsonArrayAggWithNulls(Expression<?> value, JpaOrder... orderBy) Aggregates the given value into a JSON array, retainingnullvalues in the JSON array.jsonArrayWithNulls(Expression<?>... values) Create a JSON object from the given array of values, retainingnullvalues in the JSON array.jsonExists(Expression<?> jsonDocument, Expression<String> jsonPath) Checks if a JSON document contains a node for the given JSON path.jsonExists(Expression<?> jsonDocument, String jsonPath) Checks if a JSON document contains a node for the given JSON path.jsonInsert(Expression<?> jsonDocument, Expression<String> jsonPath, Expression<?> value) Inserts a value by JSON path within a JSON document.jsonInsert(Expression<?> jsonDocument, Expression<String> jsonPath, Object value) Inserts a value by JSON path within a JSON document.jsonInsert(Expression<?> jsonDocument, String jsonPath, Expression<?> value) Inserts a value by JSON path within a JSON document.jsonInsert(Expression<?> jsonDocument, String jsonPath, Object value) Inserts a value by JSON path within a JSON document.jsonMergepatch(Expression<?> document, Expression<?> patch) Applies the patch JSON document onto the other JSON document and returns that.jsonMergepatch(Expression<?> document, String patch) Applies the patch JSON document onto the other JSON document and returns that.jsonMergepatch(String document, Expression<?> patch) Applies the patch JSON document onto the other JSON document and returns that.jsonObject(Map<?, ? extends Expression<?>> keyValues) Create a JSON object from the given map of key values.jsonObjectAgg(Expression<?> key, Expression<?> value) Aggregates the given value under the given key into a JSON object.jsonObjectAgg(Expression<?> key, Expression<?> value, Predicate filter) Aggregates the given value under the given key into a JSON object.jsonObjectAggWithNulls(Expression<?> key, Expression<?> value) Aggregates the given value under the given key into a JSON object, retainingnullvalues in the JSON object.jsonObjectAggWithNulls(Expression<?> key, Expression<?> value, Predicate filter) Aggregates the given value under the given key into a JSON object, retainingnullvalues in the JSON object.jsonObjectAggWithUniqueKeys(Expression<?> key, Expression<?> value) Aggregates the given value under the given key into a JSON object.jsonObjectAggWithUniqueKeys(Expression<?> key, Expression<?> value, Predicate filter) Aggregates the given value under the given key into a JSON object.jsonObjectAggWithUniqueKeysAndNulls(Expression<?> key, Expression<?> value) Aggregates the given value under the given key into a JSON object, retainingnullvalues in the JSON object.jsonObjectAggWithUniqueKeysAndNulls(Expression<?> key, Expression<?> value, Predicate filter) Aggregates the given value under the given key into a JSON object, retainingnullvalues in the JSON object.jsonObjectWithNulls(Map<?, ? extends Expression<?>> keyValues) Create a JSON object from the given map of key values, retainingnullvalues in the JSON.jsonQuery(Expression<?> jsonDocument, Expression<String> jsonPath) Queries values by JSON path from a JSON document.jsonQuery(Expression<?> jsonDocument, String jsonPath) jsonRemove(Expression<?> jsonDocument, Expression<String> jsonPath) Removes a value by JSON path within a JSON document.jsonRemove(Expression<?> jsonDocument, String jsonPath) Removes a value by JSON path within a JSON document.jsonReplace(Expression<?> jsonDocument, Expression<String> jsonPath, Expression<?> value) Replaces a value by JSON path within a JSON document.jsonReplace(Expression<?> jsonDocument, Expression<String> jsonPath, Object value) Replaces a value by JSON path within a JSON document.jsonReplace(Expression<?> jsonDocument, String jsonPath, Expression<?> value) Replaces a value by JSON path within a JSON document.jsonReplace(Expression<?> jsonDocument, String jsonPath, Object value) Replaces a value by JSON path within a JSON document.jsonSet(Expression<?> jsonDocument, Expression<String> jsonPath, Expression<?> value) Inserts/Replaces a value by JSON path within a JSON document.jsonSet(Expression<?> jsonDocument, Expression<String> jsonPath, Object value) Inserts/Replaces a value by JSON path within a JSON document.jsonSet(Expression<?> jsonDocument, String jsonPath, Expression<?> value) Inserts/Replaces a value by JSON path within a JSON document.jsonSet(Expression<?> jsonDocument, String jsonPath, Object value) Inserts/Replaces a value by JSON path within a JSON document.jsonTable(Expression<?> jsonDocument) Creates ajson_tablefunction expression to generate rows from JSON array elements.jsonTable(Expression<?> jsonDocument, Expression<String> jsonPath) Creates ajson_tablefunction expression to generate rows from JSON array elements.jsonTable(Expression<?> jsonDocument, String jsonPath) Creates ajson_tablefunction expression to generate rows from JSON array elements.jsonValue(Expression<?> jsonDocument, Expression<String> jsonPath) <T> SqmJsonValueExpression<T> jsonValue(Expression<?> jsonDocument, Expression<String> jsonPath, Class<T> returningType) Extracts a value by JSON path from a JSON document.jsonValue(Expression<?> jsonDocument, String jsonPath) <T> SqmJsonValueExpression<T> jsonValue(Expression<?> jsonDocument, String jsonPath, Class<T> returningType) Extracts a value by JSON path from a JSON document.le(Expression<? extends Number> x, Expression<? extends Number> y) Create a less-than-or-equal predicate for numeric expressions.le(Expression<? extends Number> x, Number y) Create a less-than-or-equal predicate for numeric expressions.<X extends Comparable<? super X>>
SqmExpression<X> least(Expression<X> argument) Create an aggregate expression returning the least comparable value.length(Expression<String> x) Create an expression returning the length of a string.<Y extends Comparable<? super Y>>
SqmPredicatelessThan(Expression<? extends Y> x, Expression<? extends Y> y) Create a less-than predicate for comparable expressions.<Y extends Comparable<? super Y>>
SqmPredicatelessThan(Expression<? extends Y> x, Y y) Create a less-than predicate for comparable expressions.<Y extends Comparable<? super Y>>
SqmPredicatelessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y) Create a less-than-or-equal predicate for comparable expressions.<Y extends Comparable<? super Y>>
SqmPredicatelessThanOrEqualTo(Expression<? extends Y> x, Y y) Create a less-than-or-equal predicate for comparable expressions.like(Expression<String> x, Expression<String> pattern) Create alikepredicate.like(Expression<String> x, Expression<String> pattern, char escapeChar) Create alikepredicate.like(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create alikepredicate.like(Expression<String> x, String pattern) Create alikepredicate.like(Expression<String> x, String pattern, char escapeChar) Create alikepredicate.like(Expression<String> x, String pattern, Expression<Character> escapeChar) Create alikepredicate.<T> SqmExpression<T> literal(T value) Create a literal expression for the given value.<T> List<? extends SqmExpression<T>> Create literal expressions for each value in the given list.<T> List<? extends SqmExpression<T>> literals(T[] values) Create literal expressions for each of the given values.Create expression to return current local date.Create expression to return current local datetime.Create expression to return current local time.locate(Expression<String> x, Expression<String> pattern) Create an expression returning the position of a substring.locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from) Create an expression returning the position of a substring.locate(Expression<String> x, String pattern) Create an expression returning the position of a substring.locate(Expression<String> x, String pattern, int from) Create an expression returning the position of a substring.lower(Expression<String> x) Create an expression returning a lowercase string.lt(Expression<? extends Number> x, Expression<? extends Number> y) Create a less-than predicate for numeric expressions.lt(Expression<? extends Number> x, Number y) Create a less-than predicate for numeric expressions.<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 returning the maximum numeric value.<N extends Number>
SqmExpression<N> min(Expression<N> argument) Create an aggregate expression returning the minimum numeric value.mod(Expression<Integer> x, Expression<Integer> y) Create an expression returning the remainder of integer division.mod(Expression<Integer> x, Integer y) Create an expression returning the remainder of integer division.mod(Integer x, Expression<Integer> y) Create an expression returning the remainder of integer division.<T> SqmExpression<T> named(Expression<T> expression, String name) Creates a named expression.<N extends Number>
SqmExpression<N> neg(Expression<N> x) Create an expression returning the arithmetic negation of its argument.not(Expression<Boolean> restriction) Create a negated predicate.notDistinctFrom(Expression<?> x, Expression<?> y) Create a predicate testing whether two expressions are not distinct, treating nulls as comparable values.notDistinctFrom(Expression<?> x, Object y) Create a predicate testing whether an expression and a value are not distinct, treating nulls as comparable values.notEqual(Expression<?> x, Expression<?> y) Create an inequality predicate.notEqual(Expression<?> x, Object y) Create an inequality predicate.notLike(Expression<String> x, Expression<String> pattern) Create a negatedlikepredicate.notLike(Expression<String> x, Expression<String> pattern, char escapeChar) Create a negatedlikepredicate.notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create a negatedlikepredicate.notLike(Expression<String> x, String pattern) Create a negatedlikepredicate.notLike(Expression<String> x, String pattern, char escapeChar) Create a negatedlikepredicate.notLike(Expression<String> x, String pattern, Expression<Character> escapeChar) Create a negatedlikepredicate.<Y> SqmExpression<Y> nullif(Expression<Y> x, Expression<?> y) Create a nullif expression.<Y> SqmExpression<Y> nullif(Expression<Y> x, Y y) Create a nullif expression.<T> SqmExpression<T> nullLiteral(Class<T> resultClass) Create a null literal expression of the given type.or(Expression<Boolean> x, Expression<Boolean> y) Create a disjunction predicate.<T> JpaParameterExpression<T> Create a parameter expression.<T> JpaParameterExpression<T> Create a parameter expression.<N extends Number>
SqmExpression<N> prod(Expression<? extends N> x, Expression<? extends N> y) Create an expression returning a numeric product.<N extends Number>
SqmExpression<N> prod(Expression<? extends N> x, N y) Create an expression returning a numeric product.<N extends Number>
SqmExpression<N> prod(N x, Expression<? extends N> y) Create an expression returning a numeric product.quot(Expression<? extends Number> x, Expression<? extends Number> y) Create an expression returning a numeric quotient.quot(Expression<? extends Number> x, Number y) Create an expression returning a numeric quotient.quot(Number x, Expression<? extends Number> y) Create an expression returning a numeric quotient.quotPortable(Expression<? extends Number> x, Expression<? extends Number> y) <R> JpaSearchedCase<R> Create a searched case expression.<C,R> JpaSimpleCase <C, R> selectCase(Expression<? extends C> expression) Create a simple case expression.<C,R> JpaSimpleCase <C, R> selectCase(Expression<? extends C> expression, Class<R> resultType) Create a case expression with the given result type.<R> JpaSearchedCase<R> selectCase(Class<R> resultType) Create a case expression with the given result type.<E> SqmSetReturningFunction<E> setReturningFunction(String name, Expression<?>... args) Create a new set-returning function expression.<C extends Collection<?>>
SqmExpression<Integer> size(C collection) Create an expression returning the size of a collection.<C extends Collection<?>>
SqmExpression<Integer> size(Expression<C> collection) Create an expression returning the size of a collection.Create asomequantified expression over a subquery.sort(JpaExpression<?> sortExpression) Create an ordering for the given sort expression.sort(JpaExpression<?> sortExpression, SortDirection sortOrder) Create an ordering for the given sort expression and direction.sort(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence) Create an ordering for the given sort expression, direction, and null precedence.sort(JpaExpression<?> sortExpression, SortDirection sortOrder, Nulls nullPrecedence, boolean ignoreCase) Create an ordering for the given sort expression with optional case-insensitive comparison.sqrt(Expression<? extends Number> x) Create an expression returning the square root of its argument.substring(Expression<String> x, int from) Create a substring expression.substring(Expression<String> x, int from, int len) Create a substring expression.substring(Expression<String> x, Expression<Integer> from) Create a substring expression.substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len) Create a substring expression.<N extends Number>
SqmExpression<N> sum(Expression<? extends N> x, Expression<? extends N> y) Create an expression returning a numeric sum.<N extends Number>
SqmExpression<N> sum(Expression<? extends N> x, N y) Create an expression returning a numeric sum.<N extends Number>
SqmExpression<N> sum(Expression<N> argument) Create an expression returning a numeric sum.<N extends Number>
SqmExpression<N> sum(N x, Expression<? extends N> y) Create an expression returning a numeric sum.sumAsDouble(Expression<Float> argument) Create an aggregate expression returning the sum as a Double.sumAsLong(Expression<Integer> argument) Create an aggregate expression returning the sum as a Long.toBigDecimal(Expression<? extends Number> number) Create an expression converted to BigDecimal.toBigInteger(Expression<? extends Number> number) Create an expression converted to BigInteger.toDouble(Expression<? extends Number> number) Create an expression converted to Double.toFloat(Expression<? extends Number> number) Create an expression converted to Float.toInteger(Expression<? extends Number> number) Create an expression converted to Integer.toLong(Expression<? extends Number> number) Create an expression converted to Long.toString(Expression<Character> character) Create an expression converted to String.<X, T, E extends T>
SqmBagJoin<X, E> treat(CollectionJoin<X, T> join, Class<E> type) Downcast the given collection join to the specified subtype.<X, Y, T extends Y>
SqmFrom<X, T> Downcast the given from element to the specified subtype.<X, T, V extends T>
SqmJoin<X, V> Downcast the given join to the specified subtype.<X, T, E extends T>
SqmListJoin<X, E> Downcast the given list join to the specified subtype.<X, K, T, V extends T>
SqmMapJoin<X, K, V> Downcast the given map join to the specified subtype.<X, T extends X>
SqmPath<T> Downcast the given path to the specified subtype.<X, T extends X>
SqmRoot<T> Downcast the given root to the specified subtype.<X, T, E extends T>
SqmSetJoin<X, E> Downcast the given set join to the specified subtype.trim(char t, Expression<String> x) Create a trim expression.trim(CriteriaBuilder.Trimspec ts, char t, Expression<String> x) Create a trim expression.trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x) Create a trim expression.trim(CriteriaBuilder.Trimspec ts, Expression<String> x) Create a trim expression.trim(Expression<Character> t, Expression<String> x) Create a trim expression.trim(Expression<String> x) Create a trim expression.Create a tuple-valued compound selection.Create a tuple-valued compound selection from a list of selections.<E> SqmSetReturningFunction<E> unnestArray(Expression<E[]> array) Creates an unnest function expression to turn an array into a set of rows.<E> SqmSetReturningFunction<E> unnestCollection(Expression<? extends Collection<E>> collection) Creates an unnest function expression to turn an array into a set of rows.upper(Expression<String> x) Create an expression returning an uppercase string.values(Expression<?>... expressions) Create a row of values for an insert-values criteria statement.values(List<? extends Expression<?>> expressions) Create a row of values for an insert-values criteria statement.Create an expression representing the version of the given path.wrap(BooleanExpression... expressions) Wrap boolean expressions as predicates and combine them with conjunction.wrap(Expression<Boolean> expression) Wrap a boolean expression as a predicate.wrap(Expression<Boolean>... expressions) Wrap boolean expressions as predicates and combine them with conjunction.wrap(List<? extends Expression<Boolean>> restrictions) xmlagg(JpaOrder order, Expression<?> argument) xmlagg(JpaOrder order, JpaPredicate filter, Expression<?> argument) xmlagg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?> argument) Create axmlaggordered set-aggregate function expression.xmlagg(JpaOrder order, JpaWindow window, Expression<?> argument) xmlcomment(String comment) Creates an XML comment with the given argument as content.xmlconcat(Expression<?>... elements) Concatenates the given XML element expressions.xmlconcat(List<? extends Expression<?>> elements) Concatenates the given XML element expressions.xmlelement(String elementName) Creates an XML element with the given element name.xmlexists(Expression<String> query, Expression<?> xmlDocument) Checks if the given XPath or XQuery query exists in the given XML document.xmlexists(String query, Expression<?> xmlDocument) Checks if the given XPath or XQuery query exists in the given XML document.xmlforest(Expression<?>... elements) Creates an XML forest from the given XML element expressions.xmlforest(List<? extends Expression<?>> elements) Creates an XML forest from the given XML element expressions.Creates an XML processing with the given name.xmlpi(String elementName, Expression<String> content) Creates an XML processing with the given name and content.xmlquery(Expression<String> query, Expression<?> xmlDocument) Queries the given XML document with the given XPath or XQuery query.xmlquery(String query, Expression<?> xmlDocument) Queries the given XML document with the given XPath or XQuery query.xmlTable(Expression<String> xpath, Expression<?> xmlDocument) Creates axmltablefunction expression to generate rows from XML elements.xmlTable(String xpath, Expression<?> xmlDocument) Creates axmltablefunction expression to generate rows from XML elements.Methods inherited from interface BindingContext
getTypeConfiguration, resolveExpressibleMethods inherited from interface CriteriaBuilder
asc, augment, augment, augment, booleanLiteral, convertedParameter, createCriteriaDelete, createCriteriaDelete, createCriteriaUpdate, createCriteriaUpdate, createQuery, createQuery, desc, greatest, greatest, least, least, numericLiteral, stringLiteral, temporalLiteralMethods inherited from interface HibernateCriteriaBuilder
acos, addDuration, addDuration, addDuration, and, and, array, array, asc, asc, asc, asin, atan, atan2, atan2, atan2, avg, avg, avg, ceiling, collate, concat, cos, cosh, count, count, count, createWindow, cumeDist, day, degrees, denseRank, desc, desc, desc, duration, durationBetween, durationBetween, durationByUnit, durationDiff, durationDiff, durationScaled, durationScaled, durationScaled, durationSum, durationSum, except, except, except, except, except, except, exceptAll, exceptAll, exceptAll, exceptAll, exp, extract, firstValue, floor, format, frameBetweenFollowing, frameBetweenFollowing, frameBetweenPreceding, frameBetweenPreceding, frameCurrentRow, frameUnboundedFollowing, frameUnboundedPreceding, functionAggregate, functionAggregate, functionAggregate, functionWithinGroup, functionWithinGroup, functionWithinGroup, functionWithinGroup, hour, ilike, ilike, ilike, ilike, ilike, ilike, ilikeRegexp, intersect, intersect, intersect, intersect, intersect, intersect, intersectAll, intersectAll, intersectAll, intersectAll, lastValue, left, left, likeRegexp, listagg, listagg, listagg, listagg, listagg, listagg, listagg, listagg, listParameter, listParameter, ln, log, log, log10, minute, mode, mode, mode, mode, month, notIlike, notIlike, notIlike, notIlike, notIlike, notIlike, notIlikeRegexp, notLikeRegexp, nthValue, nthValue, or, or, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, percentileCont, percentileCont, percentileCont, percentileCont, percentileDisc, percentileDisc, percentileDisc, percentileDisc, percentRank, percentRank, percentRank, percentRank, percentRank, pi, power, power, radians, rank, rank, rank, rank, rank, repeat, repeat, repeat, replace, replace, replace, replace, right, right, round, rowNumber, search, search, search, second, sign, sin, sinh, sql, subtractDuration, subtractDuration, subtractDuration, sum, sum, sum, tan, tanh, truncate, truncate, union, union, union, union, union, union, unionAll, unionAll, unionAll, unionAll, unwrap, value, windowFunction, yearMethods inherited from interface SqmCreationContext
classForName, getJpaMetamodel, getMappingMetamodel, getQueryEngine
-
Method Details
-
getDomainModel
-
isJpaQueryComplianceEnabled
default boolean isJpaQueryComplianceEnabled() -
getNodeBuilder
Description copied from interface:SqmCreationContextTheNodeBuilder.- Specified by:
getNodeBuilderin interfaceSqmCreationContext
-
arrayAgg
@Nonnull <T> SqmExpression<T[]> arrayAgg(@Nullable JpaOrder order, @Nonnull Expression<? extends T> argument) - Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- See Also:
-
arrayAgg
@Nonnull <T> SqmExpression<T[]> arrayAgg(@Nullable JpaOrder order, @Nullable JpaPredicate filter, @Nonnull Expression<? extends T> argument) - Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- See Also:
-
arrayAgg
@Nonnull <T> SqmExpression<T[]> arrayAgg(@Nullable JpaOrder order, @Nullable JpaWindow window, @Nonnull Expression<? extends T> argument) - Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- See Also:
-
arrayAgg
@Nonnull <T> SqmExpression<T[]> arrayAgg(@Nullable JpaOrder order, @Nullable JpaPredicate filter, @Nullable JpaWindow window, @Nonnull Expression<? extends T> argument) Description copied from interface:HibernateCriteriaBuilderCreate aarray_aggordered set-aggregate function expression.- Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- Parameters:
order- The order-by clause used in the within groupfilter- The optional filter clausewindow- The optional window over which to apply the functionargument- The values to aggregate- Returns:
- the ordered set-aggregate expression
- See Also:
-
arrayLiteral
Description copied from interface:HibernateCriteriaBuilderCreates an array literal with thearrayconstructor function.- Specified by:
arrayLiteralin interfaceHibernateCriteriaBuilder
-
arrayLength
Description copied from interface:HibernateCriteriaBuilderDetermines the length of an array.- Specified by:
arrayLengthin interfaceHibernateCriteriaBuilder
-
arrayPosition
@Nonnull <T> SqmExpression<Integer> arrayPosition(@Nonnull Expression<T[]> arrayExpression, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in an array.- Specified by:
arrayPositionin interfaceHibernateCriteriaBuilder
-
arrayPosition
@Nonnull <T> SqmExpression<Integer> arrayPosition(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in an array.- Specified by:
arrayPositionin interfaceHibernateCriteriaBuilder
-
arrayPositions
@Nonnull <T> SqmExpression<int[]> arrayPositions(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsin interfaceHibernateCriteriaBuilder
-
arrayPositions
@Nonnull <T> SqmExpression<int[]> arrayPositions(@Nonnull Expression<T[]> arrayExpression, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsin interfaceHibernateCriteriaBuilder
-
arrayPositionsList
@Nonnull <T> SqmExpression<List<Integer>> arrayPositionsList(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsListin interfaceHibernateCriteriaBuilder
-
arrayPositionsList
@Nonnull <T> SqmExpression<List<Integer>> arrayPositionsList(@Nonnull Expression<T[]> arrayExpression, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsListin interfaceHibernateCriteriaBuilder
-
arrayConcat
@Nonnull <T> SqmExpression<T[]> arrayConcat(@Nonnull Expression<T[]> arrayExpression1, @Nonnull Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderConcatenates arrays with each other in order.- Specified by:
arrayConcatin interfaceHibernateCriteriaBuilder
-
arrayConcat
@Nonnull <T> SqmExpression<T[]> arrayConcat(@Nonnull Expression<T[]> arrayExpression1, @Nullable T[] array2) Description copied from interface:HibernateCriteriaBuilderConcatenates arrays with each other in order.- Specified by:
arrayConcatin interfaceHibernateCriteriaBuilder
-
arrayConcat
@Nonnull <T> SqmExpression<T[]> arrayConcat(@Nullable T[] array1, @Nonnull Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderConcatenates arrays with each other in order.- Specified by:
arrayConcatin interfaceHibernateCriteriaBuilder
-
arrayAppend
@Nonnull <T> SqmExpression<T[]> arrayAppend(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderAppends element to array.- Specified by:
arrayAppendin interfaceHibernateCriteriaBuilder
-
arrayAppend
@Nonnull <T> SqmExpression<T[]> arrayAppend(@Nonnull Expression<T[]> arrayExpression, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderAppends element to array.- Specified by:
arrayAppendin interfaceHibernateCriteriaBuilder
-
arrayPrepend
@Nonnull <T> SqmExpression<T[]> arrayPrepend(@Nonnull Expression<T> elementExpression, @Nonnull Expression<T[]> arrayExpression) Description copied from interface:HibernateCriteriaBuilderPrepends element to array.- Specified by:
arrayPrependin interfaceHibernateCriteriaBuilder
-
arrayPrepend
@Nonnull <T> SqmExpression<T[]> arrayPrepend(@Nullable T element, @Nonnull Expression<T[]> arrayExpression) Description copied from interface:HibernateCriteriaBuilderPrepends element to array.- Specified by:
arrayPrependin interfaceHibernateCriteriaBuilder
-
arrayGet
@Nonnull <T> SqmExpression<T> arrayGet(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderAccesses the element of an array by 1-based index.- Specified by:
arrayGetin interfaceHibernateCriteriaBuilder
-
arrayGet
@Nonnull <T> SqmExpression<T> arrayGet(@Nonnull Expression<T[]> arrayExpression, @Nullable Integer index) Description copied from interface:HibernateCriteriaBuilderAccesses the element of an array by 1-based index.- Specified by:
arrayGetin interfaceHibernateCriteriaBuilder
-
arraySet
@Nonnull <T> SqmExpression<T[]> arraySet(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<Integer> indexExpression, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder
-
arraySet
@Nonnull <T> SqmExpression<T[]> arraySet(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<Integer> indexExpression, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder
-
arraySet
@Nonnull <T> SqmExpression<T[]> arraySet(@Nonnull Expression<T[]> arrayExpression, @Nullable Integer index, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder
-
arraySet
@Nonnull <T> SqmExpression<T[]> arraySet(@Nonnull Expression<T[]> arrayExpression, @Nullable Integer index, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder
-
arrayRemove
@Nonnull <T> SqmExpression<T[]> arrayRemove(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element removed.- Specified by:
arrayRemovein interfaceHibernateCriteriaBuilder
-
arrayRemove
@Nonnull <T> SqmExpression<T[]> arrayRemove(@Nonnull Expression<T[]> arrayExpression, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element removed.- Specified by:
arrayRemovein interfaceHibernateCriteriaBuilder
-
arrayRemoveIndex
@Nonnull <T> SqmExpression<T[]> arrayRemoveIndex(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with the element at the given 1-based index removed.- Specified by:
arrayRemoveIndexin interfaceHibernateCriteriaBuilder
-
arrayRemoveIndex
@Nonnull <T> SqmExpression<T[]> arrayRemoveIndex(@Nonnull Expression<T[]> arrayExpression, @Nullable Integer index) Description copied from interface:HibernateCriteriaBuilderCreates array copy with the element at the given 1-based index removed.- Specified by:
arrayRemoveIndexin interfaceHibernateCriteriaBuilder
-
arraySlice
@Nonnull <T> SqmExpression<T[]> arraySlice(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<Integer> lowerIndexExpression, @Nonnull 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
-
arraySlice
@Nonnull <T> SqmExpression<T[]> arraySlice(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<Integer> lowerIndexExpression, @Nullable 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
-
arraySlice
@Nonnull <T> SqmExpression<T[]> arraySlice(@Nonnull Expression<T[]> arrayExpression, @Nullable Integer lowerIndex, @Nonnull 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
-
arraySlice
@Nonnull <T> SqmExpression<T[]> arraySlice(@Nonnull Expression<T[]> arrayExpression, @Nullable Integer lowerIndex, @Nullable 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
-
arrayReplace
@Nonnull <T> SqmExpression<T[]> arrayReplace(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T> oldElementExpression, @Nonnull Expression<T> newElementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder
-
arrayReplace
@Nonnull <T> SqmExpression<T[]> arrayReplace(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T> oldElementExpression, @Nullable T newElement) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder
-
arrayReplace
@Nonnull <T> SqmExpression<T[]> arrayReplace(@Nonnull Expression<T[]> arrayExpression, @Nullable T oldElement, @Nonnull Expression<T> newElementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder
-
arrayReplace
@Nonnull <T> SqmExpression<T[]> arrayReplace(@Nonnull Expression<T[]> arrayExpression, @Nullable T oldElement, @Nullable T newElement) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder
-
arrayTrim
@Nonnull <T> SqmExpression<T[]> arrayTrim(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy without the last N elements, specified by the second argument.- Specified by:
arrayTrimin interfaceHibernateCriteriaBuilder
-
arrayTrim
@Nonnull <T> SqmExpression<T[]> arrayTrim(@Nonnull Expression<T[]> arrayExpression, @Nullable Integer elementCount) Description copied from interface:HibernateCriteriaBuilderCreates array copy without the last N elements, specified by the second argument.- Specified by:
arrayTrimin interfaceHibernateCriteriaBuilder
-
arrayReverse
Description copied from interface:HibernateCriteriaBuilderReverses the order of elements in an array.- Specified by:
arrayReversein interfaceHibernateCriteriaBuilder
-
arraySort
Description copied from interface:HibernateCriteriaBuilderSorts the elements of an array in ascending order.- Specified by:
arraySortin interfaceHibernateCriteriaBuilder
-
arraySort
@Nonnull <T> SqmExpression<T[]> arraySort(@Nonnull Expression<T[]> arrayExpression, boolean descending) Description copied from interface:HibernateCriteriaBuilderSorts the elements of an array in the specified order.- Specified by:
arraySortin interfaceHibernateCriteriaBuilder
-
arraySort
@Nonnull <T> SqmExpression<T[]> arraySort(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<Boolean> descendingExpression) Description copied from interface:HibernateCriteriaBuilderSorts the elements of an array in the specified order.- Specified by:
arraySortin interfaceHibernateCriteriaBuilder
-
arraySort
@Nonnull <T> SqmExpression<T[]> arraySort(@Nonnull Expression<T[]> arrayExpression, boolean descending, boolean nullsFirst) Description copied from interface:HibernateCriteriaBuilderCreate an expression that sorts the given array with explicit null ordering.- Specified by:
arraySortin interfaceHibernateCriteriaBuilder
-
arraySort
@Nonnull <T> SqmExpression<T[]> arraySort(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<Boolean> descendingExpression, @Nonnull Expression<Boolean> nullsFirstExpression) Description copied from interface:HibernateCriteriaBuilderCreate an expression that sorts the given array with explicit null ordering.- Specified by:
arraySortin interfaceHibernateCriteriaBuilder
-
arrayFill
@Nonnull <T> SqmExpression<T[]> arrayFill(@Nonnull Expression<T> elementExpression, @Nonnull Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates array with the same element N times, as specified by the arguments.- Specified by:
arrayFillin interfaceHibernateCriteriaBuilder
-
arrayFill
@Nonnull <T> SqmExpression<T[]> arrayFill(@Nonnull Expression<T> elementExpression, @Nullable Integer elementCount) Description copied from interface:HibernateCriteriaBuilderCreates array with the same element N times, as specified by the arguments.- Specified by:
arrayFillin interfaceHibernateCriteriaBuilder
-
arrayFill
@Nonnull <T> SqmExpression<T[]> arrayFill(@Nullable T element, @Nonnull Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates array with the same element N times, as specified by the arguments.- Specified by:
arrayFillin interfaceHibernateCriteriaBuilder
-
arrayFill
Description copied from interface:HibernateCriteriaBuilderCreates array with the same element N times, as specified by the arguments.- Specified by:
arrayFillin interfaceHibernateCriteriaBuilder
-
arrayToString
@Nonnull SqmExpression<String> arrayToString(@Nonnull Expression<? extends Object[]> arrayExpression, @Nonnull 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
-
arrayToString
@Nonnull SqmExpression<String> arrayToString(@Nonnull Expression<? extends Object[]> arrayExpression, @Nullable String separator) Description copied from interface:HibernateCriteriaBuilderConcatenates the non-null array elements with a separator, as specified by the arguments.- Specified by:
arrayToStringin interfaceHibernateCriteriaBuilder
-
arrayToString
@Nonnull SqmExpression<String> arrayToString(@Nonnull Expression<? extends Object[]> arrayExpression, @Nonnull Expression<String> separatorExpression, @Nonnull Expression<String> defaultExpression) Description copied from interface:HibernateCriteriaBuilderConcatenates the array elements with a separator, as specified by the arguments. Null array elements are replaced with the given default element.- Specified by:
arrayToStringin interfaceHibernateCriteriaBuilder
-
arrayToString
@Nonnull SqmExpression<String> arrayToString(@Nonnull Expression<? extends Object[]> arrayExpression, @Nonnull Expression<String> separatorExpression, @Nullable String defaultValue) Description copied from interface:HibernateCriteriaBuilderConcatenates the array elements with a separator, as specified by the arguments. Null array elements are replaced with the given default element.- Specified by:
arrayToStringin interfaceHibernateCriteriaBuilder
-
arrayToString
@Nonnull SqmExpression<String> arrayToString(@Nonnull Expression<? extends Object[]> arrayExpression, @Nullable String separator, @Nonnull Expression<String> defaultExpression) Description copied from interface:HibernateCriteriaBuilderConcatenates the array elements with a separator, as specified by the arguments. Null array elements are replaced with the given default element.- Specified by:
arrayToStringin interfaceHibernateCriteriaBuilder
-
arrayToString
@Nonnull SqmExpression<String> arrayToString(@Nonnull Expression<? extends Object[]> arrayExpression, @Nullable String separator, @Nullable String defaultValue) Description copied from interface:HibernateCriteriaBuilderConcatenates the array elements with a separator, as specified by the arguments. Null array elements are replaced with the given default element.- Specified by:
arrayToStringin interfaceHibernateCriteriaBuilder
-
arrayContains
@Nonnull <T> SqmPredicate arrayContains(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array contains an element.- Specified by:
arrayContainsin interfaceHibernateCriteriaBuilder
-
arrayContains
@Nonnull <T> SqmPredicate arrayContains(@Nonnull Expression<T[]> arrayExpression, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderWhether an array contains an element.- Specified by:
arrayContainsin interfaceHibernateCriteriaBuilder
-
arrayContains
@Nonnull <T> SqmPredicate arrayContains(@Nullable T[] array, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array contains an element.- Specified by:
arrayContainsin interfaceHibernateCriteriaBuilder
-
arrayContainsNullable
@Nonnull <T> SqmPredicate arrayContainsNullable(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array contains a nullable element.- Specified by:
arrayContainsNullablein interfaceHibernateCriteriaBuilder
-
arrayContainsNullable
@Nonnull <T> SqmPredicate arrayContainsNullable(@Nonnull Expression<T[]> arrayExpression, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderWhether an array contains a nullable element.- Specified by:
arrayContainsNullablein interfaceHibernateCriteriaBuilder
-
arrayContainsNullable
@Nonnull <T> SqmPredicate arrayContainsNullable(@Nullable T[] array, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array contains a nullable element.- Specified by:
arrayContainsNullablein interfaceHibernateCriteriaBuilder
-
arrayIncludes
@Nonnull <T> SqmPredicate arrayIncludes(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayIncludesin interfaceHibernateCriteriaBuilder
-
arrayIncludes
@Nonnull <T> SqmPredicate arrayIncludes(@Nonnull Expression<T[]> arrayExpression, @Nullable T[] subArray) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayIncludesin interfaceHibernateCriteriaBuilder
-
arrayIncludes
@Nonnull <T> SqmPredicate arrayIncludes(@Nullable T[] array, @Nonnull Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayIncludesin interfaceHibernateCriteriaBuilder
-
arrayIncludesNullable
@Nonnull <T> SqmPredicate arrayIncludesNullable(@Nonnull Expression<T[]> arrayExpression, @Nonnull Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullablein interfaceHibernateCriteriaBuilder
-
arrayIncludesNullable
@Nonnull <T> SqmPredicate arrayIncludesNullable(@Nonnull Expression<T[]> arrayExpression, @Nullable T[] subArray) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullablein interfaceHibernateCriteriaBuilder
-
arrayIncludesNullable
@Nonnull <T> SqmPredicate arrayIncludesNullable(@Nullable T[] array, @Nonnull Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullablein interfaceHibernateCriteriaBuilder
-
arrayIntersects
@Nonnull <T> SqmPredicate arrayIntersects(@Nonnull Expression<T[]> arrayExpression1, @Nonnull Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayIntersectsin interfaceHibernateCriteriaBuilder
-
arrayIntersects
@Nonnull <T> SqmPredicate arrayIntersects(@Nonnull Expression<T[]> arrayExpression1, @Nullable T[] array2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayIntersectsin interfaceHibernateCriteriaBuilder
-
arrayIntersects
@Nonnull <T> SqmPredicate arrayIntersects(@Nullable T[] array1, @Nonnull Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayIntersectsin interfaceHibernateCriteriaBuilder
-
arrayIntersectsNullable
@Nonnull <T> SqmPredicate arrayIntersectsNullable(@Nonnull Expression<T[]> arrayExpression1, @Nonnull Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayIntersectsNullablein interfaceHibernateCriteriaBuilder
-
arrayIntersectsNullable
@Nonnull <T> SqmPredicate arrayIntersectsNullable(@Nonnull Expression<T[]> arrayExpression1, @Nullable T[] array2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayIntersectsNullablein interfaceHibernateCriteriaBuilder
-
arrayIntersectsNullable
@Nonnull <T> SqmPredicate arrayIntersectsNullable(@Nullable T[] array1, @Nonnull Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayIntersectsNullablein interfaceHibernateCriteriaBuilder
-
collectionLiteral
Description copied from interface:HibernateCriteriaBuilderCreates a basic collection literal with thearrayconstructor function.- Specified by:
collectionLiteralin interfaceHibernateCriteriaBuilder
-
collectionLength
@Nonnull SqmExpression<Integer> collectionLength(@Nonnull Expression<? extends Collection<?>> collectionExpression) Description copied from interface:HibernateCriteriaBuilderDetermines the length of a basic collection.- Specified by:
collectionLengthin interfaceHibernateCriteriaBuilder
-
collectionPosition
@Nonnull <E> SqmExpression<Integer> collectionPosition(@Nonnull Expression<? extends Collection<? extends E>> collectionExpression, @Nullable E element) Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in a basic collection.- Specified by:
collectionPositionin interfaceHibernateCriteriaBuilder
-
collectionPosition
@Nonnull <E> SqmExpression<Integer> collectionPosition(@Nonnull Expression<? extends Collection<? extends E>> collectionExpression, @Nonnull Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in a basic collection.- Specified by:
collectionPositionin interfaceHibernateCriteriaBuilder
-
collectionPositions
@Nonnull <T> SqmExpression<int[]> collectionPositions(@Nonnull Expression<? extends Collection<? super T>> collectionExpression, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsin interfaceHibernateCriteriaBuilder
-
collectionPositions
@Nonnull <T> SqmExpression<int[]> collectionPositions(@Nonnull Expression<? extends Collection<? super T>> collectionExpression, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsin interfaceHibernateCriteriaBuilder
-
collectionPositionsList
@Nonnull <T> SqmExpression<List<Integer>> collectionPositionsList(@Nonnull Expression<? extends Collection<? super T>> collectionExpression, @Nonnull Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsListin interfaceHibernateCriteriaBuilder
-
collectionPositionsList
@Nonnull <T> SqmExpression<List<Integer>> collectionPositionsList(@Nonnull Expression<? extends Collection<? super T>> collectionExpression, @Nullable T element) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsListin interfaceHibernateCriteriaBuilder
-
collectionConcat
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionConcat(@Nonnull Expression<C> collectionExpression1, @Nonnull Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderConcatenates basic collections with each other in order.- Specified by:
collectionConcatin interfaceHibernateCriteriaBuilder
-
collectionConcat
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionConcat(@Nonnull Expression<C> collectionExpression1, @Nullable Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilderConcatenates basic collections with each other in order.- Specified by:
collectionConcatin interfaceHibernateCriteriaBuilder
-
collectionConcat
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionConcat(@Nullable C collection1, @Nonnull Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderConcatenates basic collections with each other in order.- Specified by:
collectionConcatin interfaceHibernateCriteriaBuilder
-
collectionAppend
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionAppend(@Nonnull Expression<C> collectionExpression, @Nonnull Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderAppends element to basic collection.- Specified by:
collectionAppendin interfaceHibernateCriteriaBuilder
-
collectionAppend
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionAppend(@Nonnull Expression<C> collectionExpression, @Nullable E element) Description copied from interface:HibernateCriteriaBuilderAppends element to basic collection.- Specified by:
collectionAppendin interfaceHibernateCriteriaBuilder
-
collectionPrepend
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionPrepend(@Nonnull Expression<? extends E> elementExpression, @Nonnull Expression<C> collectionExpression) Description copied from interface:HibernateCriteriaBuilderPrepends element to basic collection.- Specified by:
collectionPrependin interfaceHibernateCriteriaBuilder
-
collectionPrepend
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionPrepend(@Nullable E element, @Nonnull Expression<C> collectionExpression) Description copied from interface:HibernateCriteriaBuilderPrepends element to basic collection.- Specified by:
collectionPrependin interfaceHibernateCriteriaBuilder
-
collectionGet
@Nonnull <E> SqmExpression<E> collectionGet(@Nonnull Expression<? extends Collection<E>> collectionExpression, @Nonnull Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderAccesses the element of the basic collection by 1-based index.- Specified by:
collectionGetin interfaceHibernateCriteriaBuilder
-
collectionGet
@Nonnull <E> SqmExpression<E> collectionGet(@Nonnull Expression<? extends Collection<E>> collectionExpression, @Nullable Integer index) Description copied from interface:HibernateCriteriaBuilderAccesses the element of the basic collection by 1-based index.- Specified by:
collectionGetin interfaceHibernateCriteriaBuilder
-
collectionSet
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionSet(@Nonnull Expression<C> collectionExpression, @Nonnull Expression<Integer> indexExpression, @Nonnull Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder
-
collectionSet
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionSet(@Nonnull Expression<C> collectionExpression, @Nonnull Expression<Integer> indexExpression, @Nullable E element) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder
-
collectionSet
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionSet(@Nonnull Expression<C> collectionExpression, @Nullable Integer index, @Nonnull Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder
-
collectionSet
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionSet(@Nonnull Expression<C> collectionExpression, @Nullable Integer index, @Nullable E element) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder
-
collectionRemove
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionRemove(@Nonnull Expression<C> collectionExpression, @Nonnull Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element removed.- Specified by:
collectionRemovein interfaceHibernateCriteriaBuilder
-
collectionRemove
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionRemove(@Nonnull Expression<C> collectionExpression, @Nullable E element) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element removed.- Specified by:
collectionRemovein interfaceHibernateCriteriaBuilder
-
collectionRemoveIndex
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionRemoveIndex(@Nonnull Expression<C> collectionExpression, @Nonnull 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
-
collectionRemoveIndex
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionRemoveIndex(@Nonnull Expression<C> collectionExpression, @Nullable Integer index) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with the element at the given 1-based index removed.- Specified by:
collectionRemoveIndexin interfaceHibernateCriteriaBuilder
-
collectionSlice
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionSlice(@Nonnull Expression<C> collectionExpression, @Nonnull Expression<Integer> lowerIndexExpression, @Nonnull 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
-
collectionSlice
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionSlice(@Nonnull Expression<C> collectionExpression, @Nonnull Expression<Integer> lowerIndexExpression, @Nullable 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
-
collectionSlice
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionSlice(@Nonnull Expression<C> collectionExpression, @Nullable Integer lowerIndex, @Nonnull 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
-
collectionSlice
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionSlice(@Nonnull Expression<C> collectionExpression, @Nullable Integer lowerIndex, @Nullable 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
-
collectionReplace
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionReplace(@Nonnull Expression<C> collectionExpression, @Nonnull Expression<? extends E> oldElementExpression, @Nonnull Expression<? extends E> newElementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder
-
collectionReplace
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionReplace(@Nonnull Expression<C> collectionExpression, @Nonnull Expression<? extends E> oldElementExpression, @Nullable E newElement) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder
-
collectionReplace
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionReplace(@Nonnull Expression<C> collectionExpression, @Nullable E oldElement, @Nonnull Expression<? extends E> newElementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder
-
collectionReplace
@Nonnull <E, C extends Collection<? super E>> SqmExpression<C> collectionReplace(@Nonnull Expression<C> collectionExpression, @Nullable E oldElement, @Nullable E newElement) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder
-
collectionTrim
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionTrim(@Nonnull Expression<C> arrayExpression, @Nonnull Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy without the last N elements, specified by the second argument.- Specified by:
collectionTrimin interfaceHibernateCriteriaBuilder
-
collectionTrim
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionTrim(@Nonnull Expression<C> arrayExpression, @Nullable Integer elementCount) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy without the last N elements, specified by the second argument.- Specified by:
collectionTrimin interfaceHibernateCriteriaBuilder
-
collectionReverse
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionReverse(@Nonnull Expression<C> collectionExpression) Description copied from interface:HibernateCriteriaBuilderCreate an expression that reverses the order of the elements of a collection.- Specified by:
collectionReversein interfaceHibernateCriteriaBuilder
-
collectionSort
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionSort(@Nonnull Expression<C> collectionExpression) Description copied from interface:HibernateCriteriaBuilderCreate an expression that sorts the elements of a collection.- Specified by:
collectionSortin interfaceHibernateCriteriaBuilder
-
collectionSort
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionSort(@Nonnull Expression<C> collectionExpression, boolean descending) Description copied from interface:HibernateCriteriaBuilderCreate an expression that sorts the given collection in specified order.- Specified by:
collectionSortin interfaceHibernateCriteriaBuilder
-
collectionSort
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionSort(@Nonnull Expression<C> collectionExpression, @Nonnull Expression<Boolean> descendingExpression) Description copied from interface:HibernateCriteriaBuilderCreate an expression that sorts the given collection in specified order.- Specified by:
collectionSortin interfaceHibernateCriteriaBuilder
-
collectionSort
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionSort(@Nonnull Expression<C> collectionExpression, boolean descending, boolean nullsFirst) Description copied from interface:HibernateCriteriaBuilderCreate an expression that sorts the given collection with explicit null ordering.- Specified by:
collectionSortin interfaceHibernateCriteriaBuilder
-
collectionSort
@Nonnull <C extends Collection<?>> SqmExpression<C> collectionSort(@Nonnull Expression<C> collectionExpression, @Nonnull Expression<Boolean> descendingExpression, @Nonnull Expression<Boolean> nullsFirstExpression) Description copied from interface:HibernateCriteriaBuilderCreate an expression that sorts the given collection with explicit null ordering.- Specified by:
collectionSortin interfaceHibernateCriteriaBuilder
-
collectionFill
@Nonnull <T> SqmExpression<Collection<T>> collectionFill(@Nonnull Expression<T> elementExpression, @Nonnull 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
-
collectionFill
@Nonnull <T> SqmExpression<Collection<T>> collectionFill(@Nonnull Expression<T> elementExpression, @Nullable Integer elementCount) Description copied from interface:HibernateCriteriaBuilderCreates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFillin interfaceHibernateCriteriaBuilder
-
collectionFill
@Nonnull <T> SqmExpression<Collection<T>> collectionFill(@Nullable T element, @Nonnull 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
-
collectionFill
@Nonnull <T> SqmExpression<Collection<T>> collectionFill(@Nullable T element, @Nullable Integer elementCount) Description copied from interface:HibernateCriteriaBuilderCreates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFillin interfaceHibernateCriteriaBuilder
-
collectionToString
@Nonnull SqmExpression<String> collectionToString(@Nonnull Expression<? extends Collection<?>> collectionExpression, @Nonnull 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
-
collectionToString
@Nonnull SqmExpression<String> collectionToString(@Nonnull Expression<? extends Collection<?>> collectionExpression, @Nullable 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
-
collectionToString
@Nonnull SqmExpression<String> collectionToString(@Nonnull Expression<? extends Collection<?>> collectionExpression, @Nonnull Expression<String> separatorExpression, @Nonnull Expression<String> defaultExpression) Description copied from interface:HibernateCriteriaBuilderConcatenates the collection elements with a separator, as specified by the arguments. Null collection elements are replaced with the given default element.- Specified by:
collectionToStringin interfaceHibernateCriteriaBuilder
-
collectionToString
@Nonnull SqmExpression<String> collectionToString(@Nonnull Expression<? extends Collection<?>> collectionExpression, @Nonnull Expression<String> separatorExpression, @Nullable String defaultValue) Description copied from interface:HibernateCriteriaBuilderConcatenates the collection elements with a separator, as specified by the arguments. Null collection elements are replaced with the given default element.- Specified by:
collectionToStringin interfaceHibernateCriteriaBuilder
-
collectionToString
@Nonnull SqmExpression<String> collectionToString(@Nonnull Expression<? extends Collection<?>> collectionExpression, @Nullable String separator, @Nonnull Expression<String> defaultExpression) Description copied from interface:HibernateCriteriaBuilderConcatenates the collection elements with a separator, as specified by the arguments. Null collection elements are replaced with the given default element.- Specified by:
collectionToStringin interfaceHibernateCriteriaBuilder
-
collectionToString
@Nonnull SqmExpression<String> collectionToString(@Nonnull Expression<? extends Collection<?>> collectionExpression, @Nullable String separator, @Nullable String defaultValue) Description copied from interface:HibernateCriteriaBuilderConcatenates the collection elements with a separator, as specified by the arguments. Null collection elements are replaced with the given default element.- Specified by:
collectionToStringin interfaceHibernateCriteriaBuilder
-
collectionContains
@Nonnull <E> SqmPredicate collectionContains(@Nonnull Expression<? extends Collection<E>> collectionExpression, @Nonnull Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains an element.- Specified by:
collectionContainsin interfaceHibernateCriteriaBuilder
-
collectionContains
@Nonnull <E> SqmPredicate collectionContains(@Nonnull Expression<? extends Collection<E>> collectionExpression, @Nullable E element) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains an element.- Specified by:
collectionContainsin interfaceHibernateCriteriaBuilder
-
collectionContains
@Nonnull <E> SqmPredicate collectionContains(@Nonnull Collection<E> collection, @Nonnull Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains an element.- Specified by:
collectionContainsin interfaceHibernateCriteriaBuilder
-
collectionContainsNullable
@Nonnull <E> SqmPredicate collectionContainsNullable(@Nonnull Expression<? extends Collection<E>> collectionExpression, @Nonnull Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains a nullable element.- Specified by:
collectionContainsNullablein interfaceHibernateCriteriaBuilder
-
collectionContainsNullable
@Nonnull <E> SqmPredicate collectionContainsNullable(@Nonnull Expression<? extends Collection<E>> collectionExpression, @Nullable E element) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains a nullable element.- Specified by:
collectionContainsNullablein interfaceHibernateCriteriaBuilder
-
collectionContainsNullable
@Nonnull <E> SqmPredicate collectionContainsNullable(@Nonnull Collection<E> collection, @Nonnull Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains a nullable element.- Specified by:
collectionContainsNullablein interfaceHibernateCriteriaBuilder
-
collectionIncludes
@Nonnull <E> SqmPredicate collectionIncludes(@Nonnull Expression<? extends Collection<E>> collectionExpression, @Nonnull 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
-
collectionIncludes
@Nonnull <E> SqmPredicate collectionIncludes(@Nonnull Expression<? extends Collection<E>> collectionExpression, @Nullable Collection<? extends E> subCollection) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludesin interfaceHibernateCriteriaBuilder
-
collectionIncludes
@Nonnull <E> SqmPredicate collectionIncludes(@Nullable Collection<E> collection, @Nonnull Expression<? extends Collection<? extends E>> subArrayExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludesin interfaceHibernateCriteriaBuilder
-
collectionIncludesNullable
@Nonnull <E> SqmPredicate collectionIncludesNullable(@Nonnull Expression<? extends Collection<E>> collectionExpression, @Nonnull 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
-
collectionIncludesNullable
@Nonnull <E> SqmPredicate collectionIncludesNullable(@Nonnull Expression<? extends Collection<E>> collectionExpression, @Nullable 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
-
collectionIncludesNullable
@Nonnull <E> SqmPredicate collectionIncludesNullable(@Nullable Collection<E> collection, @Nonnull 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
-
collectionIntersects
@Nonnull <E> SqmPredicate collectionIntersects(@Nonnull Expression<? extends Collection<E>> collectionExpression1, @Nonnull 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
-
collectionIntersects
@Nonnull <E> SqmPredicate collectionIntersects(@Nonnull Expression<? extends Collection<E>> collectionExpression1, @Nullable Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersectsin interfaceHibernateCriteriaBuilder
-
collectionIntersects
@Nonnull <E> SqmPredicate collectionIntersects(@Nullable Collection<E> collection1, @Nonnull 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
-
collectionIntersectsNullable
@Nonnull <E> SqmPredicate collectionIntersectsNullable(@Nonnull Expression<? extends Collection<E>> collectionExpression1, @Nonnull 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
-
collectionIntersectsNullable
@Nonnull <E> SqmPredicate collectionIntersectsNullable(@Nonnull Expression<? extends Collection<E>> collectionExpression1, @Nullable 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
-
collectionIntersectsNullable
@Nonnull <E> SqmPredicate collectionIntersectsNullable(@Nullable Collection<E> collection1, @Nonnull 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
-
jsonValue
@Nonnull <T> SqmJsonValueExpression<T> jsonValue(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath, @Nullable Class<T> returningType) Description copied from interface:HibernateCriteriaBuilderExtracts a value by JSON path from a JSON document.- Specified by:
jsonValuein interfaceHibernateCriteriaBuilder
-
jsonValue
@Nonnull SqmJsonValueExpression<String> jsonValue(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath) - Specified by:
jsonValuein interfaceHibernateCriteriaBuilder- See Also:
-
jsonValue
@Nonnull <T> SqmJsonValueExpression<T> jsonValue(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath, @Nullable Class<T> returningType) Description copied from interface:HibernateCriteriaBuilderExtracts a value by JSON path from a JSON document.- Specified by:
jsonValuein interfaceHibernateCriteriaBuilder
-
jsonValue
@Nonnull SqmJsonValueExpression<String> jsonValue(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath) - Specified by:
jsonValuein interfaceHibernateCriteriaBuilder- See Also:
-
jsonQuery
@Nonnull SqmJsonQueryExpression jsonQuery(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath) Description copied from interface:HibernateCriteriaBuilderQueries values by JSON path from a JSON document.- Specified by:
jsonQueryin interfaceHibernateCriteriaBuilder
-
jsonQuery
@Nonnull SqmJsonQueryExpression jsonQuery(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath) - Specified by:
jsonQueryin interfaceHibernateCriteriaBuilder- See Also:
-
jsonExists
@Nonnull SqmJsonExistsExpression jsonExists(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath) Description copied from interface:HibernateCriteriaBuilderChecks if a JSON document contains a node for the given JSON path.- Specified by:
jsonExistsin interfaceHibernateCriteriaBuilder
-
jsonExists
@Nonnull SqmJsonExistsExpression jsonExists(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath) Description copied from interface:HibernateCriteriaBuilderChecks if a JSON document contains a node for the given JSON path.- Specified by:
jsonExistsin interfaceHibernateCriteriaBuilder
-
jsonArrayWithNulls
Description copied from interface:HibernateCriteriaBuilderCreate a JSON object from the given array of values, retainingnullvalues in the JSON array.- Specified by:
jsonArrayWithNullsin interfaceHibernateCriteriaBuilder
-
jsonArray
Description copied from interface:HibernateCriteriaBuilderCreate a JSON array from the array of values.- Specified by:
jsonArrayin interfaceHibernateCriteriaBuilder
-
jsonObjectWithNulls
@Nonnull SqmExpression<String> jsonObjectWithNulls(@Nonnull Map<?, ? extends Expression<?>> keyValues) Description copied from interface:HibernateCriteriaBuilderCreate a JSON object from the given map of key values, retainingnullvalues in the JSON.- Specified by:
jsonObjectWithNullsin interfaceHibernateCriteriaBuilder
-
jsonObject
Description copied from interface:HibernateCriteriaBuilderCreate a JSON object from the given map of key values.- Specified by:
jsonObjectin interfaceHibernateCriteriaBuilder
-
jsonArrayAgg
Description copied from interface:HibernateCriteriaBuilderAggregates the given value into a JSON array.- Specified by:
jsonArrayAggin interfaceHibernateCriteriaBuilder
-
jsonArrayAggWithNulls
Description copied from interface:HibernateCriteriaBuilderAggregates the given value into a JSON array, retainingnullvalues in the JSON array.- Specified by:
jsonArrayAggWithNullsin interfaceHibernateCriteriaBuilder
-
jsonArrayAggWithNulls
@Nonnull SqmExpression<String> jsonArrayAggWithNulls(@Nonnull Expression<?> value, @Nullable Predicate filter, @Nonnull JpaOrder... orderBy) Description copied from interface:HibernateCriteriaBuilderAggregates the given value into a JSON array, retainingnullvalues in the JSON array. Filtering rows that don't match the given filter predicate. Ordering values based on the given order by items.- Specified by:
jsonArrayAggWithNullsin interfaceHibernateCriteriaBuilder
-
jsonArrayAggWithNulls
@Nonnull SqmExpression<String> jsonArrayAggWithNulls(@Nonnull Expression<?> value, @Nullable Predicate filter) Description copied from interface:HibernateCriteriaBuilderAggregates the given value into a JSON array, retainingnullvalues in the JSON array. Filtering rows that don't match the given filter predicate.- Specified by:
jsonArrayAggWithNullsin interfaceHibernateCriteriaBuilder
-
jsonArrayAggWithNulls
@Nonnull SqmExpression<String> jsonArrayAggWithNulls(@Nonnull Expression<?> value, @Nonnull JpaOrder... orderBy) Description copied from interface:HibernateCriteriaBuilderAggregates the given value into a JSON array, retainingnullvalues in the JSON array. Ordering values based on the given order by items.- Specified by:
jsonArrayAggWithNullsin interfaceHibernateCriteriaBuilder
-
jsonArrayAgg
@Nonnull SqmExpression<String> jsonArrayAgg(@Nonnull Expression<?> value, @Nullable Predicate filter, @Nonnull JpaOrder... orderBy) Description copied from interface:HibernateCriteriaBuilderAggregates the given value into a JSON array. Filtering rows that don't match the given filter predicate. Ordering values based on the given order by items.- Specified by:
jsonArrayAggin interfaceHibernateCriteriaBuilder
-
jsonArrayAgg
@Nonnull SqmExpression<String> jsonArrayAgg(@Nonnull Expression<?> value, @Nullable Predicate filter) Description copied from interface:HibernateCriteriaBuilderAggregates the given value into a JSON array. Filtering rows that don't match the given filter predicate.- Specified by:
jsonArrayAggin interfaceHibernateCriteriaBuilder
-
jsonArrayAgg
@Nonnull SqmExpression<String> jsonArrayAgg(@Nonnull Expression<?> value, @Nonnull JpaOrder... orderBy) Description copied from interface:HibernateCriteriaBuilderAggregates the given value into a JSON array. Ordering values based on the given order by items.- Specified by:
jsonArrayAggin interfaceHibernateCriteriaBuilder
-
jsonObjectAggWithUniqueKeysAndNulls
@Nonnull SqmExpression<String> jsonObjectAggWithUniqueKeysAndNulls(@Nonnull Expression<?> key, @Nonnull Expression<?> value) Description copied from interface:HibernateCriteriaBuilderAggregates the given value under the given key into a JSON object, retainingnullvalues in the JSON object.- Specified by:
jsonObjectAggWithUniqueKeysAndNullsin interfaceHibernateCriteriaBuilder
-
jsonObjectAggWithUniqueKeys
@Nonnull SqmExpression<String> jsonObjectAggWithUniqueKeys(@Nonnull Expression<?> key, @Nonnull Expression<?> value) Description copied from interface:HibernateCriteriaBuilderAggregates the given value under the given key into a JSON object.- Specified by:
jsonObjectAggWithUniqueKeysin interfaceHibernateCriteriaBuilder
-
jsonObjectAggWithNulls
@Nonnull SqmExpression<String> jsonObjectAggWithNulls(@Nonnull Expression<?> key, @Nonnull Expression<?> value) Description copied from interface:HibernateCriteriaBuilderAggregates the given value under the given key into a JSON object, retainingnullvalues in the JSON object.- Specified by:
jsonObjectAggWithNullsin interfaceHibernateCriteriaBuilder
-
jsonObjectAgg
@Nonnull SqmExpression<String> jsonObjectAgg(@Nonnull Expression<?> key, @Nonnull Expression<?> value) Description copied from interface:HibernateCriteriaBuilderAggregates the given value under the given key into a JSON object.- Specified by:
jsonObjectAggin interfaceHibernateCriteriaBuilder
-
jsonObjectAggWithUniqueKeysAndNulls
@Nonnull SqmExpression<String> jsonObjectAggWithUniqueKeysAndNulls(@Nonnull Expression<?> key, @Nonnull Expression<?> value, @Nullable Predicate filter) Description copied from interface:HibernateCriteriaBuilderAggregates the given value under the given key into a JSON object, retainingnullvalues in the JSON object.- Specified by:
jsonObjectAggWithUniqueKeysAndNullsin interfaceHibernateCriteriaBuilder
-
jsonObjectAggWithUniqueKeys
@Nonnull SqmExpression<String> jsonObjectAggWithUniqueKeys(@Nonnull Expression<?> key, @Nonnull Expression<?> value, @Nullable Predicate filter) Description copied from interface:HibernateCriteriaBuilderAggregates the given value under the given key into a JSON object.- Specified by:
jsonObjectAggWithUniqueKeysin interfaceHibernateCriteriaBuilder
-
jsonObjectAggWithNulls
@Nonnull SqmExpression<String> jsonObjectAggWithNulls(@Nonnull Expression<?> key, @Nonnull Expression<?> value, @Nullable Predicate filter) Description copied from interface:HibernateCriteriaBuilderAggregates the given value under the given key into a JSON object, retainingnullvalues in the JSON object.- Specified by:
jsonObjectAggWithNullsin interfaceHibernateCriteriaBuilder
-
jsonObjectAgg
@Nonnull SqmExpression<String> jsonObjectAgg(@Nonnull Expression<?> key, @Nonnull Expression<?> value, @Nullable Predicate filter) Description copied from interface:HibernateCriteriaBuilderAggregates the given value under the given key into a JSON object.- Specified by:
jsonObjectAggin interfaceHibernateCriteriaBuilder
-
jsonSet
@Nonnull SqmExpression<String> jsonSet(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath, @Nullable Object value) Description copied from interface:HibernateCriteriaBuilderInserts/Replaces a value by JSON path within a JSON document.- Specified by:
jsonSetin interfaceHibernateCriteriaBuilder
-
jsonSet
@Nonnull SqmExpression<String> jsonSet(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath, @Nullable Object value) Description copied from interface:HibernateCriteriaBuilderInserts/Replaces a value by JSON path within a JSON document.- Specified by:
jsonSetin interfaceHibernateCriteriaBuilder
-
jsonSet
@Nonnull SqmExpression<String> jsonSet(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath, @Nonnull Expression<?> value) Description copied from interface:HibernateCriteriaBuilderInserts/Replaces a value by JSON path within a JSON document.- Specified by:
jsonSetin interfaceHibernateCriteriaBuilder
-
jsonSet
@Nonnull SqmExpression<String> jsonSet(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath, @Nonnull Expression<?> value) Description copied from interface:HibernateCriteriaBuilderInserts/Replaces a value by JSON path within a JSON document.- Specified by:
jsonSetin interfaceHibernateCriteriaBuilder
-
jsonRemove
@Nonnull SqmExpression<String> jsonRemove(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath) Description copied from interface:HibernateCriteriaBuilderRemoves a value by JSON path within a JSON document.- Specified by:
jsonRemovein interfaceHibernateCriteriaBuilder
-
jsonRemove
@Nonnull SqmExpression<String> jsonRemove(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath) Description copied from interface:HibernateCriteriaBuilderRemoves a value by JSON path within a JSON document.- Specified by:
jsonRemovein interfaceHibernateCriteriaBuilder
-
jsonInsert
@Nonnull SqmExpression<String> jsonInsert(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath, @Nullable Object value) Description copied from interface:HibernateCriteriaBuilderInserts a value by JSON path within a JSON document.- Specified by:
jsonInsertin interfaceHibernateCriteriaBuilder
-
jsonInsert
@Nonnull SqmExpression<String> jsonInsert(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath, @Nullable Object value) Description copied from interface:HibernateCriteriaBuilderInserts a value by JSON path within a JSON document.- Specified by:
jsonInsertin interfaceHibernateCriteriaBuilder
-
jsonInsert
@Nonnull SqmExpression<String> jsonInsert(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath, @Nonnull Expression<?> value) Description copied from interface:HibernateCriteriaBuilderInserts a value by JSON path within a JSON document.- Specified by:
jsonInsertin interfaceHibernateCriteriaBuilder
-
jsonInsert
@Nonnull SqmExpression<String> jsonInsert(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath, @Nonnull Expression<?> value) Description copied from interface:HibernateCriteriaBuilderInserts a value by JSON path within a JSON document.- Specified by:
jsonInsertin interfaceHibernateCriteriaBuilder
-
jsonReplace
@Nonnull SqmExpression<String> jsonReplace(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath, @Nullable Object value) Description copied from interface:HibernateCriteriaBuilderReplaces a value by JSON path within a JSON document.- Specified by:
jsonReplacein interfaceHibernateCriteriaBuilder
-
jsonReplace
@Nonnull SqmExpression<String> jsonReplace(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath, @Nullable Object value) Description copied from interface:HibernateCriteriaBuilderReplaces a value by JSON path within a JSON document.- Specified by:
jsonReplacein interfaceHibernateCriteriaBuilder
-
jsonReplace
@Nonnull SqmExpression<String> jsonReplace(@Nonnull Expression<?> jsonDocument, @Nonnull Expression<String> jsonPath, @Nonnull Expression<?> value) Description copied from interface:HibernateCriteriaBuilderReplaces a value by JSON path within a JSON document.- Specified by:
jsonReplacein interfaceHibernateCriteriaBuilder
-
jsonReplace
@Nonnull SqmExpression<String> jsonReplace(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath, @Nonnull Expression<?> value) Description copied from interface:HibernateCriteriaBuilderReplaces a value by JSON path within a JSON document.- Specified by:
jsonReplacein interfaceHibernateCriteriaBuilder
-
jsonMergepatch
@Nonnull SqmExpression<String> jsonMergepatch(@Nullable String document, @Nonnull Expression<?> patch) Description copied from interface:HibernateCriteriaBuilderApplies the patch JSON document onto the other JSON document and returns that.- Specified by:
jsonMergepatchin interfaceHibernateCriteriaBuilder
-
jsonMergepatch
@Nonnull SqmExpression<String> jsonMergepatch(@Nonnull Expression<?> document, @Nullable String patch) Description copied from interface:HibernateCriteriaBuilderApplies the patch JSON document onto the other JSON document and returns that.- Specified by:
jsonMergepatchin interfaceHibernateCriteriaBuilder
-
jsonMergepatch
@Nonnull SqmExpression<String> jsonMergepatch(@Nonnull Expression<?> document, @Nonnull Expression<?> patch) Description copied from interface:HibernateCriteriaBuilderApplies the patch JSON document onto the other JSON document and returns that.- Specified by:
jsonMergepatchin interfaceHibernateCriteriaBuilder
-
xmlelement
Description copied from interface:HibernateCriteriaBuilderCreates an XML element with the given element name.- Specified by:
xmlelementin interfaceHibernateCriteriaBuilder
-
xmlcomment
Description copied from interface:HibernateCriteriaBuilderCreates an XML comment with the given argument as content.- Specified by:
xmlcommentin interfaceHibernateCriteriaBuilder
-
named
Description copied from interface:HibernateCriteriaBuilderCreates a named expression. The name is important for the result of the expression, e.g. when building anxmlforest, the name acts as the XML element name.- Specified by:
namedin interfaceHibernateCriteriaBuilder- See Also:
-
xmlforest
Description copied from interface:HibernateCriteriaBuilderCreates an XML forest from the given XML element expressions.- Specified by:
xmlforestin interfaceHibernateCriteriaBuilder- See Also:
-
xmlforest
Description copied from interface:HibernateCriteriaBuilderCreates an XML forest from the given XML element expressions.- Specified by:
xmlforestin interfaceHibernateCriteriaBuilder- See Also:
-
xmlconcat
Description copied from interface:HibernateCriteriaBuilderConcatenates the given XML element expressions.- Specified by:
xmlconcatin interfaceHibernateCriteriaBuilder
-
xmlconcat
Description copied from interface:HibernateCriteriaBuilderConcatenates the given XML element expressions.- Specified by:
xmlconcatin interfaceHibernateCriteriaBuilder
-
xmlpi
Description copied from interface:HibernateCriteriaBuilderCreates an XML processing with the given name.- Specified by:
xmlpiin interfaceHibernateCriteriaBuilder
-
xmlpi
@Nonnull SqmExpression<String> xmlpi(@Nonnull String elementName, @Nonnull Expression<String> content) Description copied from interface:HibernateCriteriaBuilderCreates an XML processing with the given name and content.- Specified by:
xmlpiin interfaceHibernateCriteriaBuilder
-
xmlquery
Description copied from interface:HibernateCriteriaBuilderQueries the given XML document with the given XPath or XQuery query.- Specified by:
xmlqueryin interfaceHibernateCriteriaBuilder
-
xmlquery
@Nonnull SqmExpression<String> xmlquery(@Nonnull Expression<String> query, @Nonnull Expression<?> xmlDocument) Description copied from interface:HibernateCriteriaBuilderQueries the given XML document with the given XPath or XQuery query.- Specified by:
xmlqueryin interfaceHibernateCriteriaBuilder
-
xmlexists
@Nonnull SqmExpression<Boolean> xmlexists(@Nullable String query, @Nonnull Expression<?> xmlDocument) Description copied from interface:HibernateCriteriaBuilderChecks if the given XPath or XQuery query exists in the given XML document.- Specified by:
xmlexistsin interfaceHibernateCriteriaBuilder
-
xmlexists
@Nonnull SqmExpression<Boolean> xmlexists(@Nonnull Expression<String> query, @Nonnull Expression<?> xmlDocument) Description copied from interface:HibernateCriteriaBuilderChecks if the given XPath or XQuery query exists in the given XML document.- Specified by:
xmlexistsin interfaceHibernateCriteriaBuilder
-
xmlagg
- Specified by:
xmlaggin interfaceHibernateCriteriaBuilder- See Also:
-
xmlagg
@Nonnull SqmExpression<String> xmlagg(@Nullable JpaOrder order, @Nullable JpaPredicate filter, @Nonnull Expression<?> argument) - Specified by:
xmlaggin interfaceHibernateCriteriaBuilder- See Also:
-
xmlagg
@Nonnull SqmExpression<String> xmlagg(@Nullable JpaOrder order, @Nullable JpaWindow window, @Nonnull Expression<?> argument) - Specified by:
xmlaggin interfaceHibernateCriteriaBuilder- See Also:
-
xmlagg
@Nonnull SqmExpression<String> xmlagg(@Nullable JpaOrder order, @Nullable JpaPredicate filter, @Nullable JpaWindow window, @Nonnull Expression<?> argument) Description copied from interface:HibernateCriteriaBuilderCreate axmlaggordered set-aggregate function expression.- Specified by:
xmlaggin interfaceHibernateCriteriaBuilder- Parameters:
order- The order-by clause used in the within groupfilter- The optional filter clausewindow- The optional window over which to apply the functionargument- The values to join- Returns:
- the ordered set-aggregate expression
- See Also:
-
setReturningFunction
@Nonnull <E> SqmSetReturningFunction<E> setReturningFunction(@Nonnull String name, @Nonnull Expression<?>... args) Description copied from interface:HibernateCriteriaBuilderCreate a new set-returning function expression.- Specified by:
setReturningFunctionin interfaceHibernateCriteriaBuilder- See Also:
-
unnestArray
Description copied from interface:HibernateCriteriaBuilderCreates an unnest function expression to turn an array into a set of rows.- Specified by:
unnestArrayin interfaceHibernateCriteriaBuilder- See Also:
-
unnestCollection
@Nonnull <E> SqmSetReturningFunction<E> unnestCollection(@Nonnull Expression<? extends Collection<E>> collection) Description copied from interface:HibernateCriteriaBuilderCreates an unnest function expression to turn an array into a set of rows.- Specified by:
unnestCollectionin interfaceHibernateCriteriaBuilder- See Also:
-
generateTimeSeries
@Nonnull <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(@Nonnull Expression<E> start, @Nonnull Expression<E> stop, @Nonnull Expression<? extends TemporalAmount> step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateTimeSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateTimeSeries
@Nonnull <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(@Nullable E start, @Nullable E stop, @Nullable TemporalAmount step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateTimeSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateTimeSeries
@Nonnull <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(@Nullable E start, @Nonnull Expression<E> stop, @Nullable TemporalAmount step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateTimeSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateTimeSeries
@Nonnull <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(@Nonnull Expression<E> start, @Nullable E stop, @Nullable TemporalAmount step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateTimeSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateTimeSeries
@Nonnull <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(@Nonnull Expression<E> start, @Nonnull Expression<E> stop, @Nullable TemporalAmount step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateTimeSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateTimeSeries
@Nonnull <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(@Nullable E start, @Nullable E stop, @Nonnull Expression<? extends TemporalAmount> step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateTimeSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateTimeSeries
@Nonnull <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(@Nonnull Expression<E> start, @Nullable E stop, @Nonnull Expression<? extends TemporalAmount> step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateTimeSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateTimeSeries
@Nonnull <E extends Temporal> SqmSetReturningFunction<E> generateTimeSeries(@Nullable E start, @Nonnull Expression<E> stop, @Nonnull Expression<? extends TemporalAmount> step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateTimeSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nonnull Expression<E> start, @Nonnull Expression<E> stop, @Nonnull Expression<E> step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nullable E start, @Nullable E stop, @Nullable E step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nullable E start, @Nullable E stop, @Nonnull Expression<E> step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nonnull Expression<E> start, @Nullable E stop, @Nullable E step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nullable E start, @Nonnull Expression<E> stop, @Nullable E step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nonnull Expression<E> start, @Nonnull Expression<E> stop, @Nullable E step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nonnull Expression<E> start, @Nullable E stop, @Nonnull Expression<E> step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nullable E start, @Nonnull Expression<E> stop, @Nonnull Expression<E> step) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nonnull Expression<E> start, @Nonnull Expression<E> stop) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nonnull Expression<E> start, @Nullable E stop) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nullable E start, @Nonnull Expression<E> stop) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
generateSeries
@Nonnull <E extends Number> SqmSetReturningFunction<E> generateSeries(@Nullable E start, @Nullable E stop) Description copied from interface:HibernateCriteriaBuilderCreates agenerate_seriesfunction expression to generate a set of values as rows.- Specified by:
generateSeriesin interfaceHibernateCriteriaBuilder- See Also:
-
jsonTable
Description copied from interface:HibernateCriteriaBuilderCreates ajson_tablefunction expression to generate rows from JSON array elements.- Specified by:
jsonTablein interfaceHibernateCriteriaBuilder- See Also:
-
jsonTable
@Nonnull SqmJsonTableFunction<?> jsonTable(@Nonnull Expression<?> jsonDocument, @Nullable String jsonPath) Description copied from interface:HibernateCriteriaBuilderCreates ajson_tablefunction expression to generate rows from JSON array elements.- Specified by:
jsonTablein interfaceHibernateCriteriaBuilder- See Also:
-
jsonTable
@Nonnull SqmJsonTableFunction<?> jsonTable(@Nonnull Expression<?> jsonDocument, @Nullable Expression<String> jsonPath) Description copied from interface:HibernateCriteriaBuilderCreates ajson_tablefunction expression to generate rows from JSON array elements.- Specified by:
jsonTablein interfaceHibernateCriteriaBuilder- See Also:
-
xmlTable
@Nonnull SqmXmlTableFunction<?> xmlTable(@Nullable String xpath, @Nonnull Expression<?> xmlDocument) Description copied from interface:HibernateCriteriaBuilderCreates axmltablefunction expression to generate rows from XML elements.- Specified by:
xmlTablein interfaceHibernateCriteriaBuilder- See Also:
-
xmlTable
@Nonnull SqmXmlTableFunction<?> xmlTable(@Nonnull Expression<String> xpath, @Nonnull Expression<?> xmlDocument) Description copied from interface:HibernateCriteriaBuilderCreates axmltablefunction expression to generate rows from XML elements.- Specified by:
xmlTablein interfaceHibernateCriteriaBuilder- See Also:
-
createQuery
Description copied from interface:HibernateCriteriaBuilderCreate a criteria query.- Specified by:
createQueryin interfaceCriteriaBuilder- Specified by:
createQueryin interfaceHibernateCriteriaBuilder
-
createQuery
Description copied from interface:HibernateCriteriaBuilderCreate a criteria query for the given result type.- Specified by:
createQueryin interfaceCriteriaBuilder- Specified by:
createQueryin interfaceHibernateCriteriaBuilder
-
createQuery
Description copied from interface:HibernateCriteriaBuilderTransform the given HQLselectquery to an equivalent criteria query.- Specified by:
createQueryin interfaceHibernateCriteriaBuilder- Parameters:
hql- The HQLselectqueryresultClass- The result type of the query- Returns:
- the equivalent criteria query
-
createTupleQuery
Description copied from interface:HibernateCriteriaBuilderCreate a tuple-valued criteria query.- Specified by:
createTupleQueryin interfaceCriteriaBuilder- Specified by:
createTupleQueryin interfaceHibernateCriteriaBuilder
-
construct
@Nonnull <Y> JpaCompoundSelection<Y> construct(@Nonnull Class<Y> resultClass, @Nonnull Selection<?>... selections) Description copied from interface:HibernateCriteriaBuilderCreate a compound selection using the specified result type constructor.- Specified by:
constructin interfaceCriteriaBuilder- Specified by:
constructin interfaceHibernateCriteriaBuilder
-
construct
@Nonnull <Y> JpaCompoundSelection<Y> construct(@Nonnull Class<Y> resultClass, @Nonnull List<? extends Selection<?>> arguments) Description copied from interface:HibernateCriteriaBuilderCreate a compound selection whose arguments are supplied as a list.- Specified by:
constructin interfaceHibernateCriteriaBuilder- Type Parameters:
Y- The result type- Parameters:
resultClass- The compound selection result typearguments- The selection arguments- Returns:
- the compound selection
-
tuple
Description copied from interface:HibernateCriteriaBuilderCreate a tuple-valued compound selection.- Specified by:
tuplein interfaceCriteriaBuilder- Specified by:
tuplein interfaceHibernateCriteriaBuilder
-
tuple
Description copied from interface:HibernateCriteriaBuilderCreate a tuple-valued compound selection from a list of selections.- Specified by:
tuplein interfaceCriteriaBuilder- Specified by:
tuplein interfaceHibernateCriteriaBuilder
-
array
Description copied from interface:HibernateCriteriaBuilderCreate an array-valued compound selection.- Specified by:
arrayin interfaceCriteriaBuilder- Specified by:
arrayin interfaceHibernateCriteriaBuilder
-
array
Description copied from interface:HibernateCriteriaBuilderCreate an array-valued compound selection from a list of selections.- Specified by:
arrayin interfaceCriteriaBuilder- Specified by:
arrayin interfaceHibernateCriteriaBuilder
-
createCriteriaUpdate
Description copied from interface:HibernateCriteriaBuilderCreate a criteria update statement for the given entity type.- Specified by:
createCriteriaUpdatein interfaceCriteriaBuilder- Specified by:
createCriteriaUpdatein interfaceHibernateCriteriaBuilder
-
createCriteriaDelete
Description copied from interface:HibernateCriteriaBuilderCreate a criteria delete statement for the given entity type.- Specified by:
createCriteriaDeletein interfaceCriteriaBuilder- Specified by:
createCriteriaDeletein interfaceHibernateCriteriaBuilder
-
createCriteriaInsertValues
Description copied from interface:HibernateCriteriaBuilderCreate a criteria insert statement which supplies explicit values.- Specified by:
createCriteriaInsertValuesin interfaceHibernateCriteriaBuilder- Type Parameters:
T- The target entity type- Parameters:
targetEntity- The target entity type- Returns:
- a new insert-values criteria statement
-
createCriteriaInsertSelect
Description copied from interface:HibernateCriteriaBuilderCreate a criteria insert statement which obtains inserted values from a select query.- Specified by:
createCriteriaInsertSelectin interfaceHibernateCriteriaBuilder- Type Parameters:
T- The target entity type- Parameters:
targetEntity- The target entity type- Returns:
- a new insert-select criteria statement
-
values
Description copied from interface:HibernateCriteriaBuilderCreate a row of values for an insert-values criteria statement.- Specified by:
valuesin interfaceHibernateCriteriaBuilder- Parameters:
expressions- The value expressions in row order- Returns:
- the values row
-
values
Description copied from interface:HibernateCriteriaBuilderCreate a row of values for an insert-values criteria statement.- Specified by:
valuesin interfaceHibernateCriteriaBuilder- Parameters:
expressions- The value expressions in row order- Returns:
- the values row
-
abs
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the absolute value of its argument.- Specified by:
absin interfaceCriteriaBuilder- Specified by:
absin interfaceHibernateCriteriaBuilder
-
cast
@Nonnull <X,T> SqmExpression<X> cast(@Nonnull JpaExpression<T> expression, @Nonnull Class<X> castTargetJavaType) Description copied from interface:HibernateCriteriaBuilderCreate an expression that casts the given expression to the specified Java type.- Specified by:
castin interfaceHibernateCriteriaBuilder- Type Parameters:
X- The target expression typeT- The source expression type- Parameters:
expression- The expression to castcastTargetJavaType- The target Java type- Returns:
- the cast expression
-
cast
@Nonnull <X,T> SqmExpression<X> cast(@Nonnull JpaExpression<T> expression, @Nonnull JpaCastTarget<X> castTarget) Description copied from interface:HibernateCriteriaBuilderCreate an expression that casts the given expression to the specified cast target.- Specified by:
castin interfaceHibernateCriteriaBuilder- Type Parameters:
X- The target expression typeT- The source expression type- Parameters:
expression- The expression to castcastTarget- The cast target descriptor- Returns:
- the cast expression
-
castTarget
Description copied from interface:HibernateCriteriaBuilderCreate a cast target for the given Java type.- Specified by:
castTargetin interfaceHibernateCriteriaBuilder- Type Parameters:
X- The target type- Parameters:
castTargetJavaType- The target Java type- Returns:
- the cast target descriptor
-
castTarget
Description copied from interface:HibernateCriteriaBuilderCreate a cast target for the given Java type and SQL type length.- Specified by:
castTargetin interfaceHibernateCriteriaBuilder- Type Parameters:
X- The target type- Parameters:
castTargetJavaType- The target Java typelength- The SQL type length- Returns:
- the cast target descriptor
-
castTarget
@Nonnull <X> SqmCastTarget<X> castTarget(@Nonnull Class<X> castTargetJavaType, int precision, int scale) Description copied from interface:HibernateCriteriaBuilderCreate a cast target for the given Java type, precision, and scale.- Specified by:
castTargetin interfaceHibernateCriteriaBuilder- Type Parameters:
X- The target type- Parameters:
castTargetJavaType- The target Java typeprecision- The SQL type precisionscale- The SQL type scale- Returns:
- the cast target descriptor
-
wrap
Description copied from interface:HibernateCriteriaBuilderWrap a boolean expression as a predicate.- Specified by:
wrapin interfaceHibernateCriteriaBuilder- Parameters:
expression- The boolean expression- Returns:
- the predicate representing the expression
-
wrap
Description copied from interface:HibernateCriteriaBuilderWrap boolean expressions as predicates and combine them with conjunction.- Specified by:
wrapin interfaceHibernateCriteriaBuilder- Parameters:
expressions- The boolean expressions- Returns:
- the conjunction of the wrapped predicates
-
wrap
Description copied from interface:HibernateCriteriaBuilderWrap boolean expressions as predicates and combine them with conjunction.- Specified by:
wrapin interfaceHibernateCriteriaBuilder- Parameters:
expressions- The boolean expressions- Returns:
- the conjunction of the wrapped predicates
-
wrap
-
fk
Description copied from interface:HibernateCriteriaBuilderCreate an expression representing the foreign key of the given association path.- Specified by:
fkin interfaceHibernateCriteriaBuilder- Parameters:
path- The association path- Returns:
- the foreign-key expression
-
id
Description copied from interface:HibernateCriteriaBuilderCreate an expression representing the identifier of the given path.- Specified by:
idin interfaceHibernateCriteriaBuilder- Parameters:
path- The entity path- Returns:
- the identifier expression
-
version
Description copied from interface:HibernateCriteriaBuilderCreate an expression representing the version of the given path.- Specified by:
versionin interfaceHibernateCriteriaBuilder- Parameters:
path- The entity path- Returns:
- the version expression
-
treat
Description copied from interface:HibernateCriteriaBuilderDowncast the given path to the specified subtype.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder
-
treat
Description copied from interface:HibernateCriteriaBuilderDowncast the given root to the specified subtype.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder
-
treat
Description copied from interface:HibernateCriteriaBuilderDowncast the given from element to the specified subtype.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder
-
treat
Description copied from interface:HibernateCriteriaBuilderDowncast the given join to the specified subtype.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder
-
treat
@Nonnull <X, T, E extends T> SqmBagJoin<X,E> treat(@Nonnull CollectionJoin<X, T> join, @Nonnull Class<E> type) Description copied from interface:HibernateCriteriaBuilderDowncast the given collection join to the specified subtype.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder
-
treat
@Nonnull <X, T, E extends T> SqmSetJoin<X,E> treat(@Nonnull SetJoin<X, T> join, @Nonnull Class<E> type) Description copied from interface:HibernateCriteriaBuilderDowncast the given set join to the specified subtype.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder
-
treat
@Nonnull <X, T, E extends T> SqmListJoin<X,E> treat(@Nonnull ListJoin<X, T> join, @Nonnull Class<E> type) Description copied from interface:HibernateCriteriaBuilderDowncast the given list join to the specified subtype.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder
-
treat
@Nonnull <X, K, T, V extends T> SqmMapJoin<X,K, treatV> (@Nonnull MapJoin<X, K, T> join, @Nonnull Class<V> type) Description copied from interface:HibernateCriteriaBuilderDowncast the given map join to the specified subtype.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder
-
avg
Description copied from interface:HibernateCriteriaBuilderCreate an aggregate expression returning the average of numeric values.- Specified by:
avgin interfaceCriteriaBuilder- Specified by:
avgin interfaceHibernateCriteriaBuilder
-
sum
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric sum.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder
-
sumAsLong
Description copied from interface:HibernateCriteriaBuilderCreate an aggregate expression returning the sum as a Long.- Specified by:
sumAsLongin interfaceCriteriaBuilder- Specified by:
sumAsLongin interfaceHibernateCriteriaBuilder
-
sumAsDouble
Description copied from interface:HibernateCriteriaBuilderCreate an aggregate expression returning the sum as a Double.- Specified by:
sumAsDoublein interfaceCriteriaBuilder- Specified by:
sumAsDoublein interfaceHibernateCriteriaBuilder
-
max
Description copied from interface:HibernateCriteriaBuilderCreate an aggregate expression returning the maximum numeric value.- Specified by:
maxin interfaceCriteriaBuilder- Specified by:
maxin interfaceHibernateCriteriaBuilder
-
min
Description copied from interface:HibernateCriteriaBuilderCreate an aggregate expression returning the minimum numeric value.- Specified by:
minin interfaceCriteriaBuilder- Specified by:
minin interfaceHibernateCriteriaBuilder
-
greatest
@Nonnull <X extends Comparable<? super X>> SqmExpression<X> greatest(@Nonnull Expression<X> argument) Description copied from interface:HibernateCriteriaBuilderCreate an aggregate expression returning the greatest comparable value.- Specified by:
greatestin interfaceCriteriaBuilder- Specified by:
greatestin interfaceHibernateCriteriaBuilder
-
least
Description copied from interface:HibernateCriteriaBuilderCreate an aggregate expression returning the least comparable value.- Specified by:
leastin interfaceCriteriaBuilder- Specified by:
leastin interfaceHibernateCriteriaBuilder
-
count
Description copied from interface:HibernateCriteriaBuilderCreate an aggregate expression returning a row count.- Specified by:
countin interfaceCriteriaBuilder- Specified by:
countin interfaceHibernateCriteriaBuilder
-
countDistinct
Description copied from interface:HibernateCriteriaBuilderCreate an aggregate expression returning the count of distinct values.- Specified by:
countDistinctin interfaceCriteriaBuilder- Specified by:
countDistinctin interfaceHibernateCriteriaBuilder
-
count
Description copied from interface:HibernateCriteriaBuilderEquivalent to HQLcount(*).- Specified by:
countin interfaceHibernateCriteriaBuilder
-
neg
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the arithmetic negation of its argument.- Specified by:
negin interfaceCriteriaBuilder- Specified by:
negin interfaceHibernateCriteriaBuilder
-
sum
@Nonnull <N extends Number> SqmExpression<N> sum(@Nonnull Expression<? extends N> x, @Nonnull Expression<? extends N> y) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric sum.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder
-
sum
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric sum.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder
-
sum
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric sum.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder
-
prod
@Nonnull <N extends Number> SqmExpression<N> prod(@Nonnull Expression<? extends N> x, @Nonnull Expression<? extends N> y) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric product.- Specified by:
prodin interfaceCriteriaBuilder- Specified by:
prodin interfaceHibernateCriteriaBuilder
-
prod
@Nonnull <N extends Number> SqmExpression<N> prod(@Nonnull Expression<? extends N> x, @Nullable N y) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric product.- Specified by:
prodin interfaceCriteriaBuilder- Specified by:
prodin interfaceHibernateCriteriaBuilder
-
prod
@Nonnull <N extends Number> SqmExpression<N> prod(@Nullable N x, @Nonnull Expression<? extends N> y) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric product.- Specified by:
prodin interfaceCriteriaBuilder- Specified by:
prodin interfaceHibernateCriteriaBuilder
-
diff
@Nonnull <N extends Number> SqmExpression<N> diff(@Nonnull Expression<? extends N> x, @Nonnull Expression<? extends N> y) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric difference.- Specified by:
diffin interfaceCriteriaBuilder- Specified by:
diffin interfaceHibernateCriteriaBuilder
-
diff
@Nonnull <N extends Number> SqmExpression<N> diff(@Nonnull Expression<? extends N> x, @Nullable N y) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric difference.- Specified by:
diffin interfaceCriteriaBuilder- Specified by:
diffin interfaceHibernateCriteriaBuilder
-
diff
@Nonnull <N extends Number> SqmExpression<N> diff(@Nullable N x, @Nonnull Expression<? extends N> y) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric difference.- Specified by:
diffin interfaceCriteriaBuilder- Specified by:
diffin interfaceHibernateCriteriaBuilder
-
quot
@Nonnull SqmExpression<Number> quot(@Nonnull Expression<? extends Number> x, @Nonnull Expression<? extends Number> y) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric quotient.- Specified by:
quotin interfaceCriteriaBuilder- Specified by:
quotin interfaceHibernateCriteriaBuilder
-
quot
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric quotient.- Specified by:
quotin interfaceCriteriaBuilder- Specified by:
quotin interfaceHibernateCriteriaBuilder
-
quot
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a numeric quotient.- Specified by:
quotin interfaceCriteriaBuilder- Specified by:
quotin interfaceHibernateCriteriaBuilder
-
quotPortable
-
mod
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the remainder of integer division.- Specified by:
modin interfaceCriteriaBuilder- Specified by:
modin interfaceHibernateCriteriaBuilder
-
mod
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the remainder of integer division.- Specified by:
modin interfaceCriteriaBuilder- Specified by:
modin interfaceHibernateCriteriaBuilder
-
mod
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the remainder of integer division.- Specified by:
modin interfaceCriteriaBuilder- Specified by:
modin interfaceHibernateCriteriaBuilder
-
sqrt
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the square root of its argument.- Specified by:
sqrtin interfaceCriteriaBuilder- Specified by:
sqrtin interfaceHibernateCriteriaBuilder
-
toLong
Description copied from interface:HibernateCriteriaBuilderCreate an expression converted to Long.- Specified by:
toLongin interfaceCriteriaBuilder- Specified by:
toLongin interfaceHibernateCriteriaBuilder
-
toInteger
Description copied from interface:HibernateCriteriaBuilderCreate an expression converted to Integer.- Specified by:
toIntegerin interfaceCriteriaBuilder- Specified by:
toIntegerin interfaceHibernateCriteriaBuilder
-
toFloat
Description copied from interface:HibernateCriteriaBuilderCreate an expression converted to Float.- Specified by:
toFloatin interfaceCriteriaBuilder- Specified by:
toFloatin interfaceHibernateCriteriaBuilder
-
toDouble
Description copied from interface:HibernateCriteriaBuilderCreate an expression converted to Double.- Specified by:
toDoublein interfaceCriteriaBuilder- Specified by:
toDoublein interfaceHibernateCriteriaBuilder
-
toBigDecimal
Description copied from interface:HibernateCriteriaBuilderCreate an expression converted to BigDecimal.- Specified by:
toBigDecimalin interfaceCriteriaBuilder- Specified by:
toBigDecimalin interfaceHibernateCriteriaBuilder
-
toBigInteger
Description copied from interface:HibernateCriteriaBuilderCreate an expression converted to BigInteger.- Specified by:
toBigIntegerin interfaceCriteriaBuilder- Specified by:
toBigIntegerin interfaceHibernateCriteriaBuilder
-
toString
Description copied from interface:HibernateCriteriaBuilderCreate an expression converted to String.- Specified by:
toStringin interfaceCriteriaBuilder- Specified by:
toStringin interfaceHibernateCriteriaBuilder
-
literal
Description copied from interface:HibernateCriteriaBuilderCreate a literal expression for the given value.- Specified by:
literalin interfaceCriteriaBuilder- Specified by:
literalin interfaceHibernateCriteriaBuilder
-
literals
Description copied from interface:HibernateCriteriaBuilderCreate literal expressions for each of the given values.- Specified by:
literalsin interfaceHibernateCriteriaBuilder
-
literals
Description copied from interface:HibernateCriteriaBuilderCreate literal expressions for each value in the given list.- Specified by:
literalsin interfaceHibernateCriteriaBuilder
-
nullLiteral
Description copied from interface:HibernateCriteriaBuilderCreate a null literal expression of the given type.- Specified by:
nullLiteralin interfaceCriteriaBuilder- Specified by:
nullLiteralin interfaceHibernateCriteriaBuilder
-
parameter
Description copied from interface:HibernateCriteriaBuilderCreate a parameter expression.- Specified by:
parameterin interfaceCriteriaBuilder- Specified by:
parameterin interfaceHibernateCriteriaBuilder- See Also:
- Implementation Note:
- Notice that this returns a JPA parameter not the SqmParameter
-
parameter
@Nonnull <T> JpaParameterExpression<T> parameter(@Nonnull Class<T> paramClass, @Nonnull String name) Description copied from interface:HibernateCriteriaBuilderCreate a parameter expression.- Specified by:
parameterin interfaceCriteriaBuilder- Specified by:
parameterin interfaceHibernateCriteriaBuilder
-
concat
Description copied from interface:HibernateCriteriaBuilderCreate a string concatenation expression.- Specified by:
concatin interfaceCriteriaBuilder- Specified by:
concatin interfaceHibernateCriteriaBuilder
-
concat
Description copied from interface:HibernateCriteriaBuilderCreate a string concatenation expression.- Specified by:
concatin interfaceCriteriaBuilder- Specified by:
concatin interfaceHibernateCriteriaBuilder
-
concat
Description copied from interface:HibernateCriteriaBuilderCreate a string concatenation expression.- Specified by:
concatin interfaceCriteriaBuilder- Specified by:
concatin interfaceHibernateCriteriaBuilder
-
concat
Description copied from interface:HibernateCriteriaBuilderCreate an expression that concatenates two string literals.- Specified by:
concatin interfaceHibernateCriteriaBuilder
-
substring
@Nonnull SqmFunction<String> substring(@Nonnull Expression<String> x, @Nonnull Expression<Integer> from) Description copied from interface:HibernateCriteriaBuilderCreate a substring expression.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder
-
substring
Description copied from interface:HibernateCriteriaBuilderCreate a substring expression.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder
-
substring
@Nonnull SqmFunction<String> substring(@Nonnull Expression<String> x, @Nonnull Expression<Integer> from, @Nonnull Expression<Integer> len) Description copied from interface:HibernateCriteriaBuilderCreate a substring expression.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder
-
substring
Description copied from interface:HibernateCriteriaBuilderCreate a substring expression.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder
-
trim
Description copied from interface:HibernateCriteriaBuilderCreate a trim expression.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder
-
trim
@Nonnull SqmFunction<String> trim(@Nonnull CriteriaBuilder.Trimspec ts, @Nonnull Expression<String> x) Description copied from interface:HibernateCriteriaBuilderCreate a trim expression.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder
-
trim
Description copied from interface:HibernateCriteriaBuilderCreate a trim expression.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder
-
trim
@Nonnull SqmFunction<String> trim(@Nonnull CriteriaBuilder.Trimspec ts, @Nonnull Expression<Character> t, @Nonnull Expression<String> x) Description copied from interface:HibernateCriteriaBuilderCreate a trim expression.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder
-
trim
Description copied from interface:HibernateCriteriaBuilderCreate a trim expression.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder
-
trim
@Nonnull SqmFunction<String> trim(@Nonnull CriteriaBuilder.Trimspec ts, char t, @Nonnull Expression<String> x) Description copied from interface:HibernateCriteriaBuilderCreate a trim expression.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder
-
lower
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning a lowercase string.- Specified by:
lowerin interfaceCriteriaBuilder- Specified by:
lowerin interfaceHibernateCriteriaBuilder
-
upper
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning an uppercase string.- Specified by:
upperin interfaceCriteriaBuilder- Specified by:
upperin interfaceHibernateCriteriaBuilder
-
length
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the length of a string.- Specified by:
lengthin interfaceCriteriaBuilder- Specified by:
lengthin interfaceHibernateCriteriaBuilder
-
locate
@Nonnull SqmFunction<Integer> locate(@Nonnull Expression<String> x, @Nonnull Expression<String> pattern) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the position of a substring.- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder
-
locate
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the position of a substring.- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder
-
locate
@Nonnull SqmFunction<Integer> locate(@Nonnull Expression<String> x, @Nonnull Expression<String> pattern, @Nonnull Expression<Integer> from) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the position of a substring.- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder
-
locate
@Nonnull SqmFunction<Integer> locate(@Nonnull Expression<String> x, @Nonnull String pattern, int from) Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the position of a substring.- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder
-
currentDate
Description copied from interface:HibernateCriteriaBuilderCreate an expression for the current SQL date.- Specified by:
currentDatein interfaceCriteriaBuilder- Specified by:
currentDatein interfaceHibernateCriteriaBuilder
-
currentTimestamp
Description copied from interface:HibernateCriteriaBuilderCreate an expression for the current SQL timestamp.- Specified by:
currentTimestampin interfaceCriteriaBuilder- Specified by:
currentTimestampin interfaceHibernateCriteriaBuilder
-
currentTime
Description copied from interface:HibernateCriteriaBuilderCreate an expression for the current SQL time.- Specified by:
currentTimein interfaceCriteriaBuilder- Specified by:
currentTimein interfaceHibernateCriteriaBuilder
-
currentInstant
Description copied from interface:HibernateCriteriaBuilderCreate an expression for the current instant.- Specified by:
currentInstantin interfaceHibernateCriteriaBuilder
-
localDate
Description copied from interface:HibernateCriteriaBuilderCreate expression to return current local date.- Specified by:
localDatein interfaceCriteriaBuilder- Specified by:
localDatein interfaceHibernateCriteriaBuilder- Returns:
- the expression for the current date
-
localDateTime
Description copied from interface:HibernateCriteriaBuilderCreate expression to return current local datetime.- Specified by:
localDateTimein interfaceCriteriaBuilder- Specified by:
localDateTimein interfaceHibernateCriteriaBuilder- Returns:
- the expression for the current timestamp
-
localTime
Description copied from interface:HibernateCriteriaBuilderCreate expression to return current local time.- Specified by:
localTimein interfaceCriteriaBuilder- Specified by:
localTimein interfaceHibernateCriteriaBuilder- Returns:
- the expression for the current time
-
function
@Nonnull <T> SqmFunction<T> function(@Nonnull String name, @Nonnull Class<T> type, @Nonnull Expression<?>[] args) Description copied from interface:HibernateCriteriaBuilderCreate an expression invoking a database function.- Specified by:
functionin interfaceCriteriaBuilder- Specified by:
functionin interfaceHibernateCriteriaBuilder
-
all
Description copied from interface:HibernateCriteriaBuilderCreate anallquantified expression over a subquery.- Specified by:
allin interfaceCriteriaBuilder- Specified by:
allin interfaceHibernateCriteriaBuilder
-
some
Description copied from interface:HibernateCriteriaBuilderCreate asomequantified expression over a subquery.- Specified by:
somein interfaceCriteriaBuilder- Specified by:
somein interfaceHibernateCriteriaBuilder
-
any
Description copied from interface:HibernateCriteriaBuilderCreate ananyquantified expression over a subquery.- Specified by:
anyin interfaceCriteriaBuilder- Specified by:
anyin interfaceHibernateCriteriaBuilder
-
indexes
Description copied from interface:HibernateCriteriaBuilderCreate an expression representing the indexes of the given list.- Specified by:
indexesin interfaceHibernateCriteriaBuilder
-
size
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the size of a collection.- Specified by:
sizein interfaceCriteriaBuilder- Specified by:
sizein interfaceHibernateCriteriaBuilder
-
size
Description copied from interface:HibernateCriteriaBuilderCreate an expression returning the size of a collection.- Specified by:
sizein interfaceCriteriaBuilder- Specified by:
sizein interfaceHibernateCriteriaBuilder
-
coalesce
Description copied from interface:HibernateCriteriaBuilderCreate a coalesce expression.- Specified by:
coalescein interfaceCriteriaBuilder- Specified by:
coalescein interfaceHibernateCriteriaBuilder
-
coalesce
@Nonnull <Y> JpaCoalesce<Y> coalesce(@Nonnull Expression<? extends Y> x, @Nonnull Expression<? extends Y> y) Description copied from interface:HibernateCriteriaBuilderCreate a coalesce expression.- Specified by:
coalescein interfaceCriteriaBuilder- Specified by:
coalescein interfaceHibernateCriteriaBuilder
-
coalesce
Description copied from interface:HibernateCriteriaBuilderCreate a coalesce expression.- Specified by:
coalescein interfaceCriteriaBuilder- Specified by:
coalescein interfaceHibernateCriteriaBuilder
-
nullif
Description copied from interface:HibernateCriteriaBuilderCreate a nullif expression.- Specified by:
nullifin interfaceCriteriaBuilder- Specified by:
nullifin interfaceHibernateCriteriaBuilder
-
nullif
Description copied from interface:HibernateCriteriaBuilderCreate a nullif expression.- Specified by:
nullifin interfaceCriteriaBuilder- Specified by:
nullifin interfaceHibernateCriteriaBuilder
-
selectCase
Description copied from interface:HibernateCriteriaBuilderCreate a simple case expression.- Specified by:
selectCasein interfaceCriteriaBuilder- Specified by:
selectCasein interfaceHibernateCriteriaBuilder
-
selectCase
@Nonnull <C,R> JpaSimpleCase<C,R> selectCase(@Nonnull Expression<? extends C> expression, @Nonnull Class<R> resultType) Description copied from interface:HibernateCriteriaBuilderCreate a case expression with the given result type.- Specified by:
selectCasein interfaceCriteriaBuilder- Specified by:
selectCasein interfaceHibernateCriteriaBuilder
-
selectCase
Description copied from interface:HibernateCriteriaBuilderCreate a searched case expression.- Specified by:
selectCasein interfaceCriteriaBuilder- Specified by:
selectCasein interfaceHibernateCriteriaBuilder
-
selectCase
Description copied from interface:HibernateCriteriaBuilderCreate a case expression with the given result type.- Specified by:
selectCasein interfaceCriteriaBuilder- Specified by:
selectCasein interfaceHibernateCriteriaBuilder
-
and
Description copied from interface:HibernateCriteriaBuilderCreate a conjunction predicate.- Specified by:
andin interfaceCriteriaBuilder- Specified by:
andin interfaceHibernateCriteriaBuilder
-
and
- Specified by:
andin interfaceHibernateCriteriaBuilder
-
or
Description copied from interface:HibernateCriteriaBuilderCreate a disjunction predicate.- Specified by:
orin interfaceCriteriaBuilder- Specified by:
orin interfaceHibernateCriteriaBuilder
-
or
- Specified by:
orin interfaceHibernateCriteriaBuilder
-
not
Description copied from interface:HibernateCriteriaBuilderCreate a negated predicate.- Specified by:
notin interfaceCriteriaBuilder- Specified by:
notin interfaceHibernateCriteriaBuilder
-
conjunction
Description copied from interface:HibernateCriteriaBuilderCreate a predicate that is always true.- Specified by:
conjunctionin interfaceCriteriaBuilder- Specified by:
conjunctionin interfaceHibernateCriteriaBuilder
-
disjunction
Description copied from interface:HibernateCriteriaBuilderCreate a predicate that is always false.- Specified by:
disjunctionin interfaceCriteriaBuilder- Specified by:
disjunctionin interfaceHibernateCriteriaBuilder
-
isTrue
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether an expression is true.- Specified by:
isTruein interfaceCriteriaBuilder- Specified by:
isTruein interfaceHibernateCriteriaBuilder
-
isFalse
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether an expression is false.- Specified by:
isFalsein interfaceCriteriaBuilder- Specified by:
isFalsein interfaceHibernateCriteriaBuilder
-
isNull
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether an expression is null.- Specified by:
isNullin interfaceCriteriaBuilder- Specified by:
isNullin interfaceHibernateCriteriaBuilder
-
isNotNull
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether an expression is not null.- Specified by:
isNotNullin interfaceCriteriaBuilder- Specified by:
isNotNullin interfaceHibernateCriteriaBuilder
-
equal
Description copied from interface:HibernateCriteriaBuilderCreate an equality predicate.- Specified by:
equalin interfaceCriteriaBuilder- Specified by:
equalin interfaceHibernateCriteriaBuilder
-
equal
Description copied from interface:HibernateCriteriaBuilderCreate an equality predicate.- Specified by:
equalin interfaceCriteriaBuilder- Specified by:
equalin interfaceHibernateCriteriaBuilder
-
notEqual
Description copied from interface:HibernateCriteriaBuilderCreate an inequality predicate.- Specified by:
notEqualin interfaceCriteriaBuilder- Specified by:
notEqualin interfaceHibernateCriteriaBuilder
-
notEqual
Description copied from interface:HibernateCriteriaBuilderCreate an inequality predicate.- Specified by:
notEqualin interfaceCriteriaBuilder- Specified by:
notEqualin interfaceHibernateCriteriaBuilder
-
distinctFrom
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether two expressions are distinct, treating nulls as comparable values.- Specified by:
distinctFromin interfaceHibernateCriteriaBuilder
-
distinctFrom
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether an expression and a value are distinct, treating nulls as comparable values.- Specified by:
distinctFromin interfaceHibernateCriteriaBuilder
-
notDistinctFrom
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether two expressions are not distinct, treating nulls as comparable values.- Specified by:
notDistinctFromin interfaceHibernateCriteriaBuilder
-
notDistinctFrom
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether an expression and a value are not distinct, treating nulls as comparable values.- Specified by:
notDistinctFromin interfaceHibernateCriteriaBuilder
-
greaterThan
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate greaterThan(@Nonnull Expression<? extends Y> x, @Nonnull Expression<? extends Y> y) Description copied from interface:HibernateCriteriaBuilderCreate a greater-than predicate for comparable expressions.- Specified by:
greaterThanin interfaceCriteriaBuilder- Specified by:
greaterThanin interfaceHibernateCriteriaBuilder
-
greaterThan
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate greaterThan(@Nonnull Expression<? extends Y> x, @Nullable Y y) Description copied from interface:HibernateCriteriaBuilderCreate a greater-than predicate for comparable expressions.- Specified by:
greaterThanin interfaceCriteriaBuilder- Specified by:
greaterThanin interfaceHibernateCriteriaBuilder
-
greaterThanOrEqualTo
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate greaterThanOrEqualTo(@Nonnull Expression<? extends Y> x, @Nonnull Expression<? extends Y> y) Description copied from interface:HibernateCriteriaBuilderCreate a greater-than-or-equal predicate for comparable expressions.- Specified by:
greaterThanOrEqualToin interfaceCriteriaBuilder- Specified by:
greaterThanOrEqualToin interfaceHibernateCriteriaBuilder
-
greaterThanOrEqualTo
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate greaterThanOrEqualTo(@Nonnull Expression<? extends Y> x, @Nullable Y y) Description copied from interface:HibernateCriteriaBuilderCreate a greater-than-or-equal predicate for comparable expressions.- Specified by:
greaterThanOrEqualToin interfaceCriteriaBuilder- Specified by:
greaterThanOrEqualToin interfaceHibernateCriteriaBuilder
-
lessThan
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate lessThan(@Nonnull Expression<? extends Y> x, @Nonnull Expression<? extends Y> y) Description copied from interface:HibernateCriteriaBuilderCreate a less-than predicate for comparable expressions.- Specified by:
lessThanin interfaceCriteriaBuilder- Specified by:
lessThanin interfaceHibernateCriteriaBuilder
-
lessThan
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate lessThan(@Nonnull Expression<? extends Y> x, @Nullable Y y) Description copied from interface:HibernateCriteriaBuilderCreate a less-than predicate for comparable expressions.- Specified by:
lessThanin interfaceCriteriaBuilder- Specified by:
lessThanin interfaceHibernateCriteriaBuilder
-
lessThanOrEqualTo
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate lessThanOrEqualTo(@Nonnull Expression<? extends Y> x, @Nonnull Expression<? extends Y> y) Description copied from interface:HibernateCriteriaBuilderCreate a less-than-or-equal predicate for comparable expressions.- Specified by:
lessThanOrEqualToin interfaceCriteriaBuilder- Specified by:
lessThanOrEqualToin interfaceHibernateCriteriaBuilder
-
lessThanOrEqualTo
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate lessThanOrEqualTo(@Nonnull Expression<? extends Y> x, @Nullable Y y) Description copied from interface:HibernateCriteriaBuilderCreate a less-than-or-equal predicate for comparable expressions.- Specified by:
lessThanOrEqualToin interfaceCriteriaBuilder- Specified by:
lessThanOrEqualToin interfaceHibernateCriteriaBuilder
-
between
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate between(@Nonnull Expression<? extends Y> value, @Nonnull Expression<? extends Y> lower, @Nonnull Expression<? extends Y> upper) Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether a value is between two bounds.- Specified by:
betweenin interfaceCriteriaBuilder- Specified by:
betweenin interfaceHibernateCriteriaBuilder
-
between
SqmPredicate between(Expression<?> value, Expression<?> lower, Expression<?> upper, boolean negated) -
comparison
-
between
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate between(@Nonnull Expression<? extends Y> value, @Nullable Y lower, @Nullable Y upper) Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether a value is between two bounds.- Specified by:
betweenin interfaceCriteriaBuilder- Specified by:
betweenin interfaceHibernateCriteriaBuilder
-
between
@Nonnull <Y extends Comparable<? super Y>> SqmPredicate between(@Nullable Y value, @Nonnull Expression<? extends Y> lower, @Nonnull Expression<? extends Y> upper) Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether a value is between two bounds.- Specified by:
betweenin interfaceCriteriaBuilder- Specified by:
betweenin interfaceHibernateCriteriaBuilder
-
gt
@Nonnull SqmPredicate gt(@Nonnull Expression<? extends Number> x, @Nonnull Expression<? extends Number> y) Description copied from interface:HibernateCriteriaBuilderCreate a greater-than predicate for numeric expressions.- Specified by:
gtin interfaceCriteriaBuilder- Specified by:
gtin interfaceHibernateCriteriaBuilder
-
gt
Description copied from interface:HibernateCriteriaBuilderCreate a greater-than predicate for numeric expressions.- Specified by:
gtin interfaceCriteriaBuilder- Specified by:
gtin interfaceHibernateCriteriaBuilder
-
ge
@Nonnull SqmPredicate ge(@Nonnull Expression<? extends Number> x, @Nonnull Expression<? extends Number> y) Description copied from interface:HibernateCriteriaBuilderCreate a greater-than-or-equal predicate for numeric expressions.- Specified by:
gein interfaceCriteriaBuilder- Specified by:
gein interfaceHibernateCriteriaBuilder
-
ge
Description copied from interface:HibernateCriteriaBuilderCreate a greater-than-or-equal predicate for numeric expressions.- Specified by:
gein interfaceCriteriaBuilder- Specified by:
gein interfaceHibernateCriteriaBuilder
-
lt
@Nonnull SqmPredicate lt(@Nonnull Expression<? extends Number> x, @Nonnull Expression<? extends Number> y) Description copied from interface:HibernateCriteriaBuilderCreate a less-than predicate for numeric expressions.- Specified by:
ltin interfaceCriteriaBuilder- Specified by:
ltin interfaceHibernateCriteriaBuilder
-
lt
Description copied from interface:HibernateCriteriaBuilderCreate a less-than predicate for numeric expressions.- Specified by:
ltin interfaceCriteriaBuilder- Specified by:
ltin interfaceHibernateCriteriaBuilder
-
le
@Nonnull SqmPredicate le(@Nonnull Expression<? extends Number> x, @Nonnull Expression<? extends Number> y) Description copied from interface:HibernateCriteriaBuilderCreate a less-than-or-equal predicate for numeric expressions.- Specified by:
lein interfaceCriteriaBuilder- Specified by:
lein interfaceHibernateCriteriaBuilder
-
le
Description copied from interface:HibernateCriteriaBuilderCreate a less-than-or-equal predicate for numeric expressions.- Specified by:
lein interfaceCriteriaBuilder- Specified by:
lein interfaceHibernateCriteriaBuilder
-
isEmpty
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether a collection is empty.- Specified by:
isEmptyin interfaceCriteriaBuilder- Specified by:
isEmptyin interfaceHibernateCriteriaBuilder
-
isNotEmpty
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether a collection is not empty.- Specified by:
isNotEmptyin interfaceCriteriaBuilder- Specified by:
isNotEmptyin interfaceHibernateCriteriaBuilder
-
isMember
@Nonnull <E, C extends Collection<E>> SqmPredicate isMember(@Nonnull Expression<E> elem, @Nonnull Expression<C> collection) Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether an element is a member of a collection.- Specified by:
isMemberin interfaceCriteriaBuilder- Specified by:
isMemberin interfaceHibernateCriteriaBuilder
-
isMember
@Nonnull <E, C extends Collection<E>> SqmPredicate isMember(@Nullable E elem, @Nonnull Expression<C> collection) Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether an element is a member of a collection.- Specified by:
isMemberin interfaceCriteriaBuilder- Specified by:
isMemberin interfaceHibernateCriteriaBuilder
-
isNotMember
@Nonnull <E, C extends Collection<E>> SqmPredicate isNotMember(@Nonnull Expression<E> elem, @Nonnull Expression<C> collection) Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether an element is not a member of a collection.- Specified by:
isNotMemberin interfaceCriteriaBuilder- Specified by:
isNotMemberin interfaceHibernateCriteriaBuilder
-
isNotMember
@Nonnull <E, C extends Collection<E>> SqmPredicate isNotMember(@Nullable E elem, @Nonnull Expression<C> collection) Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether an element is not a member of a collection.- Specified by:
isNotMemberin interfaceCriteriaBuilder- Specified by:
isNotMemberin interfaceHibernateCriteriaBuilder
-
like
Description copied from interface:HibernateCriteriaBuilderCreate alikepredicate.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder
-
like
Description copied from interface:HibernateCriteriaBuilderCreate alikepredicate.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder
-
like
@Nonnull SqmPredicate like(@Nonnull Expression<String> x, @Nonnull Expression<String> pattern, @Nonnull Expression<Character> escapeChar) Description copied from interface:HibernateCriteriaBuilderCreate alikepredicate.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder
-
like
@Nonnull SqmPredicate like(@Nonnull Expression<String> x, @Nonnull Expression<String> pattern, char escapeChar) Description copied from interface:HibernateCriteriaBuilderCreate alikepredicate.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder
-
like
@Nonnull SqmPredicate like(@Nonnull Expression<String> x, @Nonnull String pattern, @Nonnull Expression<Character> escapeChar) Description copied from interface:HibernateCriteriaBuilderCreate alikepredicate.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder
-
like
Description copied from interface:HibernateCriteriaBuilderCreate alikepredicate.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder
-
notLike
Description copied from interface:HibernateCriteriaBuilderCreate a negatedlikepredicate.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder
-
notLike
Description copied from interface:HibernateCriteriaBuilderCreate a negatedlikepredicate.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder
-
notLike
@Nonnull SqmPredicate notLike(@Nonnull Expression<String> x, @Nonnull Expression<String> pattern, @Nonnull Expression<Character> escapeChar) Description copied from interface:HibernateCriteriaBuilderCreate a negatedlikepredicate.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder
-
notLike
@Nonnull SqmPredicate notLike(@Nonnull Expression<String> x, @Nonnull Expression<String> pattern, char escapeChar) Description copied from interface:HibernateCriteriaBuilderCreate a negatedlikepredicate.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder
-
notLike
@Nonnull SqmPredicate notLike(@Nonnull Expression<String> x, @Nonnull String pattern, @Nonnull Expression<Character> escapeChar) Description copied from interface:HibernateCriteriaBuilderCreate a negatedlikepredicate.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder
-
notLike
@Nonnull SqmPredicate notLike(@Nonnull Expression<String> x, @Nonnull String pattern, char escapeChar) Description copied from interface:HibernateCriteriaBuilderCreate a negatedlikepredicate.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder
-
in
Description copied from interface:HibernateCriteriaBuilderCreate aninpredicate builder for the given expression.- Specified by:
inin interfaceCriteriaBuilder- Specified by:
inin interfaceHibernateCriteriaBuilder
-
in
@Nonnull <T> SqmInPredicate<T> in(@Nonnull Expression<? extends T> expression, @Nonnull Expression<? extends T>... values) Description copied from interface:HibernateCriteriaBuilderCreate aninpredicate with expression values.- Specified by:
inin interfaceHibernateCriteriaBuilder
-
in
@Nonnull <T> SqmInPredicate<T> in(@Nonnull Expression<? extends T> expression, @Nonnull T... values) Description copied from interface:HibernateCriteriaBuilderCreate aninpredicate with literal values.- Specified by:
inin interfaceHibernateCriteriaBuilder
-
in
@Nonnull <T> SqmInPredicate<T> in(@Nonnull Expression<? extends T> expression, @Nonnull Collection<T> values) Description copied from interface:HibernateCriteriaBuilderCreate aninpredicate with values supplied as a collection.- Specified by:
inin interfaceHibernateCriteriaBuilder
-
in
-
exists
Description copied from interface:HibernateCriteriaBuilderCreate a predicate testing whether a subquery returns results.- Specified by:
existsin interfaceCriteriaBuilder- Specified by:
existsin interfaceHibernateCriteriaBuilder
-
isMapEmpty
Description copied from interface:HibernateCriteriaBuilderCreate a predicate that tests whether a Map is empty.- Specified by:
isMapEmptyin interfaceHibernateCriteriaBuilder- Parameters:
mapExpression- The map expression to check for emptiness- Returns:
- the is-empty predicate
-
isMapNotEmpty
Description copied from interface:HibernateCriteriaBuilderCreate a predicate that tests whether a Map is not empty.- Specified by:
isMapNotEmptyin interfaceHibernateCriteriaBuilder- Parameters:
mapExpression- The map expression to check for non-emptiness- Returns:
- the is-not-empty predicate
-
mapSize
@Nonnull <M extends Map<?,?>> SqmExpression<Integer> mapSize(@Nonnull JpaExpression<M> mapExpression) Description copied from interface:HibernateCriteriaBuilderCreate an expression that tests the size of a map.- Specified by:
mapSizein interfaceHibernateCriteriaBuilder- Parameters:
mapExpression- The map expression for which to calculate the size- Returns:
- the size expression
-
mapSize
Description copied from interface:HibernateCriteriaBuilderCreate an expression that tests the size of a map.- Specified by:
mapSizein interfaceHibernateCriteriaBuilder- Parameters:
map- The map for which to calculate the size- Returns:
- the size expression
-
sort
@Nonnull SqmSortSpecification sort(@Nonnull JpaExpression<?> sortExpression, @Nonnull SortDirection sortOrder, @Nonnull Nulls nullPrecedence) Description copied from interface:HibernateCriteriaBuilderCreate an ordering for the given sort expression, direction, and null precedence.- Specified by:
sortin interfaceHibernateCriteriaBuilder
-
sort
@Nonnull SqmSortSpecification sort(@Nonnull JpaExpression<?> sortExpression, @Nonnull SortDirection sortOrder, @Nonnull Nulls nullPrecedence, boolean ignoreCase) Description copied from interface:HibernateCriteriaBuilderCreate an ordering for the given sort expression with optional case-insensitive comparison.- Specified by:
sortin interfaceHibernateCriteriaBuilder
-
sort
@Nonnull SqmSortSpecification sort(@Nonnull JpaExpression<?> sortExpression, @Nonnull SortDirection sortOrder) Description copied from interface:HibernateCriteriaBuilderCreate an ordering for the given sort expression and direction.- Specified by:
sortin interfaceHibernateCriteriaBuilder
-
sort
Description copied from interface:HibernateCriteriaBuilderCreate an ordering for the given sort expression.- Specified by:
sortin interfaceHibernateCriteriaBuilder
-
asc
Description copied from interface:HibernateCriteriaBuilderCreate an ascending ordering for the given expression.- Specified by:
ascin interfaceCriteriaBuilder- Specified by:
ascin interfaceHibernateCriteriaBuilder
-
desc
Description copied from interface:HibernateCriteriaBuilderCreate a descending ordering for the given expression.- Specified by:
descin interfaceCriteriaBuilder- Specified by:
descin interfaceHibernateCriteriaBuilder
-
getBooleanType
-
getIntegerType
-
getLongType
-
getCharacterType
-
getStringType
-
getJpaCompliance
JpaCompliance getJpaCompliance() -
getImmutableEntityUpdateQueryHandlingMode
@Deprecated(since="7.0", forRemoval=true) ImmutableEntityUpdateQueryHandlingMode getImmutableEntityUpdateQueryHandlingMode()Deprecated, for removal: This API element is subject to removal in a future version. -
allowImmutableEntityUpdate
Deprecated, for removal: This API element is subject to removal in a future version.
-