Interface HibernateCriteriaBuilder
-
- All Superinterfaces:
CriteriaBuilder
- All Known Subinterfaces:
GeolatteSpatialCriteriaBuilder,JTSSpatialCriteriaBuilder,NodeBuilder,SpatialCriteriaBuilder<T>
- All Known Implementing Classes:
CriteriaDefinition,GeolatteSpatialCriteriaBuilderImpl,HibernateCriteriaBuilderDelegate,JTSSpatialCriteriaBuilderImpl,SpatialCriteriaBuilderImpl,SqmCriteriaNodeBuilder
@Incubating public interface HibernateCriteriaBuilder extends CriteriaBuilder
A JPACriteriaBuilderis a source of objects which may be composed to express a criteria query. The JPA-standard API defines all the operations needed express any query written in standard JPQL. This interface extendsCriteriaBuilder, adding operations needed to express features of HQL which are not available in standard JPQL. For example:- JPQL does not have a
format()function, soformat(Expression, String)is declared here, and - since JPQL does not have
insertstatements, this interface defines the operationscreateCriteriaInsertSelect(Class)andcreateCriteriaInsertValues(Class).
Furthermore, the operations of this interface return types defined in the package
org.hibernate.query.criteria, which extend the equivalent types injakarta.persistence.criteriawith additional operations. For exampleJpaCriteriaQueryadds the methods:JpaSelectCriteria.from(Subquery), which allows the use of a subquery in thefromclause of the query, andJpaCteContainer.with(AbstractQuery), which allows the creation ofcommon table expressions.
Finally, the method
createQuery(String, Class)allows a query written in HQL to be translated to a tree of criteria objects for further manipulation and execution.An instance of this interface may be obtained by calling
SessionFactory.getCriteriaBuilder().
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.criteria.CriteriaBuilder
CriteriaBuilder.Case<R extends Object>, CriteriaBuilder.Coalesce<T extends Object>, CriteriaBuilder.In<T extends Object>, CriteriaBuilder.SimpleCase<C extends Object,R extends Object>, CriteriaBuilder.Trimspec
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description <N extends Number>
JpaExpression<N>abs(Expression<N> x)JpaExpression<Double>acos(Expression<? extends Number> x)Create an expression that returns the inverse cosine of its argument.<T extends Temporal>
JpaExpression<T>addDuration(Expression<T> datetime, Expression<Duration> duration)Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.<T extends Temporal>
JpaExpression<T>addDuration(Expression<T> datetime, Duration duration)Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.<T extends Temporal>
JpaExpression<T>addDuration(T datetime, Expression<Duration> duration)Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.<Y> JpaExpression<Y>all(Subquery<Y> subquery)JpaPredicateand(Expression<Boolean> x, Expression<Boolean> y)JpaPredicateand(Predicate... restrictions)<Y> JpaExpression<Y>any(Subquery<Y> subquery)JpaCompoundSelection<Object[]>array(Selection<?>... selections)<Y> JpaCompoundSelection<Y>array(Class<Y> resultClass, Selection<?>... selections)<Y> JpaCompoundSelection<Y>array(Class<Y> resultClass, List<? extends JpaSelection<?>> selections)JpaCompoundSelection<Object[]>array(List<? extends JpaSelection<?>> selections)<T> JpaExpression<T[]>arrayAgg(JpaOrder order, Expression<? extends T> argument)<T> JpaExpression<T[]>arrayAgg(JpaOrder order, JpaPredicate filter, Expression<? extends T> argument)<T> JpaExpression<T[]>arrayAgg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<? extends T> argument)Create aarray_aggordered set-aggregate function expression.<T> JpaExpression<T[]>arrayAgg(JpaOrder order, JpaWindow window, Expression<? extends T> argument)<T> JpaExpression<T[]>arrayAppend(Expression<T[]> arrayExpression, Expression<T> elementExpression)Appends element to array.<T> JpaExpression<T[]>arrayAppend(Expression<T[]> arrayExpression, T element)Appends element to array.<T> JpaExpression<T[]>arrayConcat(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)Concatenates arrays with each other in order.<T> JpaExpression<T[]>arrayConcat(Expression<T[]> arrayExpression1, T[] array2)Concatenates arrays with each other in order.<T> JpaExpression<T[]>arrayConcat(T[] array1, Expression<T[]> arrayExpression2)Concatenates arrays with each other in order.<T> JpaPredicatearrayContains(Expression<T[]> arrayExpression, Expression<T> elementExpression)Whether an array contains an element.<T> JpaPredicatearrayContains(Expression<T[]> arrayExpression, T element)Whether an array contains an element.<T> JpaPredicatearrayContains(T[] array, Expression<T> elementExpression)Whether an array contains an element.default <T> JpaPredicatearrayContainsAll(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)Deprecated, for removal: This API element is subject to removal in a future version.Replaced witharrayIncludes(Expression, Expression)default <T> JpaPredicatearrayContainsAll(Expression<T[]> arrayExpression, T[] subArray)Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIncludes(Expression, T[])default <T> JpaPredicatearrayContainsAll(T[] array, Expression<T[]> subArrayExpression)Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIncludes(T[], Expression)default <T> JpaPredicatearrayContainsAllNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)Deprecated, for removal: This API element is subject to removal in a future version.Replaced witharrayIncludesNullable(Expression, Expression)default <T> JpaPredicatearrayContainsAllNullable(Expression<T[]> arrayExpression, T[] subArray)Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIncludesNullable(Expression, T[])default <T> JpaPredicatearrayContainsAllNullable(T[] array, Expression<T[]> subArrayExpression)Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIncludesNullable(T[], Expression)<T> JpaPredicatearrayContainsNullable(Expression<T[]> arrayExpression, Expression<T> elementExpression)Whether an array contains a nullable element.<T> JpaPredicatearrayContainsNullable(Expression<T[]> arrayExpression, T element)Whether an array contains a nullable element.<T> JpaPredicatearrayContainsNullable(T[] array, Expression<T> elementExpression)Whether an array contains a nullable element.<T> JpaExpression<T[]>arrayFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression)Creates array with the same element N times, as specified by the arguments.<T> JpaExpression<T[]>arrayFill(Expression<T> elementExpression, Integer elementCount)Creates array with the same element N times, as specified by the arguments.<T> JpaExpression<T[]>arrayFill(T element, Expression<Integer> elementCountExpression)Creates array with the same element N times, as specified by the arguments.<T> JpaExpression<T[]>arrayFill(T element, Integer elementCount)Creates array with the same element N times, as specified by the arguments.<T> JpaExpression<T>arrayGet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression)Accesses the element of an array by 1-based index.<T> JpaExpression<T>arrayGet(Expression<T[]> arrayExpression, Integer index)Accesses the element of an array by 1-based index.<T> JpaPredicatearrayIncludes(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)Whether an array is a subset of another array.<T> JpaPredicatearrayIncludes(Expression<T[]> arrayExpression, T[] subArray)Whether an array is a subset of another array.<T> JpaPredicatearrayIncludes(T[] array, Expression<T[]> subArrayExpression)Whether an array is a subset of another array.<T> JpaPredicatearrayIncludesNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)Whether an array is a subset of another array with nullable elements.<T> JpaPredicatearrayIncludesNullable(Expression<T[]> arrayExpression, T[] subArray)Whether an array is a subset of another array with nullable elements.<T> JpaPredicatearrayIncludesNullable(T[] array, Expression<T[]> subArrayExpression)Whether an array is a subset of another array with nullable elements.<T> JpaPredicatearrayIntersects(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)Whether one array has any elements common with another array.<T> JpaPredicatearrayIntersects(Expression<T[]> arrayExpression1, T[] array2)Whether one array has any elements common with another array.<T> JpaPredicatearrayIntersects(T[] array1, Expression<T[]> arrayExpression2)Whether one array has any elements common with another array.<T> JpaPredicatearrayIntersectsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)Whether one array has any elements common with another array, supportingnullelements.<T> JpaPredicatearrayIntersectsNullable(Expression<T[]> arrayExpression1, T[] array2)Whether one array has any elements common with another array, supportingnullelements.<T> JpaPredicatearrayIntersectsNullable(T[] array1, Expression<T[]> arrayExpression2)Whether one array has any elements common with another array, supportingnullelements.<T> JpaExpression<Integer>arrayLength(Expression<T[]> arrayExpression)Determines the length of an array.<T> JpaExpression<T[]>arrayLiteral(T... elements)Creates an array literal with thearrayconstructor function.default <T> JpaPredicatearrayOverlaps(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced witharrayIntersects(Expression, Expression)default <T> JpaPredicatearrayOverlaps(Expression<T[]> arrayExpression1, T[] array2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIntersects(Expression, T[])default <T> JpaPredicatearrayOverlaps(T[] array1, Expression<T[]> arrayExpression2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIntersects(T[], Expression)default <T> JpaPredicatearrayOverlapsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced witharrayIntersectsNullable(Expression, Expression)default <T> JpaPredicatearrayOverlapsNullable(Expression<T[]> arrayExpression1, T[] array2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIntersectsNullable(Expression, T[])default <T> JpaPredicatearrayOverlapsNullable(T[] array1, Expression<T[]> arrayExpression2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIntersectsNullable(T[], Expression)<T> JpaExpression<Integer>arrayPosition(Expression<T[]> arrayExpression, Expression<T> elementExpression)Determines the 1-based position of an element in an array.<T> JpaExpression<Integer>arrayPosition(Expression<T[]> arrayExpression, T element)Determines the 1-based position of an element in an array.<T> JpaExpression<int[]>arrayPositions(Expression<T[]> arrayExpression, Expression<T> elementExpression)Determines all 1-based positions of an element in an array.<T> JpaExpression<int[]>arrayPositions(Expression<T[]> arrayExpression, T element)Determines all 1-based positions of an element in an array.<T> JpaExpression<List<Integer>>arrayPositionsList(Expression<T[]> arrayExpression, Expression<T> elementExpression)Determines all 1-based positions of an element in an array.<T> JpaExpression<List<Integer>>arrayPositionsList(Expression<T[]> arrayExpression, T element)Determines all 1-based positions of an element in an array.<T> JpaExpression<T[]>arrayPrepend(Expression<T> elementExpression, Expression<T[]> arrayExpression)Prepends element to array.<T> JpaExpression<T[]>arrayPrepend(T element, Expression<T[]> arrayExpression)Prepends element to array.<T> JpaExpression<T[]>arrayRemove(Expression<T[]> arrayExpression, Expression<T> elementExpression)Creates array copy with given element removed.<T> JpaExpression<T[]>arrayRemove(Expression<T[]> arrayExpression, T element)Creates array copy with given element removed.<T> JpaExpression<T[]>arrayRemoveIndex(Expression<T[]> arrayExpression, Expression<Integer> indexExpression)Creates array copy with the element at the given 1-based index removed.<T> JpaExpression<T[]>arrayRemoveIndex(Expression<T[]> arrayExpression, Integer index)Creates array copy with the element at the given 1-based index removed.<T> JpaExpression<T[]>arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, Expression<T> newElementExpression)Creates array copy replacing a given element with another.<T> JpaExpression<T[]>arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, T newElement)Creates array copy replacing a given element with another.<T> JpaExpression<T[]>arrayReplace(Expression<T[]> arrayExpression, T oldElement, Expression<T> newElementExpression)Creates array copy replacing a given element with another.<T> JpaExpression<T[]>arrayReplace(Expression<T[]> arrayExpression, T oldElement, T newElement)Creates array copy replacing a given element with another.<T> JpaExpression<T[]>arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, Expression<T> elementExpression)Creates array copy with given element at given 1-based index.<T> JpaExpression<T[]>arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, T element)Creates array copy with given element at given 1-based index.<T> JpaExpression<T[]>arraySet(Expression<T[]> arrayExpression, Integer index, Expression<T> elementExpression)Creates array copy with given element at given 1-based index.<T> JpaExpression<T[]>arraySet(Expression<T[]> arrayExpression, Integer index, T element)Creates array copy with given element at given 1-based index.<T> JpaExpression<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> JpaExpression<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> JpaExpression<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> JpaExpression<T[]>arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Integer upperIndex)Creates a sub-array of the based on 1-based lower and upper index.JpaExpression<String>arrayToString(Expression<? extends Object[]> arrayExpression, Expression<String> separatorExpression)Concatenates the non-null array elements with a separator, as specified by the arguments.JpaExpression<String>arrayToString(Expression<? extends Object[]> arrayExpression, String separator)Concatenates the non-null array elements with a separator, as specified by the arguments.<T> JpaExpression<T[]>arrayTrim(Expression<T[]> arrayExpression, Expression<Integer> elementCountExpression)Creates array copy without the last N elements, specified by the second argument.<T> JpaExpression<T[]>arrayTrim(Expression<T[]> arrayExpression, Integer elementCount)Creates array copy without the last N elements, specified by the second argument.JpaOrderasc(Expression<?> x)JpaOrderasc(Expression<?> x, boolean nullsFirst)Create an ordering by the ascending value of the expression.JpaSearchOrderasc(JpaCteCriteriaAttribute x)Create a search ordering by the ascending value of the CTE attribute.JpaSearchOrderasc(JpaCteCriteriaAttribute x, boolean nullsFirst)Create a search ordering by the ascending value of the CTE attribute.JpaExpression<Double>asin(Expression<? extends Number> x)Create an expression that returns the inverse sine of its argument.JpaExpression<Double>atan(Expression<? extends Number> x)Create an expression that returns the inverse tangent of its argument.JpaExpression<Double>atan2(Expression<? extends Number> y, Expression<? extends Number> x)Create an expression that returns the inverse tangent ofyoverx.JpaExpression<Double>atan2(Expression<? extends Number> y, Number x)JpaExpression<Double>atan2(Number y, Expression<? extends Number> x)<N extends Number>
JpaExpression<Double>avg(Expression<N> argument)<N extends Number>
JpaExpression<Double>avg(Expression<N> argument, JpaPredicate filter)<N extends Number>
JpaExpression<Double>avg(Expression<N> argument, JpaPredicate filter, JpaWindow window)Create anavgaggregate function expression.<N extends Number>
JpaExpression<Double>avg(Expression<N> argument, JpaWindow window)<Y extends Comparable<? super Y>>
JpaPredicatebetween(Expression<? extends Y> value, Expression<? extends Y> lower, Expression<? extends Y> upper)<Y extends Comparable<? super Y>>
JpaPredicatebetween(Expression<? extends Y> value, Y lower, Y upper)<X,T>
JpaExpression<X>cast(JpaExpression<T> expression, Class<X> castTargetJavaType)<N extends Number>
JpaExpression<N>ceiling(Expression<N> x)Create an expression that returns the ceiling of its argument, that is, the smallest integer greater than or equal to its argument.<T> JpaCoalesce<T>coalesce()<Y> JpaCoalesce<Y>coalesce(Expression<? extends Y> x, Expression<? extends Y> y)<Y> JpaCoalesce<Y>coalesce(Expression<? extends Y> x, Y y)JpaFunction<String>collate(Expression<String> x, String collation)<E,C extends Collection<? super E>>
JpaExpression<C>collectionAppend(Expression<C> collectionExpression, E element)Appends element to basic collection.<E,C extends Collection<? super E>>
JpaExpression<C>collectionAppend(Expression<C> collectionExpression, Expression<? extends E> elementExpression)Appends element to basic collection.<E,C extends Collection<? super E>>
JpaExpression<C>collectionConcat(C collection1, Expression<? extends Collection<? extends E>> collectionExpression2)Concatenates basic collections with each other in order.<E,C extends Collection<? super E>>
JpaExpression<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>>
JpaExpression<C>collectionConcat(Expression<C> collectionExpression1, Collection<? extends E> collection2)Concatenates basic collections with each other in order.<E> JpaPredicatecollectionContains(Expression<? extends Collection<E>> collectionExpression, E element)Whether a basic collection contains an element.<E> JpaPredicatecollectionContains(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression)Whether a basic collection contains an element.<E> JpaPredicatecollectionContains(Collection<E> collection, Expression<E> elementExpression)Whether a basic collection contains an element.default <E> JpaPredicatecollectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludes(Expression, Expression)default <E> JpaPredicatecollectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludes(Expression, Collection)default <E> JpaPredicatecollectionContainsAll(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludes(Collection, Expression)default <E> JpaPredicatecollectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludesNullable(Expression, Expression)default <E> JpaPredicatecollectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludesNullable(Expression, Collection)default <E> JpaPredicatecollectionContainsAllNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludesNullable(Collection, Expression)<E> JpaPredicatecollectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, E element)Whether a basic collection contains a nullable element.<E> JpaPredicatecollectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression)Whether a basic collection contains a nullable element.<E> JpaPredicatecollectionContainsNullable(Collection<E> collection, Expression<E> elementExpression)Whether a basic collection contains a nullable element.<T> JpaExpression<Collection<T>>collectionFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression)Creates basic collection with the same element N times, as specified by the arguments.<T> JpaExpression<Collection<T>>collectionFill(Expression<T> elementExpression, Integer elementCount)Creates basic collection with the same element N times, as specified by the arguments.<T> JpaExpression<Collection<T>>collectionFill(T element, Expression<Integer> elementCountExpression)Creates basic collection with the same element N times, as specified by the arguments.<T> JpaExpression<Collection<T>>collectionFill(T element, Integer elementCount)Creates basic collection with the same element N times, as specified by the arguments.<E> JpaExpression<E>collectionGet(Expression<? extends Collection<E>> collectionExpression, Expression<Integer> indexExpression)Accesses the element of the basic collection by 1-based index.<E> JpaExpression<E>collectionGet(Expression<? extends Collection<E>> collectionExpression, Integer index)Accesses the element of the basic collection by 1-based index.<E> JpaPredicatecollectionIncludes(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)Whether a basic collection is a subset of another basic collection.<E> JpaPredicatecollectionIncludes(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)Whether a basic collection is a subset of another basic collection.<E> JpaPredicatecollectionIncludes(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)Whether a basic collection is a subset of another basic collection.<E> JpaPredicatecollectionIncludesNullable(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> JpaPredicatecollectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)Whether a basic collection is a subset of another basic collection with nullable elements.<E> JpaPredicatecollectionIncludesNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)Whether a basic collection is a subset of another basic collection with nullable elements.<E> JpaPredicatecollectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)Whether one basic collection has any elements common with another basic collection.<E> JpaPredicatecollectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)Whether one basic collection has any elements common with another basic collection.<E> JpaPredicatecollectionIntersects(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)Whether one basic collection has any elements common with another basic collection.<E> JpaPredicatecollectionIntersectsNullable(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> JpaPredicatecollectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)Whether one basic collection has any elements common with another basic collection, supportingnullelements.<E> JpaPredicatecollectionIntersectsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)Whether one basic collection has any elements common with another basic collection, supportingnullelements.JpaExpression<Integer>collectionLength(Expression<? extends Collection<?>> collectionExpression)Determines the length of a basic collection.<E,C extends Collection<E>>
JpaExpression<C>collectionLiteral(E... elements)Creates a basic collection literal with thearrayconstructor function.default <E> JpaPredicatecollectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersects(Expression, Expression)default <E> JpaPredicatecollectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersects(Expression, Collection)default <E> JpaPredicatecollectionOverlaps(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersects(Collection, Expression)default <E> JpaPredicatecollectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersectsNullable(Expression, Expression)default <E> JpaPredicatecollectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersectsNullable(Expression, Collection)default <E> JpaPredicatecollectionOverlapsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersectsNullable(Collection, Expression)<E> JpaExpression<Integer>collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, E element)Determines the 1-based position of an element in a basic collection.<E> JpaExpression<Integer>collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, Expression<E> elementExpression)Determines the 1-based position of an element in a basic collection.<T> JpaExpression<int[]>collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression)Determines all 1-based positions of an element in a basic collection.<T> JpaExpression<int[]>collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, T element)Determines all 1-based positions of an element in a basic collection.<T> JpaExpression<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> JpaExpression<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>>
JpaExpression<C>collectionPrepend(E element, Expression<C> collectionExpression)Prepends element to basic collection.<E,C extends Collection<? super E>>
JpaExpression<C>collectionPrepend(Expression<? extends E> elementExpression, Expression<C> collectionExpression)Prepends element to basic collection.<E,C extends Collection<? super E>>
JpaExpression<C>collectionRemove(Expression<C> collectionExpression, E element)Creates basic collection copy with given element removed.<E,C extends Collection<? super E>>
JpaExpression<C>collectionRemove(Expression<C> collectionExpression, Expression<? extends E> elementExpression)Creates basic collection copy with given element removed.<C extends Collection<?>>
JpaExpression<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<?>>
JpaExpression<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>>
JpaExpression<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>>
JpaExpression<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>>
JpaExpression<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>>
JpaExpression<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>>
JpaExpression<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>>
JpaExpression<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>>
JpaExpression<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>>
JpaExpression<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<?>>
JpaExpression<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<?>>
JpaExpression<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<?>>
JpaExpression<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<?>>
JpaExpression<C>collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Integer upperIndex)Creates a sub-collection of the based on 1-based lower and upper index.<T> JpaExpression<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> JpaExpression<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<?>>
JpaExpression<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<?>>
JpaExpression<C>collectionTrim(Expression<C> arrayExpression, Integer elementCount)Creates basic collection copy without the last N elements, specified by the second argument.JpaExpression<String>concat(Expression<String> x, Expression<String> y)JpaExpression<String>concat(Expression<String> x, String y)JpaExpression<String>concat(String x, Expression<String> y)JpaExpression<String>concat(String x, String y)JpaPredicateconjunction()<Y> JpaCompoundSelection<Y>construct(Class<Y> resultClass, Selection<?>... selections)<Y> JpaCompoundSelection<Y>construct(Class<Y> resultClass, List<? extends JpaSelection<?>> arguments)JpaExpression<Double>cos(Expression<? extends Number> x)Create an expression that returns the cosine of its argument.JpaExpression<Double>cosh(Expression<? extends Number> x)Create an expression that returns the hyperbolic cosine of its argument.JpaExpression<Long>count()Equivalent to HQLcount(*).JpaExpression<Long>count(Expression<?> argument)JpaExpression<Long>count(Expression<?> argument, JpaPredicate filter)JpaExpression<Long>count(Expression<?> argument, JpaPredicate filter, JpaWindow window)Create acountaggregate function expression.JpaExpression<Long>count(Expression<?> argument, JpaWindow window)JpaExpression<Long>countDistinct(Expression<?> x)<T> JpaCriteriaDelete<T>createCriteriaDelete(Class<T> targetEntity)<T> JpaCriteriaInsertSelect<T>createCriteriaInsertSelect(Class<T> targetEntity)<T> JpaCriteriaInsertValues<T>createCriteriaInsertValues(Class<T> targetEntity)<T> JpaCriteriaUpdate<T>createCriteriaUpdate(Class<T> targetEntity)JpaCriteriaQuery<Object>createQuery()<T> JpaCriteriaQuery<T>createQuery(Class<T> resultClass)<T> JpaCriteriaQuery<T>createQuery(String hql, Class<T> resultClass)Transform the given HQLselectquery to an equivalent criteria query.JpaCriteriaQuery<Tuple>createTupleQuery()JpaWindowcreateWindow()Create an emptyJpaWindowto use with window and aggregate functions.JpaExpression<Double>cumeDist(JpaWindow window)Create acume_distwindow function expression.JpaFunction<Date>currentDate()JpaFunction<Instant>currentInstant()JpaFunction<Time>currentTime()JpaFunction<Timestamp>currentTimestamp()JpaFunction<Integer>day(Expression<? extends TemporalAccessor> datetime)Extracts theTemporalUnit.DAYof a date, time, or datetime expression.JpaExpression<Double>degrees(Expression<? extends Number> x)Create an expression that converts an angle measured in radians to an approximately equivalent angle measured in degrees.JpaExpression<Long>denseRank(JpaWindow window)Create adense_rankwindow function expression.JpaOrderdesc(Expression<?> x)JpaOrderdesc(Expression<?> x, boolean nullsFirst)Create an ordering by the descending value of the expression.JpaSearchOrderdesc(JpaCteCriteriaAttribute x)Create a search ordering by the descending value of the CTE attribute.JpaSearchOrderdesc(JpaCteCriteriaAttribute x, boolean nullsFirst)Create a search ordering by the descending value of the CTE attribute.<N extends Number>
JpaExpression<N>diff(Expression<? extends N> x, Expression<? extends N> y)<N extends Number>
JpaExpression<N>diff(Expression<? extends N> x, N y)<N extends Number>
JpaExpression<N>diff(N x, Expression<? extends N> y)JpaPredicatedisjunction()JpaPredicatedistinctFrom(Expression<?> x, Expression<?> y)JpaPredicatedistinctFrom(Expression<?> x, Object y)JpaExpression<Duration>duration(long magnitude, TemporalUnit unit)A literalDuration, for example, "five days" or "30 minutes".<T extends Temporal>
JpaExpression<Duration>durationBetween(Expression<T> x, Expression<T> y)Subtract two dates or two datetimes, returning the duration between the two dates or between two datetimes.<T extends Temporal>
JpaExpression<Duration>durationBetween(Expression<T> x, T y)Subtract two dates or two datetimes, returning the duration between the two dates or between two datetimes.JpaExpression<Long>durationByUnit(TemporalUnit unit, Expression<Duration> duration)Convert aDurationto a numeric magnitude in the given units.JpaExpression<Duration>durationDiff(Expression<Duration> x, Expression<Duration> y)Subtract one duration from another.JpaExpression<Duration>durationDiff(Expression<Duration> x, Duration y)Subtract one duration from another.JpaExpression<Duration>durationScaled(Expression<? extends Number> number, Expression<Duration> duration)Scale a duration by a number.JpaExpression<Duration>durationScaled(Expression<? extends Number> number, Duration duration)Scale a duration by a number.JpaExpression<Duration>durationScaled(Number number, Expression<Duration> duration)Scale a duration by a number.JpaExpression<Duration>durationSum(Expression<Duration> x, Expression<Duration> y)Add two durations.JpaExpression<Duration>durationSum(Expression<Duration> x, Duration y)Add two durations.JpaPredicateequal(Expression<?> x, Expression<?> y)JpaPredicateequal(Expression<?> x, Object y)<T> JpaCriteriaQuery<T>except(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)<T> JpaSubQuery<T>except(boolean all, Subquery<? extends T> query1, Subquery<?>... queries)default <T> JpaCriteriaQuery<T>except(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)default <T> JpaSubQuery<T>except(Subquery<? extends T> query1, Subquery<?>... queries)default <T> JpaCriteriaQuery<T>exceptAll(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)default <T> JpaSubQuery<T>exceptAll(Subquery<? extends T> query1, Subquery<?>... queries)JpaPredicateexists(Subquery<?> subquery)JpaExpression<Double>exp(Expression<? extends Number> x)Create an expression that returns the exponential of its argument, that is, Euler's number e raised to the power of its argument.<T> JpaExpression<T>firstValue(Expression<T> argument, JpaWindow window)Create afirst_valuewindow function expression.<P,F>
JpaExpression<F>fk(Path<P> path)<N extends Number>
JpaExpression<N>floor(Expression<N> x)Create an expression that returns the floor of its argument, that is, the largest integer smaller than or equal to its argument.JpaFunction<String>format(Expression<? extends TemporalAccessor> datetime, String pattern)Format a date, time, or datetime according to a pattern.JpaWindowFrameframeBetweenFollowing(int offset)JpaWindowFrameframeBetweenFollowing(Expression<?> offset)Create a window frame of typeFrameKind.OFFSET_FOLLOWINGto use withJpaWindows.JpaWindowFrameframeBetweenPreceding(int offset)JpaWindowFrameframeBetweenPreceding(Expression<?> offset)Create window frame of typeFrameKind.OFFSET_PRECEDINGto use withJpaWindows.JpaWindowFrameframeCurrentRow()Create a window frame of typeFrameKind.CURRENT_ROWto use withJpaWindows.JpaWindowFrameframeUnboundedFollowing()Create a window frame of typeFrameKind.UNBOUNDED_FOLLOWINGto use withJpaWindows.JpaWindowFrameframeUnboundedPreceding()Create a window frame of typeFrameKind.UNBOUNDED_PRECEDINGto use withJpaWindows.<T> JpaFunction<T>function(String name, Class<T> type, Expression<?>... args)<T> JpaExpression<T>functionAggregate(String name, Class<T> type, JpaPredicate filter, Expression<?>... args)<T> JpaExpression<T>functionAggregate(String name, Class<T> type, JpaPredicate filter, JpaWindow window, Expression<?>... args)Create a generic aggregate function expression.<T> JpaExpression<T>functionAggregate(String name, Class<T> type, JpaWindow window, Expression<?>... args)<T> JpaExpression<T>functionWithinGroup(String name, Class<T> type, JpaOrder order, Expression<?>... args)<T> JpaExpression<T>functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaPredicate filter, Expression<?>... args)<T> JpaExpression<T>functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... args)Create a generic ordered set-aggregate function expression.<T> JpaExpression<T>functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaWindow window, Expression<?>... args)JpaPredicatege(Expression<? extends Number> x, Expression<? extends Number> y)JpaPredicatege(Expression<? extends Number> x, Number y)<Y extends Comparable<? super Y>>
JpaPredicategreaterThan(Expression<? extends Y> x, Expression<? extends Y> y)<Y extends Comparable<? super Y>>
JpaPredicategreaterThan(Expression<? extends Y> x, Y y)<Y extends Comparable<? super Y>>
JpaPredicategreaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)<Y extends Comparable<? super Y>>
JpaPredicategreaterThanOrEqualTo(Expression<? extends Y> x, Y y)<X extends Comparable<? super X>>
JpaExpression<X>greatest(Expression<X> argument)JpaPredicategt(Expression<? extends Number> x, Expression<? extends Number> y)JpaPredicategt(Expression<? extends Number> x, Number y)JpaFunction<Integer>hour(Expression<? extends TemporalAccessor> datetime)Extracts theTemporalUnit.HOURof a date, time, or datetime expression.JpaPredicateilike(Expression<String> x, Expression<String> pattern)JpaPredicateilike(Expression<String> x, Expression<String> pattern, char escapeChar)JpaPredicateilike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)JpaPredicateilike(Expression<String> x, String pattern)JpaPredicateilike(Expression<String> x, String pattern, char escapeChar)JpaPredicateilike(Expression<String> x, String pattern, Expression<Character> escapeChar)<T> JpaInPredicate<T>in(Expression<? extends T> expression)<T> JpaInPredicate<T>in(Expression<? extends T> expression, Expression<? extends T>... values)<T> JpaInPredicate<T>in(Expression<? extends T> expression, Collection<T> values)<T> JpaInPredicate<T>in(Expression<? extends T> expression, T... values)<K,L extends List<?>>
JpaExpression<Set<K>>indexes(L list)<T> JpaCriteriaQuery<T>intersect(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)<T> JpaSubQuery<T>intersect(boolean all, Subquery<? extends T> query1, Subquery<?>... queries)default <T> JpaCriteriaQuery<T>intersect(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)default <T> JpaSubQuery<T>intersect(Subquery<? extends T> query1, Subquery<?>... queries)default <T> JpaCriteriaQuery<T>intersectAll(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)default <T> JpaSubQuery<T>intersectAll(Subquery<? extends T> query1, Subquery<?>... queries)<C extends Collection<?>>
JpaPredicateisEmpty(Expression<C> collection)JpaPredicateisFalse(Expression<Boolean> x)<M extends Map<?,?>>
JpaPredicateisMapEmpty(JpaExpression<M> mapExpression)Create a predicate that tests whether a Map is empty.<M extends Map<?,?>>
JpaPredicateisMapNotEmpty(JpaExpression<M> mapExpression)Create a predicate that tests whether a Map is not empty.<E,C extends Collection<E>>
JpaPredicateisMember(E elem, Expression<C> collection)<E,C extends Collection<E>>
JpaPredicateisMember(Expression<E> elem, Expression<C> collection)<C extends Collection<?>>
JpaPredicateisNotEmpty(Expression<C> collection)<E,C extends Collection<E>>
JpaPredicateisNotMember(E elem, Expression<C> collection)<E,C extends Collection<E>>
JpaPredicateisNotMember(Expression<E> elem, Expression<C> collection)JpaPredicateisNotNull(Expression<?> x)JpaPredicateisNull(Expression<?> x)JpaPredicateisTrue(Expression<Boolean> x)<K,M extends Map<K,?>>
JpaExpression<Set<K>>keys(M map)<T> JpaExpression<T>lastValue(Expression<T> argument, JpaWindow window)Create alast_valuewindow function expression.JpaPredicatele(Expression<? extends Number> x, Expression<? extends Number> y)JpaPredicatele(Expression<? extends Number> x, Number y)<X extends Comparable<? super X>>
JpaExpression<X>least(Expression<X> argument)JpaFunction<String>left(Expression<String> x, int length)JpaFunction<String>left(Expression<String> x, Expression<Integer> length)Extract thelengthleftmost characters of a string.JpaFunction<Integer>length(Expression<String> x)<Y extends Comparable<? super Y>>
JpaPredicatelessThan(Expression<? extends Y> x, Expression<? extends Y> y)<Y extends Comparable<? super Y>>
JpaPredicatelessThan(Expression<? extends Y> x, Y y)<Y extends Comparable<? super Y>>
JpaPredicatelessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)<Y extends Comparable<? super Y>>
JpaPredicatelessThanOrEqualTo(Expression<? extends Y> x, Y y)JpaPredicatelike(Expression<String> x, Expression<String> pattern)JpaPredicatelike(Expression<String> x, Expression<String> pattern, char escapeChar)JpaPredicatelike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)JpaPredicatelike(Expression<String> x, String pattern)JpaPredicatelike(Expression<String> x, String pattern, char escapeChar)JpaPredicatelike(Expression<String> x, String pattern, Expression<Character> escapeChar)JpaExpression<String>listagg(JpaOrder order, Expression<String> argument, Expression<String> separator)JpaExpression<String>listagg(JpaOrder order, Expression<String> argument, String separator)JpaExpression<String>listagg(JpaOrder order, JpaPredicate filter, Expression<String> argument, Expression<String> separator)JpaExpression<String>listagg(JpaOrder order, JpaPredicate filter, Expression<String> argument, String separator)JpaExpression<String>listagg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<String> argument, Expression<String> separator)Create alistaggordered set-aggregate function expression.JpaExpression<String>listagg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<String> argument, String separator)JpaExpression<String>listagg(JpaOrder order, JpaWindow window, Expression<String> argument, Expression<String> separator)JpaExpression<String>listagg(JpaOrder order, JpaWindow window, Expression<String> argument, String separator)<T> JpaExpression<T>literal(T value)<T> List<? extends JpaExpression<T>>literals(List<T> values)<T> List<? extends JpaExpression<T>>literals(T... values)JpaExpression<Double>ln(Expression<? extends Number> x)Create an expression that returns the natural logarithm of its argument.JpaExpression<LocalDate>localDate()Create expression to return current local date.JpaExpression<LocalDateTime>localDateTime()Create expression to return current local datetime.JpaExpression<LocalTime>localTime()Create expression to return current local time.JpaFunction<Integer>locate(Expression<String> x, Expression<String> pattern)JpaFunction<Integer>locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from)JpaFunction<Integer>locate(Expression<String> x, String pattern)JpaFunction<Integer>locate(Expression<String> x, String pattern, int from)JpaExpression<Double>log(Expression<? extends Number> b, Expression<? extends Number> x)Create an expression that returns the logarithm ofxto the baseb.JpaExpression<Double>log(Number b, Expression<? extends Number> x)JpaExpression<Double>log10(Expression<? extends Number> x)Create an expression that returns the base-10 logarithm of its argument.JpaFunction<String>lower(Expression<String> x)JpaPredicatelt(Expression<? extends Number> x, Expression<? extends Number> y)JpaPredicatelt(Expression<? extends Number> x, Number y)<M extends Map<?,?>>
JpaExpression<Integer>mapSize(M map)Create an expression that tests the size of a map.<M extends Map<?,?>>
JpaExpression<Integer>mapSize(JpaExpression<M> mapExpression)Create an expression that tests the size of a map.<N extends Number>
JpaExpression<N>max(Expression<N> argument)<N extends Number>
JpaExpression<N>min(Expression<N> argument)JpaFunction<Integer>minute(Expression<? extends TemporalAccessor> datetime)Extracts theTemporalUnit.MINUTEof a date, time, or datetime expression.JpaExpression<Integer>mod(Expression<Integer> x, Expression<Integer> y)JpaExpression<Integer>mod(Expression<Integer> x, Integer y)JpaExpression<Integer>mod(Integer x, Expression<Integer> y)<T> JpaExpression<T>mode(Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)<T> JpaExpression<T>mode(JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)<T> JpaExpression<T>mode(JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)Create amodeordered set-aggregate function expression.<T> JpaExpression<T>mode(JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)JpaFunction<Integer>month(Expression<? extends TemporalAccessor> datetime)Extracts theTemporalUnit.MONTHof a date, time, or datetime expression.<N extends Number>
JpaExpression<N>neg(Expression<N> x)JpaPredicatenot(Expression<Boolean> restriction)JpaPredicatenotDistinctFrom(Expression<?> x, Expression<?> y)JpaPredicatenotDistinctFrom(Expression<?> x, Object y)JpaPredicatenotEqual(Expression<?> x, Expression<?> y)JpaPredicatenotEqual(Expression<?> x, Object y)JpaPredicatenotIlike(Expression<String> x, Expression<String> pattern)JpaPredicatenotIlike(Expression<String> x, Expression<String> pattern, char escapeChar)JpaPredicatenotIlike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)JpaPredicatenotIlike(Expression<String> x, String pattern)JpaPredicatenotIlike(Expression<String> x, String pattern, char escapeChar)JpaPredicatenotIlike(Expression<String> x, String pattern, Expression<Character> escapeChar)JpaPredicatenotLike(Expression<String> x, Expression<String> pattern)JpaPredicatenotLike(Expression<String> x, Expression<String> pattern, char escapeChar)JpaPredicatenotLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)JpaPredicatenotLike(Expression<String> x, String pattern)JpaPredicatenotLike(Expression<String> x, String pattern, char escapeChar)JpaPredicatenotLike(Expression<String> x, String pattern, Expression<Character> escapeChar)<T> JpaExpression<T>nthValue(Expression<T> argument, int n, JpaWindow window)<T> JpaExpression<T>nthValue(Expression<T> argument, Expression<Integer> n, JpaWindow window)Create anth_valuewindow function expression.<Y> JpaExpression<Y>nullif(Expression<Y> x, Expression<?> y)<Y> JpaExpression<Y>nullif(Expression<Y> x, Y y)<T> JpaExpression<T>nullLiteral(Class<T> resultClass)JpaPredicateor(Expression<Boolean> x, Expression<Boolean> y)JpaPredicateor(Predicate... restrictions)JpaFunction<String>overlay(Expression<String> string, Expression<String> replacement, int start)JpaFunction<String>overlay(Expression<String> string, Expression<String> replacement, int start, int length)JpaFunction<String>overlay(Expression<String> string, Expression<String> replacement, int start, Expression<Integer> length)JpaFunction<String>overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start)JpaFunction<String>overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, int length)JpaFunction<String>overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, Expression<Integer> length)Overlay thestringexpression with thereplacementexpression, starting from indexstartand substituting a number of characters corresponding to the length of thereplacementexpression or thelengthparameter if specified.JpaFunction<String>overlay(Expression<String> string, String replacement, int start)JpaFunction<String>overlay(Expression<String> string, String replacement, int start, int length)JpaFunction<String>overlay(Expression<String> string, String replacement, int start, Expression<Integer> length)JpaFunction<String>overlay(Expression<String> string, String replacement, Expression<Integer> start)JpaFunction<String>overlay(Expression<String> string, String replacement, Expression<Integer> start, int length)JpaFunction<String>overlay(Expression<String> string, String replacement, Expression<Integer> start, Expression<Integer> length)JpaFunction<String>pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length)JpaFunction<String>pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, char padChar)JpaFunction<String>pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, Expression<Character> padChar)JpaFunction<String>pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length)JpaFunction<String>pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, char padChar)JpaFunction<String>pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, Expression<Character> padChar)Pad the specified string expression with whitespace or with thepadCharcharacter if specified.JpaFunction<String>pad(Expression<String> x, int length)JpaFunction<String>pad(Expression<String> x, int length, char padChar)JpaFunction<String>pad(Expression<String> x, int length, Expression<Character> padChar)JpaFunction<String>pad(Expression<String> x, Expression<Integer> length)JpaFunction<String>pad(Expression<String> x, Expression<Integer> length, char padChar)JpaFunction<String>pad(Expression<String> x, Expression<Integer> length, Expression<Character> padChar)<T> JpaParameterExpression<T>parameter(Class<T> paramClass)<T> JpaParameterExpression<T>parameter(Class<T> paramClass, String name)<T> JpaExpression<T>percentileCont(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)<T> JpaExpression<T>percentileCont(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)<T> JpaExpression<T>percentileCont(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)Create apercentile_contordered set-aggregate function expression.<T> JpaExpression<T>percentileCont(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)<T> JpaExpression<T>percentileDisc(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)<T> JpaExpression<T>percentileDisc(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)<T> JpaExpression<T>percentileDisc(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)Create apercentile_discordered set-aggregate function expression.<T> JpaExpression<T>percentileDisc(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)JpaExpression<Double>percentRank(JpaOrder order, Expression<?>... arguments)JpaExpression<Double>percentRank(JpaOrder order, JpaPredicate filter, Expression<?>... arguments)JpaExpression<Double>percentRank(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... arguments)Create apercent_rankordered set-aggregate function expression.JpaExpression<Double>percentRank(JpaOrder order, JpaWindow window, Expression<?>... arguments)JpaExpression<Double>percentRank(JpaWindow window)Create apercent_rankwindow function expression.JpaExpression<Double>pi()Literal expression corresponding to the value of pi.JpaExpression<Double>power(Expression<? extends Number> x, Expression<? extends Number> y)Create an expression that returns the first argument raised to the power of its second argument.JpaExpression<Double>power(Expression<? extends Number> x, Number y)Create an expression that returns the first argument raised to the power of its second argument.<N extends Number>
JpaExpression<N>prod(Expression<? extends N> x, Expression<? extends N> y)<N extends Number>
JpaExpression<N>prod(Expression<? extends N> x, N y)<N extends Number>
JpaExpression<N>prod(N x, Expression<? extends N> y)JpaExpression<Number>quot(Expression<? extends Number> x, Expression<? extends Number> y)JpaExpression<Number>quot(Expression<? extends Number> x, Number y)JpaExpression<Number>quot(Number x, Expression<? extends Number> y)JpaExpression<Double>radians(Expression<? extends Number> x)Create an expression that converts an angle measured in degrees to an approximately equivalent angle measured in radians.JpaExpression<Long>rank(JpaOrder order, Expression<?>... arguments)JpaExpression<Long>rank(JpaOrder order, JpaPredicate filter, Expression<?>... arguments)JpaExpression<Long>rank(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... arguments)Create arankordered set-aggregate function expression.JpaExpression<Long>rank(JpaOrder order, JpaWindow window, Expression<?>... arguments)JpaExpression<Long>rank(JpaWindow window)Create arankwindow function expression.JpaFunction<String>repeat(Expression<String> x, int times)Concatenate the given string expression with itself the given number of times.JpaFunction<String>repeat(Expression<String> x, Expression<Integer> times)Concatenate the given string expression with itself the given number of times.JpaFunction<String>repeat(String x, Expression<Integer> times)Concatenate the given string expression with itself the given number of times.JpaFunction<String>replace(Expression<String> x, Expression<String> pattern, Expression<String> replacement)Replace all occurrences ofpatternwithin the original string withreplacement.JpaFunction<String>replace(Expression<String> x, Expression<String> pattern, String replacement)JpaFunction<String>replace(Expression<String> x, String pattern, Expression<String> replacement)JpaFunction<String>replace(Expression<String> x, String pattern, String replacement)JpaFunction<String>right(Expression<String> x, int length)JpaFunction<String>right(Expression<String> x, Expression<Integer> length)Extract thelengthrightmost characters of a string.<T extends Number>
JpaExpression<T>round(Expression<T> x, Integer n)Create an expression that returns the first argument rounded to the number of decimal places given by the second argument.JpaExpression<Long>rowNumber(JpaWindow window)Create arow_numberwindow function expression.JpaSearchOrdersearch(JpaCteCriteriaAttribute cteAttribute)Create a search ordering based on the ascending value of the CTE attribute.JpaSearchOrdersearch(JpaCteCriteriaAttribute cteAttribute, SortDirection sortOrder)Create a search ordering based on the sort order of the value of the CTE attribute.JpaSearchOrdersearch(JpaCteCriteriaAttribute cteAttribute, SortDirection sortOrder, NullPrecedence nullPrecedence)Create a search ordering based on the sort order and null precedence of the value of the CTE attribute.JpaFunction<Float>second(Expression<? extends TemporalAccessor> datetime)Extracts theTemporalUnit.SECONDof a date, time, or datetime expression.<R> JpaSearchedCase<R>selectCase()<C,R>
JpaSimpleCase<C,R>selectCase(Expression<? extends C> expression)JpaExpression<Integer>sign(Expression<? extends Number> x)Create an expression that returns the sign of its argument, that is,1if its argument is positive,-1if its argument is negative, or0if its argument is exactly zero.JpaExpression<Double>sin(Expression<? extends Number> x)Create an expression that returns the sine of its argument.JpaExpression<Double>sinh(Expression<? extends Number> x)Create an expression that returns the hyperbolic sine of its argument.<C extends Collection<?>>
JpaExpression<Integer>size(C collection)<C extends Collection<?>>
JpaExpression<Integer>size(Expression<C> collection)<Y> JpaExpression<Y>some(Subquery<Y> subquery)JpaOrdersort(JpaExpression<?> sortExpression)JpaOrdersort(JpaExpression<?> sortExpression, SortDirection sortOrder)JpaOrdersort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)JpaOrdersort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase)<T> JpaExpression<T>sql(String pattern, Class<T> type, Expression<?>... arguments)Embed nativepatternthat will be unquoted and embedded in the generated SQL.JpaExpression<Double>sqrt(Expression<? extends Number> x)JpaFunction<String>substring(Expression<String> x, int from)JpaFunction<String>substring(Expression<String> x, int from, int len)JpaFunction<String>substring(Expression<String> x, Expression<Integer> from)JpaFunction<String>substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len)<T extends Temporal>
JpaExpression<T>subtractDuration(Expression<T> datetime, Expression<Duration> duration)Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.<T extends Temporal>
JpaExpression<T>subtractDuration(Expression<T> datetime, Duration duration)Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.<T extends Temporal>
JpaExpression<T>subtractDuration(T datetime, Expression<Duration> duration)Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.<N extends Number>
JpaExpression<N>sum(Expression<? extends N> x, Expression<? extends N> y)<N extends Number>
JpaExpression<N>sum(Expression<? extends N> x, N y)<N extends Number>
JpaExpression<N>sum(Expression<N> argument)<N extends Number>
JpaExpression<Number>sum(Expression<N> argument, JpaPredicate filter)<N extends Number>
JpaExpression<Number>sum(Expression<N> argument, JpaPredicate filter, JpaWindow window)Create asumaggregate function expression.<N extends Number>
JpaExpression<Number>sum(Expression<N> argument, JpaWindow window)<N extends Number>
JpaExpression<N>sum(N x, Expression<? extends N> y)JpaExpression<Double>sumAsDouble(Expression<Float> argument)JpaExpression<Long>sumAsLong(Expression<Integer> argument)JpaExpression<Double>tan(Expression<? extends Number> x)Create an expression that returns the tangent of its argument.JpaExpression<Double>tanh(Expression<? extends Number> x)Create an expression that returns the hyperbolic tangent of its argument.JpaExpression<BigDecimal>toBigDecimal(Expression<? extends Number> number)JpaExpression<BigInteger>toBigInteger(Expression<? extends Number> number)JpaExpression<Double>toDouble(Expression<? extends Number> number)JpaExpression<Float>toFloat(Expression<? extends Number> number)JpaExpression<Integer>toInteger(Expression<? extends Number> number)JpaExpression<Long>toLong(Expression<? extends Number> number)JpaExpression<String>toString(Expression<Character> character)<X,T,E extends T>
JpaCollectionJoin<X,E>treat(CollectionJoin<X,T> join, Class<E> type)<X,T,V extends T>
JpaJoin<X,V>treat(Join<X,T> join, Class<V> type)<X,T,E extends T>
JpaListJoin<X,E>treat(ListJoin<X,T> join, Class<E> type)<X,K,T,V extends T>
JpaMapJoin<X,K,V>treat(MapJoin<X,K,T> join, Class<V> type)<X,T extends X>
JpaPath<T>treat(Path<X> path, Class<T> type)<X,T extends X>
JpaRoot<T>treat(Root<X> root, Class<T> type)<X,T,E extends T>
JpaSetJoin<X,E>treat(SetJoin<X,T> join, Class<E> type)JpaFunction<String>trim(char t, Expression<String> x)JpaFunction<String>trim(CriteriaBuilder.Trimspec ts, char t, Expression<String> x)JpaFunction<String>trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x)JpaFunction<String>trim(CriteriaBuilder.Trimspec ts, Expression<String> x)JpaFunction<String>trim(Expression<Character> t, Expression<String> x)JpaFunction<String>trim(Expression<String> x)<T extends Number>
JpaExpression<T>truncate(Expression<T> x, Integer n)Create an expression that returns the first argument truncated to the number of decimal places given by the second argument.<T extends TemporalAccessor>
JpaFunction<T>truncate(Expression<T> datetime, TemporalUnit temporalUnit)Truncates a date, time or datetime expression to the givenTemporalUnit.JpaCompoundSelection<Tuple>tuple(Selection<?>... selections)JpaCompoundSelection<Tuple>tuple(List<? extends JpaSelection<?>> selections)<T> JpaCriteriaQuery<T>union(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)<T> JpaSubQuery<T>union(boolean all, Subquery<? extends T> query1, Subquery<?>... queries)default <T> JpaCriteriaQuery<T>union(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)default <T> JpaSubQuery<T>union(Subquery<? extends T> query1, Subquery<?>... queries)default <T> JpaCriteriaQuery<T>unionAll(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)default <T> JpaSubQuery<T>unionAll(Subquery<? extends T> query1, Subquery<?>... queries)<T extends HibernateCriteriaBuilder>
Tunwrap(Class<T> clazz)JpaFunction<String>upper(Expression<String> x)<T> JpaExpression<T>value(T value)JpaValuesvalues(Expression<?>... expressions)JpaValuesvalues(List<? extends Expression<?>> expressions)<V,M extends Map<?,V>>
Expression<Collection<V>>values(M map)<T> JpaExpression<T>windowFunction(String name, Class<T> type, JpaWindow window, Expression<?>... args)Create a generic window function expression that will be applied over the specifiedwindow.JpaPredicatewrap(Expression<Boolean> expression)JpaPredicatewrap(Expression<Boolean>... expressions)JpaFunction<Integer>year(Expression<? extends TemporalAccessor> datetime)Extracts theTemporalUnit.YEARof a date, time, or datetime expression.
-
-
-
Method Detail
-
cast
<X,T> JpaExpression<X> cast(JpaExpression<T> expression, Class<X> castTargetJavaType)
-
wrap
JpaPredicate wrap(Expression<Boolean> expression)
-
wrap
JpaPredicate wrap(Expression<Boolean>... expressions)
-
unwrap
<T extends HibernateCriteriaBuilder> T unwrap(Class<T> clazz)
-
createQuery
JpaCriteriaQuery<Object> createQuery()
- Specified by:
createQueryin interfaceCriteriaBuilder
-
createQuery
<T> JpaCriteriaQuery<T> createQuery(Class<T> resultClass)
- Specified by:
createQueryin interfaceCriteriaBuilder
-
createTupleQuery
JpaCriteriaQuery<Tuple> createTupleQuery()
- Specified by:
createTupleQueryin interfaceCriteriaBuilder
-
createCriteriaUpdate
<T> JpaCriteriaUpdate<T> createCriteriaUpdate(Class<T> targetEntity)
- Specified by:
createCriteriaUpdatein interfaceCriteriaBuilder
-
createCriteriaDelete
<T> JpaCriteriaDelete<T> createCriteriaDelete(Class<T> targetEntity)
- Specified by:
createCriteriaDeletein interfaceCriteriaBuilder
-
createCriteriaInsertValues
<T> JpaCriteriaInsertValues<T> createCriteriaInsertValues(Class<T> targetEntity)
-
createCriteriaInsertSelect
<T> JpaCriteriaInsertSelect<T> createCriteriaInsertSelect(Class<T> targetEntity)
-
values
@Incubating JpaValues values(Expression<?>... expressions)
-
values
@Incubating JpaValues values(List<? extends Expression<?>> expressions)
-
createQuery
<T> JpaCriteriaQuery<T> createQuery(String hql, Class<T> resultClass)
Transform the given HQLselectquery to an equivalent criteria query.- Parameters:
hql- The HQLselectqueryresultClass- The result type of the query- Returns:
- The equivalent criteria query
- Since:
- 6.3
-
unionAll
default <T> JpaCriteriaQuery<T> unionAll(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)
-
union
default <T> JpaCriteriaQuery<T> union(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)
-
union
<T> JpaCriteriaQuery<T> union(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)
-
intersectAll
default <T> JpaCriteriaQuery<T> intersectAll(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)
-
intersect
default <T> JpaCriteriaQuery<T> intersect(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)
-
intersect
<T> JpaCriteriaQuery<T> intersect(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)
-
exceptAll
default <T> JpaCriteriaQuery<T> exceptAll(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)
-
except
default <T> JpaCriteriaQuery<T> except(CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)
-
except
<T> JpaCriteriaQuery<T> except(boolean all, CriteriaQuery<? extends T> query1, CriteriaQuery<?>... queries)
-
unionAll
default <T> JpaSubQuery<T> unionAll(Subquery<? extends T> query1, Subquery<?>... queries)
-
union
default <T> JpaSubQuery<T> union(Subquery<? extends T> query1, Subquery<?>... queries)
-
union
<T> JpaSubQuery<T> union(boolean all, Subquery<? extends T> query1, Subquery<?>... queries)
-
intersectAll
default <T> JpaSubQuery<T> intersectAll(Subquery<? extends T> query1, Subquery<?>... queries)
-
intersect
default <T> JpaSubQuery<T> intersect(Subquery<? extends T> query1, Subquery<?>... queries)
-
intersect
<T> JpaSubQuery<T> intersect(boolean all, Subquery<? extends T> query1, Subquery<?>... queries)
-
exceptAll
default <T> JpaSubQuery<T> exceptAll(Subquery<? extends T> query1, Subquery<?>... queries)
-
except
default <T> JpaSubQuery<T> except(Subquery<? extends T> query1, Subquery<?>... queries)
-
except
<T> JpaSubQuery<T> except(boolean all, Subquery<? extends T> query1, Subquery<?>... queries)
-
sign
JpaExpression<Integer> sign(Expression<? extends Number> x)
Create an expression that returns the sign of its argument, that is,1if its argument is positive,-1if its argument is negative, or0if its argument is exactly zero.- Specified by:
signin interfaceCriteriaBuilder- Parameters:
x- expression- Returns:
- sign
-
ceiling
<N extends Number> JpaExpression<N> ceiling(Expression<N> x)
Create an expression that returns the ceiling of its argument, that is, the smallest integer greater than or equal to its argument.- Specified by:
ceilingin interfaceCriteriaBuilder- Parameters:
x- expression- Returns:
- ceiling
-
floor
<N extends Number> JpaExpression<N> floor(Expression<N> x)
Create an expression that returns the floor of its argument, that is, the largest integer smaller than or equal to its argument.- Specified by:
floorin interfaceCriteriaBuilder- Parameters:
x- expression- Returns:
- floor
-
exp
JpaExpression<Double> exp(Expression<? extends Number> x)
Create an expression that returns the exponential of its argument, that is, Euler's number e raised to the power of its argument.- Specified by:
expin interfaceCriteriaBuilder- Parameters:
x- expression- Returns:
- exponential
-
ln
JpaExpression<Double> ln(Expression<? extends Number> x)
Create an expression that returns the natural logarithm of its argument.- Specified by:
lnin interfaceCriteriaBuilder- Parameters:
x- expression- Returns:
- natural logarithm
-
power
JpaExpression<Double> power(Expression<? extends Number> x, Expression<? extends Number> y)
Create an expression that returns the first argument raised to the power of its second argument.- Specified by:
powerin interfaceCriteriaBuilder- Parameters:
x- basey- exponent- Returns:
- the base raised to the power of the exponent
-
power
JpaExpression<Double> power(Expression<? extends Number> x, Number y)
Create an expression that returns the first argument raised to the power of its second argument.- Specified by:
powerin interfaceCriteriaBuilder- Parameters:
x- basey- exponent- Returns:
- the base raised to the power of the exponent
-
round
<T extends Number> JpaExpression<T> round(Expression<T> x, Integer n)
Create an expression that returns the first argument rounded to the number of decimal places given by the second argument.- Specified by:
roundin interfaceCriteriaBuilder- Parameters:
x- basen- number of decimal places- Returns:
- the rounded value
-
truncate
<T extends Number> JpaExpression<T> truncate(Expression<T> x, Integer n)
Create an expression that returns the first argument truncated to the number of decimal places given by the second argument.- Parameters:
x- basen- number of decimal places- Returns:
- the truncated value
-
localDate
JpaExpression<LocalDate> localDate()
Create expression to return current local date.- Specified by:
localDatein interfaceCriteriaBuilder- Returns:
- expression for current date
-
localDateTime
JpaExpression<LocalDateTime> localDateTime()
Create expression to return current local datetime.- Specified by:
localDateTimein interfaceCriteriaBuilder- Returns:
- expression for current timestamp
-
localTime
JpaExpression<LocalTime> localTime()
Create expression to return current local time.- Specified by:
localTimein interfaceCriteriaBuilder- Returns:
- expression for current time
-
fk
<P,F> JpaExpression<F> fk(Path<P> path)
-
treat
<X,T extends X> JpaPath<T> treat(Path<X> path, Class<T> type)
- Specified by:
treatin interfaceCriteriaBuilder
-
treat
<X,T extends X> JpaRoot<T> treat(Root<X> root, Class<T> type)
- Specified by:
treatin interfaceCriteriaBuilder
-
treat
<X,T,V extends T> JpaJoin<X,V> treat(Join<X,T> join, Class<V> type)
- Specified by:
treatin interfaceCriteriaBuilder
-
treat
<X,T,E extends T> JpaCollectionJoin<X,E> treat(CollectionJoin<X,T> join, Class<E> type)
- Specified by:
treatin interfaceCriteriaBuilder
-
treat
<X,T,E extends T> JpaSetJoin<X,E> treat(SetJoin<X,T> join, Class<E> type)
- Specified by:
treatin interfaceCriteriaBuilder
-
treat
<X,T,E extends T> JpaListJoin<X,E> treat(ListJoin<X,T> join, Class<E> type)
- Specified by:
treatin interfaceCriteriaBuilder
-
treat
<X,K,T,V extends T> JpaMapJoin<X,K,V> treat(MapJoin<X,K,T> join, Class<V> type)
- Specified by:
treatin interfaceCriteriaBuilder
-
construct
<Y> JpaCompoundSelection<Y> construct(Class<Y> resultClass, Selection<?>... selections)
- Specified by:
constructin interfaceCriteriaBuilder
-
construct
<Y> JpaCompoundSelection<Y> construct(Class<Y> resultClass, List<? extends JpaSelection<?>> arguments)
-
tuple
JpaCompoundSelection<Tuple> tuple(Selection<?>... selections)
- Specified by:
tuplein interfaceCriteriaBuilder
-
tuple
JpaCompoundSelection<Tuple> tuple(List<? extends JpaSelection<?>> selections)
-
array
JpaCompoundSelection<Object[]> array(Selection<?>... selections)
- Specified by:
arrayin interfaceCriteriaBuilder
-
array
JpaCompoundSelection<Object[]> array(List<? extends JpaSelection<?>> selections)
-
array
<Y> JpaCompoundSelection<Y> array(Class<Y> resultClass, Selection<?>... selections)
-
array
<Y> JpaCompoundSelection<Y> array(Class<Y> resultClass, List<? extends JpaSelection<?>> selections)
-
avg
<N extends Number> JpaExpression<Double> avg(Expression<N> argument)
- Specified by:
avgin interfaceCriteriaBuilder
-
sum
<N extends Number> JpaExpression<N> sum(Expression<N> argument)
- Specified by:
sumin interfaceCriteriaBuilder
-
sumAsLong
JpaExpression<Long> sumAsLong(Expression<Integer> argument)
- Specified by:
sumAsLongin interfaceCriteriaBuilder
-
sumAsDouble
JpaExpression<Double> sumAsDouble(Expression<Float> argument)
- Specified by:
sumAsDoublein interfaceCriteriaBuilder
-
max
<N extends Number> JpaExpression<N> max(Expression<N> argument)
- Specified by:
maxin interfaceCriteriaBuilder
-
min
<N extends Number> JpaExpression<N> min(Expression<N> argument)
- Specified by:
minin interfaceCriteriaBuilder
-
greatest
<X extends Comparable<? super X>> JpaExpression<X> greatest(Expression<X> argument)
- Specified by:
greatestin interfaceCriteriaBuilder
-
least
<X extends Comparable<? super X>> JpaExpression<X> least(Expression<X> argument)
- Specified by:
leastin interfaceCriteriaBuilder
-
count
JpaExpression<Long> count(Expression<?> argument)
- Specified by:
countin interfaceCriteriaBuilder
-
countDistinct
JpaExpression<Long> countDistinct(Expression<?> x)
- Specified by:
countDistinctin interfaceCriteriaBuilder
-
count
JpaExpression<Long> count()
Equivalent to HQLcount(*).
-
neg
<N extends Number> JpaExpression<N> neg(Expression<N> x)
- Specified by:
negin interfaceCriteriaBuilder
-
abs
<N extends Number> JpaExpression<N> abs(Expression<N> x)
- Specified by:
absin interfaceCriteriaBuilder
-
sum
<N extends Number> JpaExpression<N> sum(Expression<? extends N> x, Expression<? extends N> y)
- Specified by:
sumin interfaceCriteriaBuilder
-
sum
<N extends Number> JpaExpression<N> sum(Expression<? extends N> x, N y)
- Specified by:
sumin interfaceCriteriaBuilder
-
sum
<N extends Number> JpaExpression<N> sum(N x, Expression<? extends N> y)
- Specified by:
sumin interfaceCriteriaBuilder
-
prod
<N extends Number> JpaExpression<N> prod(Expression<? extends N> x, Expression<? extends N> y)
- Specified by:
prodin interfaceCriteriaBuilder
-
prod
<N extends Number> JpaExpression<N> prod(Expression<? extends N> x, N y)
- Specified by:
prodin interfaceCriteriaBuilder
-
prod
<N extends Number> JpaExpression<N> prod(N x, Expression<? extends N> y)
- Specified by:
prodin interfaceCriteriaBuilder
-
diff
<N extends Number> JpaExpression<N> diff(Expression<? extends N> x, Expression<? extends N> y)
- Specified by:
diffin interfaceCriteriaBuilder
-
diff
<N extends Number> JpaExpression<N> diff(Expression<? extends N> x, N y)
- Specified by:
diffin interfaceCriteriaBuilder
-
diff
<N extends Number> JpaExpression<N> diff(N x, Expression<? extends N> y)
- Specified by:
diffin interfaceCriteriaBuilder
-
quot
JpaExpression<Number> quot(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
quotin interfaceCriteriaBuilder
-
quot
JpaExpression<Number> quot(Expression<? extends Number> x, Number y)
- Specified by:
quotin interfaceCriteriaBuilder
-
quot
JpaExpression<Number> quot(Number x, Expression<? extends Number> y)
- Specified by:
quotin interfaceCriteriaBuilder
-
mod
JpaExpression<Integer> mod(Expression<Integer> x, Expression<Integer> y)
- Specified by:
modin interfaceCriteriaBuilder
-
mod
JpaExpression<Integer> mod(Expression<Integer> x, Integer y)
- Specified by:
modin interfaceCriteriaBuilder
-
mod
JpaExpression<Integer> mod(Integer x, Expression<Integer> y)
- Specified by:
modin interfaceCriteriaBuilder
-
sqrt
JpaExpression<Double> sqrt(Expression<? extends Number> x)
- Specified by:
sqrtin interfaceCriteriaBuilder
-
durationSum
JpaExpression<Duration> durationSum(Expression<Duration> x, Expression<Duration> y)
Add two durations.- Since:
- 6.3
-
durationSum
JpaExpression<Duration> durationSum(Expression<Duration> x, Duration y)
Add two durations.- Since:
- 6.3
-
durationDiff
JpaExpression<Duration> durationDiff(Expression<Duration> x, Expression<Duration> y)
Subtract one duration from another.- Since:
- 6.3
-
durationDiff
JpaExpression<Duration> durationDiff(Expression<Duration> x, Duration y)
Subtract one duration from another.- Since:
- 6.3
-
durationScaled
JpaExpression<Duration> durationScaled(Expression<? extends Number> number, Expression<Duration> duration)
Scale a duration by a number.- Since:
- 6.3
-
durationScaled
JpaExpression<Duration> durationScaled(Number number, Expression<Duration> duration)
Scale a duration by a number.- Since:
- 6.3
-
durationScaled
JpaExpression<Duration> durationScaled(Expression<? extends Number> number, Duration duration)
Scale a duration by a number.- Since:
- 6.3
-
duration
@Incubating JpaExpression<Duration> duration(long magnitude, TemporalUnit unit)
A literalDuration, for example, "five days" or "30 minutes".- Since:
- 6.3
-
durationByUnit
@Incubating JpaExpression<Long> durationByUnit(TemporalUnit unit, Expression<Duration> duration)
Convert aDurationto a numeric magnitude in the given units.- Parameters:
unit- a choice of temporal granularityduration- the duration in a "unit-free" form- Returns:
- the magnitude of the duration measured in the given units
- Since:
- 6.3
-
durationBetween
<T extends Temporal> JpaExpression<Duration> durationBetween(Expression<T> x, Expression<T> y)
Subtract two dates or two datetimes, returning the duration between the two dates or between two datetimes.- Since:
- 6.3
-
durationBetween
<T extends Temporal> JpaExpression<Duration> durationBetween(Expression<T> x, T y)
Subtract two dates or two datetimes, returning the duration between the two dates or between two datetimes.- Since:
- 6.3
-
addDuration
<T extends Temporal> JpaExpression<T> addDuration(Expression<T> datetime, Expression<Duration> duration)
Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.- Since:
- 6.3
-
addDuration
<T extends Temporal> JpaExpression<T> addDuration(Expression<T> datetime, Duration duration)
Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.- Since:
- 6.3
-
addDuration
<T extends Temporal> JpaExpression<T> addDuration(T datetime, Expression<Duration> duration)
Add a duration to a date or datetime, that is, return a later date or datetime which is separated from the given date or datetime by the given duration.- Since:
- 6.3
-
subtractDuration
<T extends Temporal> JpaExpression<T> subtractDuration(Expression<T> datetime, Expression<Duration> duration)
Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.- Since:
- 6.3
-
subtractDuration
<T extends Temporal> JpaExpression<T> subtractDuration(Expression<T> datetime, Duration duration)
Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.- Since:
- 6.3
-
subtractDuration
<T extends Temporal> JpaExpression<T> subtractDuration(T datetime, Expression<Duration> duration)
Subtract a duration to a date or datetime, that is, return an earlier date or datetime which is separated from the given date or datetime by the given duration.- Since:
- 6.3
-
toLong
JpaExpression<Long> toLong(Expression<? extends Number> number)
- Specified by:
toLongin interfaceCriteriaBuilder
-
toInteger
JpaExpression<Integer> toInteger(Expression<? extends Number> number)
- Specified by:
toIntegerin interfaceCriteriaBuilder
-
toFloat
JpaExpression<Float> toFloat(Expression<? extends Number> number)
- Specified by:
toFloatin interfaceCriteriaBuilder
-
toDouble
JpaExpression<Double> toDouble(Expression<? extends Number> number)
- Specified by:
toDoublein interfaceCriteriaBuilder
-
toBigDecimal
JpaExpression<BigDecimal> toBigDecimal(Expression<? extends Number> number)
- Specified by:
toBigDecimalin interfaceCriteriaBuilder
-
toBigInteger
JpaExpression<BigInteger> toBigInteger(Expression<? extends Number> number)
- Specified by:
toBigIntegerin interfaceCriteriaBuilder
-
toString
JpaExpression<String> toString(Expression<Character> character)
- Specified by:
toStringin interfaceCriteriaBuilder
-
literal
<T> JpaExpression<T> literal(T value)
- Specified by:
literalin interfaceCriteriaBuilder
-
literals
<T> List<? extends JpaExpression<T>> literals(T... values)
-
literals
<T> List<? extends JpaExpression<T>> literals(List<T> values)
-
nullLiteral
<T> JpaExpression<T> nullLiteral(Class<T> resultClass)
- Specified by:
nullLiteralin interfaceCriteriaBuilder
-
parameter
<T> JpaParameterExpression<T> parameter(Class<T> paramClass)
- Specified by:
parameterin interfaceCriteriaBuilder
-
parameter
<T> JpaParameterExpression<T> parameter(Class<T> paramClass, String name)
- Specified by:
parameterin interfaceCriteriaBuilder
-
concat
JpaExpression<String> concat(Expression<String> x, Expression<String> y)
- Specified by:
concatin interfaceCriteriaBuilder
-
concat
JpaExpression<String> concat(Expression<String> x, String y)
- Specified by:
concatin interfaceCriteriaBuilder
-
concat
JpaExpression<String> concat(String x, Expression<String> y)
- Specified by:
concatin interfaceCriteriaBuilder
-
concat
JpaExpression<String> concat(String x, String y)
-
substring
JpaFunction<String> substring(Expression<String> x, Expression<Integer> from)
- Specified by:
substringin interfaceCriteriaBuilder
-
substring
JpaFunction<String> substring(Expression<String> x, int from)
- Specified by:
substringin interfaceCriteriaBuilder
-
substring
JpaFunction<String> substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len)
- Specified by:
substringin interfaceCriteriaBuilder
-
substring
JpaFunction<String> substring(Expression<String> x, int from, int len)
- Specified by:
substringin interfaceCriteriaBuilder
-
trim
JpaFunction<String> trim(Expression<String> x)
- Specified by:
trimin interfaceCriteriaBuilder
-
trim
JpaFunction<String> trim(CriteriaBuilder.Trimspec ts, Expression<String> x)
- Specified by:
trimin interfaceCriteriaBuilder
-
trim
JpaFunction<String> trim(Expression<Character> t, Expression<String> x)
- Specified by:
trimin interfaceCriteriaBuilder
-
trim
JpaFunction<String> trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x)
- Specified by:
trimin interfaceCriteriaBuilder
-
trim
JpaFunction<String> trim(char t, Expression<String> x)
- Specified by:
trimin interfaceCriteriaBuilder
-
trim
JpaFunction<String> trim(CriteriaBuilder.Trimspec ts, char t, Expression<String> x)
- Specified by:
trimin interfaceCriteriaBuilder
-
lower
JpaFunction<String> lower(Expression<String> x)
- Specified by:
lowerin interfaceCriteriaBuilder
-
upper
JpaFunction<String> upper(Expression<String> x)
- Specified by:
upperin interfaceCriteriaBuilder
-
length
JpaFunction<Integer> length(Expression<String> x)
- Specified by:
lengthin interfaceCriteriaBuilder
-
locate
JpaFunction<Integer> locate(Expression<String> x, Expression<String> pattern)
- Specified by:
locatein interfaceCriteriaBuilder
-
locate
JpaFunction<Integer> locate(Expression<String> x, String pattern)
- Specified by:
locatein interfaceCriteriaBuilder
-
locate
JpaFunction<Integer> locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from)
- Specified by:
locatein interfaceCriteriaBuilder
-
locate
JpaFunction<Integer> locate(Expression<String> x, String pattern, int from)
- Specified by:
locatein interfaceCriteriaBuilder
-
currentDate
JpaFunction<Date> currentDate()
- Specified by:
currentDatein interfaceCriteriaBuilder
-
currentTime
JpaFunction<Time> currentTime()
- Specified by:
currentTimein interfaceCriteriaBuilder
-
currentTimestamp
JpaFunction<Timestamp> currentTimestamp()
- Specified by:
currentTimestampin interfaceCriteriaBuilder
-
currentInstant
JpaFunction<Instant> currentInstant()
-
function
<T> JpaFunction<T> function(String name, Class<T> type, Expression<?>... args)
- Specified by:
functionin interfaceCriteriaBuilder
-
all
<Y> JpaExpression<Y> all(Subquery<Y> subquery)
- Specified by:
allin interfaceCriteriaBuilder
-
some
<Y> JpaExpression<Y> some(Subquery<Y> subquery)
- Specified by:
somein interfaceCriteriaBuilder
-
any
<Y> JpaExpression<Y> any(Subquery<Y> subquery)
- Specified by:
anyin interfaceCriteriaBuilder
-
keys
<K,M extends Map<K,?>> JpaExpression<Set<K>> keys(M map)
- Specified by:
keysin interfaceCriteriaBuilder
-
indexes
<K,L extends List<?>> JpaExpression<Set<K>> indexes(L list)
-
value
<T> JpaExpression<T> value(T value)
-
values
<V,M extends Map<?,V>> Expression<Collection<V>> values(M map)
- Specified by:
valuesin interfaceCriteriaBuilder
-
size
<C extends Collection<?>> JpaExpression<Integer> size(Expression<C> collection)
- Specified by:
sizein interfaceCriteriaBuilder
-
size
<C extends Collection<?>> JpaExpression<Integer> size(C collection)
- Specified by:
sizein interfaceCriteriaBuilder
-
coalesce
<T> JpaCoalesce<T> coalesce()
- Specified by:
coalescein interfaceCriteriaBuilder
-
coalesce
<Y> JpaCoalesce<Y> coalesce(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
coalescein interfaceCriteriaBuilder
-
coalesce
<Y> JpaCoalesce<Y> coalesce(Expression<? extends Y> x, Y y)
- Specified by:
coalescein interfaceCriteriaBuilder
-
nullif
<Y> JpaExpression<Y> nullif(Expression<Y> x, Expression<?> y)
- Specified by:
nullifin interfaceCriteriaBuilder
-
nullif
<Y> JpaExpression<Y> nullif(Expression<Y> x, Y y)
- Specified by:
nullifin interfaceCriteriaBuilder
-
selectCase
<C,R> JpaSimpleCase<C,R> selectCase(Expression<? extends C> expression)
- Specified by:
selectCasein interfaceCriteriaBuilder
-
selectCase
<R> JpaSearchedCase<R> selectCase()
- Specified by:
selectCasein interfaceCriteriaBuilder
-
and
JpaPredicate and(Expression<Boolean> x, Expression<Boolean> y)
- Specified by:
andin interfaceCriteriaBuilder
-
and
JpaPredicate and(Predicate... restrictions)
- Specified by:
andin interfaceCriteriaBuilder
-
or
JpaPredicate or(Expression<Boolean> x, Expression<Boolean> y)
- Specified by:
orin interfaceCriteriaBuilder
-
or
JpaPredicate or(Predicate... restrictions)
- Specified by:
orin interfaceCriteriaBuilder
-
not
JpaPredicate not(Expression<Boolean> restriction)
- Specified by:
notin interfaceCriteriaBuilder
-
conjunction
JpaPredicate conjunction()
- Specified by:
conjunctionin interfaceCriteriaBuilder
-
disjunction
JpaPredicate disjunction()
- Specified by:
disjunctionin interfaceCriteriaBuilder
-
isTrue
JpaPredicate isTrue(Expression<Boolean> x)
- Specified by:
isTruein interfaceCriteriaBuilder
-
isFalse
JpaPredicate isFalse(Expression<Boolean> x)
- Specified by:
isFalsein interfaceCriteriaBuilder
-
isNull
JpaPredicate isNull(Expression<?> x)
- Specified by:
isNullin interfaceCriteriaBuilder
-
isNotNull
JpaPredicate isNotNull(Expression<?> x)
- Specified by:
isNotNullin interfaceCriteriaBuilder
-
equal
JpaPredicate equal(Expression<?> x, Expression<?> y)
- Specified by:
equalin interfaceCriteriaBuilder
-
equal
JpaPredicate equal(Expression<?> x, Object y)
- Specified by:
equalin interfaceCriteriaBuilder
-
notEqual
JpaPredicate notEqual(Expression<?> x, Expression<?> y)
- Specified by:
notEqualin interfaceCriteriaBuilder
-
notEqual
JpaPredicate notEqual(Expression<?> x, Object y)
- Specified by:
notEqualin interfaceCriteriaBuilder
-
distinctFrom
JpaPredicate distinctFrom(Expression<?> x, Expression<?> y)
-
distinctFrom
JpaPredicate distinctFrom(Expression<?> x, Object y)
-
notDistinctFrom
JpaPredicate notDistinctFrom(Expression<?> x, Expression<?> y)
-
notDistinctFrom
JpaPredicate notDistinctFrom(Expression<?> x, Object y)
-
greaterThan
<Y extends Comparable<? super Y>> JpaPredicate greaterThan(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
greaterThanin interfaceCriteriaBuilder
-
greaterThan
<Y extends Comparable<? super Y>> JpaPredicate greaterThan(Expression<? extends Y> x, Y y)
- Specified by:
greaterThanin interfaceCriteriaBuilder
-
greaterThanOrEqualTo
<Y extends Comparable<? super Y>> JpaPredicate greaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
greaterThanOrEqualToin interfaceCriteriaBuilder
-
greaterThanOrEqualTo
<Y extends Comparable<? super Y>> JpaPredicate greaterThanOrEqualTo(Expression<? extends Y> x, Y y)
- Specified by:
greaterThanOrEqualToin interfaceCriteriaBuilder
-
lessThan
<Y extends Comparable<? super Y>> JpaPredicate lessThan(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
lessThanin interfaceCriteriaBuilder
-
lessThan
<Y extends Comparable<? super Y>> JpaPredicate lessThan(Expression<? extends Y> x, Y y)
- Specified by:
lessThanin interfaceCriteriaBuilder
-
lessThanOrEqualTo
<Y extends Comparable<? super Y>> JpaPredicate lessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
lessThanOrEqualToin interfaceCriteriaBuilder
-
lessThanOrEqualTo
<Y extends Comparable<? super Y>> JpaPredicate lessThanOrEqualTo(Expression<? extends Y> x, Y y)
- Specified by:
lessThanOrEqualToin interfaceCriteriaBuilder
-
between
<Y extends Comparable<? super Y>> JpaPredicate between(Expression<? extends Y> value, Expression<? extends Y> lower, Expression<? extends Y> upper)
- Specified by:
betweenin interfaceCriteriaBuilder
-
between
<Y extends Comparable<? super Y>> JpaPredicate between(Expression<? extends Y> value, Y lower, Y upper)
- Specified by:
betweenin interfaceCriteriaBuilder
-
gt
JpaPredicate gt(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
gtin interfaceCriteriaBuilder
-
gt
JpaPredicate gt(Expression<? extends Number> x, Number y)
- Specified by:
gtin interfaceCriteriaBuilder
-
ge
JpaPredicate ge(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
gein interfaceCriteriaBuilder
-
ge
JpaPredicate ge(Expression<? extends Number> x, Number y)
- Specified by:
gein interfaceCriteriaBuilder
-
lt
JpaPredicate lt(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
ltin interfaceCriteriaBuilder
-
lt
JpaPredicate lt(Expression<? extends Number> x, Number y)
- Specified by:
ltin interfaceCriteriaBuilder
-
le
JpaPredicate le(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
lein interfaceCriteriaBuilder
-
le
JpaPredicate le(Expression<? extends Number> x, Number y)
- Specified by:
lein interfaceCriteriaBuilder
-
isEmpty
<C extends Collection<?>> JpaPredicate isEmpty(Expression<C> collection)
- Specified by:
isEmptyin interfaceCriteriaBuilder
-
isNotEmpty
<C extends Collection<?>> JpaPredicate isNotEmpty(Expression<C> collection)
- Specified by:
isNotEmptyin interfaceCriteriaBuilder
-
isMember
<E,C extends Collection<E>> JpaPredicate isMember(Expression<E> elem, Expression<C> collection)
- Specified by:
isMemberin interfaceCriteriaBuilder
-
isMember
<E,C extends Collection<E>> JpaPredicate isMember(E elem, Expression<C> collection)
- Specified by:
isMemberin interfaceCriteriaBuilder
-
isNotMember
<E,C extends Collection<E>> JpaPredicate isNotMember(Expression<E> elem, Expression<C> collection)
- Specified by:
isNotMemberin interfaceCriteriaBuilder
-
isNotMember
<E,C extends Collection<E>> JpaPredicate isNotMember(E elem, Expression<C> collection)
- Specified by:
isNotMemberin interfaceCriteriaBuilder
-
like
JpaPredicate like(Expression<String> x, Expression<String> pattern)
- Specified by:
likein interfaceCriteriaBuilder
-
like
JpaPredicate like(Expression<String> x, String pattern)
- Specified by:
likein interfaceCriteriaBuilder
-
like
JpaPredicate like(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)
- Specified by:
likein interfaceCriteriaBuilder
-
like
JpaPredicate like(Expression<String> x, Expression<String> pattern, char escapeChar)
- Specified by:
likein interfaceCriteriaBuilder
-
like
JpaPredicate like(Expression<String> x, String pattern, Expression<Character> escapeChar)
- Specified by:
likein interfaceCriteriaBuilder
-
like
JpaPredicate like(Expression<String> x, String pattern, char escapeChar)
- Specified by:
likein interfaceCriteriaBuilder
-
ilike
JpaPredicate ilike(Expression<String> x, Expression<String> pattern)
-
ilike
JpaPredicate ilike(Expression<String> x, String pattern)
-
ilike
JpaPredicate ilike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)
-
ilike
JpaPredicate ilike(Expression<String> x, Expression<String> pattern, char escapeChar)
-
ilike
JpaPredicate ilike(Expression<String> x, String pattern, Expression<Character> escapeChar)
-
ilike
JpaPredicate ilike(Expression<String> x, String pattern, char escapeChar)
-
notLike
JpaPredicate notLike(Expression<String> x, Expression<String> pattern)
- Specified by:
notLikein interfaceCriteriaBuilder
-
notLike
JpaPredicate notLike(Expression<String> x, String pattern)
- Specified by:
notLikein interfaceCriteriaBuilder
-
notLike
JpaPredicate notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)
- Specified by:
notLikein interfaceCriteriaBuilder
-
notLike
JpaPredicate notLike(Expression<String> x, Expression<String> pattern, char escapeChar)
- Specified by:
notLikein interfaceCriteriaBuilder
-
notLike
JpaPredicate notLike(Expression<String> x, String pattern, Expression<Character> escapeChar)
- Specified by:
notLikein interfaceCriteriaBuilder
-
notLike
JpaPredicate notLike(Expression<String> x, String pattern, char escapeChar)
- Specified by:
notLikein interfaceCriteriaBuilder
-
notIlike
JpaPredicate notIlike(Expression<String> x, Expression<String> pattern)
-
notIlike
JpaPredicate notIlike(Expression<String> x, String pattern)
-
notIlike
JpaPredicate notIlike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)
-
notIlike
JpaPredicate notIlike(Expression<String> x, Expression<String> pattern, char escapeChar)
-
notIlike
JpaPredicate notIlike(Expression<String> x, String pattern, Expression<Character> escapeChar)
-
notIlike
JpaPredicate notIlike(Expression<String> x, String pattern, char escapeChar)
-
in
<T> JpaInPredicate<T> in(Expression<? extends T> expression)
- Specified by:
inin interfaceCriteriaBuilder
-
in
<T> JpaInPredicate<T> in(Expression<? extends T> expression, Expression<? extends T>... values)
-
in
<T> JpaInPredicate<T> in(Expression<? extends T> expression, T... values)
-
in
<T> JpaInPredicate<T> in(Expression<? extends T> expression, Collection<T> values)
-
exists
JpaPredicate exists(Subquery<?> subquery)
- Specified by:
existsin interfaceCriteriaBuilder
-
isMapEmpty
<M extends Map<?,?>> JpaPredicate isMapEmpty(JpaExpression<M> mapExpression)
Create a predicate that tests whether a Map is empty.- Parameters:
mapExpression- The expression resolving to a Map which we want to check for emptiness- Returns:
- is-empty predicate
- API Note:
- Due to type-erasure we cannot name this the same as
CriteriaBuilder.isEmpty(jakarta.persistence.criteria.Expression<C>).
-
isMapNotEmpty
<M extends Map<?,?>> JpaPredicate isMapNotEmpty(JpaExpression<M> mapExpression)
Create a predicate that tests whether a Map is not empty.- Parameters:
mapExpression- The expression resolving to a Map which we want to check for non-emptiness- Returns:
- is-not-empty predicate
- API Note:
- Due to type-erasure we cannot name this the same as
CriteriaBuilder.isNotEmpty(jakarta.persistence.criteria.Expression<C>)
-
mapSize
<M extends Map<?,?>> JpaExpression<Integer> mapSize(JpaExpression<M> mapExpression)
Create an expression that tests the size of a map.- Parameters:
mapExpression- The expression resolving to a Map for which we want to know the size- Returns:
- size expression
- API Note:
- Due to type-erasure we cannot name this the same as
CriteriaBuilder.size(jakarta.persistence.criteria.Expression<C>)
-
mapSize
<M extends Map<?,?>> JpaExpression<Integer> mapSize(M map)
Create an expression that tests the size of a map.- Parameters:
map- The Map for which we want to know the size- Returns:
- size expression
-
sort
JpaOrder sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase)
-
sort
JpaOrder sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
-
sort
JpaOrder sort(JpaExpression<?> sortExpression, SortDirection sortOrder)
-
sort
JpaOrder sort(JpaExpression<?> sortExpression)
-
asc
JpaOrder asc(Expression<?> x)
- Specified by:
ascin interfaceCriteriaBuilder
-
desc
JpaOrder desc(Expression<?> x)
- Specified by:
descin interfaceCriteriaBuilder
-
asc
JpaOrder asc(Expression<?> x, boolean nullsFirst)
Create an ordering by the ascending value of the expression.- Parameters:
x- expression used to define the orderingnullsFirst- Whethernullshould be sorted first- Returns:
- ascending ordering corresponding to the expression
-
desc
JpaOrder desc(Expression<?> x, boolean nullsFirst)
Create an ordering by the descending value of the expression.- Parameters:
x- expression used to define the orderingnullsFirst- Whethernullshould be sorted first- Returns:
- descending ordering corresponding to the expression
-
search
@Incubating JpaSearchOrder search(JpaCteCriteriaAttribute cteAttribute, SortDirection sortOrder, NullPrecedence nullPrecedence)
Create a search ordering based on the sort order and null precedence of the value of the CTE attribute.- Parameters:
cteAttribute- CTE attribute used to define the orderingsortOrder- The sort ordernullPrecedence- The null precedence- Returns:
- ordering corresponding to the CTE attribute
-
search
@Incubating JpaSearchOrder search(JpaCteCriteriaAttribute cteAttribute, SortDirection sortOrder)
Create a search ordering based on the sort order of the value of the CTE attribute.- Parameters:
cteAttribute- CTE attribute used to define the orderingsortOrder- The sort order- Returns:
- ordering corresponding to the CTE attribute
-
search
@Incubating JpaSearchOrder search(JpaCteCriteriaAttribute cteAttribute)
Create a search ordering based on the ascending value of the CTE attribute.- Parameters:
cteAttribute- CTE attribute used to define the ordering- Returns:
- ascending ordering corresponding to the CTE attribute
-
asc
@Incubating JpaSearchOrder asc(JpaCteCriteriaAttribute x)
Create a search ordering by the ascending value of the CTE attribute.- Parameters:
x- CTE attribute used to define the ordering- Returns:
- ascending ordering corresponding to the CTE attribute
-
desc
@Incubating JpaSearchOrder desc(JpaCteCriteriaAttribute x)
Create a search ordering by the descending value of the CTE attribute.- Parameters:
x- CTE attribute used to define the ordering- Returns:
- descending ordering corresponding to the CTE attribute
-
asc
@Incubating JpaSearchOrder asc(JpaCteCriteriaAttribute x, boolean nullsFirst)
Create a search ordering by the ascending value of the CTE attribute.- Parameters:
x- CTE attribute used to define the orderingnullsFirst- Whethernullshould be sorted first- Returns:
- ascending ordering corresponding to the CTE attribute
-
desc
@Incubating JpaSearchOrder desc(JpaCteCriteriaAttribute x, boolean nullsFirst)
Create a search ordering by the descending value of the CTE attribute.- Parameters:
x- CTE attribute used to define the orderingnullsFirst- Whethernullshould be sorted first- Returns:
- descending ordering corresponding to the CTE attribute
-
sql
@Incubating <T> JpaExpression<T> sql(String pattern, Class<T> type, Expression<?>... arguments)
Embed nativepatternthat will be unquoted and embedded in the generated SQL. Occurrences of?in the pattern are replaced with the remainingargumentsof the function.- Type Parameters:
T- type of this expression- Parameters:
pattern- native SQL patterntype- type of this expressionarguments- optional arguments to the SQL pattern- Returns:
- native SQL expression
-
format
@Incubating JpaFunction<String> format(Expression<? extends TemporalAccessor> datetime, String pattern)
Format a date, time, or datetime according to a pattern. The pattern must be written in a subset of the pattern language defined by Java’sDateTimeFormatter.See
Dialect.appendDatetimeFormat(org.hibernate.sql.ast.spi.SqlAppender, java.lang.String)for a full list of pattern elements.- Parameters:
datetime- the datetime expression to formatpattern- the pattern to use for formatting- Returns:
- format expression
-
year
@Incubating JpaFunction<Integer> year(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.YEARof a date, time, or datetime expression.- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
month
@Incubating JpaFunction<Integer> month(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.MONTHof a date, time, or datetime expression.- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
day
@Incubating JpaFunction<Integer> day(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.DAYof a date, time, or datetime expression.- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
hour
@Incubating JpaFunction<Integer> hour(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.HOURof a date, time, or datetime expression.- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
minute
@Incubating JpaFunction<Integer> minute(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.MINUTEof a date, time, or datetime expression.- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
second
@Incubating JpaFunction<Float> second(Expression<? extends TemporalAccessor> datetime)
Extracts theTemporalUnit.SECONDof a date, time, or datetime expression.- Parameters:
datetime- the date, time, or datetime to extract the value from- Returns:
- the extracted value
-
truncate
@Incubating <T extends TemporalAccessor> JpaFunction<T> truncate(Expression<T> datetime, TemporalUnit temporalUnit)
Truncates a date, time or datetime expression to the givenTemporalUnit. Supported units are:YEAR,MONTH,DAY,HOUR,MINUTE,SECOND.Truncating translates to obtaining a value of the same type in which all temporal units smaller than
fieldhave been pruned. For hours, minutes and second this means setting them to00. For months and days, this means setting them to01.- Parameters:
datetime- the date, time or datetime expression to be truncatedtemporalUnit- the temporal unit for truncation- Returns:
- the truncated value
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, String replacement, int start)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, Expression<String> replacement, int start)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, String replacement, Expression<Integer> start)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, String replacement, int start, int length)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, Expression<String> replacement, int start, int length)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, String replacement, Expression<Integer> start, int length)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, int length)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, String replacement, int start, Expression<Integer> length)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, Expression<String> replacement, int start, Expression<Integer> length)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, String replacement, Expression<Integer> start, Expression<Integer> length)
-
overlay
@Incubating JpaFunction<String> overlay(Expression<String> string, Expression<String> replacement, Expression<Integer> start, Expression<Integer> length)
Overlay thestringexpression with thereplacementexpression, starting from indexstartand substituting a number of characters corresponding to the length of thereplacementexpression or thelengthparameter if specified.- Parameters:
string- string expression to be manipulatedreplacement- string expression to replace in originalstart- start positionlength- optional, number of characters to substitute- Returns:
- overlay expression
-
pad
@Incubating JpaFunction<String> pad(Expression<String> x, int length)
-
pad
@Incubating JpaFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length)
-
pad
@Incubating JpaFunction<String> pad(Expression<String> x, Expression<Integer> length)
-
pad
@Incubating JpaFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length)
-
pad
@Incubating JpaFunction<String> pad(Expression<String> x, int length, char padChar)
-
pad
@Incubating JpaFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, char padChar)
-
pad
@Incubating JpaFunction<String> pad(Expression<String> x, Expression<Integer> length, char padChar)
-
pad
@Incubating JpaFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, char padChar)
-
pad
@Incubating JpaFunction<String> pad(Expression<String> x, int length, Expression<Character> padChar)
-
pad
@Incubating JpaFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, int length, Expression<Character> padChar)
-
pad
@Incubating JpaFunction<String> pad(Expression<String> x, Expression<Integer> length, Expression<Character> padChar)
-
pad
@Incubating JpaFunction<String> pad(CriteriaBuilder.Trimspec ts, Expression<String> x, Expression<Integer> length, Expression<Character> padChar)
Pad the specified string expression with whitespace or with thepadCharcharacter if specified. Optionally pass aCriteriaBuilder.Trimspecto pad the string expression withLEADINGorTRAILING(default) characters.- Parameters:
ts- optionalCriteriaBuilder.Trimspecx- string expression to padlength- length of the result string after paddingpadChar- optional pad character- Returns:
- pad expression
-
repeat
JpaFunction<String> repeat(Expression<String> x, Expression<Integer> times)
Concatenate the given string expression with itself the given number of times.- Parameters:
x- the string expression to concatenatetimes- the number of times it should be repeated- Returns:
- repeat expression
-
repeat
JpaFunction<String> repeat(Expression<String> x, int times)
Concatenate the given string expression with itself the given number of times.- Parameters:
x- the string expression to concatenatetimes- the number of times it should be repeated- Returns:
- repeat expression
-
repeat
JpaFunction<String> repeat(String x, Expression<Integer> times)
Concatenate the given string expression with itself the given number of times.- Parameters:
x- the string expression to concatenatetimes- the number of times it should be repeated- Returns:
- repeat expression
-
left
@Incubating JpaFunction<String> left(Expression<String> x, int length)
- See Also:
left(Expression, Expression)
-
left
@Incubating JpaFunction<String> left(Expression<String> x, Expression<Integer> length)
Extract thelengthleftmost characters of a string.- Parameters:
x- original stringlength- number of characters- Returns:
- left expression
-
right
@Incubating JpaFunction<String> right(Expression<String> x, int length)
- See Also:
right(Expression, Expression)
-
right
@Incubating JpaFunction<String> right(Expression<String> x, Expression<Integer> length)
Extract thelengthrightmost characters of a string.- Parameters:
x- original stringlength- number of characters- Returns:
- left expression
-
replace
@Incubating JpaFunction<String> replace(Expression<String> x, String pattern, String replacement)
-
replace
@Incubating JpaFunction<String> replace(Expression<String> x, String pattern, Expression<String> replacement)
-
replace
@Incubating JpaFunction<String> replace(Expression<String> x, Expression<String> pattern, String replacement)
-
replace
@Incubating JpaFunction<String> replace(Expression<String> x, Expression<String> pattern, Expression<String> replacement)
Replace all occurrences ofpatternwithin the original string withreplacement.- Parameters:
x- original stringpattern- the string to be replacedreplacement- the new replacement string- Returns:
- replace expression
-
collate
@Incubating JpaFunction<String> collate(Expression<String> x, String collation)
-
log10
@Incubating JpaExpression<Double> log10(Expression<? extends Number> x)
Create an expression that returns the base-10 logarithm of its argument.- Parameters:
x- expression- Returns:
- base-10 logarithm
-
log
@Incubating JpaExpression<Double> log(Number b, Expression<? extends Number> x)
- See Also:
log(Expression, Expression)
-
log
@Incubating JpaExpression<Double> log(Expression<? extends Number> b, Expression<? extends Number> x)
Create an expression that returns the logarithm ofxto the baseb.- Parameters:
b- basex- expression- Returns:
- arbitrary-base logarithm
-
pi
@Incubating JpaExpression<Double> pi()
Literal expression corresponding to the value of pi.- Returns:
- pi expression
-
sin
@Incubating JpaExpression<Double> sin(Expression<? extends Number> x)
Create an expression that returns the sine of its argument.- Parameters:
x- expression- Returns:
- sine
-
cos
@Incubating JpaExpression<Double> cos(Expression<? extends Number> x)
Create an expression that returns the cosine of its argument.- Parameters:
x- expression- Returns:
- cosine
-
tan
@Incubating JpaExpression<Double> tan(Expression<? extends Number> x)
Create an expression that returns the tangent of its argument.- Parameters:
x- expression- Returns:
- tangent
-
asin
@Incubating JpaExpression<Double> asin(Expression<? extends Number> x)
Create an expression that returns the inverse sine of its argument.- Parameters:
x- expression- Returns:
- inverse sine
-
acos
@Incubating JpaExpression<Double> acos(Expression<? extends Number> x)
Create an expression that returns the inverse cosine of its argument.- Parameters:
x- expression- Returns:
- inverse cosine
-
atan
@Incubating JpaExpression<Double> atan(Expression<? extends Number> x)
Create an expression that returns the inverse tangent of its argument.- Parameters:
x- expression- Returns:
- inverse tangent
-
atan2
@Incubating JpaExpression<Double> atan2(Number y, Expression<? extends Number> x)
- See Also:
atan2(Expression, Expression)
-
atan2
@Incubating JpaExpression<Double> atan2(Expression<? extends Number> y, Number x)
- See Also:
atan2(Expression, Expression)
-
atan2
@Incubating JpaExpression<Double> atan2(Expression<? extends Number> y, Expression<? extends Number> x)
Create an expression that returns the inverse tangent ofyoverx.- Parameters:
y- y coordinatex- x coordinate- Returns:
- 2-argument inverse tangent
-
sinh
@Incubating JpaExpression<Double> sinh(Expression<? extends Number> x)
Create an expression that returns the hyperbolic sine of its argument.- Parameters:
x- expression- Returns:
- hyperbolic sine
-
cosh
@Incubating JpaExpression<Double> cosh(Expression<? extends Number> x)
Create an expression that returns the hyperbolic cosine of its argument.- Parameters:
x- expression- Returns:
- hyperbolic cosine
-
tanh
@Incubating JpaExpression<Double> tanh(Expression<? extends Number> x)
Create an expression that returns the hyperbolic tangent of its argument.- Parameters:
x- expression- Returns:
- hyperbolic tangent
-
degrees
@Incubating JpaExpression<Double> degrees(Expression<? extends Number> x)
Create an expression that converts an angle measured in radians to an approximately equivalent angle measured in degrees.- Parameters:
x- expression- Returns:
- degrees
-
radians
@Incubating JpaExpression<Double> radians(Expression<? extends Number> x)
Create an expression that converts an angle measured in degrees to an approximately equivalent angle measured in radians.- Parameters:
x- expression- Returns:
- radians
-
createWindow
@Incubating JpaWindow createWindow()
Create an emptyJpaWindowto use with window and aggregate functions.- Returns:
- the empty window
-
frameUnboundedPreceding
@Incubating JpaWindowFrame frameUnboundedPreceding()
Create a window frame of typeFrameKind.UNBOUNDED_PRECEDINGto use withJpaWindows.- Returns:
- the window frame
-
frameBetweenPreceding
@Incubating JpaWindowFrame frameBetweenPreceding(int offset)
- See Also:
frameBetweenPreceding(Expression)
-
frameBetweenPreceding
@Incubating JpaWindowFrame frameBetweenPreceding(Expression<?> offset)
Create window frame of typeFrameKind.OFFSET_PRECEDINGto use withJpaWindows.- Parameters:
offset- theoffsetexpression- Returns:
- the window frame
-
frameCurrentRow
@Incubating JpaWindowFrame frameCurrentRow()
Create a window frame of typeFrameKind.CURRENT_ROWto use withJpaWindows.- Returns:
- the window frame
-
frameBetweenFollowing
@Incubating JpaWindowFrame frameBetweenFollowing(int offset)
- See Also:
frameBetweenFollowing(Expression)
-
frameBetweenFollowing
@Incubating JpaWindowFrame frameBetweenFollowing(Expression<?> offset)
Create a window frame of typeFrameKind.OFFSET_FOLLOWINGto use withJpaWindows.- Parameters:
offset- theoffsetexpression- Returns:
- the window frame
-
frameUnboundedFollowing
@Incubating JpaWindowFrame frameUnboundedFollowing()
Create a window frame of typeFrameKind.UNBOUNDED_FOLLOWINGto use withJpaWindows.- Returns:
- the window frame
-
windowFunction
@Incubating <T> JpaExpression<T> windowFunction(String name, Class<T> type, JpaWindow window, Expression<?>... args)
Create a generic window function expression that will be applied over the specifiedwindow.- Type Parameters:
T- type of this expression- Parameters:
name- name of the window functiontype- type of this expressionwindow- window over which the function will be appliedargs- arguments to the function- Returns:
- window function expression
-
rowNumber
@Incubating JpaExpression<Long> rowNumber(JpaWindow window)
Create arow_numberwindow function expression.- Parameters:
window- window over which the function will be applied- Returns:
- window function expression
- See Also:
windowFunction(java.lang.String, java.lang.Class<T>, org.hibernate.query.criteria.JpaWindow, jakarta.persistence.criteria.Expression<?>...)
-
firstValue
@Incubating <T> JpaExpression<T> firstValue(Expression<T> argument, JpaWindow window)
Create afirst_valuewindow function expression.- Type Parameters:
T- type of the expression- Parameters:
argument- argument expression to pass tofirst_valuewindow- window over which the function will be applied- Returns:
- window function expression
- See Also:
windowFunction(java.lang.String, java.lang.Class<T>, org.hibernate.query.criteria.JpaWindow, jakarta.persistence.criteria.Expression<?>...)
-
lastValue
@Incubating <T> JpaExpression<T> lastValue(Expression<T> argument, JpaWindow window)
Create alast_valuewindow function expression.- Type Parameters:
T- type of the expression- Parameters:
argument- argument expression to pass tolast_valuewindow- window over which the function will be applied- Returns:
- window function expression
- See Also:
windowFunction(java.lang.String, java.lang.Class<T>, org.hibernate.query.criteria.JpaWindow, jakarta.persistence.criteria.Expression<?>...)
-
nthValue
@Incubating <T> JpaExpression<T> nthValue(Expression<T> argument, int n, JpaWindow window)
- See Also:
nthValue
-
nthValue
@Incubating <T> JpaExpression<T> nthValue(Expression<T> argument, Expression<Integer> n, JpaWindow window)
Create anth_valuewindow function expression.- Type Parameters:
T- type of the expression- Parameters:
argument- argument expression to pass tonth_valuen- theNargument for the functionwindow- window over which the function will be applied- Returns:
- window function expression
- See Also:
windowFunction(java.lang.String, java.lang.Class<T>, org.hibernate.query.criteria.JpaWindow, jakarta.persistence.criteria.Expression<?>...)
-
rank
@Incubating JpaExpression<Long> rank(JpaWindow window)
Create arankwindow function expression.- Parameters:
window- window over which the function will be applied- Returns:
- window function expression
- See Also:
windowFunction(java.lang.String, java.lang.Class<T>, org.hibernate.query.criteria.JpaWindow, jakarta.persistence.criteria.Expression<?>...)
-
denseRank
@Incubating JpaExpression<Long> denseRank(JpaWindow window)
Create adense_rankwindow function expression.- Parameters:
window- window over which the function will be applied- Returns:
- window function expression
- See Also:
windowFunction(java.lang.String, java.lang.Class<T>, org.hibernate.query.criteria.JpaWindow, jakarta.persistence.criteria.Expression<?>...)
-
percentRank
@Incubating JpaExpression<Double> percentRank(JpaWindow window)
Create apercent_rankwindow function expression.- Parameters:
window- window over which the function will be applied- Returns:
- window function expression
- See Also:
windowFunction(java.lang.String, java.lang.Class<T>, org.hibernate.query.criteria.JpaWindow, jakarta.persistence.criteria.Expression<?>...)
-
cumeDist
@Incubating JpaExpression<Double> cumeDist(JpaWindow window)
Create acume_distwindow function expression.- Parameters:
window- window over which the function will be applied- Returns:
- window function expression
- See Also:
windowFunction(java.lang.String, java.lang.Class<T>, org.hibernate.query.criteria.JpaWindow, jakarta.persistence.criteria.Expression<?>...)
-
functionAggregate
@Incubating <T> JpaExpression<T> functionAggregate(String name, Class<T> type, JpaPredicate filter, Expression<?>... args)
-
functionAggregate
@Incubating <T> JpaExpression<T> functionAggregate(String name, Class<T> type, JpaWindow window, Expression<?>... args)
-
functionAggregate
@Incubating <T> JpaExpression<T> functionAggregate(String name, Class<T> type, JpaPredicate filter, JpaWindow window, Expression<?>... args)
Create a generic aggregate function expression.- Type Parameters:
T- type of this expression- Parameters:
name- name of the ordered set-aggregate functiontype- type of this expressionfilter- optional filter clausewindow- optional window over which to apply the functionargs- optional arguments to the function- Returns:
- aggregate function expression
-
sum
@Incubating <N extends Number> JpaExpression<Number> sum(Expression<N> argument, JpaPredicate filter)
- See Also:
sum(Expression, JpaPredicate, JpaWindow)
-
sum
@Incubating <N extends Number> JpaExpression<Number> sum(Expression<N> argument, JpaWindow window)
- See Also:
sum(Expression, JpaPredicate, JpaWindow)
-
sum
@Incubating <N extends Number> JpaExpression<Number> sum(Expression<N> argument, JpaPredicate filter, JpaWindow window)
Create asumaggregate function expression.- Type Parameters:
N- type of the input expression- Parameters:
argument- argument to the functionfilter- optional filter clausewindow- optional window over which to apply the function- Returns:
- aggregate function expression
- See Also:
functionAggregate(String, Class, JpaPredicate, JpaWindow, Expression...)
-
avg
@Incubating <N extends Number> JpaExpression<Double> avg(Expression<N> argument, JpaPredicate filter)
- See Also:
avg(Expression, JpaPredicate, JpaWindow)
-
avg
@Incubating <N extends Number> JpaExpression<Double> avg(Expression<N> argument, JpaWindow window)
- See Also:
avg(Expression, JpaPredicate, JpaWindow)
-
avg
@Incubating <N extends Number> JpaExpression<Double> avg(Expression<N> argument, JpaPredicate filter, JpaWindow window)
Create anavgaggregate function expression.- Type Parameters:
N- type of the input expression- Parameters:
argument- argument to the functionfilter- optional filter clausewindow- optional window over which to apply the function- Returns:
- aggregate function expression
- See Also:
functionAggregate(String, Class, JpaPredicate, JpaWindow, Expression...)
-
count
@Incubating JpaExpression<Long> count(Expression<?> argument, JpaPredicate filter)
-
count
@Incubating JpaExpression<Long> count(Expression<?> argument, JpaWindow window)
-
count
@Incubating JpaExpression<Long> count(Expression<?> argument, JpaPredicate filter, JpaWindow window)
Create acountaggregate function expression.- Parameters:
argument- argument to the functionfilter- optional filter clausewindow- optional window over which to apply the function- Returns:
- aggregate function expression
- See Also:
functionAggregate(String, Class, JpaPredicate, JpaWindow, Expression...)
-
functionWithinGroup
@Incubating <T> JpaExpression<T> functionWithinGroup(String name, Class<T> type, JpaOrder order, Expression<?>... args)
-
functionWithinGroup
@Incubating <T> JpaExpression<T> functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaPredicate filter, Expression<?>... args)
-
functionWithinGroup
@Incubating <T> JpaExpression<T> functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaWindow window, Expression<?>... args)
-
functionWithinGroup
@Incubating <T> JpaExpression<T> functionWithinGroup(String name, Class<T> type, JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... args)
Create a generic ordered set-aggregate function expression.- Type Parameters:
T- type of this expression- Parameters:
name- name of the ordered set-aggregate functiontype- type of this expressionorder- order by clause used in within groupfilter- optional filter clausewindow- optional window over which to apply the functionargs- optional arguments to the function- Returns:
- ordered set-aggregate function expression
-
listagg
@Incubating JpaExpression<String> listagg(JpaOrder order, Expression<String> argument, String separator)
-
listagg
@Incubating JpaExpression<String> listagg(JpaOrder order, Expression<String> argument, Expression<String> separator)
-
listagg
@Incubating JpaExpression<String> listagg(JpaOrder order, JpaPredicate filter, Expression<String> argument, String separator)
-
listagg
@Incubating JpaExpression<String> listagg(JpaOrder order, JpaPredicate filter, Expression<String> argument, Expression<String> separator)
-
listagg
@Incubating JpaExpression<String> listagg(JpaOrder order, JpaWindow window, Expression<String> argument, String separator)
-
listagg
@Incubating JpaExpression<String> listagg(JpaOrder order, JpaWindow window, Expression<String> argument, Expression<String> separator)
-
listagg
@Incubating JpaExpression<String> listagg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<String> argument, String separator)
-
listagg
@Incubating JpaExpression<String> listagg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<String> argument, Expression<String> separator)
Create alistaggordered set-aggregate function expression.- Parameters:
order- order by clause used in within groupfilter- optional filter clausewindow- optional window over which to apply the functionargument- values to joinseparator- the separator used to join the values- Returns:
- ordered set-aggregate expression
- See Also:
functionWithinGroup(String, Class, JpaOrder, JpaPredicate, JpaWindow, Expression...)
-
mode
@Incubating <T> JpaExpression<T> mode(Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
-
mode
@Incubating <T> JpaExpression<T> mode(JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
-
mode
@Incubating <T> JpaExpression<T> mode(JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
-
mode
@Incubating <T> JpaExpression<T> mode(JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
Create amodeordered set-aggregate function expression.- Type Parameters:
T- type of this expression- Parameters:
filter- optional filter clausewindow- optional window over which to apply the functionsortExpression- the sort expressionsortOrder- the sort ordernullPrecedence- the null precedence- Returns:
- ordered set-aggregate expression
- See Also:
functionWithinGroup(String, Class, JpaOrder, JpaPredicate, JpaWindow, Expression...)
-
percentileCont
@Incubating <T> JpaExpression<T> percentileCont(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
-
percentileCont
@Incubating <T> JpaExpression<T> percentileCont(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
-
percentileCont
@Incubating <T> JpaExpression<T> percentileCont(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
-
percentileCont
@Incubating <T> JpaExpression<T> percentileCont(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
Create apercentile_contordered set-aggregate function expression.- Parameters:
argument- argument to the functionfilter- optional filter clausewindow- optional window over which to apply the functionsortExpression- the sort expressionsortOrder- the sort ordernullPrecedence- the null precedence- Returns:
- ordered set-aggregate expression
- See Also:
functionWithinGroup(String, Class, JpaOrder, JpaPredicate, JpaWindow, Expression...)
-
percentileDisc
@Incubating <T> JpaExpression<T> percentileDisc(Expression<? extends Number> argument, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
-
percentileDisc
@Incubating <T> JpaExpression<T> percentileDisc(Expression<? extends Number> argument, JpaPredicate filter, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
-
percentileDisc
@Incubating <T> JpaExpression<T> percentileDisc(Expression<? extends Number> argument, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
-
percentileDisc
@Incubating <T> JpaExpression<T> percentileDisc(Expression<? extends Number> argument, JpaPredicate filter, JpaWindow window, Expression<T> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
Create apercentile_discordered set-aggregate function expression.- Parameters:
argument- argument to the functionfilter- optional filter clausewindow- optional window over which to apply the functionsortExpression- the sort expressionsortOrder- the sort ordernullPrecedence- the null precedence- Returns:
- ordered set-aggregate expression
- See Also:
functionWithinGroup(String, Class, JpaOrder, JpaPredicate, JpaWindow, Expression...)
-
rank
@Incubating JpaExpression<Long> rank(JpaOrder order, Expression<?>... arguments)
-
rank
@Incubating JpaExpression<Long> rank(JpaOrder order, JpaPredicate filter, Expression<?>... arguments)
-
rank
@Incubating JpaExpression<Long> rank(JpaOrder order, JpaWindow window, Expression<?>... arguments)
-
rank
@Incubating JpaExpression<Long> rank(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... arguments)
Create arankordered set-aggregate function expression.- Parameters:
order- order by clause used in within groupfilter- optional filter clausewindow- optional window over which to apply the functionarguments- arguments to the function- Returns:
- ordered set-aggregate expression
- See Also:
functionWithinGroup(String, Class, JpaOrder, JpaPredicate, JpaWindow, Expression...)
-
percentRank
@Incubating JpaExpression<Double> percentRank(JpaOrder order, Expression<?>... arguments)
-
percentRank
@Incubating JpaExpression<Double> percentRank(JpaOrder order, JpaPredicate filter, Expression<?>... arguments)
-
percentRank
@Incubating JpaExpression<Double> percentRank(JpaOrder order, JpaWindow window, Expression<?>... arguments)
-
percentRank
@Incubating JpaExpression<Double> percentRank(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<?>... arguments)
Create apercent_rankordered set-aggregate function expression.- Parameters:
order- order by clause used in within groupfilter- optional filter clausewindow- optional window over which to apply the functionarguments- arguments to the function- Returns:
- ordered set-aggregate expression
- See Also:
functionWithinGroup(String, Class, JpaOrder, JpaPredicate, JpaWindow, Expression...)
-
arrayAgg
@Incubating <T> JpaExpression<T[]> arrayAgg(JpaOrder order, Expression<? extends T> argument)
- Since:
- 6.4
- See Also:
arrayAgg(JpaOrder, JpaPredicate, JpaWindow, Expression)
-
arrayAgg
@Incubating <T> JpaExpression<T[]> arrayAgg(JpaOrder order, JpaPredicate filter, Expression<? extends T> argument)
- Since:
- 6.4
- See Also:
arrayAgg(JpaOrder, JpaPredicate, JpaWindow, Expression)
-
arrayAgg
@Incubating <T> JpaExpression<T[]> arrayAgg(JpaOrder order, JpaWindow window, Expression<? extends T> argument)
- Since:
- 6.4
- See Also:
arrayAgg(JpaOrder, JpaPredicate, JpaWindow, Expression)
-
arrayAgg
@Incubating <T> JpaExpression<T[]> arrayAgg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<? extends T> argument)
Create aarray_aggordered set-aggregate function expression.- 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
- Since:
- 6.4
- See Also:
functionWithinGroup(String, Class, JpaOrder, JpaPredicate, JpaWindow, Expression...)
-
arrayLiteral
@Incubating <T> JpaExpression<T[]> arrayLiteral(T... elements)
Creates an array literal with thearrayconstructor function.- Since:
- 6.4
-
arrayLength
@Incubating <T> JpaExpression<Integer> arrayLength(Expression<T[]> arrayExpression)
Determines the length of an array.- Since:
- 6.4
-
arrayPosition
@Incubating <T> JpaExpression<Integer> arrayPosition(Expression<T[]> arrayExpression, T element)
Determines the 1-based position of an element in an array.- Since:
- 6.4
-
arrayPosition
@Incubating <T> JpaExpression<Integer> arrayPosition(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Determines the 1-based position of an element in an array.- Since:
- 6.4
-
arrayPositions
@Incubating <T> JpaExpression<int[]> arrayPositions(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Determines all 1-based positions of an element in an array.- Since:
- 6.4
-
arrayPositions
@Incubating <T> JpaExpression<int[]> arrayPositions(Expression<T[]> arrayExpression, T element)
Determines all 1-based positions of an element in an array.- Since:
- 6.4
-
arrayPositionsList
@Incubating <T> JpaExpression<List<Integer>> arrayPositionsList(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Determines all 1-based positions of an element in an array.- Since:
- 6.4
-
arrayPositionsList
@Incubating <T> JpaExpression<List<Integer>> arrayPositionsList(Expression<T[]> arrayExpression, T element)
Determines all 1-based positions of an element in an array.- Since:
- 6.4
-
arrayConcat
@Incubating <T> JpaExpression<T[]> arrayConcat(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Concatenates arrays with each other in order.- Since:
- 6.4
-
arrayConcat
@Incubating <T> JpaExpression<T[]> arrayConcat(Expression<T[]> arrayExpression1, T[] array2)
Concatenates arrays with each other in order.- Since:
- 6.4
-
arrayConcat
@Incubating <T> JpaExpression<T[]> arrayConcat(T[] array1, Expression<T[]> arrayExpression2)
Concatenates arrays with each other in order.- Since:
- 6.4
-
arrayAppend
@Incubating <T> JpaExpression<T[]> arrayAppend(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Appends element to array.- Since:
- 6.4
-
arrayAppend
@Incubating <T> JpaExpression<T[]> arrayAppend(Expression<T[]> arrayExpression, T element)
Appends element to array.- Since:
- 6.4
-
arrayPrepend
@Incubating <T> JpaExpression<T[]> arrayPrepend(Expression<T> elementExpression, Expression<T[]> arrayExpression)
Prepends element to array.- Since:
- 6.4
-
arrayPrepend
@Incubating <T> JpaExpression<T[]> arrayPrepend(T element, Expression<T[]> arrayExpression)
Prepends element to array.- Since:
- 6.4
-
arrayGet
@Incubating <T> JpaExpression<T> arrayGet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression)
Accesses the element of an array by 1-based index.- Since:
- 6.4
-
arrayGet
@Incubating <T> JpaExpression<T> arrayGet(Expression<T[]> arrayExpression, Integer index)
Accesses the element of an array by 1-based index.- Since:
- 6.4
-
arraySet
@Incubating <T> JpaExpression<T[]> arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, Expression<T> elementExpression)
Creates array copy with given element at given 1-based index.- Since:
- 6.4
-
arraySet
@Incubating <T> JpaExpression<T[]> arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, T element)
Creates array copy with given element at given 1-based index.- Since:
- 6.4
-
arraySet
@Incubating <T> JpaExpression<T[]> arraySet(Expression<T[]> arrayExpression, Integer index, Expression<T> elementExpression)
Creates array copy with given element at given 1-based index.- Since:
- 6.4
-
arraySet
@Incubating <T> JpaExpression<T[]> arraySet(Expression<T[]> arrayExpression, Integer index, T element)
Creates array copy with given element at given 1-based index.- Since:
- 6.4
-
arrayRemove
@Incubating <T> JpaExpression<T[]> arrayRemove(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Creates array copy with given element removed.- Since:
- 6.4
-
arrayRemove
@Incubating <T> JpaExpression<T[]> arrayRemove(Expression<T[]> arrayExpression, T element)
Creates array copy with given element removed.- Since:
- 6.4
-
arrayRemoveIndex
@Incubating <T> JpaExpression<T[]> arrayRemoveIndex(Expression<T[]> arrayExpression, Expression<Integer> indexExpression)
Creates array copy with the element at the given 1-based index removed.- Since:
- 6.4
-
arrayRemoveIndex
@Incubating <T> JpaExpression<T[]> arrayRemoveIndex(Expression<T[]> arrayExpression, Integer index)
Creates array copy with the element at the given 1-based index removed.- Since:
- 6.4
-
arraySlice
@Incubating <T> JpaExpression<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. Both indexes are inclusive.- Since:
- 6.4
-
arraySlice
@Incubating <T> JpaExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex)
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Since:
- 6.4
-
arraySlice
@Incubating <T> JpaExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression)
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Since:
- 6.4
-
arraySlice
@Incubating <T> JpaExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Integer upperIndex)
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Since:
- 6.4
-
arrayReplace
@Incubating <T> JpaExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, Expression<T> newElementExpression)
Creates array copy replacing a given element with another.- Since:
- 6.4
-
arrayReplace
@Incubating <T> JpaExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, T newElement)
Creates array copy replacing a given element with another.- Since:
- 6.4
-
arrayReplace
@Incubating <T> JpaExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, T oldElement, Expression<T> newElementExpression)
Creates array copy replacing a given element with another.- Since:
- 6.4
-
arrayReplace
@Incubating <T> JpaExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, T oldElement, T newElement)
Creates array copy replacing a given element with another.- Since:
- 6.4
-
arrayTrim
@Incubating <T> JpaExpression<T[]> arrayTrim(Expression<T[]> arrayExpression, Expression<Integer> elementCountExpression)
Creates array copy without the last N elements, specified by the second argument.- Since:
- 6.4
-
arrayTrim
@Incubating <T> JpaExpression<T[]> arrayTrim(Expression<T[]> arrayExpression, Integer elementCount)
Creates array copy without the last N elements, specified by the second argument.- Since:
- 6.4
-
arrayFill
@Incubating <T> JpaExpression<T[]> arrayFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression)
Creates array with the same element N times, as specified by the arguments.- Since:
- 6.4
-
arrayFill
@Incubating <T> JpaExpression<T[]> arrayFill(Expression<T> elementExpression, Integer elementCount)
Creates array with the same element N times, as specified by the arguments.- Since:
- 6.4
-
arrayFill
@Incubating <T> JpaExpression<T[]> arrayFill(T element, Expression<Integer> elementCountExpression)
Creates array with the same element N times, as specified by the arguments.- Since:
- 6.4
-
arrayFill
@Incubating <T> JpaExpression<T[]> arrayFill(T element, Integer elementCount)
Creates array with the same element N times, as specified by the arguments.- Since:
- 6.4
-
arrayToString
@Incubating JpaExpression<String> arrayToString(Expression<? extends Object[]> arrayExpression, Expression<String> separatorExpression)
Concatenates the non-null array elements with a separator, as specified by the arguments.- Since:
- 6.4
-
arrayToString
@Incubating JpaExpression<String> arrayToString(Expression<? extends Object[]> arrayExpression, String separator)
Concatenates the non-null array elements with a separator, as specified by the arguments.- Since:
- 6.4
-
arrayContains
@Incubating <T> JpaPredicate arrayContains(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Whether an array contains an element.- Since:
- 6.4
-
arrayContains
@Incubating <T> JpaPredicate arrayContains(Expression<T[]> arrayExpression, T element)
Whether an array contains an element.- Since:
- 6.4
-
arrayContains
@Incubating <T> JpaPredicate arrayContains(T[] array, Expression<T> elementExpression)
Whether an array contains an element.- Since:
- 6.4
-
arrayContainsNullable
@Incubating <T> JpaPredicate arrayContainsNullable(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Whether an array contains a nullable element.- Since:
- 6.4
-
arrayContainsNullable
@Incubating <T> JpaPredicate arrayContainsNullable(Expression<T[]> arrayExpression, T element)
Whether an array contains a nullable element.- Since:
- 6.4
-
arrayContainsNullable
@Incubating <T> JpaPredicate arrayContainsNullable(T[] array, Expression<T> elementExpression)
Whether an array contains a nullable element.- Since:
- 6.4
-
arrayContainsAll
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayContainsAll(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced witharrayIncludes(Expression, Expression)Whether an array is a subset of another array.- Since:
- 6.4
-
arrayContainsAll
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayContainsAll(Expression<T[]> arrayExpression, T[] subArray)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIncludes(Expression, T[])Whether an array is a subset of another array.- Since:
- 6.4
-
arrayContainsAll
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayContainsAll(T[] array, Expression<T[]> subArrayExpression)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIncludes(T[], Expression)Whether an array is a subset of another array.- Since:
- 6.4
-
arrayContainsAllNullable
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayContainsAllNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced witharrayIncludesNullable(Expression, Expression)Whether an array is a subset of another array with nullable elements.- Since:
- 6.4
-
arrayContainsAllNullable
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayContainsAllNullable(Expression<T[]> arrayExpression, T[] subArray)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIncludesNullable(Expression, T[])Whether an array is a subset of another array with nullable elements.- Since:
- 6.4
-
arrayContainsAllNullable
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayContainsAllNullable(T[] array, Expression<T[]> subArrayExpression)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIncludesNullable(T[], Expression)Whether an array is a subset of another array with nullable elements.- Since:
- 6.4
-
arrayIncludes
@Incubating <T> JpaPredicate arrayIncludes(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array.- Since:
- 6.6
-
arrayIncludes
@Incubating <T> JpaPredicate arrayIncludes(Expression<T[]> arrayExpression, T[] subArray)
Whether an array is a subset of another array.- Since:
- 6.6
-
arrayIncludes
@Incubating <T> JpaPredicate arrayIncludes(T[] array, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array.- Since:
- 6.6
-
arrayIncludesNullable
@Incubating <T> JpaPredicate arrayIncludesNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array with nullable elements.- Since:
- 6.6
-
arrayIncludesNullable
@Incubating <T> JpaPredicate arrayIncludesNullable(Expression<T[]> arrayExpression, T[] subArray)
Whether an array is a subset of another array with nullable elements.- Since:
- 6.6
-
arrayIncludesNullable
@Incubating <T> JpaPredicate arrayIncludesNullable(T[] array, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array with nullable elements.- Since:
- 6.6
-
arrayOverlaps
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayOverlaps(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced witharrayIntersects(Expression, Expression)Whether one array has any elements common with another array.- Since:
- 6.4
-
arrayOverlaps
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayOverlaps(Expression<T[]> arrayExpression1, T[] array2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIntersects(Expression, T[])Whether one array has any elements common with another array.- Since:
- 6.4
-
arrayOverlaps
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayOverlaps(T[] array1, Expression<T[]> arrayExpression2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIntersects(T[], Expression)Whether one array has any elements common with another array.- Since:
- 6.4
-
arrayOverlapsNullable
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayOverlapsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced witharrayIntersectsNullable(Expression, Expression)Whether one array has any elements common with another array, supportingnullelements.- Since:
- 6.4
-
arrayOverlapsNullable
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayOverlapsNullable(Expression<T[]> arrayExpression1, T[] array2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIntersectsNullable(Expression, T[])Whether one array has any elements common with another array, supportingnullelements.- Since:
- 6.4
-
arrayOverlapsNullable
@Incubating @Deprecated(forRemoval=true) default <T> JpaPredicate arrayOverlapsNullable(T[] array1, Expression<T[]> arrayExpression2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced with#arrayIntersectsNullable(T[], Expression)Whether one array has any elements common with another array, supportingnullelements.- Since:
- 6.4
-
arrayIntersects
@Incubating <T> JpaPredicate arrayIntersects(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array.- Since:
- 6.6
-
arrayIntersects
@Incubating <T> JpaPredicate arrayIntersects(Expression<T[]> arrayExpression1, T[] array2)
Whether one array has any elements common with another array.- Since:
- 6.6
-
arrayIntersects
@Incubating <T> JpaPredicate arrayIntersects(T[] array1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array.- Since:
- 6.6
-
arrayIntersectsNullable
@Incubating <T> JpaPredicate arrayIntersectsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array, supportingnullelements.- Since:
- 6.6
-
arrayIntersectsNullable
@Incubating <T> JpaPredicate arrayIntersectsNullable(Expression<T[]> arrayExpression1, T[] array2)
Whether one array has any elements common with another array, supportingnullelements.- Since:
- 6.6
-
arrayIntersectsNullable
@Incubating <T> JpaPredicate arrayIntersectsNullable(T[] array1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array, supportingnullelements.- Since:
- 6.6
-
collectionLiteral
@Incubating <E,C extends Collection<E>> JpaExpression<C> collectionLiteral(E... elements)
Creates a basic collection literal with thearrayconstructor function.- Since:
- 6.4
-
collectionLength
@Incubating JpaExpression<Integer> collectionLength(Expression<? extends Collection<?>> collectionExpression)
Determines the length of a basic collection.- Since:
- 6.4
-
collectionPosition
@Incubating <E> JpaExpression<Integer> collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, E element)
Determines the 1-based position of an element in a basic collection.- Since:
- 6.4
-
collectionPosition
@Incubating <E> JpaExpression<Integer> collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, Expression<E> elementExpression)
Determines the 1-based position of an element in a basic collection.- Since:
- 6.4
-
collectionPositions
@Incubating <T> JpaExpression<int[]> collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression)
Determines all 1-based positions of an element in a basic collection.- Since:
- 6.4
-
collectionPositions
@Incubating <T> JpaExpression<int[]> collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, T element)
Determines all 1-based positions of an element in a basic collection.- Since:
- 6.4
-
collectionPositionsList
@Incubating <T> JpaExpression<List<Integer>> collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression)
Determines all 1-based positions of an element in a basic collection.- Since:
- 6.4
-
collectionPositionsList
@Incubating <T> JpaExpression<List<Integer>> collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, T element)
Determines all 1-based positions of an element in a basic collection.- Since:
- 6.4
-
collectionConcat
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionConcat(Expression<C> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Concatenates basic collections with each other in order.- Since:
- 6.4
-
collectionConcat
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionConcat(Expression<C> collectionExpression1, Collection<? extends E> collection2)
Concatenates basic collections with each other in order.- Since:
- 6.4
-
collectionConcat
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionConcat(C collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Concatenates basic collections with each other in order.- Since:
- 6.4
-
collectionAppend
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionAppend(Expression<C> collectionExpression, Expression<? extends E> elementExpression)
Appends element to basic collection.- Since:
- 6.4
-
collectionAppend
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionAppend(Expression<C> collectionExpression, E element)
Appends element to basic collection.- Since:
- 6.4
-
collectionPrepend
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionPrepend(Expression<? extends E> elementExpression, Expression<C> collectionExpression)
Prepends element to basic collection.- Since:
- 6.4
-
collectionPrepend
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionPrepend(E element, Expression<C> collectionExpression)
Prepends element to basic collection.- Since:
- 6.4
-
collectionGet
@Incubating <E> JpaExpression<E> collectionGet(Expression<? extends Collection<E>> collectionExpression, Expression<Integer> indexExpression)
Accesses the element of the basic collection by 1-based index.- Since:
- 6.4
-
collectionGet
@Incubating <E> JpaExpression<E> collectionGet(Expression<? extends Collection<E>> collectionExpression, Integer index)
Accesses the element of the basic collection by 1-based index.- Since:
- 6.4
-
collectionSet
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, Expression<? extends E> elementExpression)
Creates basic collection copy with given element at given 1-based index.- Since:
- 6.4
-
collectionSet
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, E element)
Creates basic collection copy with given element at given 1-based index.- Since:
- 6.4
-
collectionSet
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionSet(Expression<C> collectionExpression, Integer index, Expression<? extends E> elementExpression)
Creates basic collection copy with given element at given 1-based index.- Since:
- 6.4
-
collectionSet
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionSet(Expression<C> collectionExpression, Integer index, E element)
Creates basic collection copy with given element at given 1-based index.- Since:
- 6.4
-
collectionRemove
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionRemove(Expression<C> collectionExpression, Expression<? extends E> elementExpression)
Creates basic collection copy with given element removed.- Since:
- 6.4
-
collectionRemove
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionRemove(Expression<C> collectionExpression, E element)
Creates basic collection copy with given element removed.- Since:
- 6.4
-
collectionRemoveIndex
@Incubating <C extends Collection<?>> JpaExpression<C> collectionRemoveIndex(Expression<C> collectionExpression, Expression<Integer> indexExpression)
Creates basic collection copy with the element at the given 1-based index removed.- Since:
- 6.4
-
collectionRemoveIndex
@Incubating <C extends Collection<?>> JpaExpression<C> collectionRemoveIndex(Expression<C> collectionExpression, Integer index)
Creates basic collection copy with the element at the given 1-based index removed.- Since:
- 6.4
-
collectionSlice
@Incubating <C extends Collection<?>> JpaExpression<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. Both indexes are inclusive.- Since:
- 6.4
-
collectionSlice
@Incubating <C extends Collection<?>> JpaExpression<C> collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex)
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Since:
- 6.4
-
collectionSlice
@Incubating <C extends Collection<?>> JpaExpression<C> collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression)
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Since:
- 6.4
-
collectionSlice
@Incubating <C extends Collection<?>> JpaExpression<C> collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Integer upperIndex)
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Since:
- 6.4
-
collectionReplace
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, Expression<? extends E> newElementExpression)
Creates basic collection copy replacing a given element with another.- Since:
- 6.4
-
collectionReplace
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, E newElement)
Creates basic collection copy replacing a given element with another.- Since:
- 6.4
-
collectionReplace
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionReplace(Expression<C> collectionExpression, E oldElement, Expression<? extends E> newElementExpression)
Creates basic collection copy replacing a given element with another.- Since:
- 6.4
-
collectionReplace
@Incubating <E,C extends Collection<? super E>> JpaExpression<C> collectionReplace(Expression<C> collectionExpression, E oldElement, E newElement)
Creates basic collection copy replacing a given element with another.- Since:
- 6.4
-
collectionTrim
@Incubating <C extends Collection<?>> JpaExpression<C> collectionTrim(Expression<C> arrayExpression, Expression<Integer> elementCountExpression)
Creates basic collection copy without the last N elements, specified by the second argument.- Since:
- 6.4
-
collectionTrim
@Incubating <C extends Collection<?>> JpaExpression<C> collectionTrim(Expression<C> arrayExpression, Integer elementCount)
Creates basic collection copy without the last N elements, specified by the second argument.- Since:
- 6.4
-
collectionFill
@Incubating <T> JpaExpression<Collection<T>> collectionFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression)
Creates basic collection with the same element N times, as specified by the arguments.- Since:
- 6.4
-
collectionFill
@Incubating <T> JpaExpression<Collection<T>> collectionFill(Expression<T> elementExpression, Integer elementCount)
Creates basic collection with the same element N times, as specified by the arguments.- Since:
- 6.4
-
collectionFill
@Incubating <T> JpaExpression<Collection<T>> collectionFill(T element, Expression<Integer> elementCountExpression)
Creates basic collection with the same element N times, as specified by the arguments.- Since:
- 6.4
-
collectionFill
@Incubating <T> JpaExpression<Collection<T>> collectionFill(T element, Integer elementCount)
Creates basic collection with the same element N times, as specified by the arguments.- Since:
- 6.4
-
collectionToString
@Incubating <T> JpaExpression<String> collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression)
Concatenates the non-null basic collection elements with a separator, as specified by the arguments.- Since:
- 6.4
-
collectionToString
@Incubating <T> JpaExpression<String> collectionToString(Expression<? extends Collection<?>> collectionExpression, String separator)
Concatenates the non-null basic collection elements with a separator, as specified by the arguments.- Since:
- 6.4
-
collectionContains
@Incubating <E> JpaPredicate collectionContains(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression)
Whether a basic collection contains an element.- Since:
- 6.4
-
collectionContains
@Incubating <E> JpaPredicate collectionContains(Expression<? extends Collection<E>> collectionExpression, E element)
Whether a basic collection contains an element.- Since:
- 6.4
-
collectionContains
@Incubating <E> JpaPredicate collectionContains(Collection<E> collection, Expression<E> elementExpression)
Whether a basic collection contains an element.- Since:
- 6.4
-
collectionContainsNullable
@Incubating <E> JpaPredicate collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression)
Whether a basic collection contains a nullable element.- Since:
- 6.4
-
collectionContainsNullable
@Incubating <E> JpaPredicate collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, E element)
Whether a basic collection contains a nullable element.- Since:
- 6.4
-
collectionContainsNullable
@Incubating <E> JpaPredicate collectionContainsNullable(Collection<E> collection, Expression<E> elementExpression)
Whether a basic collection contains a nullable element.- Since:
- 6.4
-
collectionContainsAll
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludes(Expression, Expression)Whether a basic collection is a subset of another basic collection.- Since:
- 6.4
-
collectionContainsAll
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludes(Expression, Collection)Whether a basic collection is a subset of another basic collection.- Since:
- 6.4
-
collectionContainsAll
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionContainsAll(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludes(Collection, Expression)Whether a basic collection is a subset of another basic collection.- Since:
- 6.4
-
collectionContainsAllNullable
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludesNullable(Expression, Expression)Whether a basic collection is a subset of another basic collection with nullable elements.- Since:
- 6.4
-
collectionContainsAllNullable
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludesNullable(Expression, Collection)Whether a basic collection is a subset of another basic collection with nullable elements.- Since:
- 6.4
-
collectionContainsAllNullable
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionContainsAllNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIncludesNullable(Collection, Expression)Whether a basic collection is a subset of another basic collection with nullable elements.- Since:
- 6.4
-
collectionIncludes
@Incubating <E> JpaPredicate collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection.- Since:
- 6.4
-
collectionIncludes
@Incubating <E> JpaPredicate collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Whether a basic collection is a subset of another basic collection.- Since:
- 6.4
-
collectionIncludes
@Incubating <E> JpaPredicate collectionIncludes(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection.- Since:
- 6.4
-
collectionIncludesNullable
@Incubating <E> JpaPredicate collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection with nullable elements.- Since:
- 6.4
-
collectionIncludesNullable
@Incubating <E> JpaPredicate collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Whether a basic collection is a subset of another basic collection with nullable elements.- Since:
- 6.4
-
collectionIncludesNullable
@Incubating <E> JpaPredicate collectionIncludesNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection with nullable elements.- Since:
- 6.4
-
collectionOverlaps
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersects(Expression, Expression)Whether one basic collection has any elements common with another basic collection.- Since:
- 6.4
-
collectionOverlaps
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersects(Expression, Collection)Whether one basic collection has any elements common with another basic collection.- Since:
- 6.4
-
collectionOverlaps
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionOverlaps(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersects(Collection, Expression)Whether one basic collection has any elements common with another basic collection.- Since:
- 6.4
-
collectionOverlapsNullable
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersectsNullable(Expression, Expression)Whether one basic collection has any elements common with another basic collection, supportingnullelements.- Since:
- 6.4
-
collectionOverlapsNullable
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersectsNullable(Expression, Collection)Whether one basic collection has any elements common with another basic collection, supportingnullelements.- Since:
- 6.4
-
collectionOverlapsNullable
@Incubating @Deprecated(forRemoval=true) default <E> JpaPredicate collectionOverlapsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Deprecated, for removal: This API element is subject to removal in a future version.Replaced withcollectionIntersectsNullable(Collection, Expression)Whether one basic collection has any elements common with another basic collection, supportingnullelements.- Since:
- 6.4
-
collectionIntersects
@Incubating <E> JpaPredicate collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection.- Since:
- 6.6
-
collectionIntersects
@Incubating <E> JpaPredicate collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Whether one basic collection has any elements common with another basic collection.- Since:
- 6.6
-
collectionIntersects
@Incubating <E> JpaPredicate collectionIntersects(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection.- Since:
- 6.6
-
collectionIntersectsNullable
@Incubating <E> JpaPredicate collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection, supportingnullelements.- Since:
- 6.6
-
collectionIntersectsNullable
@Incubating <E> JpaPredicate collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Whether one basic collection has any elements common with another basic collection, supportingnullelements.- Since:
- 6.6
-
collectionIntersectsNullable
@Incubating <E> JpaPredicate collectionIntersectsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection, supportingnullelements.- Since:
- 6.6
-
-