Package org.hibernate.query.sqm
Interface NodeBuilder
- All Superinterfaces:
CriteriaBuilder,HibernateCriteriaBuilder
- All Known Implementing Classes:
SqmCriteriaNodeBuilder
Adapts the JPA CriteriaBuilder to generate SQM nodes.
- Author:
- Steve Ebersole
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.CriteriaBuilder
CriteriaBuilder.Case<R>, CriteriaBuilder.Coalesce<T>, CriteriaBuilder.In<T>, CriteriaBuilder.SimpleCase<C,R>, CriteriaBuilder.Trimspec -
Method Summary
Modifier and TypeMethodDescription<N extends Number>
SqmExpression<N>abs(Expression<N> x) Create an expression that returns the absolute value of its argument.Create an all expression over the subquery results.and(Expression<Boolean> x, Expression<Boolean> y) Create a conjunction of the given boolean expressions.Create a conjunction of the given restriction predicates.Create an any expression over the subquery results.Create an array-valued selection item.array(List<? extends JpaSelection<?>> selections) <T> SqmExpression<T[]>arrayAgg(JpaOrder order, Expression<? extends T> argument) <T> SqmExpression<T[]>arrayAgg(JpaOrder order, JpaPredicate filter, Expression<? extends T> argument) <T> SqmExpression<T[]>arrayAgg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<? extends T> argument) Create aarray_aggordered set-aggregate function expression.<T> SqmExpression<T[]>arrayAgg(JpaOrder order, JpaWindow window, Expression<? extends T> argument) <T> SqmExpression<T[]>arrayAppend(Expression<T[]> arrayExpression, Expression<T> elementExpression) Appends element to array.<T> SqmExpression<T[]>arrayAppend(Expression<T[]> arrayExpression, T element) Appends element to array.<T> SqmExpression<T[]>arrayConcat(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Concatenates arrays with each other in order.<T> SqmExpression<T[]>arrayConcat(Expression<T[]> arrayExpression1, T[] array2) Concatenates arrays with each other in order.<T> SqmExpression<T[]>arrayConcat(T[] array1, Expression<T[]> arrayExpression2) Concatenates arrays with each other in order.<T> SqmPredicatearrayContains(Expression<T[]> arrayExpression, Expression<T> elementExpression) Whether an array contains an element.<T> SqmPredicatearrayContains(Expression<T[]> arrayExpression, T element) Whether an array contains an element.<T> SqmPredicatearrayContains(T[] array, Expression<T> elementExpression) Whether an array contains an element.default <T> SqmPredicatearrayContainsAll(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Whether an array is a subset of another array.default <T> SqmPredicatearrayContainsAll(Expression<T[]> arrayExpression, T[] subArray) Whether an array is a subset of another array.default <T> SqmPredicatearrayContainsAll(T[] array, Expression<T[]> subArrayExpression) Whether an array is a subset of another array.default <T> SqmPredicatearrayContainsAllNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Whether an array is a subset of another array with nullable elements.default <T> SqmPredicatearrayContainsAllNullable(Expression<T[]> arrayExpression, T[] subArray) Whether an array is a subset of another array with nullable elements.default <T> SqmPredicatearrayContainsAllNullable(T[] array, Expression<T[]> subArrayExpression) Whether an array is a subset of another array with nullable elements.<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.default <T> SqmPredicatearrayOverlaps(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array.default <T> SqmPredicatearrayOverlaps(Expression<T[]> arrayExpression1, T[] array2) Whether one array has any elements common with another array.default <T> SqmPredicatearrayOverlaps(T[] array1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array.default <T> SqmPredicatearrayOverlapsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array, supportingnullelements.default <T> SqmPredicatearrayOverlapsNullable(Expression<T[]> arrayExpression1, T[] array2) Whether one array has any elements common with another array, supportingnullelements.default <T> SqmPredicatearrayOverlapsNullable(T[] array1, Expression<T[]> arrayExpression2) Whether one array has any elements common with another array, supportingnullelements.<T> SqmExpression<Integer>arrayPosition(Expression<T[]> arrayExpression, Expression<T> elementExpression) Determines the 1-based position of an element in an array.<T> SqmExpression<Integer>arrayPosition(Expression<T[]> arrayExpression, T element) Determines the 1-based position of an element in an array.<T> SqmExpression<int[]>arrayPositions(Expression<T[]> arrayExpression, Expression<T> elementExpression) Determines all 1-based positions of an element in an array.<T> SqmExpression<int[]>arrayPositions(Expression<T[]> arrayExpression, T element) Determines all 1-based positions of an element in an array.<T> SqmExpression<List<Integer>>arrayPositionsList(Expression<T[]> arrayExpression, Expression<T> elementExpression) Determines all 1-based positions of an element in an array.<T> SqmExpression<List<Integer>>arrayPositionsList(Expression<T[]> arrayExpression, T element) Determines all 1-based positions of an element in an array.<T> SqmExpression<T[]>arrayPrepend(Expression<T> elementExpression, Expression<T[]> arrayExpression) Prepends element to array.<T> SqmExpression<T[]>arrayPrepend(T element, Expression<T[]> arrayExpression) Prepends element to array.<T> SqmExpression<T[]>arrayRemove(Expression<T[]> arrayExpression, Expression<T> elementExpression) Creates array copy with given element removed.<T> SqmExpression<T[]>arrayRemove(Expression<T[]> arrayExpression, T element) Creates array copy with given element removed.<T> SqmExpression<T[]>arrayRemoveIndex(Expression<T[]> arrayExpression, Expression<Integer> indexExpression) Creates array copy with the element at the given 1-based index removed.<T> SqmExpression<T[]>arrayRemoveIndex(Expression<T[]> arrayExpression, Integer index) Creates array copy with the element at the given 1-based index removed.<T> SqmExpression<T[]>arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, Expression<T> newElementExpression) Creates array copy replacing a given element with another.<T> SqmExpression<T[]>arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, T newElement) Creates array copy replacing a given element with another.<T> SqmExpression<T[]>arrayReplace(Expression<T[]> arrayExpression, T oldElement, Expression<T> newElementExpression) Creates array copy replacing a given element with another.<T> SqmExpression<T[]>arrayReplace(Expression<T[]> arrayExpression, T oldElement, T newElement) Creates array copy replacing a given element with another.<T> SqmExpression<T[]>arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, Expression<T> elementExpression) Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, T element) Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>arraySet(Expression<T[]> arrayExpression, Integer index, Expression<T> elementExpression) Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>arraySet(Expression<T[]> arrayExpression, Integer index, T element) Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression) Creates a sub-array of the based on 1-based lower and upper index.<T> SqmExpression<T[]>arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex) Creates a sub-array of the based on 1-based lower and upper index.<T> SqmExpression<T[]>arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression) Creates a sub-array of the based on 1-based lower and upper index.<T> SqmExpression<T[]>arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Integer upperIndex) Creates a sub-array of the based on 1-based lower and upper index.arrayToString(Expression<? extends Object[]> arrayExpression, Expression<String> separatorExpression) Concatenates the non-null array elements with a separator, as specified by the arguments.arrayToString(Expression<? extends Object[]> arrayExpression, String separator) Concatenates the non-null array elements with a separator, as specified by the arguments.<T> SqmExpression<T[]>arrayTrim(Expression<T[]> arrayExpression, Expression<Integer> elementCountExpression) Creates array copy without the last N elements, specified by the second argument.<T> SqmExpression<T[]>arrayTrim(Expression<T[]> arrayExpression, Integer elementCount) Creates array copy without the last N elements, specified by the second argument.asc(Expression<?> x) Create an ordering by the ascending value of the expression.<N extends Number>
SqmExpression<Double>avg(Expression<N> argument) Create an aggregate expression applying the avg operation.<Y extends Comparable<? super Y>>
SqmPredicatebetween(Expression<? extends Y> value, Expression<? extends Y> lower, Expression<? extends Y> upper) Create a predicate for testing whether the first argument is between the second and third arguments in value.<Y extends Comparable<? super Y>>
SqmPredicatebetween(Expression<? extends Y> value, Y lower, Y upper) Create a predicate for testing whether the first argument is between the second and third arguments in value.<X,T> SqmExpression<X> cast(JpaExpression<T> expression, Class<X> castTargetJavaType) <T> JpaCoalesce<T>coalesce()Create a coalesce expression.<Y> JpaCoalesce<Y>coalesce(Expression<? extends Y> x, Expression<? extends Y> y) Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.<Y> JpaCoalesce<Y>coalesce(Expression<? extends Y> x, Y y) Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.<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.default <E> SqmPredicatecollectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Whether a basic collection is a subset of another basic collection.default <E> SqmPredicatecollectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Whether a basic collection is a subset of another basic collection.default <E> SqmPredicatecollectionContainsAll(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Whether a basic collection is a subset of another basic collection.default <E> SqmPredicatecollectionContainsAllNullable(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.default <E> SqmPredicatecollectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Whether a basic collection is a subset of another basic collection with nullable elements.default <E> SqmPredicatecollectionContainsAllNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Whether a basic collection is a subset of another basic collection with nullable elements.<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.default <E> SqmPredicatecollectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection.default <E> SqmPredicatecollectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Whether one basic collection has any elements common with another basic collection.default <E> SqmPredicatecollectionOverlaps(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection.default <E> SqmPredicatecollectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection, supportingnullelements.default <E> SqmPredicatecollectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Whether one basic collection has any elements common with another basic collection, supportingnullelements.default <E> SqmPredicatecollectionOverlapsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Whether one basic collection has any elements common with another basic collection, supportingnullelements.<E> SqmExpression<Integer>collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, E element) Determines the 1-based position of an element in a basic collection.<E> SqmExpression<Integer>collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, Expression<E> elementExpression) Determines the 1-based position of an element in a basic collection.<T> SqmExpression<int[]>collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression) Determines all 1-based positions of an element in a basic collection.<T> SqmExpression<int[]>collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, T element) Determines all 1-based positions of an element in a basic collection.<T> SqmExpression<List<Integer>>collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression) Determines all 1-based positions of an element in a basic collection.<T> SqmExpression<List<Integer>>collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, T element) Determines all 1-based positions of an element in a basic collection.<E,C extends Collection<? super E>>
SqmExpression<C>collectionPrepend(E element, Expression<C> collectionExpression) Prepends element to basic collection.<E,C extends Collection<? super E>>
SqmExpression<C>collectionPrepend(Expression<? extends E> elementExpression, Expression<C> collectionExpression) Prepends element to basic collection.<E,C extends Collection<? super E>>
SqmExpression<C>collectionRemove(Expression<C> collectionExpression, E element) Creates basic collection copy with given element removed.<E,C extends Collection<? super E>>
SqmExpression<C>collectionRemove(Expression<C> collectionExpression, Expression<? extends E> elementExpression) Creates basic collection copy with given element removed.<C extends Collection<?>>
SqmExpression<C>collectionRemoveIndex(Expression<C> collectionExpression, Expression<Integer> indexExpression) Creates basic collection copy with the element at the given 1-based index removed.<C extends Collection<?>>
SqmExpression<C>collectionRemoveIndex(Expression<C> collectionExpression, Integer index) Creates basic collection copy with the element at the given 1-based index removed.<E,C extends Collection<? super E>>
SqmExpression<C>collectionReplace(Expression<C> collectionExpression, E oldElement, E newElement) Creates basic collection copy replacing a given element with another.<E,C extends Collection<? super E>>
SqmExpression<C>collectionReplace(Expression<C> collectionExpression, E oldElement, Expression<? extends E> newElementExpression) Creates basic collection copy replacing a given element with another.<E,C extends Collection<? super E>>
SqmExpression<C>collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, E newElement) Creates basic collection copy replacing a given element with another.<E,C extends Collection<? super E>>
SqmExpression<C>collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, Expression<? extends E> newElementExpression) Creates basic collection copy replacing a given element with another.<E,C extends Collection<? super E>>
SqmExpression<C>collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, E element) Creates basic collection copy with given element at given 1-based index.<E,C extends Collection<? super E>>
SqmExpression<C>collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, Expression<? extends E> elementExpression) Creates basic collection copy with given element at given 1-based index.<E,C extends Collection<? super E>>
SqmExpression<C>collectionSet(Expression<C> collectionExpression, Integer index, E element) Creates basic collection copy with given element at given 1-based index.<E,C extends Collection<? super E>>
SqmExpression<C>collectionSet(Expression<C> collectionExpression, Integer index, Expression<? extends E> elementExpression) Creates basic collection copy with given element at given 1-based index.<C extends Collection<?>>
SqmExpression<C>collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression) Creates a sub-collection of the based on 1-based lower and upper index.<C extends Collection<?>>
SqmExpression<C>collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex) Creates a sub-collection of the based on 1-based lower and upper index.<C extends Collection<?>>
SqmExpression<C>collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression) Creates a sub-collection of the based on 1-based lower and upper index.<C extends Collection<?>>
SqmExpression<C>collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Integer upperIndex) Creates a sub-collection of the based on 1-based lower and upper index.<T> SqmExpression<String>collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression) Concatenates the non-null basic collection elements with a separator, as specified by the arguments.<T> SqmExpression<String>collectionToString(Expression<? extends Collection<?>> collectionExpression, String separator) Concatenates the non-null basic collection elements with a separator, as specified by the arguments.<C extends Collection<?>>
SqmExpression<C>collectionTrim(Expression<C> 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.concat(Expression<String> x, Expression<String> y) Create an expression for string concatenation.concat(Expression<String> x, String y) Create an expression for string concatenation.concat(String x, Expression<String> y) Create an expression for string concatenation.Create a conjunction (with zero conjuncts).<Y> JpaCompoundSelection<Y>Create a selection item corresponding to a constructor.<Y> JpaCompoundSelection<Y>construct(Class<Y> resultClass, List<? extends JpaSelection<?>> arguments) count()Equivalent to HQLcount(*).count(Expression<?> argument) Create an aggregate expression applying the count operation.countDistinct(Expression<?> x) Create an aggregate expression applying the count distinct operation.<T> SqmDeleteStatement<T>createCriteriaDelete(Class<T> targetEntity) Create aCriteriaDeletequery object to perform a bulk delete operation.<T> SqmInsertSelectStatement<T>createCriteriaInsertSelect(Class<T> targetEntity) <T> SqmInsertValuesStatement<T>createCriteriaInsertValues(Class<T> targetEntity) <T> SqmUpdateStatement<T>createCriteriaUpdate(Class<T> targetEntity) Create aCriteriaUpdatequery object to perform a bulk update operation.Create aCriteriaQueryobject.<T> SqmSelectStatement<T>createQuery(Class<T> resultClass) Create aCriteriaQueryobject with the specified result type.<T> SqmSelectStatement<T>createQuery(String hql, Class<T> resultClass) Transform the given HQLselectquery to an equivalent criteria query.Create aCriteriaQueryobject that returns a tuple of objects as its result.Create expression to return current date.Create expression to return current time.Create expression to return current timestamp.desc(Expression<?> x) Create an ordering by the descending value of the expression.<N extends Number>
SqmExpression<N>diff(Expression<? extends N> x, Expression<? extends N> y) Create an expression that returns the difference between its arguments.<N extends Number>
SqmExpression<N>diff(Expression<? extends N> x, N y) Create an expression that returns the difference between its arguments.<N extends Number>
SqmExpression<N>diff(N x, Expression<? extends N> y) Create an expression that returns the difference between its arguments.Create a disjunction (with zero disjuncts).distinctFrom(Expression<?> x, Expression<?> y) distinctFrom(Expression<?> x, Object y) equal(Expression<?> x, Expression<?> y) Create a predicate for testing the arguments for equality.equal(Expression<?> x, Object y) Create a predicate for testing the arguments for equality.Create a predicate testing the existence of a subquery result.<P,F> SqmExpression<F> <T> SqmFunction<T>function(String name, Class<T> type, Expression<?>[] args) Create an expression for the execution of a database function.ge(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is greater than or equal to the second.ge(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is greater than or equal to the second.<Y extends Comparable<? super Y>>
SqmPredicategreaterThan(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is greater than the second.<Y extends Comparable<? super Y>>
SqmPredicategreaterThan(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is greater than the second.<Y extends Comparable<? super Y>>
SqmPredicategreaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is greater than or equal to the second.<Y extends Comparable<? super Y>>
SqmPredicategreaterThanOrEqualTo(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is greater than or equal to the second.<X extends Comparable<? super X>>
SqmExpression<X>greatest(Expression<X> argument) Create an aggregate expression for finding the greatest of the values (strings, dates, etc).gt(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is greater than the second.gt(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is greater than the second.<T> SqmInPredicate<T>in(Expression<? extends T> expression) Create predicate to test whether given expression is contained in a list of values.<T> SqmInPredicate<T>in(Expression<? extends T> expression, Expression<? extends T>... values) <T> SqmInPredicate<T>in(Expression<? extends T> expression, Collection<T> values) <T> SqmInPredicate<T>in(Expression<? extends T> expression, SqmSubQuery<T> subQuery) <T> SqmInPredicate<T>in(Expression<? extends T> expression, T... values) <K,L extends List<?>>
SqmExpression<Set<K>>indexes(L list) <C extends Collection<?>>
SqmPredicateisEmpty(Expression<C> collection) Create a predicate that tests whether a collection is empty.isFalse(Expression<Boolean> x) Create a predicate testing for a false value.boolean<M extends Map<?,?>>
SqmPredicateisMapEmpty(JpaExpression<M> mapExpression) Create a predicate that tests whether a Map is empty.<M extends Map<?,?>>
SqmPredicateisMapNotEmpty(JpaExpression<M> mapExpression) Create a predicate that tests whether a Map is not empty.<E,C extends Collection<E>>
SqmPredicateisMember(E elem, Expression<C> collection) Create a predicate that tests whether an element is a member of a collection.<E,C extends Collection<E>>
SqmPredicateisMember(Expression<E> elem, Expression<C> collection) Create a predicate that tests whether an element is a member of a collection.<C extends Collection<?>>
SqmPredicateisNotEmpty(Expression<C> collection) Create a predicate that tests whether a collection is not empty.<E,C extends Collection<E>>
SqmPredicateisNotMember(E elem, Expression<C> collection) Create a predicate that tests whether an element is not a member of a collection.<E,C extends Collection<E>>
SqmPredicateisNotMember(Expression<E> elem, Expression<C> collection) Create a predicate that tests whether an element is not a member of a collection.isNotNull(Expression<?> x) Create a predicate to test whether the expression is not null.isNull(Expression<?> x) Create a predicate to test whether the expression is null.isTrue(Expression<Boolean> x) Create a predicate testing for a true value.<K,M extends Map<K, ?>>
SqmExpression<Set<K>>keys(M map) Create an expression that returns the keys of a map.le(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is less than or equal to the second.le(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is less than or equal to the second.<X extends Comparable<? super X>>
SqmExpression<X>least(Expression<X> argument) Create an aggregate expression for finding the least of the values (strings, dates, etc).length(Expression<String> x) Create expression to return length of a string.<Y extends Comparable<? super Y>>
SqmPredicatelessThan(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is less than the second.<Y extends Comparable<? super Y>>
SqmPredicatelessThan(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is less than the second.<Y extends Comparable<? super Y>>
SqmPredicatelessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y) Create a predicate for testing whether the first argument is less than or equal to the second.<Y extends Comparable<? super Y>>
SqmPredicatelessThanOrEqualTo(Expression<? extends Y> x, Y y) Create a predicate for testing whether the first argument is less than or equal to the second.like(Expression<String> x, Expression<String> pattern) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> x, Expression<String> pattern, char escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> x, String pattern) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> x, String pattern, char escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.like(Expression<String> x, String pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression satisfies the given pattern.<T> SqmExpression<T>literal(T value) Create an expression for a literal.<T> List<? extends SqmExpression<T>><T> List<? extends SqmExpression<T>>literals(T[] values) locate(Expression<String> x, Expression<String> pattern) Create expression to locate the position of one string within another, returning position of first character if found.locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from) Create expression to locate the position of one string within another, returning position of first character if found.locate(Expression<String> x, String pattern) Create expression to locate the position of one string within another, returning position of first character if found.locate(Expression<String> x, String pattern, int from) Create expression to locate the position of one string within another, returning position of first character if found.lower(Expression<String> x) Create expression for converting a string to lowercase.lt(Expression<? extends Number> x, Expression<? extends Number> y) Create a predicate for testing whether the first argument is less than the second.lt(Expression<? extends Number> x, Number y) Create a predicate for testing whether the first argument is less than the second.<M extends Map<?,?>>
SqmExpression<Integer>mapSize(M map) Create an expression that tests the size of a map.<M extends Map<?,?>>
SqmExpression<Integer>mapSize(JpaExpression<M> mapExpression) Create an expression that tests the size of a map.<N extends Number>
SqmExpression<N>max(Expression<N> argument) Create an aggregate expression applying the numerical max operation.<N extends Number>
SqmExpression<N>min(Expression<N> argument) Create an aggregate expression applying the numerical min operation.mod(Expression<Integer> x, Expression<Integer> y) Create an expression that returns the modulus (remainder under integer division) of its arguments.mod(Expression<Integer> x, Integer y) Create an expression that returns the modulus (remainder under integer division) of its arguments.mod(Integer x, Expression<Integer> y) Create an expression that returns the modulus (remainder under integer division) of its arguments.<N extends Number>
SqmExpression<N>neg(Expression<N> x) Create an expression that returns the arithmetic negation of its argument.not(Expression<Boolean> restriction) Create a negation of the given restriction.notDistinctFrom(Expression<?> x, Expression<?> y) notDistinctFrom(Expression<?> x, Object y) notEqual(Expression<?> x, Expression<?> y) Create a predicate for testing the arguments for inequality.notEqual(Expression<?> x, Object y) Create a predicate for testing the arguments for inequality.notLike(Expression<String> x, Expression<String> pattern) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, Expression<String> pattern, char escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, String pattern) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, String pattern, char escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.notLike(Expression<String> x, String pattern, Expression<Character> escapeChar) Create a predicate for testing whether the expression does not satisfy the given pattern.<Y> SqmExpression<Y>nullif(Expression<Y> x, Expression<?> y) Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.<Y> SqmExpression<Y>nullif(Expression<Y> x, Y y) Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.<T> SqmExpression<T>nullLiteral(Class<T> resultClass) Create an expression for a null literal with the given type.or(Expression<Boolean> x, Expression<Boolean> y) Create a disjunction of the given boolean expressions.Create a disjunction of the given restriction predicates.<T> JpaParameterExpression<T>Create a parameter expression.<T> JpaParameterExpression<T>Create a parameter expression with the given name.<N extends Number>
SqmExpression<N>prod(Expression<? extends N> x, Expression<? extends N> y) Create an expression that returns the product of its arguments.<N extends Number>
SqmExpression<N>prod(Expression<? extends N> x, N y) Create an expression that returns the product of its arguments.<N extends Number>
SqmExpression<N>prod(N x, Expression<? extends N> y) Create an expression that returns the product of its arguments.quot(Expression<? extends Number> x, Expression<? extends Number> y) Create an expression that returns the quotient of its arguments.quot(Expression<? extends Number> x, Number y) Create an expression that returns the quotient of its arguments.quot(Number x, Expression<? extends Number> y) Create an expression that returns the quotient of its arguments.<R> JpaSearchedCase<R>Create a general case expression.<C,R> JpaSimpleCase<C, R> selectCase(Expression<? extends C> expression) Create a simple case expression.<C extends Collection<?>>
SqmExpression<Integer>size(C collection) Create an expression that tests the size of a collection.<C extends Collection<?>>
SqmExpression<Integer>size(Expression<C> collection) Create an expression that tests the size of a collection.Create a some expression over the subquery results.sort(JpaExpression<?> sortExpression) sort(JpaExpression<?> sortExpression, SortDirection sortOrder) sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase) sqrt(Expression<? extends Number> x) Create an expression that returns the square root of its argument.substring(Expression<String> x, int from) Create an expression for substring extraction.substring(Expression<String> x, int from, int len) Create an expression for substring extraction.substring(Expression<String> x, Expression<Integer> from) Create an expression for substring extraction.substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len) Create an expression for substring extraction.<N extends Number>
SqmExpression<N>sum(Expression<? extends N> x, Expression<? extends N> y) Create an expression that returns the sum of its arguments.<N extends Number>
SqmExpression<N>sum(Expression<? extends N> x, N y) Create an expression that returns the sum of its arguments.<N extends Number>
SqmExpression<N>sum(Expression<N> argument) Create an aggregate expression applying the sum operation.<N extends Number>
SqmExpression<N>sum(N x, Expression<? extends N> y) Create an expression that returns the sum of its arguments.sumAsDouble(Expression<Float> argument) Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result.sumAsLong(Expression<Integer> argument) Create an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result.toBigDecimal(Expression<? extends Number> number) Typecast.toBigInteger(Expression<? extends Number> number) Typecast.toDouble(Expression<? extends Number> number) Typecast.toFloat(Expression<? extends Number> number) Typecast.toInteger(Expression<? extends Number> number) Typecast.toLong(Expression<? extends Number> number) Typecast.toString(Expression<Character> character) Typecast.<X,T, E extends T>
SqmBagJoin<X,E> treat(CollectionJoin<X, T> join, Class<E> type) Downcast CollectionJoin object to the specified type.<X,T, V extends T>
SqmSingularJoin<X,V> Downcast Join object to the specified type.<X,T, E extends T>
SqmListJoin<X,E> Downcast ListJoin object to the specified type.<X,K, T, V extends T>
SqmMapJoin<X,K, V> Downcast MapJoin object to the specified type.<X,T extends X>
SqmPath<T>Downcast Path object to the specified type.<X,T extends X>
SqmRoot<T>Downcast Root object to the specified type.<X,T, E extends T>
SqmSetJoin<X,E> Downcast SetJoin object to the specified type.trim(char t, Expression<String> x) Create expression to trim character from both ends of a string.trim(CriteriaBuilder.Trimspec ts, char t, Expression<String> x) Create expression to trim character from a string.trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x) Create expression to trim character from a string.trim(CriteriaBuilder.Trimspec ts, Expression<String> x) Create expression to trim blanks from a string.trim(Expression<Character> t, Expression<String> x) Create expression to trim character from both ends of a string.trim(Expression<String> x) Create expression to trim blanks from both ends of a string.Create a tuple-valued selection item.<R> SqmTuple<R>tuple(Class<R> tupleType, List<? extends SqmExpression<?>> expressions) <R> SqmTuple<R>tuple(Class<R> tupleType, SqmExpression<?>... expressions) tuple(List<? extends JpaSelection<?>> selections) <R> SqmTuple<R>tuple(SqmExpressible<R> tupleType, List<? extends SqmExpression<?>> expressions) <R> SqmTuple<R>tuple(SqmExpressible<R> tupleType, SqmExpression<?>... expressions) upper(Expression<String> x) Create expression for converting a string to uppercase.values(Expression<?>... expressions) values(List<? extends Expression<?>> expressions) <V,M extends Map<?, V>>
Expression<Collection<V>>values(M map) Create an expression that returns the values of a map.wrap(Expression<Boolean> expression) wrap(Expression<Boolean>... expressions) Methods inherited from interface org.hibernate.query.criteria.HibernateCriteriaBuilder
acos, addDuration, addDuration, addDuration, array, array, asc, asc, asc, asin, atan, atan2, atan2, atan2, avg, avg, avg, ceiling, collate, cos, cosh, count, count, count, createWindow, cumeDist, day, degrees, denseRank, desc, desc, desc, duration, durationBetween, durationBetween, durationByUnit, durationDiff, durationDiff, durationScaled, durationScaled, durationScaled, durationSum, durationSum, except, except, except, except, exceptAll, exceptAll, exp, firstValue, floor, format, frameBetweenFollowing, frameBetweenFollowing, frameBetweenPreceding, frameBetweenPreceding, frameCurrentRow, frameUnboundedFollowing, frameUnboundedPreceding, functionAggregate, functionAggregate, functionAggregate, functionWithinGroup, functionWithinGroup, functionWithinGroup, functionWithinGroup, hour, ilike, ilike, ilike, ilike, ilike, ilike, intersect, intersect, intersect, intersect, intersectAll, intersectAll, lastValue, left, left, listagg, listagg, listagg, listagg, listagg, listagg, listagg, listagg, ln, localDate, localDateTime, localTime, log, log, log10, minute, mode, mode, mode, mode, month, notIlike, notIlike, notIlike, notIlike, notIlike, notIlike, nthValue, nthValue, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, percentileCont, percentileCont, percentileCont, percentileCont, percentileDisc, percentileDisc, percentileDisc, percentileDisc, percentRank, percentRank, percentRank, percentRank, percentRank, pi, power, power, radians, rank, rank, rank, rank, rank, repeat, repeat, repeat, replace, replace, replace, replace, right, right, round, rowNumber, search, search, search, second, sign, sin, sinh, sql, subtractDuration, subtractDuration, subtractDuration, sum, sum, sum, tan, tanh, truncate, truncate, union, union, union, union, unionAll, unionAll, unwrap, value, windowFunction, year
-
Method Details
-
getDomainModel
JpaMetamodel getDomainModel() -
getTypeConfiguration
TypeConfiguration getTypeConfiguration() -
isJpaQueryComplianceEnabled
boolean isJpaQueryComplianceEnabled() -
getQueryEngine
QueryEngine getQueryEngine() -
tuple
-
tuple
-
tuple
-
tuple
-
arrayAgg
- Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- See Also:
-
arrayAgg
<T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaPredicate filter, Expression<? extends T> argument) - Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- See Also:
-
arrayAgg
- Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- See Also:
-
arrayAgg
<T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<? extends T> argument) Description copied from interface:HibernateCriteriaBuilderCreate aarray_aggordered set-aggregate function expression.- Specified by:
arrayAggin interfaceHibernateCriteriaBuilder- Parameters:
order- order by clause used in within groupfilter- optional filter clausewindow- optional window over which to apply the functionargument- values to aggregate- Returns:
- ordered set-aggregate expression
- See Also:
-
arrayLiteral
Description copied from interface:HibernateCriteriaBuilderCreates an array literal with thearrayconstructor function.- Specified by:
arrayLiteralin interfaceHibernateCriteriaBuilder
-
arrayLength
Description copied from interface:HibernateCriteriaBuilderDetermines the length of an array.- Specified by:
arrayLengthin interfaceHibernateCriteriaBuilder
-
arrayPosition
Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in an array.- Specified by:
arrayPositionin interfaceHibernateCriteriaBuilder
-
arrayPosition
<T> SqmExpression<Integer> arrayPosition(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in an array.- Specified by:
arrayPositionin interfaceHibernateCriteriaBuilder
-
arrayPositions
<T> SqmExpression<int[]> arrayPositions(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsin interfaceHibernateCriteriaBuilder
-
arrayPositions
Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsin interfaceHibernateCriteriaBuilder
-
arrayPositionsList
<T> SqmExpression<List<Integer>> arrayPositionsList(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsListin interfaceHibernateCriteriaBuilder
-
arrayPositionsList
Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in an array.- Specified by:
arrayPositionsListin interfaceHibernateCriteriaBuilder
-
arrayConcat
<T> SqmExpression<T[]> arrayConcat(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderConcatenates arrays with each other in order.- Specified by:
arrayConcatin interfaceHibernateCriteriaBuilder
-
arrayConcat
Description copied from interface:HibernateCriteriaBuilderConcatenates arrays with each other in order.- Specified by:
arrayConcatin interfaceHibernateCriteriaBuilder
-
arrayConcat
Description copied from interface:HibernateCriteriaBuilderConcatenates arrays with each other in order.- Specified by:
arrayConcatin interfaceHibernateCriteriaBuilder
-
arrayAppend
<T> SqmExpression<T[]> arrayAppend(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderAppends element to array.- Specified by:
arrayAppendin interfaceHibernateCriteriaBuilder
-
arrayAppend
Description copied from interface:HibernateCriteriaBuilderAppends element to array.- Specified by:
arrayAppendin interfaceHibernateCriteriaBuilder
-
arrayPrepend
<T> SqmExpression<T[]> arrayPrepend(Expression<T> elementExpression, Expression<T[]> arrayExpression) Description copied from interface:HibernateCriteriaBuilderPrepends element to array.- Specified by:
arrayPrependin interfaceHibernateCriteriaBuilder
-
arrayPrepend
Description copied from interface:HibernateCriteriaBuilderPrepends element to array.- Specified by:
arrayPrependin interfaceHibernateCriteriaBuilder
-
arrayGet
Description copied from interface:HibernateCriteriaBuilderAccesses the element of an array by 1-based index.- Specified by:
arrayGetin interfaceHibernateCriteriaBuilder
-
arrayGet
Description copied from interface:HibernateCriteriaBuilderAccesses the element of an array by 1-based index.- Specified by:
arrayGetin interfaceHibernateCriteriaBuilder
-
arraySet
<T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder
-
arraySet
<T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, T element) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder
-
arraySet
<T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Integer index, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder
-
arraySet
Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element at given 1-based index.- Specified by:
arraySetin interfaceHibernateCriteriaBuilder
-
arrayRemove
<T> SqmExpression<T[]> arrayRemove(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element removed.- Specified by:
arrayRemovein interfaceHibernateCriteriaBuilder
-
arrayRemove
Description copied from interface:HibernateCriteriaBuilderCreates array copy with given element removed.- Specified by:
arrayRemovein interfaceHibernateCriteriaBuilder
-
arrayRemoveIndex
<T> SqmExpression<T[]> arrayRemoveIndex(Expression<T[]> arrayExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy with the element at the given 1-based index removed.- Specified by:
arrayRemoveIndexin interfaceHibernateCriteriaBuilder
-
arrayRemoveIndex
Description copied from interface:HibernateCriteriaBuilderCreates array copy with the element at the given 1-based index removed.- Specified by:
arrayRemoveIndexin interfaceHibernateCriteriaBuilder
-
arraySlice
<T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilderCreates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlicein interfaceHibernateCriteriaBuilder
-
arraySlice
<T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilderCreates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlicein interfaceHibernateCriteriaBuilder
-
arraySlice
<T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilderCreates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlicein interfaceHibernateCriteriaBuilder
-
arraySlice
<T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilderCreates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlicein interfaceHibernateCriteriaBuilder
-
arrayReplace
<T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, Expression<T> newElementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder
-
arrayReplace
<T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, T newElement) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder
-
arrayReplace
<T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, T oldElement, Expression<T> newElementExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder
-
arrayReplace
Description copied from interface:HibernateCriteriaBuilderCreates array copy replacing a given element with another.- Specified by:
arrayReplacein interfaceHibernateCriteriaBuilder
-
arrayTrim
<T> SqmExpression<T[]> arrayTrim(Expression<T[]> arrayExpression, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates array copy without the last N elements, specified by the second argument.- Specified by:
arrayTrimin interfaceHibernateCriteriaBuilder
-
arrayTrim
Description copied from interface:HibernateCriteriaBuilderCreates array copy without the last N elements, specified by the second argument.- Specified by:
arrayTrimin interfaceHibernateCriteriaBuilder
-
arrayFill
<T> SqmExpression<T[]> arrayFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates array with the same element N times, as specified by the arguments.- Specified by:
arrayFillin interfaceHibernateCriteriaBuilder
-
arrayFill
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
-
arrayFill
Description copied from interface:HibernateCriteriaBuilderCreates array with the same element N times, as specified by the arguments.- Specified by:
arrayFillin interfaceHibernateCriteriaBuilder
-
arrayToString
SqmExpression<String> arrayToString(Expression<? extends Object[]> arrayExpression, Expression<String> separatorExpression) Description copied from interface:HibernateCriteriaBuilderConcatenates the non-null array elements with a separator, as specified by the arguments.- Specified by:
arrayToStringin interfaceHibernateCriteriaBuilder
-
arrayToString
SqmExpression<String> arrayToString(Expression<? extends Object[]> arrayExpression, String separator) Description copied from interface:HibernateCriteriaBuilderConcatenates the non-null array elements with a separator, as specified by the arguments.- Specified by:
arrayToStringin interfaceHibernateCriteriaBuilder
-
arrayContains
Description copied from interface:HibernateCriteriaBuilderWhether an array contains an element.- Specified by:
arrayContainsin interfaceHibernateCriteriaBuilder
-
arrayContains
Description copied from interface:HibernateCriteriaBuilderWhether an array contains an element.- Specified by:
arrayContainsin interfaceHibernateCriteriaBuilder
-
arrayContains
Description copied from interface:HibernateCriteriaBuilderWhether an array contains an element.- Specified by:
arrayContainsin interfaceHibernateCriteriaBuilder
-
arrayContainsNullable
<T> SqmPredicate arrayContainsNullable(Expression<T[]> arrayExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array contains a nullable element.- Specified by:
arrayContainsNullablein interfaceHibernateCriteriaBuilder
-
arrayContainsNullable
Description copied from interface:HibernateCriteriaBuilderWhether an array contains a nullable element.- Specified by:
arrayContainsNullablein interfaceHibernateCriteriaBuilder
-
arrayContainsNullable
Description copied from interface:HibernateCriteriaBuilderWhether an array contains a nullable element.- Specified by:
arrayContainsNullablein interfaceHibernateCriteriaBuilder
-
arrayContainsAll
default <T> SqmPredicate arrayContainsAll(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayContainsAllin interfaceHibernateCriteriaBuilder
-
arrayContainsAll
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayContainsAllin interfaceHibernateCriteriaBuilder
-
arrayContainsAll
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayContainsAllin interfaceHibernateCriteriaBuilder
-
arrayContainsAllNullable
default <T> SqmPredicate arrayContainsAllNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayContainsAllNullablein interfaceHibernateCriteriaBuilder
-
arrayContainsAllNullable
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayContainsAllNullablein interfaceHibernateCriteriaBuilder
-
arrayContainsAllNullable
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayContainsAllNullablein interfaceHibernateCriteriaBuilder
-
arrayIncludes
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayIncludesin interfaceHibernateCriteriaBuilder
-
arrayIncludes
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayIncludesin interfaceHibernateCriteriaBuilder
-
arrayIncludes
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array.- Specified by:
arrayIncludesin interfaceHibernateCriteriaBuilder
-
arrayIncludesNullable
<T> SqmPredicate arrayIncludesNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression) Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullablein interfaceHibernateCriteriaBuilder
-
arrayIncludesNullable
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullablein interfaceHibernateCriteriaBuilder
-
arrayIncludesNullable
Description copied from interface:HibernateCriteriaBuilderWhether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullablein interfaceHibernateCriteriaBuilder
-
arrayOverlaps
default <T> SqmPredicate arrayOverlaps(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayOverlapsin interfaceHibernateCriteriaBuilder
-
arrayOverlaps
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayOverlapsin interfaceHibernateCriteriaBuilder
-
arrayOverlaps
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayOverlapsin interfaceHibernateCriteriaBuilder
-
arrayOverlapsNullable
default <T> SqmPredicate arrayOverlapsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayOverlapsNullablein interfaceHibernateCriteriaBuilder
-
arrayOverlapsNullable
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayOverlapsNullablein interfaceHibernateCriteriaBuilder
-
arrayOverlapsNullable
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayOverlapsNullablein interfaceHibernateCriteriaBuilder
-
arrayIntersects
<T> SqmPredicate arrayIntersects(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayIntersectsin interfaceHibernateCriteriaBuilder
-
arrayIntersects
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayIntersectsin interfaceHibernateCriteriaBuilder
-
arrayIntersects
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array.- Specified by:
arrayIntersectsin interfaceHibernateCriteriaBuilder
-
arrayIntersectsNullable
<T> SqmPredicate arrayIntersectsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayIntersectsNullablein interfaceHibernateCriteriaBuilder
-
arrayIntersectsNullable
Description copied from interface:HibernateCriteriaBuilderWhether one array has any elements common with another array, supportingnullelements.- Specified by:
arrayIntersectsNullablein interfaceHibernateCriteriaBuilder
-
arrayIntersectsNullable
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
Description copied from interface:HibernateCriteriaBuilderDetermines the length of a basic collection.- Specified by:
collectionLengthin interfaceHibernateCriteriaBuilder
-
collectionPosition
<E> SqmExpression<Integer> collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in a basic collection.- Specified by:
collectionPositionin interfaceHibernateCriteriaBuilder
-
collectionPosition
<E> SqmExpression<Integer> collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines the 1-based position of an element in a basic collection.- Specified by:
collectionPositionin interfaceHibernateCriteriaBuilder
-
collectionPositions
<T> SqmExpression<int[]> collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsin interfaceHibernateCriteriaBuilder
-
collectionPositions
<T> SqmExpression<int[]> collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, T element) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsin interfaceHibernateCriteriaBuilder
-
collectionPositionsList
<T> SqmExpression<List<Integer>> collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsListin interfaceHibernateCriteriaBuilder
-
collectionPositionsList
<T> SqmExpression<List<Integer>> collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, T element) Description copied from interface:HibernateCriteriaBuilderDetermines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsListin interfaceHibernateCriteriaBuilder
-
collectionConcat
<E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(Expression<C> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderConcatenates basic collections with each other in order.- Specified by:
collectionConcatin interfaceHibernateCriteriaBuilder
-
collectionConcat
<E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(Expression<C> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilderConcatenates basic collections with each other in order.- Specified by:
collectionConcatin interfaceHibernateCriteriaBuilder
-
collectionConcat
<E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(C collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderConcatenates basic collections with each other in order.- Specified by:
collectionConcatin interfaceHibernateCriteriaBuilder
-
collectionAppend
<E,C extends Collection<? super E>> SqmExpression<C> collectionAppend(Expression<C> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderAppends element to basic collection.- Specified by:
collectionAppendin interfaceHibernateCriteriaBuilder
-
collectionAppend
<E,C extends Collection<? super E>> SqmExpression<C> collectionAppend(Expression<C> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilderAppends element to basic collection.- Specified by:
collectionAppendin interfaceHibernateCriteriaBuilder
-
collectionPrepend
<E,C extends Collection<? super E>> SqmExpression<C> collectionPrepend(Expression<? extends E> elementExpression, Expression<C> collectionExpression) Description copied from interface:HibernateCriteriaBuilderPrepends element to basic collection.- Specified by:
collectionPrependin interfaceHibernateCriteriaBuilder
-
collectionPrepend
<E,C extends Collection<? super E>> SqmExpression<C> collectionPrepend(E element, Expression<C> collectionExpression) Description copied from interface:HibernateCriteriaBuilderPrepends element to basic collection.- Specified by:
collectionPrependin interfaceHibernateCriteriaBuilder
-
collectionGet
<E> SqmExpression<E> collectionGet(Expression<? extends Collection<E>> collectionExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderAccesses the element of the basic collection by 1-based index.- Specified by:
collectionGetin interfaceHibernateCriteriaBuilder
-
collectionGet
<E> SqmExpression<E> collectionGet(Expression<? extends Collection<E>> collectionExpression, Integer index) Description copied from interface:HibernateCriteriaBuilderAccesses the element of the basic collection by 1-based index.- Specified by:
collectionGetin interfaceHibernateCriteriaBuilder
-
collectionSet
<E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder
-
collectionSet
<E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, E element) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder
-
collectionSet
<E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Integer index, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder
-
collectionSet
<E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Integer index, E element) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element at given 1-based index.- Specified by:
collectionSetin interfaceHibernateCriteriaBuilder
-
collectionRemove
<E,C extends Collection<? super E>> SqmExpression<C> collectionRemove(Expression<C> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element removed.- Specified by:
collectionRemovein interfaceHibernateCriteriaBuilder
-
collectionRemove
<E,C extends Collection<? super E>> SqmExpression<C> collectionRemove(Expression<C> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with given element removed.- Specified by:
collectionRemovein interfaceHibernateCriteriaBuilder
-
collectionRemoveIndex
<C extends Collection<?>> SqmExpression<C> collectionRemoveIndex(Expression<C> collectionExpression, Expression<Integer> indexExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with the element at the given 1-based index removed.- Specified by:
collectionRemoveIndexin interfaceHibernateCriteriaBuilder
-
collectionRemoveIndex
<C extends Collection<?>> SqmExpression<C> collectionRemoveIndex(Expression<C> collectionExpression, Integer index) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy with the element at the given 1-based index removed.- Specified by:
collectionRemoveIndexin interfaceHibernateCriteriaBuilder
-
collectionSlice
<C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilderCreates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlicein interfaceHibernateCriteriaBuilder
-
collectionSlice
<C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilderCreates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlicein interfaceHibernateCriteriaBuilder
-
collectionSlice
<C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression) Description copied from interface:HibernateCriteriaBuilderCreates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlicein interfaceHibernateCriteriaBuilder
-
collectionSlice
<C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Integer upperIndex) Description copied from interface:HibernateCriteriaBuilderCreates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlicein interfaceHibernateCriteriaBuilder
-
collectionReplace
<E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, Expression<? extends E> newElementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder
-
collectionReplace
<E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, E newElement) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder
-
collectionReplace
<E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, E oldElement, Expression<? extends E> newElementExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder
-
collectionReplace
<E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, E oldElement, E newElement) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy replacing a given element with another.- Specified by:
collectionReplacein interfaceHibernateCriteriaBuilder
-
collectionTrim
<C extends Collection<?>> SqmExpression<C> collectionTrim(Expression<C> arrayExpression, 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
<C extends Collection<?>> SqmExpression<C> collectionTrim(Expression<C> arrayExpression, Integer elementCount) Description copied from interface:HibernateCriteriaBuilderCreates basic collection copy without the last N elements, specified by the second argument.- Specified by:
collectionTrimin interfaceHibernateCriteriaBuilder
-
collectionFill
<T> SqmExpression<Collection<T>> collectionFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFillin interfaceHibernateCriteriaBuilder
-
collectionFill
<T> SqmExpression<Collection<T>> collectionFill(Expression<T> elementExpression, Integer elementCount) Description copied from interface:HibernateCriteriaBuilderCreates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFillin interfaceHibernateCriteriaBuilder
-
collectionFill
<T> SqmExpression<Collection<T>> collectionFill(T element, Expression<Integer> elementCountExpression) Description copied from interface:HibernateCriteriaBuilderCreates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFillin interfaceHibernateCriteriaBuilder
-
collectionFill
Description copied from interface:HibernateCriteriaBuilderCreates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFillin interfaceHibernateCriteriaBuilder
-
collectionToString
<T> SqmExpression<String> collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression) Description copied from interface:HibernateCriteriaBuilderConcatenates the non-null basic collection elements with a separator, as specified by the arguments.- Specified by:
collectionToStringin interfaceHibernateCriteriaBuilder
-
collectionToString
<T> SqmExpression<String> collectionToString(Expression<? extends Collection<?>> collectionExpression, String separator) Description copied from interface:HibernateCriteriaBuilderConcatenates the non-null basic collection elements with a separator, as specified by the arguments.- Specified by:
collectionToStringin interfaceHibernateCriteriaBuilder
-
collectionContains
<E> SqmPredicate collectionContains(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains an element.- Specified by:
collectionContainsin interfaceHibernateCriteriaBuilder
-
collectionContains
<E> SqmPredicate collectionContains(Expression<? extends Collection<E>> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains an element.- Specified by:
collectionContainsin interfaceHibernateCriteriaBuilder
-
collectionContains
Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains an element.- Specified by:
collectionContainsin interfaceHibernateCriteriaBuilder
-
collectionContainsNullable
<E> SqmPredicate collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains a nullable element.- Specified by:
collectionContainsNullablein interfaceHibernateCriteriaBuilder
-
collectionContainsNullable
<E> SqmPredicate collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, E element) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains a nullable element.- Specified by:
collectionContainsNullablein interfaceHibernateCriteriaBuilder
-
collectionContainsNullable
<E> SqmPredicate collectionContainsNullable(Collection<E> collection, Expression<E> elementExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection contains a nullable element.- Specified by:
collectionContainsNullablein interfaceHibernateCriteriaBuilder
-
collectionContainsAll
default <E> SqmPredicate collectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection.- Specified by:
collectionContainsAllin interfaceHibernateCriteriaBuilder
-
collectionContainsAll
default <E> SqmPredicate collectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection.- Specified by:
collectionContainsAllin interfaceHibernateCriteriaBuilder
-
collectionContainsAll
default <E> SqmPredicate collectionContainsAll(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection.- Specified by:
collectionContainsAllin interfaceHibernateCriteriaBuilder
-
collectionContainsAllNullable
default <E> SqmPredicate collectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionContainsAllNullablein interfaceHibernateCriteriaBuilder
-
collectionContainsAllNullable
default <E> SqmPredicate collectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionContainsAllNullablein interfaceHibernateCriteriaBuilder
-
collectionContainsAllNullable
default <E> SqmPredicate collectionContainsAllNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionContainsAllNullablein interfaceHibernateCriteriaBuilder
-
collectionIncludes
<E> SqmPredicate collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludesin interfaceHibernateCriteriaBuilder
-
collectionIncludes
<E> SqmPredicate collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludesin interfaceHibernateCriteriaBuilder
-
collectionIncludes
<E> SqmPredicate collectionIncludes(Collection<E> collection, 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
<E> SqmPredicate collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullablein interfaceHibernateCriteriaBuilder
-
collectionIncludesNullable
<E> SqmPredicate collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullablein interfaceHibernateCriteriaBuilder
-
collectionIncludesNullable
<E> SqmPredicate collectionIncludesNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression) Description copied from interface:HibernateCriteriaBuilderWhether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullablein interfaceHibernateCriteriaBuilder
-
collectionOverlaps
default <E> SqmPredicate collectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection.- Specified by:
collectionOverlapsin interfaceHibernateCriteriaBuilder
-
collectionOverlaps
default <E> SqmPredicate collectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection.- Specified by:
collectionOverlapsin interfaceHibernateCriteriaBuilder
-
collectionOverlaps
default <E> SqmPredicate collectionOverlaps(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection.- Specified by:
collectionOverlapsin interfaceHibernateCriteriaBuilder
-
collectionOverlapsNullable
default <E> SqmPredicate collectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection, supportingnullelements.- Specified by:
collectionOverlapsNullablein interfaceHibernateCriteriaBuilder
-
collectionOverlapsNullable
default <E> SqmPredicate collectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection, supportingnullelements.- Specified by:
collectionOverlapsNullablein interfaceHibernateCriteriaBuilder
-
collectionOverlapsNullable
default <E> SqmPredicate collectionOverlapsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection, supportingnullelements.- Specified by:
collectionOverlapsNullablein interfaceHibernateCriteriaBuilder
-
collectionIntersects
<E> SqmPredicate collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersectsin interfaceHibernateCriteriaBuilder
-
collectionIntersects
<E> SqmPredicate collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersectsin interfaceHibernateCriteriaBuilder
-
collectionIntersects
<E> SqmPredicate collectionIntersects(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersectsin interfaceHibernateCriteriaBuilder
-
collectionIntersectsNullable
<E> SqmPredicate collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection, supportingnullelements.- Specified by:
collectionIntersectsNullablein interfaceHibernateCriteriaBuilder
-
collectionIntersectsNullable
<E> SqmPredicate collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection, supportingnullelements.- Specified by:
collectionIntersectsNullablein interfaceHibernateCriteriaBuilder
-
collectionIntersectsNullable
<E> SqmPredicate collectionIntersectsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2) Description copied from interface:HibernateCriteriaBuilderWhether one basic collection has any elements common with another basic collection, supportingnullelements.- Specified by:
collectionIntersectsNullablein interfaceHibernateCriteriaBuilder
-
createQuery
SqmSelectStatement<Object> createQuery()Description copied from interface:CriteriaBuilderCreate aCriteriaQueryobject.- Specified by:
createQueryin interfaceCriteriaBuilder- Specified by:
createQueryin interfaceHibernateCriteriaBuilder- Returns:
- criteria query object
-
createQuery
Description copied from interface:CriteriaBuilderCreate aCriteriaQueryobject with the specified result type.- Specified by:
createQueryin interfaceCriteriaBuilder- Specified by:
createQueryin interfaceHibernateCriteriaBuilder- Parameters:
resultClass- type of the query result- Returns:
- criteria query object
-
createQuery
Description copied from interface:HibernateCriteriaBuilderTransform the given HQLselectquery to an equivalent criteria query.- Specified by:
createQueryin interfaceHibernateCriteriaBuilder- Parameters:
hql- The HQLselectqueryresultClass- The result type of the query- Returns:
- The equivalent criteria query
-
createTupleQuery
SqmSelectStatement<Tuple> createTupleQuery()Description copied from interface:CriteriaBuilderCreate aCriteriaQueryobject that returns a tuple of objects as its result.- Specified by:
createTupleQueryin interfaceCriteriaBuilder- Specified by:
createTupleQueryin interfaceHibernateCriteriaBuilder- Returns:
- criteria query object
-
construct
Description copied from interface:CriteriaBuilderCreate a selection item corresponding to a constructor. This method is used to specify a constructor that will be applied to the results of the query execution. If the constructor is for an entity class, the resulting entities will be in the new state after the query is executed.- Specified by:
constructin interfaceCriteriaBuilder- Specified by:
constructin interfaceHibernateCriteriaBuilder- Parameters:
resultClass- class whose instance is to be constructedselections- arguments to the constructor- Returns:
- compound selection item
-
construct
<Y> JpaCompoundSelection<Y> construct(Class<Y> resultClass, List<? extends JpaSelection<?>> arguments) - Specified by:
constructin interfaceHibernateCriteriaBuilder
-
tuple
Description copied from interface:CriteriaBuilderCreate a tuple-valued selection item.- Specified by:
tuplein interfaceCriteriaBuilder- Specified by:
tuplein interfaceHibernateCriteriaBuilder- Parameters:
selections- selection items- Returns:
- tuple-valued compound selection
-
tuple
- Specified by:
tuplein interfaceHibernateCriteriaBuilder
-
array
Description copied from interface:CriteriaBuilderCreate an array-valued selection item.- Specified by:
arrayin interfaceCriteriaBuilder- Specified by:
arrayin interfaceHibernateCriteriaBuilder- Parameters:
selections- selection items- Returns:
- array-valued compound selection
-
array
- Specified by:
arrayin interfaceHibernateCriteriaBuilder
-
createCriteriaUpdate
Description copied from interface:CriteriaBuilderCreate aCriteriaUpdatequery object to perform a bulk update operation.- Specified by:
createCriteriaUpdatein interfaceCriteriaBuilder- Specified by:
createCriteriaUpdatein interfaceHibernateCriteriaBuilder- Parameters:
targetEntity- target type for update operation- Returns:
- the query object
-
createCriteriaDelete
Description copied from interface:CriteriaBuilderCreate aCriteriaDeletequery object to perform a bulk delete operation.- Specified by:
createCriteriaDeletein interfaceCriteriaBuilder- Specified by:
createCriteriaDeletein interfaceHibernateCriteriaBuilder- Parameters:
targetEntity- target type for delete operation- Returns:
- the query object
-
createCriteriaInsertValues
- Specified by:
createCriteriaInsertValuesin interfaceHibernateCriteriaBuilder
-
createCriteriaInsertSelect
- Specified by:
createCriteriaInsertSelectin interfaceHibernateCriteriaBuilder
-
values
- Specified by:
valuesin interfaceHibernateCriteriaBuilder
-
values
- Specified by:
valuesin interfaceHibernateCriteriaBuilder
-
abs
Description copied from interface:CriteriaBuilderCreate an expression that returns the absolute value of its argument.- Specified by:
absin interfaceCriteriaBuilder- Specified by:
absin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- absolute value
-
cast
- Specified by:
castin interfaceHibernateCriteriaBuilder
-
wrap
- Specified by:
wrapin interfaceHibernateCriteriaBuilder
-
wrap
- Specified by:
wrapin interfaceHibernateCriteriaBuilder
-
fk
- Specified by:
fkin interfaceHibernateCriteriaBuilder
-
treat
Description copied from interface:CriteriaBuilderDowncast Path object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Parameters:
path- pathtype- type to be downcast to- Returns:
- Path object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast Root object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Parameters:
root- roottype- type to be downcast to- Returns:
- Root object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast Join object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Parameters:
join- Join objecttype- type to be downcast to- Returns:
- Join object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast CollectionJoin object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Parameters:
join- CollectionJoin objecttype- type to be downcast to- Returns:
- CollectionJoin object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast SetJoin object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Parameters:
join- SetJoin objecttype- type to be downcast to- Returns:
- SetJoin object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast ListJoin object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Parameters:
join- ListJoin objecttype- type to be downcast to- Returns:
- ListJoin object of the specified type
-
treat
Description copied from interface:CriteriaBuilderDowncast MapJoin object to the specified type.- Specified by:
treatin interfaceCriteriaBuilder- Specified by:
treatin interfaceHibernateCriteriaBuilder- Parameters:
join- MapJoin objecttype- type to be downcast to- Returns:
- MapJoin object of the specified type
-
avg
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the avg operation.- Specified by:
avgin interfaceCriteriaBuilder- Specified by:
avgin interfaceHibernateCriteriaBuilder- Parameters:
argument- expression representing input value to avg operation- Returns:
- avg expression
-
sum
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the sum operation.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder- Parameters:
argument- expression representing input value to sum operation- Returns:
- sum expression
-
sumAsLong
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result.- Specified by:
sumAsLongin interfaceCriteriaBuilder- Specified by:
sumAsLongin interfaceHibernateCriteriaBuilder- Parameters:
argument- expression representing input value to sum operation- Returns:
- sum expression
-
sumAsDouble
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result.- Specified by:
sumAsDoublein interfaceCriteriaBuilder- Specified by:
sumAsDoublein interfaceHibernateCriteriaBuilder- Parameters:
argument- expression representing input value to sum operation- Returns:
- sum expression
-
max
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the numerical max operation.- Specified by:
maxin interfaceCriteriaBuilder- Specified by:
maxin interfaceHibernateCriteriaBuilder- Parameters:
argument- expression representing input value to max operation- Returns:
- max expression
-
min
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the numerical min operation.- Specified by:
minin interfaceCriteriaBuilder- Specified by:
minin interfaceHibernateCriteriaBuilder- Parameters:
argument- expression representing input value to min operation- Returns:
- min expression
-
greatest
Description copied from interface:CriteriaBuilderCreate an aggregate expression for finding the greatest of the values (strings, dates, etc).- Specified by:
greatestin interfaceCriteriaBuilder- Specified by:
greatestin interfaceHibernateCriteriaBuilder- Parameters:
argument- expression representing input value to greatest operation- Returns:
- greatest expression
-
least
Description copied from interface:CriteriaBuilderCreate an aggregate expression for finding the least of the values (strings, dates, etc).- Specified by:
leastin interfaceCriteriaBuilder- Specified by:
leastin interfaceHibernateCriteriaBuilder- Parameters:
argument- expression representing input value to least operation- Returns:
- least expression
-
count
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the count operation.- Specified by:
countin interfaceCriteriaBuilder- Specified by:
countin interfaceHibernateCriteriaBuilder- Parameters:
argument- expression representing input value to count operation- Returns:
- count expression
-
countDistinct
Description copied from interface:CriteriaBuilderCreate an aggregate expression applying the count distinct operation.- Specified by:
countDistinctin interfaceCriteriaBuilder- Specified by:
countDistinctin interfaceHibernateCriteriaBuilder- Parameters:
x- expression representing input value to count distinct operation- Returns:
- count distinct expression
-
count
SqmExpression<Long> count()Description copied from interface:HibernateCriteriaBuilderEquivalent to HQLcount(*).- Specified by:
countin interfaceHibernateCriteriaBuilder
-
neg
Description copied from interface:CriteriaBuilderCreate an expression that returns the arithmetic negation of its argument.- Specified by:
negin interfaceCriteriaBuilder- Specified by:
negin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- arithmetic negation
-
sum
Description copied from interface:CriteriaBuilderCreate an expression that returns the sum of its arguments.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- sum
-
sum
Description copied from interface:CriteriaBuilderCreate an expression that returns the sum of its arguments.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- sum
-
sum
Description copied from interface:CriteriaBuilderCreate an expression that returns the sum of its arguments.- Specified by:
sumin interfaceCriteriaBuilder- Specified by:
sumin interfaceHibernateCriteriaBuilder- Parameters:
x- valuey- expression- Returns:
- sum
-
prod
Description copied from interface:CriteriaBuilderCreate an expression that returns the product of its arguments.- Specified by:
prodin interfaceCriteriaBuilder- Specified by:
prodin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- product
-
prod
Description copied from interface:CriteriaBuilderCreate an expression that returns the product of its arguments.- Specified by:
prodin interfaceCriteriaBuilder- Specified by:
prodin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- product
-
prod
Description copied from interface:CriteriaBuilderCreate an expression that returns the product of its arguments.- Specified by:
prodin interfaceCriteriaBuilder- Specified by:
prodin interfaceHibernateCriteriaBuilder- Parameters:
x- valuey- expression- Returns:
- product
-
diff
Description copied from interface:CriteriaBuilderCreate an expression that returns the difference between its arguments.- Specified by:
diffin interfaceCriteriaBuilder- Specified by:
diffin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- difference
-
diff
Description copied from interface:CriteriaBuilderCreate an expression that returns the difference between its arguments.- Specified by:
diffin interfaceCriteriaBuilder- Specified by:
diffin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- difference
-
diff
Description copied from interface:CriteriaBuilderCreate an expression that returns the difference between its arguments.- Specified by:
diffin interfaceCriteriaBuilder- Specified by:
diffin interfaceHibernateCriteriaBuilder- Parameters:
x- valuey- expression- Returns:
- difference
-
quot
Description copied from interface:CriteriaBuilderCreate an expression that returns the quotient of its arguments.- Specified by:
quotin interfaceCriteriaBuilder- Specified by:
quotin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- quotient
-
quot
Description copied from interface:CriteriaBuilderCreate an expression that returns the quotient of its arguments.- Specified by:
quotin interfaceCriteriaBuilder- Specified by:
quotin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- quotient
-
quot
Description copied from interface:CriteriaBuilderCreate an expression that returns the quotient of its arguments.- Specified by:
quotin interfaceCriteriaBuilder- Specified by:
quotin interfaceHibernateCriteriaBuilder- Parameters:
x- valuey- expression- Returns:
- quotient
-
mod
Description copied from interface:CriteriaBuilderCreate an expression that returns the modulus (remainder under integer division) of its arguments.- Specified by:
modin interfaceCriteriaBuilder- Specified by:
modin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- modulus
-
mod
Description copied from interface:CriteriaBuilderCreate an expression that returns the modulus (remainder under integer division) of its arguments.- Specified by:
modin interfaceCriteriaBuilder- Specified by:
modin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- modulus
-
mod
Description copied from interface:CriteriaBuilderCreate an expression that returns the modulus (remainder under integer division) of its arguments.- Specified by:
modin interfaceCriteriaBuilder- Specified by:
modin interfaceHibernateCriteriaBuilder- Parameters:
x- valuey- expression- Returns:
- modulus
-
sqrt
Description copied from interface:CriteriaBuilderCreate an expression that returns the square root of its argument.- Specified by:
sqrtin interfaceCriteriaBuilder- Specified by:
sqrtin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- square root
-
toLong
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toLongin interfaceCriteriaBuilder- Specified by:
toLongin interfaceHibernateCriteriaBuilder- Parameters:
number- numeric expression- Returns:
- Expression<Long>
-
toInteger
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toIntegerin interfaceCriteriaBuilder- Specified by:
toIntegerin interfaceHibernateCriteriaBuilder- Parameters:
number- numeric expression- Returns:
- Expression<Integer>
-
toFloat
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toFloatin interfaceCriteriaBuilder- Specified by:
toFloatin interfaceHibernateCriteriaBuilder- Parameters:
number- numeric expression- Returns:
- Expression<Float>
-
toDouble
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toDoublein interfaceCriteriaBuilder- Specified by:
toDoublein interfaceHibernateCriteriaBuilder- Parameters:
number- numeric expression- Returns:
- Expression<Double>
-
toBigDecimal
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toBigDecimalin interfaceCriteriaBuilder- Specified by:
toBigDecimalin interfaceHibernateCriteriaBuilder- Parameters:
number- numeric expression- Returns:
- Expression<BigDecimal>
-
toBigInteger
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toBigIntegerin interfaceCriteriaBuilder- Specified by:
toBigIntegerin interfaceHibernateCriteriaBuilder- Parameters:
number- numeric expression- Returns:
- Expression<BigInteger>
-
toString
Description copied from interface:CriteriaBuilderTypecast. Returns same expression object.- Specified by:
toStringin interfaceCriteriaBuilder- Specified by:
toStringin interfaceHibernateCriteriaBuilder- Parameters:
character- expression- Returns:
- Expression<String>
-
literal
Description copied from interface:CriteriaBuilderCreate an expression for a literal.- Specified by:
literalin interfaceCriteriaBuilder- Specified by:
literalin interfaceHibernateCriteriaBuilder- Parameters:
value- value represented by the expression- Returns:
- expression literal
-
literals
- Specified by:
literalsin interfaceHibernateCriteriaBuilder
-
literals
- Specified by:
literalsin interfaceHibernateCriteriaBuilder
-
nullLiteral
Description copied from interface:CriteriaBuilderCreate an expression for a null literal with the given type.- Specified by:
nullLiteralin interfaceCriteriaBuilder- Specified by:
nullLiteralin interfaceHibernateCriteriaBuilder- Parameters:
resultClass- type of the null literal- Returns:
- null expression literal
-
parameter
Description copied from interface:CriteriaBuilderCreate a parameter expression.- Specified by:
parameterin interfaceCriteriaBuilder- Specified by:
parameterin interfaceHibernateCriteriaBuilder- Parameters:
paramClass- parameter class- Returns:
- parameter expression
- See Also:
-
parameter
Description copied from interface:CriteriaBuilderCreate a parameter expression with the given name.- Specified by:
parameterin interfaceCriteriaBuilder- Specified by:
parameterin interfaceHibernateCriteriaBuilder- Parameters:
paramClass- parameter classname- name that can be used to refer to the parameter- Returns:
- parameter expression
-
concat
Description copied from interface:CriteriaBuilderCreate an expression for string concatenation.- Specified by:
concatin interfaceCriteriaBuilder- Specified by:
concatin interfaceHibernateCriteriaBuilder- Parameters:
x- string expressiony- string expression- Returns:
- expression corresponding to concatenation
-
concat
Description copied from interface:CriteriaBuilderCreate an expression for string concatenation.- Specified by:
concatin interfaceCriteriaBuilder- Specified by:
concatin interfaceHibernateCriteriaBuilder- Parameters:
x- string expressiony- string- Returns:
- expression corresponding to concatenation
-
concat
Description copied from interface:CriteriaBuilderCreate an expression for string concatenation.- Specified by:
concatin interfaceCriteriaBuilder- Specified by:
concatin interfaceHibernateCriteriaBuilder- Parameters:
x- stringy- string expression- Returns:
- expression corresponding to concatenation
-
concat
- Specified by:
concatin interfaceHibernateCriteriaBuilder
-
substring
Description copied from interface:CriteriaBuilderCreate an expression for substring extraction. Extracts a substring starting at the specified position through to end of the string. First position is 1.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionfrom- start position expression- Returns:
- expression corresponding to substring extraction
-
substring
Description copied from interface:CriteriaBuilderCreate an expression for substring extraction. Extracts a substring starting at the specified position through to end of the string. First position is 1.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionfrom- start position- Returns:
- expression corresponding to substring extraction
-
substring
SqmFunction<String> substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len) Description copied from interface:CriteriaBuilderCreate an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionfrom- start position expressionlen- length expression- Returns:
- expression corresponding to substring extraction
-
substring
Description copied from interface:CriteriaBuilderCreate an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1.- Specified by:
substringin interfaceCriteriaBuilder- Specified by:
substringin interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionfrom- start positionlen- length- Returns:
- expression corresponding to substring extraction
-
trim
Description copied from interface:CriteriaBuilderCreate expression to trim blanks from both ends of a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Parameters:
x- expression for string to trim- Returns:
- trim expression
-
trim
Description copied from interface:CriteriaBuilderCreate expression to trim blanks from a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Parameters:
ts- trim specificationx- expression for string to trim- Returns:
- trim expression
-
trim
Description copied from interface:CriteriaBuilderCreate expression to trim character from both ends of a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Parameters:
t- expression for character to be trimmedx- expression for string to trim- Returns:
- trim expression
-
trim
SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x) Description copied from interface:CriteriaBuilderCreate expression to trim character from a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Parameters:
ts- trim specificationt- expression for character to be trimmedx- expression for string to trim- Returns:
- trim expression
-
trim
Description copied from interface:CriteriaBuilderCreate expression to trim character from both ends of a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Parameters:
t- character to be trimmedx- expression for string to trim- Returns:
- trim expression
-
trim
Description copied from interface:CriteriaBuilderCreate expression to trim character from a string.- Specified by:
trimin interfaceCriteriaBuilder- Specified by:
trimin interfaceHibernateCriteriaBuilder- Parameters:
ts- trim specificationt- character to be trimmedx- expression for string to trim- Returns:
- trim expression
-
lower
Description copied from interface:CriteriaBuilderCreate expression for converting a string to lowercase.- Specified by:
lowerin interfaceCriteriaBuilder- Specified by:
lowerin interfaceHibernateCriteriaBuilder- Parameters:
x- string expression- Returns:
- expression to convert to lowercase
-
upper
Description copied from interface:CriteriaBuilderCreate expression for converting a string to uppercase.- Specified by:
upperin interfaceCriteriaBuilder- Specified by:
upperin interfaceHibernateCriteriaBuilder- Parameters:
x- string expression- Returns:
- expression to convert to uppercase
-
length
Description copied from interface:CriteriaBuilderCreate expression to return length of a string.- Specified by:
lengthin interfaceCriteriaBuilder- Specified by:
lengthin interfaceHibernateCriteriaBuilder- Parameters:
x- string expression- Returns:
- length expression
-
locate
Description copied from interface:CriteriaBuilderCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.Warning: the order of the parameters of this method is reversed compared to the corresponding function in JPQL.
- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder- Parameters:
x- expression for string to be searchedpattern- expression for string to be located- Returns:
- expression corresponding to position
-
locate
Description copied from interface:CriteriaBuilderCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.Warning: the order of the parameters of this method is reversed compared to the corresponding function in JPQL.
- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder- Parameters:
x- expression for string to be searchedpattern- string to be located- Returns:
- expression corresponding to position
-
locate
SqmFunction<Integer> locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from) Description copied from interface:CriteriaBuilderCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.Warning: the order of the first two parameters of this method is reversed compared to the corresponding function in JPQL.
- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder- Parameters:
x- expression for string to be searchedpattern- expression for string to be locatedfrom- expression for position at which to start search- Returns:
- expression corresponding to position
-
locate
Description copied from interface:CriteriaBuilderCreate expression to locate the position of one string within another, returning position of first character if found. The first position in a string is denoted by 1. If the string to be located is not found, 0 is returned.Warning: the order of the first two parameters of this method is reversed compared to the corresponding function in JPQL.
- Specified by:
locatein interfaceCriteriaBuilder- Specified by:
locatein interfaceHibernateCriteriaBuilder- Parameters:
x- expression for string to be searchedpattern- string to be locatedfrom- position at which to start search- Returns:
- expression corresponding to position
-
currentDate
SqmFunction<Date> currentDate()Description copied from interface:CriteriaBuilderCreate expression to return current date.- Specified by:
currentDatein interfaceCriteriaBuilder- Specified by:
currentDatein interfaceHibernateCriteriaBuilder- Returns:
- expression for current date
-
currentTimestamp
SqmFunction<Timestamp> currentTimestamp()Description copied from interface:CriteriaBuilderCreate expression to return current timestamp.- Specified by:
currentTimestampin interfaceCriteriaBuilder- Specified by:
currentTimestampin interfaceHibernateCriteriaBuilder- Returns:
- expression for current timestamp
-
currentTime
SqmFunction<Time> currentTime()Description copied from interface:CriteriaBuilderCreate expression to return current time.- Specified by:
currentTimein interfaceCriteriaBuilder- Specified by:
currentTimein interfaceHibernateCriteriaBuilder- Returns:
- expression for current time
-
currentInstant
SqmFunction<Instant> currentInstant()- Specified by:
currentInstantin interfaceHibernateCriteriaBuilder
-
function
Description copied from interface:CriteriaBuilderCreate an expression for the execution of a database function.- Specified by:
functionin interfaceCriteriaBuilder- Specified by:
functionin interfaceHibernateCriteriaBuilder- Parameters:
name- function nametype- expected result typeargs- function arguments- Returns:
- expression
-
all
Description copied from interface:CriteriaBuilderCreate an all expression over the subquery results.- Specified by:
allin interfaceCriteriaBuilder- Specified by:
allin interfaceHibernateCriteriaBuilder- Parameters:
subquery- subquery- Returns:
- all expression
-
some
Description copied from interface:CriteriaBuilderCreate a some expression over the subquery results. This expression is equivalent to ananyexpression.- Specified by:
somein interfaceCriteriaBuilder- Specified by:
somein interfaceHibernateCriteriaBuilder- Parameters:
subquery- subquery- Returns:
- some expression
-
any
Description copied from interface:CriteriaBuilderCreate an any expression over the subquery results. This expression is equivalent to asomeexpression.- Specified by:
anyin interfaceCriteriaBuilder- Specified by:
anyin interfaceHibernateCriteriaBuilder- Parameters:
subquery- subquery- Returns:
- any expression
-
keys
Description copied from interface:CriteriaBuilderCreate an expression that returns the keys of a map.- Specified by:
keysin interfaceCriteriaBuilder- Specified by:
keysin interfaceHibernateCriteriaBuilder- Parameters:
map- map- Returns:
- set expression
-
indexes
- Specified by:
indexesin interfaceHibernateCriteriaBuilder
-
values
Description copied from interface:CriteriaBuilderCreate an expression that returns the values of a map.- Specified by:
valuesin interfaceCriteriaBuilder- Specified by:
valuesin interfaceHibernateCriteriaBuilder- Parameters:
map- map- Returns:
- collection expression
-
size
Description copied from interface:CriteriaBuilderCreate an expression that tests the size of a collection.- Specified by:
sizein interfaceCriteriaBuilder- Specified by:
sizein interfaceHibernateCriteriaBuilder- Parameters:
collection- expression- Returns:
- size expression
-
size
Description copied from interface:CriteriaBuilderCreate an expression that tests the size of a collection.- Specified by:
sizein interfaceCriteriaBuilder- Specified by:
sizein interfaceHibernateCriteriaBuilder- Parameters:
collection- collection- Returns:
- size expression
-
coalesce
Description copied from interface:CriteriaBuilderCreate a coalesce expression.- Specified by:
coalescein interfaceCriteriaBuilder- Specified by:
coalescein interfaceHibernateCriteriaBuilder- Returns:
- coalesce expression
-
coalesce
Description copied from interface:CriteriaBuilderCreate an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.- Specified by:
coalescein interfaceCriteriaBuilder- Specified by:
coalescein interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- coalesce expression
-
coalesce
Description copied from interface:CriteriaBuilderCreate an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.- Specified by:
coalescein interfaceCriteriaBuilder- Specified by:
coalescein interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- coalesce expression
-
nullif
Description copied from interface:CriteriaBuilderCreate an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.- Specified by:
nullifin interfaceCriteriaBuilder- Specified by:
nullifin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- nullif expression
-
nullif
Description copied from interface:CriteriaBuilderCreate an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.- Specified by:
nullifin interfaceCriteriaBuilder- Specified by:
nullifin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- nullif expression
-
selectCase
Description copied from interface:CriteriaBuilderCreate a simple case expression.- Specified by:
selectCasein interfaceCriteriaBuilder- Specified by:
selectCasein interfaceHibernateCriteriaBuilder- Parameters:
expression- to be tested against the case conditions- Returns:
- simple case expression
-
selectCase
Description copied from interface:CriteriaBuilderCreate a general case expression.- Specified by:
selectCasein interfaceCriteriaBuilder- Specified by:
selectCasein interfaceHibernateCriteriaBuilder- Returns:
- general case expression
-
and
Description copied from interface:CriteriaBuilderCreate a conjunction of the given boolean expressions.- Specified by:
andin interfaceCriteriaBuilder- Specified by:
andin interfaceHibernateCriteriaBuilder- Parameters:
x- boolean expressiony- boolean expression- Returns:
- and predicate
-
and
Description copied from interface:CriteriaBuilderCreate a conjunction of the given restriction predicates. A conjunction of zero predicates is true.- Specified by:
andin interfaceCriteriaBuilder- Specified by:
andin interfaceHibernateCriteriaBuilder- Parameters:
restrictions- zero or more restriction predicates- Returns:
- and predicate
-
or
Description copied from interface:CriteriaBuilderCreate a disjunction of the given boolean expressions.- Specified by:
orin interfaceCriteriaBuilder- Specified by:
orin interfaceHibernateCriteriaBuilder- Parameters:
x- boolean expressiony- boolean expression- Returns:
- or predicate
-
or
Description copied from interface:CriteriaBuilderCreate a disjunction of the given restriction predicates. A disjunction of zero predicates is false.- Specified by:
orin interfaceCriteriaBuilder- Specified by:
orin interfaceHibernateCriteriaBuilder- Parameters:
restrictions- zero or more restriction predicates- Returns:
- or predicate
-
not
Description copied from interface:CriteriaBuilderCreate a negation of the given restriction.- Specified by:
notin interfaceCriteriaBuilder- Specified by:
notin interfaceHibernateCriteriaBuilder- Parameters:
restriction- restriction expression- Returns:
- not predicate
-
conjunction
SqmPredicate conjunction()Description copied from interface:CriteriaBuilderCreate a conjunction (with zero conjuncts). A conjunction with zero conjuncts is true.- Specified by:
conjunctionin interfaceCriteriaBuilder- Specified by:
conjunctionin interfaceHibernateCriteriaBuilder- Returns:
- and predicate
-
disjunction
SqmPredicate disjunction()Description copied from interface:CriteriaBuilderCreate a disjunction (with zero disjuncts). A disjunction with zero disjuncts is false.- Specified by:
disjunctionin interfaceCriteriaBuilder- Specified by:
disjunctionin interfaceHibernateCriteriaBuilder- Returns:
- or predicate
-
isTrue
Description copied from interface:CriteriaBuilderCreate a predicate testing for a true value.- Specified by:
isTruein interfaceCriteriaBuilder- Specified by:
isTruein interfaceHibernateCriteriaBuilder- Parameters:
x- expression to be tested- Returns:
- predicate
-
isFalse
Description copied from interface:CriteriaBuilderCreate a predicate testing for a false value.- Specified by:
isFalsein interfaceCriteriaBuilder- Specified by:
isFalsein interfaceHibernateCriteriaBuilder- Parameters:
x- expression to be tested- Returns:
- predicate
-
isNull
Description copied from interface:CriteriaBuilderCreate a predicate to test whether the expression is null.- Specified by:
isNullin interfaceCriteriaBuilder- Specified by:
isNullin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- is-null predicate
-
isNotNull
Description copied from interface:CriteriaBuilderCreate a predicate to test whether the expression is not null.- Specified by:
isNotNullin interfaceCriteriaBuilder- Specified by:
isNotNullin interfaceHibernateCriteriaBuilder- Parameters:
x- expression- Returns:
- is-not-null predicate
-
equal
Description copied from interface:CriteriaBuilderCreate a predicate for testing the arguments for equality.- Specified by:
equalin interfaceCriteriaBuilder- Specified by:
equalin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- equality predicate
-
equal
Description copied from interface:CriteriaBuilderCreate a predicate for testing the arguments for equality.- Specified by:
equalin interfaceCriteriaBuilder- Specified by:
equalin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- object- Returns:
- equality predicate
-
notEqual
Description copied from interface:CriteriaBuilderCreate a predicate for testing the arguments for inequality.- Specified by:
notEqualin interfaceCriteriaBuilder- Specified by:
notEqualin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- inequality predicate
-
notEqual
Description copied from interface:CriteriaBuilderCreate a predicate for testing the arguments for inequality.- Specified by:
notEqualin interfaceCriteriaBuilder- Specified by:
notEqualin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- object- Returns:
- inequality predicate
-
distinctFrom
- Specified by:
distinctFromin interfaceHibernateCriteriaBuilder
-
distinctFrom
- Specified by:
distinctFromin interfaceHibernateCriteriaBuilder
-
notDistinctFrom
- Specified by:
notDistinctFromin interfaceHibernateCriteriaBuilder
-
notDistinctFrom
- Specified by:
notDistinctFromin interfaceHibernateCriteriaBuilder
-
greaterThan
<Y extends Comparable<? super Y>> SqmPredicate greaterThan(Expression<? extends Y> x, Expression<? extends Y> y) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
greaterThanin interfaceCriteriaBuilder- Specified by:
greaterThanin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- greater-than predicate
-
greaterThan
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
greaterThanin interfaceCriteriaBuilder- Specified by:
greaterThanin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- greater-than predicate
-
greaterThanOrEqualTo
<Y extends Comparable<? super Y>> SqmPredicate greaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
greaterThanOrEqualToin interfaceCriteriaBuilder- Specified by:
greaterThanOrEqualToin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- greater-than-or-equal predicate
-
greaterThanOrEqualTo
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
greaterThanOrEqualToin interfaceCriteriaBuilder- Specified by:
greaterThanOrEqualToin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- greater-than-or-equal predicate
-
lessThan
<Y extends Comparable<? super Y>> SqmPredicate lessThan(Expression<? extends Y> x, Expression<? extends Y> y) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than the second.- Specified by:
lessThanin interfaceCriteriaBuilder- Specified by:
lessThanin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- less-than predicate
-
lessThan
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than the second.- Specified by:
lessThanin interfaceCriteriaBuilder- Specified by:
lessThanin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- less-than predicate
-
lessThanOrEqualTo
<Y extends Comparable<? super Y>> SqmPredicate lessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
lessThanOrEqualToin interfaceCriteriaBuilder- Specified by:
lessThanOrEqualToin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- less-than-or-equal predicate
-
lessThanOrEqualTo
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
lessThanOrEqualToin interfaceCriteriaBuilder- Specified by:
lessThanOrEqualToin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- less-than-or-equal predicate
-
between
<Y extends Comparable<? super Y>> SqmPredicate between(Expression<? extends Y> value, Expression<? extends Y> lower, Expression<? extends Y> upper) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is between the second and third arguments in value.- Specified by:
betweenin interfaceCriteriaBuilder- Specified by:
betweenin interfaceHibernateCriteriaBuilder- Parameters:
value- expressionlower- expressionupper- expression- Returns:
- between predicate
-
between
<Y extends Comparable<? super Y>> SqmPredicate between(Expression<? extends Y> value, Y lower, Y upper) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is between the second and third arguments in value.- Specified by:
betweenin interfaceCriteriaBuilder- Specified by:
betweenin interfaceHibernateCriteriaBuilder- Parameters:
value- expressionlower- valueupper- value- Returns:
- between predicate
-
gt
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
gtin interfaceCriteriaBuilder- Specified by:
gtin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- greater-than predicate
-
gt
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than the second.- Specified by:
gtin interfaceCriteriaBuilder- Specified by:
gtin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- greater-than predicate
-
ge
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
gein interfaceCriteriaBuilder- Specified by:
gein interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- greater-than-or-equal predicate
-
ge
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is greater than or equal to the second.- Specified by:
gein interfaceCriteriaBuilder- Specified by:
gein interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- greater-than-or-equal predicate
-
lt
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than the second.- Specified by:
ltin interfaceCriteriaBuilder- Specified by:
ltin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- less-than predicate
-
lt
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than the second.- Specified by:
ltin interfaceCriteriaBuilder- Specified by:
ltin interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- less-than predicate
-
le
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
lein interfaceCriteriaBuilder- Specified by:
lein interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- expression- Returns:
- less-than-or-equal predicate
-
le
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the first argument is less than or equal to the second.- Specified by:
lein interfaceCriteriaBuilder- Specified by:
lein interfaceHibernateCriteriaBuilder- Parameters:
x- expressiony- value- Returns:
- less-than-or-equal predicate
-
isEmpty
Description copied from interface:CriteriaBuilderCreate a predicate that tests whether a collection is empty.- Specified by:
isEmptyin interfaceCriteriaBuilder- Specified by:
isEmptyin interfaceHibernateCriteriaBuilder- Parameters:
collection- expression- Returns:
- is-empty predicate
-
isNotEmpty
Description copied from interface:CriteriaBuilderCreate a predicate that tests whether a collection is not empty.- Specified by:
isNotEmptyin interfaceCriteriaBuilder- Specified by:
isNotEmptyin interfaceHibernateCriteriaBuilder- Parameters:
collection- expression- Returns:
- is-not-empty predicate
-
isMember
Description copied from interface:CriteriaBuilderCreate a predicate that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false.- Specified by:
isMemberin interfaceCriteriaBuilder- Specified by:
isMemberin interfaceHibernateCriteriaBuilder- Parameters:
elem- element expressioncollection- expression- Returns:
- is-member predicate
-
isMember
Description copied from interface:CriteriaBuilderCreate a predicate that tests whether an element is a member of a collection. If the collection is empty, the predicate will be false.- Specified by:
isMemberin interfaceCriteriaBuilder- Specified by:
isMemberin interfaceHibernateCriteriaBuilder- Parameters:
elem- elementcollection- expression- Returns:
- is-member predicate
-
isNotMember
Description copied from interface:CriteriaBuilderCreate a predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate will be true.- Specified by:
isNotMemberin interfaceCriteriaBuilder- Specified by:
isNotMemberin interfaceHibernateCriteriaBuilder- Parameters:
elem- element expressioncollection- expression- Returns:
- is-not-member predicate
-
isNotMember
Description copied from interface:CriteriaBuilderCreate a predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate will be true.- Specified by:
isNotMemberin interfaceCriteriaBuilder- Specified by:
isNotMemberin interfaceHibernateCriteriaBuilder- Parameters:
elem- elementcollection- expression- Returns:
- is-not-member predicate
-
like
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- string expression- Returns:
- like predicate
-
like
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- string- Returns:
- like predicate
-
like
SqmPredicate like(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- string expressionescapeChar- escape character expression- Returns:
- like predicate
-
like
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- string expressionescapeChar- escape character- Returns:
- like predicate
-
like
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- stringescapeChar- escape character expression- Returns:
- like predicate
-
like
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression satisfies the given pattern.- Specified by:
likein interfaceCriteriaBuilder- Specified by:
likein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- stringescapeChar- escape character- Returns:
- like predicate
-
notLike
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- string expression- Returns:
- not-like predicate
-
notLike
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- string- Returns:
- not-like predicate
-
notLike
SqmPredicate notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar) Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- string expressionescapeChar- escape character expression- Returns:
- not-like predicate
-
notLike
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- string expressionescapeChar- escape character- Returns:
- not-like predicate
-
notLike
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- stringescapeChar- escape character expression- Returns:
- not-like predicate
-
notLike
Description copied from interface:CriteriaBuilderCreate a predicate for testing whether the expression does not satisfy the given pattern.- Specified by:
notLikein interfaceCriteriaBuilder- Specified by:
notLikein interfaceHibernateCriteriaBuilder- Parameters:
x- string expressionpattern- stringescapeChar- escape character- Returns:
- not-like predicate
-
in
Description copied from interface:CriteriaBuilderCreate predicate to test whether given expression is contained in a list of values.- Specified by:
inin interfaceCriteriaBuilder- Specified by:
inin interfaceHibernateCriteriaBuilder- Parameters:
expression- to be tested against list of values- Returns:
- in predicate
-
in
- Specified by:
inin interfaceHibernateCriteriaBuilder
-
in
- Specified by:
inin interfaceHibernateCriteriaBuilder
-
in
- Specified by:
inin interfaceHibernateCriteriaBuilder
-
in
-
exists
Description copied from interface:CriteriaBuilderCreate a predicate testing the existence of a subquery result.- Specified by:
existsin interfaceCriteriaBuilder- Specified by:
existsin interfaceHibernateCriteriaBuilder- Parameters:
subquery- subquery whose result is to be tested- Returns:
- exists predicate
-
isMapEmpty
Description copied from interface:HibernateCriteriaBuilderCreate a predicate that tests whether a Map is empty.- Specified by:
isMapEmptyin interfaceHibernateCriteriaBuilder- Parameters:
mapExpression- The expression resolving to a Map which we want to check for emptiness- Returns:
- is-empty predicate
-
isMapNotEmpty
Description copied from interface:HibernateCriteriaBuilderCreate a predicate that tests whether a Map is not empty.- Specified by:
isMapNotEmptyin interfaceHibernateCriteriaBuilder- Parameters:
mapExpression- The expression resolving to a Map which we want to check for non-emptiness- Returns:
- is-not-empty predicate
-
mapSize
Description copied from interface:HibernateCriteriaBuilderCreate an expression that tests the size of a map.- Specified by:
mapSizein interfaceHibernateCriteriaBuilder- Parameters:
mapExpression- The expression resolving to a Map for which we want to know the size- Returns:
- size expression
-
mapSize
Description copied from interface:HibernateCriteriaBuilderCreate an expression that tests the size of a map.- Specified by:
mapSizein interfaceHibernateCriteriaBuilder- Parameters:
map- The Map for which we want to know the size- Returns:
- size expression
-
sort
SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence) - Specified by:
sortin interfaceHibernateCriteriaBuilder
-
sort
SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase) - Specified by:
sortin interfaceHibernateCriteriaBuilder
-
sort
- Specified by:
sortin interfaceHibernateCriteriaBuilder
-
sort
- Specified by:
sortin interfaceHibernateCriteriaBuilder
-
asc
Description copied from interface:CriteriaBuilderCreate an ordering by the ascending value of the expression.- Specified by:
ascin interfaceCriteriaBuilder- Specified by:
ascin interfaceHibernateCriteriaBuilder- Parameters:
x- expression used to define the ordering- Returns:
- ascending ordering corresponding to the expression
-
desc
Description copied from interface:CriteriaBuilderCreate an ordering by the descending value of the expression.- Specified by:
descin interfaceCriteriaBuilder- Specified by:
descin interfaceHibernateCriteriaBuilder- Parameters:
x- expression used to define the ordering- Returns:
- descending ordering corresponding to the expression
-
getBooleanType
-
getIntegerType
-
getLongType
-
getCharacterType
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
-