Package org.hibernate.query.sqm
Interface NodeBuilder
-
- All Superinterfaces:
CriteriaBuilder
,HibernateCriteriaBuilder
- All Known Implementing Classes:
SqmCriteriaNodeBuilder
public interface NodeBuilder extends HibernateCriteriaBuilder
Adapts the JPA CriteriaBuilder to generate SQM nodes.
-
-
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 Modifier and Type Method Description <N extends Number>
SqmExpression<N>abs(Expression<N> x)
<Y> SqmModifiedSubQueryExpression<Y>
all(Subquery<Y> subquery)
SqmPredicate
and(Expression<Boolean> x, Expression<Boolean> y)
SqmPredicate
and(Predicate... restrictions)
<Y> SqmModifiedSubQueryExpression<Y>
any(Subquery<Y> subquery)
JpaCompoundSelection<Object[]>
array(Selection<?>[] selections)
JpaCompoundSelection<Object[]>
array(List<? extends JpaSelection<?>> selections)
<T> SqmExpression<T[]>
arrayAgg(JpaOrder order, Expression<? extends T> argument)
<T> SqmExpression<T[]>
arrayAgg(JpaOrder order, JpaPredicate filter, Expression<? extends T> argument)
<T> SqmExpression<T[]>
arrayAgg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<? extends T> argument)
Create aarray_agg
ordered set-aggregate function expression.<T> SqmExpression<T[]>
arrayAgg(JpaOrder order, JpaWindow window, Expression<? extends T> argument)
<T> SqmExpression<T[]>
arrayAppend(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Appends element to array.<T> SqmExpression<T[]>
arrayAppend(Expression<T[]> arrayExpression, T element)
Appends element to array.<T> SqmExpression<T[]>
arrayConcat(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Concatenates arrays with each other in order.<T> SqmExpression<T[]>
arrayConcat(Expression<T[]> arrayExpression1, T[] array2)
Concatenates arrays with each other in order.<T> SqmExpression<T[]>
arrayConcat(T[] array1, Expression<T[]> arrayExpression2)
Concatenates arrays with each other in order.<T> SqmPredicate
arrayContains(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Whether an array contains an element.<T> SqmPredicate
arrayContains(Expression<T[]> arrayExpression, T element)
Whether an array contains an element.<T> SqmPredicate
arrayContains(T[] array, Expression<T> elementExpression)
Whether an array contains an element.default <T> SqmPredicate
arrayContainsAll(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array.default <T> SqmPredicate
arrayContainsAll(Expression<T[]> arrayExpression, T[] subArray)
Whether an array is a subset of another array.default <T> SqmPredicate
arrayContainsAll(T[] array, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array.default <T> SqmPredicate
arrayContainsAllNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array with nullable elements.default <T> SqmPredicate
arrayContainsAllNullable(Expression<T[]> arrayExpression, T[] subArray)
Whether an array is a subset of another array with nullable elements.default <T> SqmPredicate
arrayContainsAllNullable(T[] array, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array with nullable elements.<T> SqmPredicate
arrayContainsNullable(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Whether an array contains a nullable element.<T> SqmPredicate
arrayContainsNullable(Expression<T[]> arrayExpression, T element)
Whether an array contains a nullable element.<T> SqmPredicate
arrayContainsNullable(T[] array, Expression<T> elementExpression)
Whether an array contains a nullable element.<T> SqmExpression<T[]>
arrayFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression)
Creates array with the same element N times, as specified by the arguments.<T> SqmExpression<T[]>
arrayFill(Expression<T> elementExpression, Integer elementCount)
Creates array with the same element N times, as specified by the arguments.<T> SqmExpression<T[]>
arrayFill(T element, Expression<Integer> elementCountExpression)
Creates array with the same element N times, as specified by the arguments.<T> SqmExpression<T[]>
arrayFill(T element, Integer elementCount)
Creates array with the same element N times, as specified by the arguments.<T> SqmExpression<T>
arrayGet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression)
Accesses the element of an array by 1-based index.<T> SqmExpression<T>
arrayGet(Expression<T[]> arrayExpression, Integer index)
Accesses the element of an array by 1-based index.<T> SqmPredicate
arrayIncludes(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array.<T> SqmPredicate
arrayIncludes(Expression<T[]> arrayExpression, T[] subArray)
Whether an array is a subset of another array.<T> SqmPredicate
arrayIncludes(T[] array, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array.<T> SqmPredicate
arrayIncludesNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array with nullable elements.<T> SqmPredicate
arrayIncludesNullable(Expression<T[]> arrayExpression, T[] subArray)
Whether an array is a subset of another array with nullable elements.<T> SqmPredicate
arrayIncludesNullable(T[] array, Expression<T[]> subArrayExpression)
Whether an array is a subset of another array with nullable elements.<T> SqmPredicate
arrayIntersects(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array.<T> SqmPredicate
arrayIntersects(Expression<T[]> arrayExpression1, T[] array2)
Whether one array has any elements common with another array.<T> SqmPredicate
arrayIntersects(T[] array1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array.<T> SqmPredicate
arrayIntersectsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array, supportingnull
elements.<T> SqmPredicate
arrayIntersectsNullable(Expression<T[]> arrayExpression1, T[] array2)
Whether one array has any elements common with another array, supportingnull
elements.<T> SqmPredicate
arrayIntersectsNullable(T[] array1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array, supportingnull
elements.<T> SqmExpression<Integer>
arrayLength(Expression<T[]> arrayExpression)
Determines the length of an array.<T> SqmExpression<T[]>
arrayLiteral(T... elements)
Creates an array literal with thearray
constructor function.default <T> SqmPredicate
arrayOverlaps(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array.default <T> SqmPredicate
arrayOverlaps(Expression<T[]> arrayExpression1, T[] array2)
Whether one array has any elements common with another array.default <T> SqmPredicate
arrayOverlaps(T[] array1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array.default <T> SqmPredicate
arrayOverlapsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array, supportingnull
elements.default <T> SqmPredicate
arrayOverlapsNullable(Expression<T[]> arrayExpression1, T[] array2)
Whether one array has any elements common with another array, supportingnull
elements.default <T> SqmPredicate
arrayOverlapsNullable(T[] array1, Expression<T[]> arrayExpression2)
Whether one array has any elements common with another array, supportingnull
elements.<T> SqmExpression<Integer>
arrayPosition(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Determines the 1-based position of an element in an array.<T> SqmExpression<Integer>
arrayPosition(Expression<T[]> arrayExpression, T element)
Determines the 1-based position of an element in an array.<T> SqmExpression<int[]>
arrayPositions(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Determines all 1-based positions of an element in an array.<T> SqmExpression<int[]>
arrayPositions(Expression<T[]> arrayExpression, T element)
Determines all 1-based positions of an element in an array.<T> SqmExpression<List<Integer>>
arrayPositionsList(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Determines all 1-based positions of an element in an array.<T> SqmExpression<List<Integer>>
arrayPositionsList(Expression<T[]> arrayExpression, T element)
Determines all 1-based positions of an element in an array.<T> SqmExpression<T[]>
arrayPrepend(Expression<T> elementExpression, Expression<T[]> arrayExpression)
Prepends element to array.<T> SqmExpression<T[]>
arrayPrepend(T element, Expression<T[]> arrayExpression)
Prepends element to array.<T> SqmExpression<T[]>
arrayRemove(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Creates array copy with given element removed.<T> SqmExpression<T[]>
arrayRemove(Expression<T[]> arrayExpression, T element)
Creates array copy with given element removed.<T> SqmExpression<T[]>
arrayRemoveIndex(Expression<T[]> arrayExpression, Expression<Integer> indexExpression)
Creates array copy with the element at the given 1-based index removed.<T> SqmExpression<T[]>
arrayRemoveIndex(Expression<T[]> arrayExpression, Integer index)
Creates array copy with the element at the given 1-based index removed.<T> SqmExpression<T[]>
arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, Expression<T> newElementExpression)
Creates array copy replacing a given element with another.<T> SqmExpression<T[]>
arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, T newElement)
Creates array copy replacing a given element with another.<T> SqmExpression<T[]>
arrayReplace(Expression<T[]> arrayExpression, T oldElement, Expression<T> newElementExpression)
Creates array copy replacing a given element with another.<T> SqmExpression<T[]>
arrayReplace(Expression<T[]> arrayExpression, T oldElement, T newElement)
Creates array copy replacing a given element with another.<T> SqmExpression<T[]>
arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, Expression<T> elementExpression)
Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>
arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, T element)
Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>
arraySet(Expression<T[]> arrayExpression, Integer index, Expression<T> elementExpression)
Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>
arraySet(Expression<T[]> arrayExpression, Integer index, T element)
Creates array copy with given element at given 1-based index.<T> SqmExpression<T[]>
arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression)
Creates a sub-array of the based on 1-based lower and upper index.<T> SqmExpression<T[]>
arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex)
Creates a sub-array of the based on 1-based lower and upper index.<T> SqmExpression<T[]>
arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression)
Creates a sub-array of the based on 1-based lower and upper index.<T> SqmExpression<T[]>
arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Integer upperIndex)
Creates a sub-array of the based on 1-based lower and upper index.SqmExpression<String>
arrayToString(Expression<? extends Object[]> arrayExpression, Expression<String> separatorExpression)
Concatenates the non-null array elements with a separator, as specified by the arguments.SqmExpression<String>
arrayToString(Expression<? extends Object[]> arrayExpression, String separator)
Concatenates the non-null array elements with a separator, as specified by the arguments.<T> SqmExpression<T[]>
arrayTrim(Expression<T[]> arrayExpression, Expression<Integer> elementCountExpression)
Creates array copy without the last N elements, specified by the second argument.<T> SqmExpression<T[]>
arrayTrim(Expression<T[]> arrayExpression, Integer elementCount)
Creates array copy without the last N elements, specified by the second argument.SqmSortSpecification
asc(Expression<?> x)
<N extends Number>
SqmExpression<Double>avg(Expression<N> argument)
<Y extends Comparable<? super Y>>
SqmPredicatebetween(Expression<? extends Y> value, Expression<? extends Y> lower, Expression<? extends Y> upper)
<Y extends Comparable<? super Y>>
SqmPredicatebetween(Expression<? extends Y> value, Y lower, Y upper)
<X,T>
SqmExpression<X>cast(JpaExpression<T> expression, Class<X> castTargetJavaType)
<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)
<E,C extends Collection<? super E>>
SqmExpression<C>collectionAppend(Expression<C> collectionExpression, E element)
Appends element to basic collection.<E,C extends Collection<? super E>>
SqmExpression<C>collectionAppend(Expression<C> collectionExpression, Expression<? extends E> elementExpression)
Appends element to basic collection.<E,C extends Collection<? super E>>
SqmExpression<C>collectionConcat(C collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Concatenates basic collections with each other in order.<E,C extends Collection<? super E>>
SqmExpression<C>collectionConcat(Expression<C> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Concatenates basic collections with each other in order.<E,C extends Collection<? super E>>
SqmExpression<C>collectionConcat(Expression<C> collectionExpression1, Collection<? extends E> collection2)
Concatenates basic collections with each other in order.<E> SqmPredicate
collectionContains(Expression<? extends Collection<E>> collectionExpression, E element)
Whether a basic collection contains an element.<E> SqmPredicate
collectionContains(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression)
Whether a basic collection contains an element.<E> SqmPredicate
collectionContains(Collection<E> collection, Expression<E> elementExpression)
Whether a basic collection contains an element.default <E> SqmPredicate
collectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection.default <E> SqmPredicate
collectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Whether a basic collection is a subset of another basic collection.default <E> SqmPredicate
collectionContainsAll(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection.default <E> SqmPredicate
collectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection with nullable elements.default <E> SqmPredicate
collectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Whether a basic collection is a subset of another basic collection with nullable elements.default <E> SqmPredicate
collectionContainsAllNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection with nullable elements.<E> SqmPredicate
collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, E element)
Whether a basic collection contains a nullable element.<E> SqmPredicate
collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression)
Whether a basic collection contains a nullable element.<E> SqmPredicate
collectionContainsNullable(Collection<E> collection, Expression<E> elementExpression)
Whether a basic collection contains a nullable element.<T> SqmExpression<Collection<T>>
collectionFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression)
Creates basic collection with the same element N times, as specified by the arguments.<T> SqmExpression<Collection<T>>
collectionFill(Expression<T> elementExpression, Integer elementCount)
Creates basic collection with the same element N times, as specified by the arguments.<T> SqmExpression<Collection<T>>
collectionFill(T element, Expression<Integer> elementCountExpression)
Creates basic collection with the same element N times, as specified by the arguments.<T> SqmExpression<Collection<T>>
collectionFill(T element, Integer elementCount)
Creates basic collection with the same element N times, as specified by the arguments.<E> SqmExpression<E>
collectionGet(Expression<? extends Collection<E>> collectionExpression, Expression<Integer> indexExpression)
Accesses the element of the basic collection by 1-based index.<E> SqmExpression<E>
collectionGet(Expression<? extends Collection<E>> collectionExpression, Integer index)
Accesses the element of the basic collection by 1-based index.<E> SqmPredicate
collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection.<E> SqmPredicate
collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Whether a basic collection is a subset of another basic collection.<E> SqmPredicate
collectionIncludes(Collection<E> collection, Expression<? extends Collection<? extends E>> subArrayExpression)
Whether a basic collection is a subset of another basic collection.<E> SqmPredicate
collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection with nullable elements.<E> SqmPredicate
collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Whether a basic collection is a subset of another basic collection with nullable elements.<E> SqmPredicate
collectionIncludesNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)
Whether a basic collection is a subset of another basic collection with nullable elements.<E> SqmPredicate
collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection.<E> SqmPredicate
collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Whether one basic collection has any elements common with another basic collection.<E> SqmPredicate
collectionIntersects(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection.<E> SqmPredicate
collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.<E> SqmPredicate
collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.<E> SqmPredicate
collectionIntersectsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.SqmExpression<Integer>
collectionLength(Expression<? extends Collection<?>> collectionExpression)
Determines the length of a basic collection.<E,C extends Collection<E>>
SqmExpression<C>collectionLiteral(E... elements)
Creates a basic collection literal with thearray
constructor function.default <E> SqmPredicate
collectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection.default <E> SqmPredicate
collectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Whether one basic collection has any elements common with another basic collection.default <E> SqmPredicate
collectionOverlaps(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection.default <E> SqmPredicate
collectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.default <E> SqmPredicate
collectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.default <E> SqmPredicate
collectionOverlapsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.<E> SqmExpression<Integer>
collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, E element)
Determines the 1-based position of an element in a basic collection.<E> SqmExpression<Integer>
collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, Expression<E> elementExpression)
Determines the 1-based position of an element in a basic collection.<T> SqmExpression<int[]>
collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression)
Determines all 1-based positions of an element in a basic collection.<T> SqmExpression<int[]>
collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, T element)
Determines all 1-based positions of an element in a basic collection.<T> SqmExpression<List<Integer>>
collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression)
Determines all 1-based positions of an element in a basic collection.<T> SqmExpression<List<Integer>>
collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, T element)
Determines all 1-based positions of an element in a basic collection.<E,C extends Collection<? super E>>
SqmExpression<C>collectionPrepend(E element, Expression<C> collectionExpression)
Prepends element to basic collection.<E,C extends Collection<? super E>>
SqmExpression<C>collectionPrepend(Expression<? extends E> elementExpression, Expression<C> collectionExpression)
Prepends element to basic collection.<E,C extends Collection<? super E>>
SqmExpression<C>collectionRemove(Expression<C> collectionExpression, E element)
Creates basic collection copy with given element removed.<E,C extends Collection<? super E>>
SqmExpression<C>collectionRemove(Expression<C> collectionExpression, Expression<? extends E> elementExpression)
Creates basic collection copy with given element removed.<C extends Collection<?>>
SqmExpression<C>collectionRemoveIndex(Expression<C> collectionExpression, Expression<Integer> indexExpression)
Creates basic collection copy with the element at the given 1-based index removed.<C extends Collection<?>>
SqmExpression<C>collectionRemoveIndex(Expression<C> collectionExpression, Integer index)
Creates basic collection copy with the element at the given 1-based index removed.<E,C extends Collection<? super E>>
SqmExpression<C>collectionReplace(Expression<C> collectionExpression, E oldElement, E newElement)
Creates basic collection copy replacing a given element with another.<E,C extends Collection<? super E>>
SqmExpression<C>collectionReplace(Expression<C> collectionExpression, E oldElement, Expression<? extends E> newElementExpression)
Creates basic collection copy replacing a given element with another.<E,C extends Collection<? super E>>
SqmExpression<C>collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, E newElement)
Creates basic collection copy replacing a given element with another.<E,C extends Collection<? super E>>
SqmExpression<C>collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, Expression<? extends E> newElementExpression)
Creates basic collection copy replacing a given element with another.<E,C extends Collection<? super E>>
SqmExpression<C>collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, E element)
Creates basic collection copy with given element at given 1-based index.<E,C extends Collection<? super E>>
SqmExpression<C>collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, Expression<? extends E> elementExpression)
Creates basic collection copy with given element at given 1-based index.<E,C extends Collection<? super E>>
SqmExpression<C>collectionSet(Expression<C> collectionExpression, Integer index, E element)
Creates basic collection copy with given element at given 1-based index.<E,C extends Collection<? super E>>
SqmExpression<C>collectionSet(Expression<C> collectionExpression, Integer index, Expression<? extends E> elementExpression)
Creates basic collection copy with given element at given 1-based index.<C extends Collection<?>>
SqmExpression<C>collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression)
Creates a sub-collection of the based on 1-based lower and upper index.<C extends Collection<?>>
SqmExpression<C>collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex)
Creates a sub-collection of the based on 1-based lower and upper index.<C extends Collection<?>>
SqmExpression<C>collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression)
Creates a sub-collection of the based on 1-based lower and upper index.<C extends Collection<?>>
SqmExpression<C>collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Integer upperIndex)
Creates a sub-collection of the based on 1-based lower and upper index.<T> SqmExpression<String>
collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression)
Concatenates the non-null basic collection elements with a separator, as specified by the arguments.<T> SqmExpression<String>
collectionToString(Expression<? extends Collection<?>> collectionExpression, String separator)
Concatenates the non-null basic collection elements with a separator, as specified by the arguments.<C extends Collection<?>>
SqmExpression<C>collectionTrim(Expression<C> arrayExpression, Expression<Integer> elementCountExpression)
Creates basic collection copy without the last N elements, specified by the second argument.<C extends Collection<?>>
SqmExpression<C>collectionTrim(Expression<C> arrayExpression, Integer elementCount)
Creates basic collection copy without the last N elements, specified by the second argument.SqmExpression<String>
concat(Expression<String> x, Expression<String> y)
SqmExpression<String>
concat(Expression<String> x, String y)
SqmExpression<String>
concat(String x, Expression<String> y)
SqmExpression<String>
concat(String x, String y)
SqmPredicate
conjunction()
<Y> JpaCompoundSelection<Y>
construct(Class<Y> resultClass, Selection<?>[] selections)
<Y> JpaCompoundSelection<Y>
construct(Class<Y> resultClass, List<? extends JpaSelection<?>> arguments)
SqmExpression<Long>
count()
Equivalent to HQLcount(*)
.SqmExpression<Long>
count(Expression<?> argument)
SqmExpression<Long>
countDistinct(Expression<?> x)
<T> SqmDeleteStatement<T>
createCriteriaDelete(Class<T> targetEntity)
<T> SqmInsertSelectStatement<T>
createCriteriaInsertSelect(Class<T> targetEntity)
<T> SqmInsertValuesStatement<T>
createCriteriaInsertValues(Class<T> targetEntity)
<T> SqmUpdateStatement<T>
createCriteriaUpdate(Class<T> targetEntity)
SqmSelectStatement<Object>
createQuery()
<T> SqmSelectStatement<T>
createQuery(Class<T> resultClass)
<T> SqmSelectStatement<T>
createQuery(String hql, Class<T> resultClass)
Transform the given HQLselect
query to an equivalent criteria query.SqmSelectStatement<Tuple>
createTupleQuery()
SqmFunction<Date>
currentDate()
SqmFunction<Instant>
currentInstant()
SqmFunction<Time>
currentTime()
SqmFunction<Timestamp>
currentTimestamp()
SqmSortSpecification
desc(Expression<?> x)
<N extends Number>
SqmExpression<N>diff(Expression<? extends N> x, Expression<? extends N> y)
<N extends Number>
SqmExpression<N>diff(Expression<? extends N> x, N y)
<N extends Number>
SqmExpression<N>diff(N x, Expression<? extends N> y)
SqmPredicate
disjunction()
SqmPredicate
distinctFrom(Expression<?> x, Expression<?> y)
SqmPredicate
distinctFrom(Expression<?> x, Object y)
SqmPredicate
equal(Expression<?> x, Expression<?> y)
SqmPredicate
equal(Expression<?> x, Object y)
SqmPredicate
exists(Subquery<?> subquery)
<P,F>
SqmExpression<F>fk(Path<P> path)
<T> SqmFunction<T>
function(String name, Class<T> type, Expression<?>[] args)
SqmPredicate
ge(Expression<? extends Number> x, Expression<? extends Number> y)
SqmPredicate
ge(Expression<? extends Number> x, Number y)
BasicType<Boolean>
getBooleanType()
BasicType<Character>
getCharacterType()
JpaMetamodel
getDomainModel()
BasicType<Integer>
getIntegerType()
BasicType<Long>
getLongType()
QueryEngine
getQueryEngine()
SessionFactoryImplementor
getSessionFactory()
TypeConfiguration
getTypeConfiguration()
<Y extends Comparable<? super Y>>
SqmPredicategreaterThan(Expression<? extends Y> x, Expression<? extends Y> y)
<Y extends Comparable<? super Y>>
SqmPredicategreaterThan(Expression<? extends Y> x, Y y)
<Y extends Comparable<? super Y>>
SqmPredicategreaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)
<Y extends Comparable<? super Y>>
SqmPredicategreaterThanOrEqualTo(Expression<? extends Y> x, Y y)
<X extends Comparable<? super X>>
SqmExpression<X>greatest(Expression<X> argument)
SqmPredicate
gt(Expression<? extends Number> x, Expression<? extends Number> y)
SqmPredicate
gt(Expression<? extends Number> x, Number y)
<T> SqmInPredicate<T>
in(Expression<? extends T> expression)
<T> SqmInPredicate<T>
in(Expression<? extends T> expression, Expression<? extends T>... values)
<T> SqmInPredicate<T>
in(Expression<? extends T> expression, Collection<T> values)
<T> SqmInPredicate<T>
in(Expression<? extends T> expression, SqmSubQuery<T> subQuery)
<T> SqmInPredicate<T>
in(Expression<? extends T> expression, T... values)
<K,L extends List<?>>
SqmExpression<Set<K>>indexes(L list)
<C extends Collection<?>>
SqmPredicateisEmpty(Expression<C> collection)
SqmPredicate
isFalse(Expression<Boolean> x)
boolean
isJpaQueryComplianceEnabled()
<M extends Map<?,?>>
SqmPredicateisMapEmpty(JpaExpression<M> mapExpression)
Create a predicate that tests whether a Map is empty.<M extends Map<?,?>>
SqmPredicateisMapNotEmpty(JpaExpression<M> mapExpression)
Create a predicate that tests whether a Map is not empty.<E,C extends Collection<E>>
SqmPredicateisMember(E elem, Expression<C> collection)
<E,C extends Collection<E>>
SqmPredicateisMember(Expression<E> elem, Expression<C> collection)
<C extends Collection<?>>
SqmPredicateisNotEmpty(Expression<C> collection)
<E,C extends Collection<E>>
SqmPredicateisNotMember(E elem, Expression<C> collection)
<E,C extends Collection<E>>
SqmPredicateisNotMember(Expression<E> elem, Expression<C> collection)
SqmPredicate
isNotNull(Expression<?> x)
SqmPredicate
isNull(Expression<?> x)
SqmPredicate
isTrue(Expression<Boolean> x)
<K,M extends Map<K,?>>
SqmExpression<Set<K>>keys(M map)
SqmPredicate
le(Expression<? extends Number> x, Expression<? extends Number> y)
SqmPredicate
le(Expression<? extends Number> x, Number y)
<X extends Comparable<? super X>>
SqmExpression<X>least(Expression<X> argument)
SqmFunction<Integer>
length(Expression<String> x)
<Y extends Comparable<? super Y>>
SqmPredicatelessThan(Expression<? extends Y> x, Expression<? extends Y> y)
<Y extends Comparable<? super Y>>
SqmPredicatelessThan(Expression<? extends Y> x, Y y)
<Y extends Comparable<? super Y>>
SqmPredicatelessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)
<Y extends Comparable<? super Y>>
SqmPredicatelessThanOrEqualTo(Expression<? extends Y> x, Y y)
SqmPredicate
like(Expression<String> x, Expression<String> pattern)
SqmPredicate
like(Expression<String> x, Expression<String> pattern, char escapeChar)
SqmPredicate
like(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)
SqmPredicate
like(Expression<String> x, String pattern)
SqmPredicate
like(Expression<String> x, String pattern, char escapeChar)
SqmPredicate
like(Expression<String> x, String pattern, Expression<Character> escapeChar)
<T> SqmExpression<T>
literal(T value)
<T> List<? extends SqmExpression<T>>
literals(List<T> values)
<T> List<? extends SqmExpression<T>>
literals(T[] values)
SqmFunction<Integer>
locate(Expression<String> x, Expression<String> pattern)
SqmFunction<Integer>
locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from)
SqmFunction<Integer>
locate(Expression<String> x, String pattern)
SqmFunction<Integer>
locate(Expression<String> x, String pattern, int from)
SqmFunction<String>
lower(Expression<String> x)
SqmPredicate
lt(Expression<? extends Number> x, Expression<? extends Number> y)
SqmPredicate
lt(Expression<? extends Number> x, Number y)
<M extends Map<?,?>>
SqmExpression<Integer>mapSize(M map)
Create an expression that tests the size of a map.<M extends Map<?,?>>
SqmExpression<Integer>mapSize(JpaExpression<M> mapExpression)
Create an expression that tests the size of a map.<N extends Number>
SqmExpression<N>max(Expression<N> argument)
<N extends Number>
SqmExpression<N>min(Expression<N> argument)
SqmExpression<Integer>
mod(Expression<Integer> x, Expression<Integer> y)
SqmExpression<Integer>
mod(Expression<Integer> x, Integer y)
SqmExpression<Integer>
mod(Integer x, Expression<Integer> y)
<N extends Number>
SqmExpression<N>neg(Expression<N> x)
SqmPredicate
not(Expression<Boolean> restriction)
SqmPredicate
notDistinctFrom(Expression<?> x, Expression<?> y)
SqmPredicate
notDistinctFrom(Expression<?> x, Object y)
SqmPredicate
notEqual(Expression<?> x, Expression<?> y)
SqmPredicate
notEqual(Expression<?> x, Object y)
SqmPredicate
notLike(Expression<String> x, Expression<String> pattern)
SqmPredicate
notLike(Expression<String> x, Expression<String> pattern, char escapeChar)
SqmPredicate
notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)
SqmPredicate
notLike(Expression<String> x, String pattern)
SqmPredicate
notLike(Expression<String> x, String pattern, char escapeChar)
SqmPredicate
notLike(Expression<String> x, String pattern, Expression<Character> escapeChar)
<Y> SqmExpression<Y>
nullif(Expression<Y> x, Expression<?> y)
<Y> SqmExpression<Y>
nullif(Expression<Y> x, Y y)
<T> SqmExpression<T>
nullLiteral(Class<T> resultClass)
SqmPredicate
or(Expression<Boolean> x, Expression<Boolean> y)
SqmPredicate
or(Predicate... restrictions)
<T> JpaParameterExpression<T>
parameter(Class<T> paramClass)
<T> JpaParameterExpression<T>
parameter(Class<T> paramClass, String name)
<N extends Number>
SqmExpression<N>prod(Expression<? extends N> x, Expression<? extends N> y)
<N extends Number>
SqmExpression<N>prod(Expression<? extends N> x, N y)
<N extends Number>
SqmExpression<N>prod(N x, Expression<? extends N> y)
SqmExpression<Number>
quot(Expression<? extends Number> x, Expression<? extends Number> y)
SqmExpression<Number>
quot(Expression<? extends Number> x, Number y)
SqmExpression<Number>
quot(Number x, Expression<? extends Number> y)
<R> JpaSearchedCase<R>
selectCase()
<C,R>
JpaSimpleCase<C,R>selectCase(Expression<? extends C> expression)
<C extends Collection<?>>
SqmExpression<Integer>size(C collection)
<C extends Collection<?>>
SqmExpression<Integer>size(Expression<C> collection)
<Y> SqmModifiedSubQueryExpression<Y>
some(Subquery<Y> subquery)
SqmSortSpecification
sort(JpaExpression<?> sortExpression)
SqmSortSpecification
sort(JpaExpression<?> sortExpression, SortDirection sortOrder)
SqmSortSpecification
sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
SqmSortSpecification
sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase)
SqmExpression<Double>
sqrt(Expression<? extends Number> x)
SqmFunction<String>
substring(Expression<String> x, int from)
SqmFunction<String>
substring(Expression<String> x, int from, int len)
SqmFunction<String>
substring(Expression<String> x, Expression<Integer> from)
SqmFunction<String>
substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len)
<N extends Number>
SqmExpression<N>sum(Expression<? extends N> x, Expression<? extends N> y)
<N extends Number>
SqmExpression<N>sum(Expression<? extends N> x, N y)
<N extends Number>
SqmExpression<N>sum(Expression<N> argument)
<N extends Number>
SqmExpression<N>sum(N x, Expression<? extends N> y)
SqmExpression<Double>
sumAsDouble(Expression<Float> argument)
SqmExpression<Long>
sumAsLong(Expression<Integer> argument)
SqmExpression<BigDecimal>
toBigDecimal(Expression<? extends Number> number)
SqmExpression<BigInteger>
toBigInteger(Expression<? extends Number> number)
SqmExpression<Double>
toDouble(Expression<? extends Number> number)
SqmExpression<Float>
toFloat(Expression<? extends Number> number)
SqmExpression<Integer>
toInteger(Expression<? extends Number> number)
SqmExpression<Long>
toLong(Expression<? extends Number> number)
SqmExpression<String>
toString(Expression<Character> character)
<X,T,E extends T>
SqmBagJoin<X,E>treat(CollectionJoin<X,T> join, Class<E> type)
<X,T,V extends T>
SqmSingularJoin<X,V>treat(Join<X,T> join, Class<V> type)
<X,T,E extends T>
SqmListJoin<X,E>treat(ListJoin<X,T> join, Class<E> type)
<X,K,T,V extends T>
SqmMapJoin<X,K,V>treat(MapJoin<X,K,T> join, Class<V> type)
<X,T extends X>
SqmPath<T>treat(Path<X> path, Class<T> type)
<X,T extends X>
SqmRoot<T>treat(Root<X> root, Class<T> type)
<X,T,E extends T>
SqmSetJoin<X,E>treat(SetJoin<X,T> join, Class<E> type)
SqmFunction<String>
trim(char t, Expression<String> x)
SqmFunction<String>
trim(CriteriaBuilder.Trimspec ts, char t, Expression<String> x)
SqmFunction<String>
trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x)
SqmFunction<String>
trim(CriteriaBuilder.Trimspec ts, Expression<String> x)
SqmFunction<String>
trim(Expression<Character> t, Expression<String> x)
SqmFunction<String>
trim(Expression<String> x)
JpaCompoundSelection<Tuple>
tuple(Selection<?>[] selections)
<R> SqmTuple<R>
tuple(Class<R> tupleType, List<? extends SqmExpression<?>> expressions)
<R> SqmTuple<R>
tuple(Class<R> tupleType, SqmExpression<?>... expressions)
JpaCompoundSelection<Tuple>
tuple(List<? extends JpaSelection<?>> selections)
<R> SqmTuple<R>
tuple(SqmExpressible<R> tupleType, List<? extends SqmExpression<?>> expressions)
<R> SqmTuple<R>
tuple(SqmExpressible<R> tupleType, SqmExpression<?>... expressions)
SqmFunction<String>
upper(Expression<String> x)
SqmValues
values(Expression<?>... expressions)
SqmValues
values(List<? extends Expression<?>> expressions)
<V,M extends Map<?,V>>
Expression<Collection<V>>values(M map)
SqmPredicate
wrap(Expression<Boolean> expression)
SqmPredicate
wrap(Expression<Boolean>... expressions)
-
Methods inherited from interface org.hibernate.query.criteria.HibernateCriteriaBuilder
acos, addDuration, addDuration, addDuration, array, array, asc, asc, asc, asin, atan, atan2, atan2, atan2, avg, avg, avg, ceiling, collate, cos, cosh, count, count, count, createWindow, cumeDist, day, degrees, denseRank, desc, desc, desc, duration, durationBetween, durationBetween, durationByUnit, durationDiff, durationDiff, durationScaled, durationScaled, durationScaled, durationSum, durationSum, except, except, except, except, exceptAll, exceptAll, exp, firstValue, floor, format, frameBetweenFollowing, frameBetweenFollowing, frameBetweenPreceding, frameBetweenPreceding, frameCurrentRow, frameUnboundedFollowing, frameUnboundedPreceding, functionAggregate, functionAggregate, functionAggregate, functionWithinGroup, functionWithinGroup, functionWithinGroup, functionWithinGroup, hour, ilike, ilike, ilike, ilike, ilike, ilike, intersect, intersect, intersect, intersect, intersectAll, intersectAll, lastValue, left, left, listagg, listagg, listagg, listagg, listagg, listagg, listagg, listagg, ln, localDate, localDateTime, localTime, log, log, log10, minute, mode, mode, mode, mode, month, notIlike, notIlike, notIlike, notIlike, notIlike, notIlike, nthValue, nthValue, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, overlay, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, pad, percentileCont, percentileCont, percentileCont, percentileCont, percentileDisc, percentileDisc, percentileDisc, percentileDisc, percentRank, percentRank, percentRank, percentRank, percentRank, pi, power, power, radians, rank, rank, rank, rank, rank, repeat, repeat, repeat, replace, replace, replace, replace, right, right, round, rowNumber, search, search, search, second, sign, sin, sinh, sql, subtractDuration, subtractDuration, subtractDuration, sum, sum, sum, tan, tanh, truncate, truncate, union, union, union, union, unionAll, unionAll, unwrap, value, windowFunction, year
-
-
-
-
Method Detail
-
getDomainModel
JpaMetamodel getDomainModel()
-
getTypeConfiguration
TypeConfiguration getTypeConfiguration()
-
isJpaQueryComplianceEnabled
boolean isJpaQueryComplianceEnabled()
-
getQueryEngine
QueryEngine getQueryEngine()
-
tuple
<R> SqmTuple<R> tuple(Class<R> tupleType, SqmExpression<?>... expressions)
-
tuple
<R> SqmTuple<R> tuple(Class<R> tupleType, List<? extends SqmExpression<?>> expressions)
-
tuple
<R> SqmTuple<R> tuple(SqmExpressible<R> tupleType, SqmExpression<?>... expressions)
-
tuple
<R> SqmTuple<R> tuple(SqmExpressible<R> tupleType, List<? extends SqmExpression<?>> expressions)
-
arrayAgg
<T> SqmExpression<T[]> arrayAgg(JpaOrder order, Expression<? extends T> argument)
- Specified by:
arrayAgg
in interfaceHibernateCriteriaBuilder
- See Also:
HibernateCriteriaBuilder.arrayAgg(JpaOrder, JpaPredicate, JpaWindow, Expression)
-
arrayAgg
<T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaPredicate filter, Expression<? extends T> argument)
- Specified by:
arrayAgg
in interfaceHibernateCriteriaBuilder
- See Also:
HibernateCriteriaBuilder.arrayAgg(JpaOrder, JpaPredicate, JpaWindow, Expression)
-
arrayAgg
<T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaWindow window, Expression<? extends T> argument)
- Specified by:
arrayAgg
in interfaceHibernateCriteriaBuilder
- See Also:
HibernateCriteriaBuilder.arrayAgg(JpaOrder, JpaPredicate, JpaWindow, Expression)
-
arrayAgg
<T> SqmExpression<T[]> arrayAgg(JpaOrder order, JpaPredicate filter, JpaWindow window, Expression<? extends T> argument)
Description copied from interface:HibernateCriteriaBuilder
Create aarray_agg
ordered set-aggregate function expression.- Specified by:
arrayAgg
in interfaceHibernateCriteriaBuilder
- Parameters:
order
- order by clause used in within groupfilter
- optional filter clausewindow
- optional window over which to apply the functionargument
- values to aggregate- Returns:
- ordered set-aggregate expression
- See Also:
HibernateCriteriaBuilder.functionWithinGroup(String, Class, JpaOrder, JpaPredicate, JpaWindow, Expression...)
-
arrayLiteral
<T> SqmExpression<T[]> arrayLiteral(T... elements)
Description copied from interface:HibernateCriteriaBuilder
Creates an array literal with thearray
constructor function.- Specified by:
arrayLiteral
in interfaceHibernateCriteriaBuilder
-
arrayLength
<T> SqmExpression<Integer> arrayLength(Expression<T[]> arrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Determines the length of an array.- Specified by:
arrayLength
in interfaceHibernateCriteriaBuilder
-
arrayPosition
<T> SqmExpression<Integer> arrayPosition(Expression<T[]> arrayExpression, T element)
Description copied from interface:HibernateCriteriaBuilder
Determines the 1-based position of an element in an array.- Specified by:
arrayPosition
in interfaceHibernateCriteriaBuilder
-
arrayPosition
<T> SqmExpression<Integer> arrayPosition(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Determines the 1-based position of an element in an array.- Specified by:
arrayPosition
in interfaceHibernateCriteriaBuilder
-
arrayPositions
<T> SqmExpression<int[]> arrayPositions(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in an array.- Specified by:
arrayPositions
in interfaceHibernateCriteriaBuilder
-
arrayPositions
<T> SqmExpression<int[]> arrayPositions(Expression<T[]> arrayExpression, T element)
Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in an array.- Specified by:
arrayPositions
in interfaceHibernateCriteriaBuilder
-
arrayPositionsList
<T> SqmExpression<List<Integer>> arrayPositionsList(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in an array.- Specified by:
arrayPositionsList
in interfaceHibernateCriteriaBuilder
-
arrayPositionsList
<T> SqmExpression<List<Integer>> arrayPositionsList(Expression<T[]> arrayExpression, T element)
Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in an array.- Specified by:
arrayPositionsList
in interfaceHibernateCriteriaBuilder
-
arrayConcat
<T> SqmExpression<T[]> arrayConcat(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Description copied from interface:HibernateCriteriaBuilder
Concatenates arrays with each other in order.- Specified by:
arrayConcat
in interfaceHibernateCriteriaBuilder
-
arrayConcat
<T> SqmExpression<T[]> arrayConcat(Expression<T[]> arrayExpression1, T[] array2)
Description copied from interface:HibernateCriteriaBuilder
Concatenates arrays with each other in order.- Specified by:
arrayConcat
in interfaceHibernateCriteriaBuilder
-
arrayConcat
<T> SqmExpression<T[]> arrayConcat(T[] array1, Expression<T[]> arrayExpression2)
Description copied from interface:HibernateCriteriaBuilder
Concatenates arrays with each other in order.- Specified by:
arrayConcat
in interfaceHibernateCriteriaBuilder
-
arrayAppend
<T> SqmExpression<T[]> arrayAppend(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Appends element to array.- Specified by:
arrayAppend
in interfaceHibernateCriteriaBuilder
-
arrayAppend
<T> SqmExpression<T[]> arrayAppend(Expression<T[]> arrayExpression, T element)
Description copied from interface:HibernateCriteriaBuilder
Appends element to array.- Specified by:
arrayAppend
in interfaceHibernateCriteriaBuilder
-
arrayPrepend
<T> SqmExpression<T[]> arrayPrepend(Expression<T> elementExpression, Expression<T[]> arrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Prepends element to array.- Specified by:
arrayPrepend
in interfaceHibernateCriteriaBuilder
-
arrayPrepend
<T> SqmExpression<T[]> arrayPrepend(T element, Expression<T[]> arrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Prepends element to array.- Specified by:
arrayPrepend
in interfaceHibernateCriteriaBuilder
-
arrayGet
<T> SqmExpression<T> arrayGet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression)
Description copied from interface:HibernateCriteriaBuilder
Accesses the element of an array by 1-based index.- Specified by:
arrayGet
in interfaceHibernateCriteriaBuilder
-
arrayGet
<T> SqmExpression<T> arrayGet(Expression<T[]> arrayExpression, Integer index)
Description copied from interface:HibernateCriteriaBuilder
Accesses the element of an array by 1-based index.- Specified by:
arrayGet
in interfaceHibernateCriteriaBuilder
-
arraySet
<T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element at given 1-based index.- Specified by:
arraySet
in interfaceHibernateCriteriaBuilder
-
arraySet
<T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Expression<Integer> indexExpression, T element)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element at given 1-based index.- Specified by:
arraySet
in interfaceHibernateCriteriaBuilder
-
arraySet
<T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Integer index, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element at given 1-based index.- Specified by:
arraySet
in interfaceHibernateCriteriaBuilder
-
arraySet
<T> SqmExpression<T[]> arraySet(Expression<T[]> arrayExpression, Integer index, T element)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element at given 1-based index.- Specified by:
arraySet
in interfaceHibernateCriteriaBuilder
-
arrayRemove
<T> SqmExpression<T[]> arrayRemove(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element removed.- Specified by:
arrayRemove
in interfaceHibernateCriteriaBuilder
-
arrayRemove
<T> SqmExpression<T[]> arrayRemove(Expression<T[]> arrayExpression, T element)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with given element removed.- Specified by:
arrayRemove
in interfaceHibernateCriteriaBuilder
-
arrayRemoveIndex
<T> SqmExpression<T[]> arrayRemoveIndex(Expression<T[]> arrayExpression, Expression<Integer> indexExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with the element at the given 1-based index removed.- Specified by:
arrayRemoveIndex
in interfaceHibernateCriteriaBuilder
-
arrayRemoveIndex
<T> SqmExpression<T[]> arrayRemoveIndex(Expression<T[]> arrayExpression, Integer index)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy with the element at the given 1-based index removed.- Specified by:
arrayRemoveIndex
in interfaceHibernateCriteriaBuilder
-
arraySlice
<T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlice
in interfaceHibernateCriteriaBuilder
-
arraySlice
<T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex)
Description copied from interface:HibernateCriteriaBuilder
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlice
in interfaceHibernateCriteriaBuilder
-
arraySlice
<T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlice
in interfaceHibernateCriteriaBuilder
-
arraySlice
<T> SqmExpression<T[]> arraySlice(Expression<T[]> arrayExpression, Integer lowerIndex, Integer upperIndex)
Description copied from interface:HibernateCriteriaBuilder
Creates a sub-array of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
arraySlice
in interfaceHibernateCriteriaBuilder
-
arrayReplace
<T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, Expression<T> newElementExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy replacing a given element with another.- Specified by:
arrayReplace
in interfaceHibernateCriteriaBuilder
-
arrayReplace
<T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, Expression<T> oldElementExpression, T newElement)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy replacing a given element with another.- Specified by:
arrayReplace
in interfaceHibernateCriteriaBuilder
-
arrayReplace
<T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, T oldElement, Expression<T> newElementExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy replacing a given element with another.- Specified by:
arrayReplace
in interfaceHibernateCriteriaBuilder
-
arrayReplace
<T> SqmExpression<T[]> arrayReplace(Expression<T[]> arrayExpression, T oldElement, T newElement)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy replacing a given element with another.- Specified by:
arrayReplace
in interfaceHibernateCriteriaBuilder
-
arrayTrim
<T> SqmExpression<T[]> arrayTrim(Expression<T[]> arrayExpression, Expression<Integer> elementCountExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy without the last N elements, specified by the second argument.- Specified by:
arrayTrim
in interfaceHibernateCriteriaBuilder
-
arrayTrim
<T> SqmExpression<T[]> arrayTrim(Expression<T[]> arrayExpression, Integer elementCount)
Description copied from interface:HibernateCriteriaBuilder
Creates array copy without the last N elements, specified by the second argument.- Specified by:
arrayTrim
in interfaceHibernateCriteriaBuilder
-
arrayFill
<T> SqmExpression<T[]> arrayFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates array with the same element N times, as specified by the arguments.- Specified by:
arrayFill
in interfaceHibernateCriteriaBuilder
-
arrayFill
<T> SqmExpression<T[]> arrayFill(Expression<T> elementExpression, Integer elementCount)
Description copied from interface:HibernateCriteriaBuilder
Creates array with the same element N times, as specified by the arguments.- Specified by:
arrayFill
in interfaceHibernateCriteriaBuilder
-
arrayFill
<T> SqmExpression<T[]> arrayFill(T element, Expression<Integer> elementCountExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates array with the same element N times, as specified by the arguments.- Specified by:
arrayFill
in interfaceHibernateCriteriaBuilder
-
arrayFill
<T> SqmExpression<T[]> arrayFill(T element, Integer elementCount)
Description copied from interface:HibernateCriteriaBuilder
Creates array with the same element N times, as specified by the arguments.- Specified by:
arrayFill
in interfaceHibernateCriteriaBuilder
-
arrayToString
SqmExpression<String> arrayToString(Expression<? extends Object[]> arrayExpression, Expression<String> separatorExpression)
Description copied from interface:HibernateCriteriaBuilder
Concatenates the non-null array elements with a separator, as specified by the arguments.- Specified by:
arrayToString
in interfaceHibernateCriteriaBuilder
-
arrayToString
SqmExpression<String> arrayToString(Expression<? extends Object[]> arrayExpression, String separator)
Description copied from interface:HibernateCriteriaBuilder
Concatenates the non-null array elements with a separator, as specified by the arguments.- Specified by:
arrayToString
in interfaceHibernateCriteriaBuilder
-
arrayContains
<T> SqmPredicate arrayContains(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array contains an element.- Specified by:
arrayContains
in interfaceHibernateCriteriaBuilder
-
arrayContains
<T> SqmPredicate arrayContains(Expression<T[]> arrayExpression, T element)
Description copied from interface:HibernateCriteriaBuilder
Whether an array contains an element.- Specified by:
arrayContains
in interfaceHibernateCriteriaBuilder
-
arrayContains
<T> SqmPredicate arrayContains(T[] array, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array contains an element.- Specified by:
arrayContains
in interfaceHibernateCriteriaBuilder
-
arrayContainsNullable
<T> SqmPredicate arrayContainsNullable(Expression<T[]> arrayExpression, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array contains a nullable element.- Specified by:
arrayContainsNullable
in interfaceHibernateCriteriaBuilder
-
arrayContainsNullable
<T> SqmPredicate arrayContainsNullable(Expression<T[]> arrayExpression, T element)
Description copied from interface:HibernateCriteriaBuilder
Whether an array contains a nullable element.- Specified by:
arrayContainsNullable
in interfaceHibernateCriteriaBuilder
-
arrayContainsNullable
<T> SqmPredicate arrayContainsNullable(T[] array, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array contains a nullable element.- Specified by:
arrayContainsNullable
in interfaceHibernateCriteriaBuilder
-
arrayContainsAll
default <T> SqmPredicate arrayContainsAll(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array.- Specified by:
arrayContainsAll
in interfaceHibernateCriteriaBuilder
-
arrayContainsAll
default <T> SqmPredicate arrayContainsAll(Expression<T[]> arrayExpression, T[] subArray)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array.- Specified by:
arrayContainsAll
in interfaceHibernateCriteriaBuilder
-
arrayContainsAll
default <T> SqmPredicate arrayContainsAll(T[] array, Expression<T[]> subArrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array.- Specified by:
arrayContainsAll
in interfaceHibernateCriteriaBuilder
-
arrayContainsAllNullable
default <T> SqmPredicate arrayContainsAllNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array with nullable elements.- Specified by:
arrayContainsAllNullable
in interfaceHibernateCriteriaBuilder
-
arrayContainsAllNullable
default <T> SqmPredicate arrayContainsAllNullable(Expression<T[]> arrayExpression, T[] subArray)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array with nullable elements.- Specified by:
arrayContainsAllNullable
in interfaceHibernateCriteriaBuilder
-
arrayContainsAllNullable
default <T> SqmPredicate arrayContainsAllNullable(T[] array, Expression<T[]> subArrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array with nullable elements.- Specified by:
arrayContainsAllNullable
in interfaceHibernateCriteriaBuilder
-
arrayIncludes
<T> SqmPredicate arrayIncludes(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array.- Specified by:
arrayIncludes
in interfaceHibernateCriteriaBuilder
-
arrayIncludes
<T> SqmPredicate arrayIncludes(Expression<T[]> arrayExpression, T[] subArray)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array.- Specified by:
arrayIncludes
in interfaceHibernateCriteriaBuilder
-
arrayIncludes
<T> SqmPredicate arrayIncludes(T[] array, Expression<T[]> subArrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array.- Specified by:
arrayIncludes
in interfaceHibernateCriteriaBuilder
-
arrayIncludesNullable
<T> SqmPredicate arrayIncludesNullable(Expression<T[]> arrayExpression, Expression<T[]> subArrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullable
in interfaceHibernateCriteriaBuilder
-
arrayIncludesNullable
<T> SqmPredicate arrayIncludesNullable(Expression<T[]> arrayExpression, T[] subArray)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullable
in interfaceHibernateCriteriaBuilder
-
arrayIncludesNullable
<T> SqmPredicate arrayIncludesNullable(T[] array, Expression<T[]> subArrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether an array is a subset of another array with nullable elements.- Specified by:
arrayIncludesNullable
in interfaceHibernateCriteriaBuilder
-
arrayOverlaps
default <T> SqmPredicate arrayOverlaps(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array.- Specified by:
arrayOverlaps
in interfaceHibernateCriteriaBuilder
-
arrayOverlaps
default <T> SqmPredicate arrayOverlaps(Expression<T[]> arrayExpression1, T[] array2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array.- Specified by:
arrayOverlaps
in interfaceHibernateCriteriaBuilder
-
arrayOverlaps
default <T> SqmPredicate arrayOverlaps(T[] array1, Expression<T[]> arrayExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array.- Specified by:
arrayOverlaps
in interfaceHibernateCriteriaBuilder
-
arrayOverlapsNullable
default <T> SqmPredicate arrayOverlapsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array, supportingnull
elements.- Specified by:
arrayOverlapsNullable
in interfaceHibernateCriteriaBuilder
-
arrayOverlapsNullable
default <T> SqmPredicate arrayOverlapsNullable(Expression<T[]> arrayExpression1, T[] array2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array, supportingnull
elements.- Specified by:
arrayOverlapsNullable
in interfaceHibernateCriteriaBuilder
-
arrayOverlapsNullable
default <T> SqmPredicate arrayOverlapsNullable(T[] array1, Expression<T[]> arrayExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array, supportingnull
elements.- Specified by:
arrayOverlapsNullable
in interfaceHibernateCriteriaBuilder
-
arrayIntersects
<T> SqmPredicate arrayIntersects(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array.- Specified by:
arrayIntersects
in interfaceHibernateCriteriaBuilder
-
arrayIntersects
<T> SqmPredicate arrayIntersects(Expression<T[]> arrayExpression1, T[] array2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array.- Specified by:
arrayIntersects
in interfaceHibernateCriteriaBuilder
-
arrayIntersects
<T> SqmPredicate arrayIntersects(T[] array1, Expression<T[]> arrayExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array.- Specified by:
arrayIntersects
in interfaceHibernateCriteriaBuilder
-
arrayIntersectsNullable
<T> SqmPredicate arrayIntersectsNullable(Expression<T[]> arrayExpression1, Expression<T[]> arrayExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array, supportingnull
elements.- Specified by:
arrayIntersectsNullable
in interfaceHibernateCriteriaBuilder
-
arrayIntersectsNullable
<T> SqmPredicate arrayIntersectsNullable(Expression<T[]> arrayExpression1, T[] array2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array, supportingnull
elements.- Specified by:
arrayIntersectsNullable
in interfaceHibernateCriteriaBuilder
-
arrayIntersectsNullable
<T> SqmPredicate arrayIntersectsNullable(T[] array1, Expression<T[]> arrayExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one array has any elements common with another array, supportingnull
elements.- Specified by:
arrayIntersectsNullable
in interfaceHibernateCriteriaBuilder
-
collectionLiteral
<E,C extends Collection<E>> SqmExpression<C> collectionLiteral(E... elements)
Description copied from interface:HibernateCriteriaBuilder
Creates a basic collection literal with thearray
constructor function.- Specified by:
collectionLiteral
in interfaceHibernateCriteriaBuilder
-
collectionLength
SqmExpression<Integer> collectionLength(Expression<? extends Collection<?>> collectionExpression)
Description copied from interface:HibernateCriteriaBuilder
Determines the length of a basic collection.- Specified by:
collectionLength
in interfaceHibernateCriteriaBuilder
-
collectionPosition
<E> SqmExpression<Integer> collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, E element)
Description copied from interface:HibernateCriteriaBuilder
Determines the 1-based position of an element in a basic collection.- Specified by:
collectionPosition
in interfaceHibernateCriteriaBuilder
-
collectionPosition
<E> SqmExpression<Integer> collectionPosition(Expression<? extends Collection<? extends E>> collectionExpression, Expression<E> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Determines the 1-based position of an element in a basic collection.- Specified by:
collectionPosition
in interfaceHibernateCriteriaBuilder
-
collectionPositions
<T> SqmExpression<int[]> collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositions
in interfaceHibernateCriteriaBuilder
-
collectionPositions
<T> SqmExpression<int[]> collectionPositions(Expression<? extends Collection<? super T>> collectionExpression, T element)
Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositions
in interfaceHibernateCriteriaBuilder
-
collectionPositionsList
<T> SqmExpression<List<Integer>> collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, Expression<T> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsList
in interfaceHibernateCriteriaBuilder
-
collectionPositionsList
<T> SqmExpression<List<Integer>> collectionPositionsList(Expression<? extends Collection<? super T>> collectionExpression, T element)
Description copied from interface:HibernateCriteriaBuilder
Determines all 1-based positions of an element in a basic collection.- Specified by:
collectionPositionsList
in interfaceHibernateCriteriaBuilder
-
collectionConcat
<E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(Expression<C> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Description copied from interface:HibernateCriteriaBuilder
Concatenates basic collections with each other in order.- Specified by:
collectionConcat
in interfaceHibernateCriteriaBuilder
-
collectionConcat
<E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(Expression<C> collectionExpression1, Collection<? extends E> collection2)
Description copied from interface:HibernateCriteriaBuilder
Concatenates basic collections with each other in order.- Specified by:
collectionConcat
in interfaceHibernateCriteriaBuilder
-
collectionConcat
<E,C extends Collection<? super E>> SqmExpression<C> collectionConcat(C collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Description copied from interface:HibernateCriteriaBuilder
Concatenates basic collections with each other in order.- Specified by:
collectionConcat
in interfaceHibernateCriteriaBuilder
-
collectionAppend
<E,C extends Collection<? super E>> SqmExpression<C> collectionAppend(Expression<C> collectionExpression, Expression<? extends E> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Appends element to basic collection.- Specified by:
collectionAppend
in interfaceHibernateCriteriaBuilder
-
collectionAppend
<E,C extends Collection<? super E>> SqmExpression<C> collectionAppend(Expression<C> collectionExpression, E element)
Description copied from interface:HibernateCriteriaBuilder
Appends element to basic collection.- Specified by:
collectionAppend
in interfaceHibernateCriteriaBuilder
-
collectionPrepend
<E,C extends Collection<? super E>> SqmExpression<C> collectionPrepend(Expression<? extends E> elementExpression, Expression<C> collectionExpression)
Description copied from interface:HibernateCriteriaBuilder
Prepends element to basic collection.- Specified by:
collectionPrepend
in interfaceHibernateCriteriaBuilder
-
collectionPrepend
<E,C extends Collection<? super E>> SqmExpression<C> collectionPrepend(E element, Expression<C> collectionExpression)
Description copied from interface:HibernateCriteriaBuilder
Prepends element to basic collection.- Specified by:
collectionPrepend
in interfaceHibernateCriteriaBuilder
-
collectionGet
<E> SqmExpression<E> collectionGet(Expression<? extends Collection<E>> collectionExpression, Expression<Integer> indexExpression)
Description copied from interface:HibernateCriteriaBuilder
Accesses the element of the basic collection by 1-based index.- Specified by:
collectionGet
in interfaceHibernateCriteriaBuilder
-
collectionGet
<E> SqmExpression<E> collectionGet(Expression<? extends Collection<E>> collectionExpression, Integer index)
Description copied from interface:HibernateCriteriaBuilder
Accesses the element of the basic collection by 1-based index.- Specified by:
collectionGet
in interfaceHibernateCriteriaBuilder
-
collectionSet
<E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, Expression<? extends E> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element at given 1-based index.- Specified by:
collectionSet
in interfaceHibernateCriteriaBuilder
-
collectionSet
<E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Expression<Integer> indexExpression, E element)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element at given 1-based index.- Specified by:
collectionSet
in interfaceHibernateCriteriaBuilder
-
collectionSet
<E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Integer index, Expression<? extends E> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element at given 1-based index.- Specified by:
collectionSet
in interfaceHibernateCriteriaBuilder
-
collectionSet
<E,C extends Collection<? super E>> SqmExpression<C> collectionSet(Expression<C> collectionExpression, Integer index, E element)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element at given 1-based index.- Specified by:
collectionSet
in interfaceHibernateCriteriaBuilder
-
collectionRemove
<E,C extends Collection<? super E>> SqmExpression<C> collectionRemove(Expression<C> collectionExpression, Expression<? extends E> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element removed.- Specified by:
collectionRemove
in interfaceHibernateCriteriaBuilder
-
collectionRemove
<E,C extends Collection<? super E>> SqmExpression<C> collectionRemove(Expression<C> collectionExpression, E element)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with given element removed.- Specified by:
collectionRemove
in interfaceHibernateCriteriaBuilder
-
collectionRemoveIndex
<C extends Collection<?>> SqmExpression<C> collectionRemoveIndex(Expression<C> collectionExpression, Expression<Integer> indexExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with the element at the given 1-based index removed.- Specified by:
collectionRemoveIndex
in interfaceHibernateCriteriaBuilder
-
collectionRemoveIndex
<C extends Collection<?>> SqmExpression<C> collectionRemoveIndex(Expression<C> collectionExpression, Integer index)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy with the element at the given 1-based index removed.- Specified by:
collectionRemoveIndex
in interfaceHibernateCriteriaBuilder
-
collectionSlice
<C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Expression<Integer> upperIndexExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlice
in interfaceHibernateCriteriaBuilder
-
collectionSlice
<C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Expression<Integer> lowerIndexExpression, Integer upperIndex)
Description copied from interface:HibernateCriteriaBuilder
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlice
in interfaceHibernateCriteriaBuilder
-
collectionSlice
<C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Expression<Integer> upperIndexExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlice
in interfaceHibernateCriteriaBuilder
-
collectionSlice
<C extends Collection<?>> SqmExpression<C> collectionSlice(Expression<C> collectionExpression, Integer lowerIndex, Integer upperIndex)
Description copied from interface:HibernateCriteriaBuilder
Creates a sub-collection of the based on 1-based lower and upper index. Both indexes are inclusive.- Specified by:
collectionSlice
in interfaceHibernateCriteriaBuilder
-
collectionReplace
<E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, Expression<? extends E> newElementExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy replacing a given element with another.- Specified by:
collectionReplace
in interfaceHibernateCriteriaBuilder
-
collectionReplace
<E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, Expression<? extends E> oldElementExpression, E newElement)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy replacing a given element with another.- Specified by:
collectionReplace
in interfaceHibernateCriteriaBuilder
-
collectionReplace
<E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, E oldElement, Expression<? extends E> newElementExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy replacing a given element with another.- Specified by:
collectionReplace
in interfaceHibernateCriteriaBuilder
-
collectionReplace
<E,C extends Collection<? super E>> SqmExpression<C> collectionReplace(Expression<C> collectionExpression, E oldElement, E newElement)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy replacing a given element with another.- Specified by:
collectionReplace
in interfaceHibernateCriteriaBuilder
-
collectionTrim
<C extends Collection<?>> SqmExpression<C> collectionTrim(Expression<C> arrayExpression, Expression<Integer> elementCountExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy without the last N elements, specified by the second argument.- Specified by:
collectionTrim
in interfaceHibernateCriteriaBuilder
-
collectionTrim
<C extends Collection<?>> SqmExpression<C> collectionTrim(Expression<C> arrayExpression, Integer elementCount)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection copy without the last N elements, specified by the second argument.- Specified by:
collectionTrim
in interfaceHibernateCriteriaBuilder
-
collectionFill
<T> SqmExpression<Collection<T>> collectionFill(Expression<T> elementExpression, Expression<Integer> elementCountExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFill
in interfaceHibernateCriteriaBuilder
-
collectionFill
<T> SqmExpression<Collection<T>> collectionFill(Expression<T> elementExpression, Integer elementCount)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFill
in interfaceHibernateCriteriaBuilder
-
collectionFill
<T> SqmExpression<Collection<T>> collectionFill(T element, Expression<Integer> elementCountExpression)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFill
in interfaceHibernateCriteriaBuilder
-
collectionFill
<T> SqmExpression<Collection<T>> collectionFill(T element, Integer elementCount)
Description copied from interface:HibernateCriteriaBuilder
Creates basic collection with the same element N times, as specified by the arguments.- Specified by:
collectionFill
in interfaceHibernateCriteriaBuilder
-
collectionToString
<T> SqmExpression<String> collectionToString(Expression<? extends Collection<?>> collectionExpression, Expression<String> separatorExpression)
Description copied from interface:HibernateCriteriaBuilder
Concatenates the non-null basic collection elements with a separator, as specified by the arguments.- Specified by:
collectionToString
in interfaceHibernateCriteriaBuilder
-
collectionToString
<T> SqmExpression<String> collectionToString(Expression<? extends Collection<?>> collectionExpression, String separator)
Description copied from interface:HibernateCriteriaBuilder
Concatenates the non-null basic collection elements with a separator, as specified by the arguments.- Specified by:
collectionToString
in interfaceHibernateCriteriaBuilder
-
collectionContains
<E> SqmPredicate collectionContains(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains an element.- Specified by:
collectionContains
in interfaceHibernateCriteriaBuilder
-
collectionContains
<E> SqmPredicate collectionContains(Expression<? extends Collection<E>> collectionExpression, E element)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains an element.- Specified by:
collectionContains
in interfaceHibernateCriteriaBuilder
-
collectionContains
<E> SqmPredicate collectionContains(Collection<E> collection, Expression<E> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains an element.- Specified by:
collectionContains
in interfaceHibernateCriteriaBuilder
-
collectionContainsNullable
<E> SqmPredicate collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends E> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains a nullable element.- Specified by:
collectionContainsNullable
in interfaceHibernateCriteriaBuilder
-
collectionContainsNullable
<E> SqmPredicate collectionContainsNullable(Expression<? extends Collection<E>> collectionExpression, E element)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains a nullable element.- Specified by:
collectionContainsNullable
in interfaceHibernateCriteriaBuilder
-
collectionContainsNullable
<E> SqmPredicate collectionContainsNullable(Collection<E> collection, Expression<E> elementExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection contains a nullable element.- Specified by:
collectionContainsNullable
in interfaceHibernateCriteriaBuilder
-
collectionContainsAll
default <E> SqmPredicate collectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection.- Specified by:
collectionContainsAll
in interfaceHibernateCriteriaBuilder
-
collectionContainsAll
default <E> SqmPredicate collectionContainsAll(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection.- Specified by:
collectionContainsAll
in interfaceHibernateCriteriaBuilder
-
collectionContainsAll
default <E> SqmPredicate collectionContainsAll(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection.- Specified by:
collectionContainsAll
in interfaceHibernateCriteriaBuilder
-
collectionContainsAllNullable
default <E> SqmPredicate collectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionContainsAllNullable
in interfaceHibernateCriteriaBuilder
-
collectionContainsAllNullable
default <E> SqmPredicate collectionContainsAllNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionContainsAllNullable
in interfaceHibernateCriteriaBuilder
-
collectionContainsAllNullable
default <E> SqmPredicate collectionContainsAllNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionContainsAllNullable
in interfaceHibernateCriteriaBuilder
-
collectionIncludes
<E> SqmPredicate collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludes
in interfaceHibernateCriteriaBuilder
-
collectionIncludes
<E> SqmPredicate collectionIncludes(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludes
in interfaceHibernateCriteriaBuilder
-
collectionIncludes
<E> SqmPredicate collectionIncludes(Collection<E> collection, Expression<? extends Collection<? extends E>> subArrayExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection.- Specified by:
collectionIncludes
in interfaceHibernateCriteriaBuilder
-
collectionIncludesNullable
<E> SqmPredicate collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Expression<? extends Collection<? extends E>> subCollectionExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullable
in interfaceHibernateCriteriaBuilder
-
collectionIncludesNullable
<E> SqmPredicate collectionIncludesNullable(Expression<? extends Collection<E>> collectionExpression, Collection<? extends E> subCollection)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullable
in interfaceHibernateCriteriaBuilder
-
collectionIncludesNullable
<E> SqmPredicate collectionIncludesNullable(Collection<E> collection, Expression<? extends Collection<? extends E>> subCollectionExpression)
Description copied from interface:HibernateCriteriaBuilder
Whether a basic collection is a subset of another basic collection with nullable elements.- Specified by:
collectionIncludesNullable
in interfaceHibernateCriteriaBuilder
-
collectionOverlaps
default <E> SqmPredicate collectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection.- Specified by:
collectionOverlaps
in interfaceHibernateCriteriaBuilder
-
collectionOverlaps
default <E> SqmPredicate collectionOverlaps(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection.- Specified by:
collectionOverlaps
in interfaceHibernateCriteriaBuilder
-
collectionOverlaps
default <E> SqmPredicate collectionOverlaps(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection.- Specified by:
collectionOverlaps
in interfaceHibernateCriteriaBuilder
-
collectionOverlapsNullable
default <E> SqmPredicate collectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.- Specified by:
collectionOverlapsNullable
in interfaceHibernateCriteriaBuilder
-
collectionOverlapsNullable
default <E> SqmPredicate collectionOverlapsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.- Specified by:
collectionOverlapsNullable
in interfaceHibernateCriteriaBuilder
-
collectionOverlapsNullable
default <E> SqmPredicate collectionOverlapsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.- Specified by:
collectionOverlapsNullable
in interfaceHibernateCriteriaBuilder
-
collectionIntersects
<E> SqmPredicate collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersects
in interfaceHibernateCriteriaBuilder
-
collectionIntersects
<E> SqmPredicate collectionIntersects(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersects
in interfaceHibernateCriteriaBuilder
-
collectionIntersects
<E> SqmPredicate collectionIntersects(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection.- Specified by:
collectionIntersects
in interfaceHibernateCriteriaBuilder
-
collectionIntersectsNullable
<E> SqmPredicate collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Expression<? extends Collection<? extends E>> collectionExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.- Specified by:
collectionIntersectsNullable
in interfaceHibernateCriteriaBuilder
-
collectionIntersectsNullable
<E> SqmPredicate collectionIntersectsNullable(Expression<? extends Collection<E>> collectionExpression1, Collection<? extends E> collection2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.- Specified by:
collectionIntersectsNullable
in interfaceHibernateCriteriaBuilder
-
collectionIntersectsNullable
<E> SqmPredicate collectionIntersectsNullable(Collection<E> collection1, Expression<? extends Collection<? extends E>> collectionExpression2)
Description copied from interface:HibernateCriteriaBuilder
Whether one basic collection has any elements common with another basic collection, supportingnull
elements.- Specified by:
collectionIntersectsNullable
in interfaceHibernateCriteriaBuilder
-
createQuery
SqmSelectStatement<Object> createQuery()
- Specified by:
createQuery
in interfaceCriteriaBuilder
- Specified by:
createQuery
in interfaceHibernateCriteriaBuilder
-
createQuery
<T> SqmSelectStatement<T> createQuery(Class<T> resultClass)
- Specified by:
createQuery
in interfaceCriteriaBuilder
- Specified by:
createQuery
in interfaceHibernateCriteriaBuilder
-
createQuery
<T> SqmSelectStatement<T> createQuery(String hql, Class<T> resultClass)
Description copied from interface:HibernateCriteriaBuilder
Transform the given HQLselect
query to an equivalent criteria query.- Specified by:
createQuery
in interfaceHibernateCriteriaBuilder
- Parameters:
hql
- The HQLselect
queryresultClass
- The result type of the query- Returns:
- The equivalent criteria query
-
createTupleQuery
SqmSelectStatement<Tuple> createTupleQuery()
- Specified by:
createTupleQuery
in interfaceCriteriaBuilder
- Specified by:
createTupleQuery
in interfaceHibernateCriteriaBuilder
-
construct
<Y> JpaCompoundSelection<Y> construct(Class<Y> resultClass, Selection<?>[] selections)
- Specified by:
construct
in interfaceCriteriaBuilder
- Specified by:
construct
in interfaceHibernateCriteriaBuilder
-
construct
<Y> JpaCompoundSelection<Y> construct(Class<Y> resultClass, List<? extends JpaSelection<?>> arguments)
- Specified by:
construct
in interfaceHibernateCriteriaBuilder
-
tuple
JpaCompoundSelection<Tuple> tuple(Selection<?>[] selections)
- Specified by:
tuple
in interfaceCriteriaBuilder
- Specified by:
tuple
in interfaceHibernateCriteriaBuilder
-
tuple
JpaCompoundSelection<Tuple> tuple(List<? extends JpaSelection<?>> selections)
- Specified by:
tuple
in interfaceHibernateCriteriaBuilder
-
array
JpaCompoundSelection<Object[]> array(Selection<?>[] selections)
- Specified by:
array
in interfaceCriteriaBuilder
- Specified by:
array
in interfaceHibernateCriteriaBuilder
-
array
JpaCompoundSelection<Object[]> array(List<? extends JpaSelection<?>> selections)
- Specified by:
array
in interfaceHibernateCriteriaBuilder
-
createCriteriaUpdate
<T> SqmUpdateStatement<T> createCriteriaUpdate(Class<T> targetEntity)
- Specified by:
createCriteriaUpdate
in interfaceCriteriaBuilder
- Specified by:
createCriteriaUpdate
in interfaceHibernateCriteriaBuilder
-
createCriteriaDelete
<T> SqmDeleteStatement<T> createCriteriaDelete(Class<T> targetEntity)
- Specified by:
createCriteriaDelete
in interfaceCriteriaBuilder
- Specified by:
createCriteriaDelete
in interfaceHibernateCriteriaBuilder
-
createCriteriaInsertValues
<T> SqmInsertValuesStatement<T> createCriteriaInsertValues(Class<T> targetEntity)
- Specified by:
createCriteriaInsertValues
in interfaceHibernateCriteriaBuilder
-
createCriteriaInsertSelect
<T> SqmInsertSelectStatement<T> createCriteriaInsertSelect(Class<T> targetEntity)
- Specified by:
createCriteriaInsertSelect
in interfaceHibernateCriteriaBuilder
-
values
SqmValues values(Expression<?>... expressions)
- Specified by:
values
in interfaceHibernateCriteriaBuilder
-
values
SqmValues values(List<? extends Expression<?>> expressions)
- Specified by:
values
in interfaceHibernateCriteriaBuilder
-
abs
<N extends Number> SqmExpression<N> abs(Expression<N> x)
- Specified by:
abs
in interfaceCriteriaBuilder
- Specified by:
abs
in interfaceHibernateCriteriaBuilder
-
cast
<X,T> SqmExpression<X> cast(JpaExpression<T> expression, Class<X> castTargetJavaType)
- Specified by:
cast
in interfaceHibernateCriteriaBuilder
-
wrap
SqmPredicate wrap(Expression<Boolean> expression)
- Specified by:
wrap
in interfaceHibernateCriteriaBuilder
-
wrap
SqmPredicate wrap(Expression<Boolean>... expressions)
- Specified by:
wrap
in interfaceHibernateCriteriaBuilder
-
fk
<P,F> SqmExpression<F> fk(Path<P> path)
- Specified by:
fk
in interfaceHibernateCriteriaBuilder
-
treat
<X,T extends X> SqmPath<T> treat(Path<X> path, Class<T> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,T extends X> SqmRoot<T> treat(Root<X> root, Class<T> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,T,V extends T> SqmSingularJoin<X,V> treat(Join<X,T> join, Class<V> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,T,E extends T> SqmBagJoin<X,E> treat(CollectionJoin<X,T> join, Class<E> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,T,E extends T> SqmSetJoin<X,E> treat(SetJoin<X,T> join, Class<E> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,T,E extends T> SqmListJoin<X,E> treat(ListJoin<X,T> join, Class<E> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
treat
<X,K,T,V extends T> SqmMapJoin<X,K,V> treat(MapJoin<X,K,T> join, Class<V> type)
- Specified by:
treat
in interfaceCriteriaBuilder
- Specified by:
treat
in interfaceHibernateCriteriaBuilder
-
avg
<N extends Number> SqmExpression<Double> avg(Expression<N> argument)
- Specified by:
avg
in interfaceCriteriaBuilder
- Specified by:
avg
in interfaceHibernateCriteriaBuilder
-
sum
<N extends Number> SqmExpression<N> sum(Expression<N> argument)
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
-
sumAsLong
SqmExpression<Long> sumAsLong(Expression<Integer> argument)
- Specified by:
sumAsLong
in interfaceCriteriaBuilder
- Specified by:
sumAsLong
in interfaceHibernateCriteriaBuilder
-
sumAsDouble
SqmExpression<Double> sumAsDouble(Expression<Float> argument)
- Specified by:
sumAsDouble
in interfaceCriteriaBuilder
- Specified by:
sumAsDouble
in interfaceHibernateCriteriaBuilder
-
max
<N extends Number> SqmExpression<N> max(Expression<N> argument)
- Specified by:
max
in interfaceCriteriaBuilder
- Specified by:
max
in interfaceHibernateCriteriaBuilder
-
min
<N extends Number> SqmExpression<N> min(Expression<N> argument)
- Specified by:
min
in interfaceCriteriaBuilder
- Specified by:
min
in interfaceHibernateCriteriaBuilder
-
greatest
<X extends Comparable<? super X>> SqmExpression<X> greatest(Expression<X> argument)
- Specified by:
greatest
in interfaceCriteriaBuilder
- Specified by:
greatest
in interfaceHibernateCriteriaBuilder
-
least
<X extends Comparable<? super X>> SqmExpression<X> least(Expression<X> argument)
- Specified by:
least
in interfaceCriteriaBuilder
- Specified by:
least
in interfaceHibernateCriteriaBuilder
-
count
SqmExpression<Long> count(Expression<?> argument)
- Specified by:
count
in interfaceCriteriaBuilder
- Specified by:
count
in interfaceHibernateCriteriaBuilder
-
countDistinct
SqmExpression<Long> countDistinct(Expression<?> x)
- Specified by:
countDistinct
in interfaceCriteriaBuilder
- Specified by:
countDistinct
in interfaceHibernateCriteriaBuilder
-
count
SqmExpression<Long> count()
Description copied from interface:HibernateCriteriaBuilder
Equivalent to HQLcount(*)
.- Specified by:
count
in interfaceHibernateCriteriaBuilder
-
neg
<N extends Number> SqmExpression<N> neg(Expression<N> x)
- Specified by:
neg
in interfaceCriteriaBuilder
- Specified by:
neg
in interfaceHibernateCriteriaBuilder
-
sum
<N extends Number> SqmExpression<N> sum(Expression<? extends N> x, Expression<? extends N> y)
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
-
sum
<N extends Number> SqmExpression<N> sum(Expression<? extends N> x, N y)
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
-
sum
<N extends Number> SqmExpression<N> sum(N x, Expression<? extends N> y)
- Specified by:
sum
in interfaceCriteriaBuilder
- Specified by:
sum
in interfaceHibernateCriteriaBuilder
-
prod
<N extends Number> SqmExpression<N> prod(Expression<? extends N> x, Expression<? extends N> y)
- Specified by:
prod
in interfaceCriteriaBuilder
- Specified by:
prod
in interfaceHibernateCriteriaBuilder
-
prod
<N extends Number> SqmExpression<N> prod(Expression<? extends N> x, N y)
- Specified by:
prod
in interfaceCriteriaBuilder
- Specified by:
prod
in interfaceHibernateCriteriaBuilder
-
prod
<N extends Number> SqmExpression<N> prod(N x, Expression<? extends N> y)
- Specified by:
prod
in interfaceCriteriaBuilder
- Specified by:
prod
in interfaceHibernateCriteriaBuilder
-
diff
<N extends Number> SqmExpression<N> diff(Expression<? extends N> x, Expression<? extends N> y)
- Specified by:
diff
in interfaceCriteriaBuilder
- Specified by:
diff
in interfaceHibernateCriteriaBuilder
-
diff
<N extends Number> SqmExpression<N> diff(Expression<? extends N> x, N y)
- Specified by:
diff
in interfaceCriteriaBuilder
- Specified by:
diff
in interfaceHibernateCriteriaBuilder
-
diff
<N extends Number> SqmExpression<N> diff(N x, Expression<? extends N> y)
- Specified by:
diff
in interfaceCriteriaBuilder
- Specified by:
diff
in interfaceHibernateCriteriaBuilder
-
quot
SqmExpression<Number> quot(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
quot
in interfaceCriteriaBuilder
- Specified by:
quot
in interfaceHibernateCriteriaBuilder
-
quot
SqmExpression<Number> quot(Expression<? extends Number> x, Number y)
- Specified by:
quot
in interfaceCriteriaBuilder
- Specified by:
quot
in interfaceHibernateCriteriaBuilder
-
quot
SqmExpression<Number> quot(Number x, Expression<? extends Number> y)
- Specified by:
quot
in interfaceCriteriaBuilder
- Specified by:
quot
in interfaceHibernateCriteriaBuilder
-
mod
SqmExpression<Integer> mod(Expression<Integer> x, Expression<Integer> y)
- Specified by:
mod
in interfaceCriteriaBuilder
- Specified by:
mod
in interfaceHibernateCriteriaBuilder
-
mod
SqmExpression<Integer> mod(Expression<Integer> x, Integer y)
- Specified by:
mod
in interfaceCriteriaBuilder
- Specified by:
mod
in interfaceHibernateCriteriaBuilder
-
mod
SqmExpression<Integer> mod(Integer x, Expression<Integer> y)
- Specified by:
mod
in interfaceCriteriaBuilder
- Specified by:
mod
in interfaceHibernateCriteriaBuilder
-
sqrt
SqmExpression<Double> sqrt(Expression<? extends Number> x)
- Specified by:
sqrt
in interfaceCriteriaBuilder
- Specified by:
sqrt
in interfaceHibernateCriteriaBuilder
-
toLong
SqmExpression<Long> toLong(Expression<? extends Number> number)
- Specified by:
toLong
in interfaceCriteriaBuilder
- Specified by:
toLong
in interfaceHibernateCriteriaBuilder
-
toInteger
SqmExpression<Integer> toInteger(Expression<? extends Number> number)
- Specified by:
toInteger
in interfaceCriteriaBuilder
- Specified by:
toInteger
in interfaceHibernateCriteriaBuilder
-
toFloat
SqmExpression<Float> toFloat(Expression<? extends Number> number)
- Specified by:
toFloat
in interfaceCriteriaBuilder
- Specified by:
toFloat
in interfaceHibernateCriteriaBuilder
-
toDouble
SqmExpression<Double> toDouble(Expression<? extends Number> number)
- Specified by:
toDouble
in interfaceCriteriaBuilder
- Specified by:
toDouble
in interfaceHibernateCriteriaBuilder
-
toBigDecimal
SqmExpression<BigDecimal> toBigDecimal(Expression<? extends Number> number)
- Specified by:
toBigDecimal
in interfaceCriteriaBuilder
- Specified by:
toBigDecimal
in interfaceHibernateCriteriaBuilder
-
toBigInteger
SqmExpression<BigInteger> toBigInteger(Expression<? extends Number> number)
- Specified by:
toBigInteger
in interfaceCriteriaBuilder
- Specified by:
toBigInteger
in interfaceHibernateCriteriaBuilder
-
toString
SqmExpression<String> toString(Expression<Character> character)
- Specified by:
toString
in interfaceCriteriaBuilder
- Specified by:
toString
in interfaceHibernateCriteriaBuilder
-
literal
<T> SqmExpression<T> literal(T value)
- Specified by:
literal
in interfaceCriteriaBuilder
- Specified by:
literal
in interfaceHibernateCriteriaBuilder
-
literals
<T> List<? extends SqmExpression<T>> literals(T[] values)
- Specified by:
literals
in interfaceHibernateCriteriaBuilder
-
literals
<T> List<? extends SqmExpression<T>> literals(List<T> values)
- Specified by:
literals
in interfaceHibernateCriteriaBuilder
-
nullLiteral
<T> SqmExpression<T> nullLiteral(Class<T> resultClass)
- Specified by:
nullLiteral
in interfaceCriteriaBuilder
- Specified by:
nullLiteral
in interfaceHibernateCriteriaBuilder
-
parameter
<T> JpaParameterExpression<T> parameter(Class<T> paramClass)
- Specified by:
parameter
in interfaceCriteriaBuilder
- Specified by:
parameter
in interfaceHibernateCriteriaBuilder
- See Also:
JpaParameterExpression
- Implementation Note:
- Notice that this returns a JPA parameter not the SqmParameter
-
parameter
<T> JpaParameterExpression<T> parameter(Class<T> paramClass, String name)
- Specified by:
parameter
in interfaceCriteriaBuilder
- Specified by:
parameter
in interfaceHibernateCriteriaBuilder
-
concat
SqmExpression<String> concat(Expression<String> x, Expression<String> y)
- Specified by:
concat
in interfaceCriteriaBuilder
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
-
concat
SqmExpression<String> concat(Expression<String> x, String y)
- Specified by:
concat
in interfaceCriteriaBuilder
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
-
concat
SqmExpression<String> concat(String x, Expression<String> y)
- Specified by:
concat
in interfaceCriteriaBuilder
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
-
concat
SqmExpression<String> concat(String x, String y)
- Specified by:
concat
in interfaceHibernateCriteriaBuilder
-
substring
SqmFunction<String> substring(Expression<String> x, Expression<Integer> from)
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
-
substring
SqmFunction<String> substring(Expression<String> x, int from)
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
-
substring
SqmFunction<String> substring(Expression<String> x, Expression<Integer> from, Expression<Integer> len)
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
-
substring
SqmFunction<String> substring(Expression<String> x, int from, int len)
- Specified by:
substring
in interfaceCriteriaBuilder
- Specified by:
substring
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(Expression<Character> t, Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, Expression<Character> t, Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(char t, Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
trim
SqmFunction<String> trim(CriteriaBuilder.Trimspec ts, char t, Expression<String> x)
- Specified by:
trim
in interfaceCriteriaBuilder
- Specified by:
trim
in interfaceHibernateCriteriaBuilder
-
lower
SqmFunction<String> lower(Expression<String> x)
- Specified by:
lower
in interfaceCriteriaBuilder
- Specified by:
lower
in interfaceHibernateCriteriaBuilder
-
upper
SqmFunction<String> upper(Expression<String> x)
- Specified by:
upper
in interfaceCriteriaBuilder
- Specified by:
upper
in interfaceHibernateCriteriaBuilder
-
length
SqmFunction<Integer> length(Expression<String> x)
- Specified by:
length
in interfaceCriteriaBuilder
- Specified by:
length
in interfaceHibernateCriteriaBuilder
-
locate
SqmFunction<Integer> locate(Expression<String> x, Expression<String> pattern)
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
-
locate
SqmFunction<Integer> locate(Expression<String> x, String pattern)
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
-
locate
SqmFunction<Integer> locate(Expression<String> x, Expression<String> pattern, Expression<Integer> from)
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
-
locate
SqmFunction<Integer> locate(Expression<String> x, String pattern, int from)
- Specified by:
locate
in interfaceCriteriaBuilder
- Specified by:
locate
in interfaceHibernateCriteriaBuilder
-
currentDate
SqmFunction<Date> currentDate()
- Specified by:
currentDate
in interfaceCriteriaBuilder
- Specified by:
currentDate
in interfaceHibernateCriteriaBuilder
-
currentTimestamp
SqmFunction<Timestamp> currentTimestamp()
- Specified by:
currentTimestamp
in interfaceCriteriaBuilder
- Specified by:
currentTimestamp
in interfaceHibernateCriteriaBuilder
-
currentTime
SqmFunction<Time> currentTime()
- Specified by:
currentTime
in interfaceCriteriaBuilder
- Specified by:
currentTime
in interfaceHibernateCriteriaBuilder
-
currentInstant
SqmFunction<Instant> currentInstant()
- Specified by:
currentInstant
in interfaceHibernateCriteriaBuilder
-
function
<T> SqmFunction<T> function(String name, Class<T> type, Expression<?>[] args)
- Specified by:
function
in interfaceCriteriaBuilder
- Specified by:
function
in interfaceHibernateCriteriaBuilder
-
all
<Y> SqmModifiedSubQueryExpression<Y> all(Subquery<Y> subquery)
- Specified by:
all
in interfaceCriteriaBuilder
- Specified by:
all
in interfaceHibernateCriteriaBuilder
-
some
<Y> SqmModifiedSubQueryExpression<Y> some(Subquery<Y> subquery)
- Specified by:
some
in interfaceCriteriaBuilder
- Specified by:
some
in interfaceHibernateCriteriaBuilder
-
any
<Y> SqmModifiedSubQueryExpression<Y> any(Subquery<Y> subquery)
- Specified by:
any
in interfaceCriteriaBuilder
- Specified by:
any
in interfaceHibernateCriteriaBuilder
-
keys
<K,M extends Map<K,?>> SqmExpression<Set<K>> keys(M map)
- Specified by:
keys
in interfaceCriteriaBuilder
- Specified by:
keys
in interfaceHibernateCriteriaBuilder
-
indexes
<K,L extends List<?>> SqmExpression<Set<K>> indexes(L list)
- Specified by:
indexes
in interfaceHibernateCriteriaBuilder
-
values
<V,M extends Map<?,V>> Expression<Collection<V>> values(M map)
- Specified by:
values
in interfaceCriteriaBuilder
- Specified by:
values
in interfaceHibernateCriteriaBuilder
-
size
<C extends Collection<?>> SqmExpression<Integer> size(Expression<C> collection)
- Specified by:
size
in interfaceCriteriaBuilder
- Specified by:
size
in interfaceHibernateCriteriaBuilder
-
size
<C extends Collection<?>> SqmExpression<Integer> size(C collection)
- Specified by:
size
in interfaceCriteriaBuilder
- Specified by:
size
in interfaceHibernateCriteriaBuilder
-
coalesce
<T> JpaCoalesce<T> coalesce()
- Specified by:
coalesce
in interfaceCriteriaBuilder
- Specified by:
coalesce
in interfaceHibernateCriteriaBuilder
-
coalesce
<Y> JpaCoalesce<Y> coalesce(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
coalesce
in interfaceCriteriaBuilder
- Specified by:
coalesce
in interfaceHibernateCriteriaBuilder
-
coalesce
<Y> JpaCoalesce<Y> coalesce(Expression<? extends Y> x, Y y)
- Specified by:
coalesce
in interfaceCriteriaBuilder
- Specified by:
coalesce
in interfaceHibernateCriteriaBuilder
-
nullif
<Y> SqmExpression<Y> nullif(Expression<Y> x, Expression<?> y)
- Specified by:
nullif
in interfaceCriteriaBuilder
- Specified by:
nullif
in interfaceHibernateCriteriaBuilder
-
nullif
<Y> SqmExpression<Y> nullif(Expression<Y> x, Y y)
- Specified by:
nullif
in interfaceCriteriaBuilder
- Specified by:
nullif
in interfaceHibernateCriteriaBuilder
-
selectCase
<C,R> JpaSimpleCase<C,R> selectCase(Expression<? extends C> expression)
- Specified by:
selectCase
in interfaceCriteriaBuilder
- Specified by:
selectCase
in interfaceHibernateCriteriaBuilder
-
selectCase
<R> JpaSearchedCase<R> selectCase()
- Specified by:
selectCase
in interfaceCriteriaBuilder
- Specified by:
selectCase
in interfaceHibernateCriteriaBuilder
-
and
SqmPredicate and(Expression<Boolean> x, Expression<Boolean> y)
- Specified by:
and
in interfaceCriteriaBuilder
- Specified by:
and
in interfaceHibernateCriteriaBuilder
-
and
SqmPredicate and(Predicate... restrictions)
- Specified by:
and
in interfaceCriteriaBuilder
- Specified by:
and
in interfaceHibernateCriteriaBuilder
-
or
SqmPredicate or(Expression<Boolean> x, Expression<Boolean> y)
- Specified by:
or
in interfaceCriteriaBuilder
- Specified by:
or
in interfaceHibernateCriteriaBuilder
-
or
SqmPredicate or(Predicate... restrictions)
- Specified by:
or
in interfaceCriteriaBuilder
- Specified by:
or
in interfaceHibernateCriteriaBuilder
-
not
SqmPredicate not(Expression<Boolean> restriction)
- Specified by:
not
in interfaceCriteriaBuilder
- Specified by:
not
in interfaceHibernateCriteriaBuilder
-
conjunction
SqmPredicate conjunction()
- Specified by:
conjunction
in interfaceCriteriaBuilder
- Specified by:
conjunction
in interfaceHibernateCriteriaBuilder
-
disjunction
SqmPredicate disjunction()
- Specified by:
disjunction
in interfaceCriteriaBuilder
- Specified by:
disjunction
in interfaceHibernateCriteriaBuilder
-
isTrue
SqmPredicate isTrue(Expression<Boolean> x)
- Specified by:
isTrue
in interfaceCriteriaBuilder
- Specified by:
isTrue
in interfaceHibernateCriteriaBuilder
-
isFalse
SqmPredicate isFalse(Expression<Boolean> x)
- Specified by:
isFalse
in interfaceCriteriaBuilder
- Specified by:
isFalse
in interfaceHibernateCriteriaBuilder
-
isNull
SqmPredicate isNull(Expression<?> x)
- Specified by:
isNull
in interfaceCriteriaBuilder
- Specified by:
isNull
in interfaceHibernateCriteriaBuilder
-
isNotNull
SqmPredicate isNotNull(Expression<?> x)
- Specified by:
isNotNull
in interfaceCriteriaBuilder
- Specified by:
isNotNull
in interfaceHibernateCriteriaBuilder
-
equal
SqmPredicate equal(Expression<?> x, Expression<?> y)
- Specified by:
equal
in interfaceCriteriaBuilder
- Specified by:
equal
in interfaceHibernateCriteriaBuilder
-
equal
SqmPredicate equal(Expression<?> x, Object y)
- Specified by:
equal
in interfaceCriteriaBuilder
- Specified by:
equal
in interfaceHibernateCriteriaBuilder
-
notEqual
SqmPredicate notEqual(Expression<?> x, Expression<?> y)
- Specified by:
notEqual
in interfaceCriteriaBuilder
- Specified by:
notEqual
in interfaceHibernateCriteriaBuilder
-
notEqual
SqmPredicate notEqual(Expression<?> x, Object y)
- Specified by:
notEqual
in interfaceCriteriaBuilder
- Specified by:
notEqual
in interfaceHibernateCriteriaBuilder
-
distinctFrom
SqmPredicate distinctFrom(Expression<?> x, Expression<?> y)
- Specified by:
distinctFrom
in interfaceHibernateCriteriaBuilder
-
distinctFrom
SqmPredicate distinctFrom(Expression<?> x, Object y)
- Specified by:
distinctFrom
in interfaceHibernateCriteriaBuilder
-
notDistinctFrom
SqmPredicate notDistinctFrom(Expression<?> x, Expression<?> y)
- Specified by:
notDistinctFrom
in interfaceHibernateCriteriaBuilder
-
notDistinctFrom
SqmPredicate notDistinctFrom(Expression<?> x, Object y)
- Specified by:
notDistinctFrom
in interfaceHibernateCriteriaBuilder
-
greaterThan
<Y extends Comparable<? super Y>> SqmPredicate greaterThan(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
greaterThan
in interfaceCriteriaBuilder
- Specified by:
greaterThan
in interfaceHibernateCriteriaBuilder
-
greaterThan
<Y extends Comparable<? super Y>> SqmPredicate greaterThan(Expression<? extends Y> x, Y y)
- Specified by:
greaterThan
in interfaceCriteriaBuilder
- Specified by:
greaterThan
in interfaceHibernateCriteriaBuilder
-
greaterThanOrEqualTo
<Y extends Comparable<? super Y>> SqmPredicate greaterThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
greaterThanOrEqualTo
in interfaceCriteriaBuilder
- Specified by:
greaterThanOrEqualTo
in interfaceHibernateCriteriaBuilder
-
greaterThanOrEqualTo
<Y extends Comparable<? super Y>> SqmPredicate greaterThanOrEqualTo(Expression<? extends Y> x, Y y)
- Specified by:
greaterThanOrEqualTo
in interfaceCriteriaBuilder
- Specified by:
greaterThanOrEqualTo
in interfaceHibernateCriteriaBuilder
-
lessThan
<Y extends Comparable<? super Y>> SqmPredicate lessThan(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
lessThan
in interfaceCriteriaBuilder
- Specified by:
lessThan
in interfaceHibernateCriteriaBuilder
-
lessThan
<Y extends Comparable<? super Y>> SqmPredicate lessThan(Expression<? extends Y> x, Y y)
- Specified by:
lessThan
in interfaceCriteriaBuilder
- Specified by:
lessThan
in interfaceHibernateCriteriaBuilder
-
lessThanOrEqualTo
<Y extends Comparable<? super Y>> SqmPredicate lessThanOrEqualTo(Expression<? extends Y> x, Expression<? extends Y> y)
- Specified by:
lessThanOrEqualTo
in interfaceCriteriaBuilder
- Specified by:
lessThanOrEqualTo
in interfaceHibernateCriteriaBuilder
-
lessThanOrEqualTo
<Y extends Comparable<? super Y>> SqmPredicate lessThanOrEqualTo(Expression<? extends Y> x, Y y)
- Specified by:
lessThanOrEqualTo
in interfaceCriteriaBuilder
- Specified by:
lessThanOrEqualTo
in interfaceHibernateCriteriaBuilder
-
between
<Y extends Comparable<? super Y>> SqmPredicate between(Expression<? extends Y> value, Expression<? extends Y> lower, Expression<? extends Y> upper)
- Specified by:
between
in interfaceCriteriaBuilder
- Specified by:
between
in interfaceHibernateCriteriaBuilder
-
between
<Y extends Comparable<? super Y>> SqmPredicate between(Expression<? extends Y> value, Y lower, Y upper)
- Specified by:
between
in interfaceCriteriaBuilder
- Specified by:
between
in interfaceHibernateCriteriaBuilder
-
gt
SqmPredicate gt(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
gt
in interfaceCriteriaBuilder
- Specified by:
gt
in interfaceHibernateCriteriaBuilder
-
gt
SqmPredicate gt(Expression<? extends Number> x, Number y)
- Specified by:
gt
in interfaceCriteriaBuilder
- Specified by:
gt
in interfaceHibernateCriteriaBuilder
-
ge
SqmPredicate ge(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
ge
in interfaceCriteriaBuilder
- Specified by:
ge
in interfaceHibernateCriteriaBuilder
-
ge
SqmPredicate ge(Expression<? extends Number> x, Number y)
- Specified by:
ge
in interfaceCriteriaBuilder
- Specified by:
ge
in interfaceHibernateCriteriaBuilder
-
lt
SqmPredicate lt(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
lt
in interfaceCriteriaBuilder
- Specified by:
lt
in interfaceHibernateCriteriaBuilder
-
lt
SqmPredicate lt(Expression<? extends Number> x, Number y)
- Specified by:
lt
in interfaceCriteriaBuilder
- Specified by:
lt
in interfaceHibernateCriteriaBuilder
-
le
SqmPredicate le(Expression<? extends Number> x, Expression<? extends Number> y)
- Specified by:
le
in interfaceCriteriaBuilder
- Specified by:
le
in interfaceHibernateCriteriaBuilder
-
le
SqmPredicate le(Expression<? extends Number> x, Number y)
- Specified by:
le
in interfaceCriteriaBuilder
- Specified by:
le
in interfaceHibernateCriteriaBuilder
-
isEmpty
<C extends Collection<?>> SqmPredicate isEmpty(Expression<C> collection)
- Specified by:
isEmpty
in interfaceCriteriaBuilder
- Specified by:
isEmpty
in interfaceHibernateCriteriaBuilder
-
isNotEmpty
<C extends Collection<?>> SqmPredicate isNotEmpty(Expression<C> collection)
- Specified by:
isNotEmpty
in interfaceCriteriaBuilder
- Specified by:
isNotEmpty
in interfaceHibernateCriteriaBuilder
-
isMember
<E,C extends Collection<E>> SqmPredicate isMember(Expression<E> elem, Expression<C> collection)
- Specified by:
isMember
in interfaceCriteriaBuilder
- Specified by:
isMember
in interfaceHibernateCriteriaBuilder
-
isMember
<E,C extends Collection<E>> SqmPredicate isMember(E elem, Expression<C> collection)
- Specified by:
isMember
in interfaceCriteriaBuilder
- Specified by:
isMember
in interfaceHibernateCriteriaBuilder
-
isNotMember
<E,C extends Collection<E>> SqmPredicate isNotMember(Expression<E> elem, Expression<C> collection)
- Specified by:
isNotMember
in interfaceCriteriaBuilder
- Specified by:
isNotMember
in interfaceHibernateCriteriaBuilder
-
isNotMember
<E,C extends Collection<E>> SqmPredicate isNotMember(E elem, Expression<C> collection)
- Specified by:
isNotMember
in interfaceCriteriaBuilder
- Specified by:
isNotMember
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, Expression<String> pattern)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, String pattern)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, Expression<String> pattern, char escapeChar)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, String pattern, Expression<Character> escapeChar)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
like
SqmPredicate like(Expression<String> x, String pattern, char escapeChar)
- Specified by:
like
in interfaceCriteriaBuilder
- Specified by:
like
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, Expression<String> pattern)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, String pattern)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, Expression<String> pattern, Expression<Character> escapeChar)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, Expression<String> pattern, char escapeChar)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, String pattern, Expression<Character> escapeChar)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
notLike
SqmPredicate notLike(Expression<String> x, String pattern, char escapeChar)
- Specified by:
notLike
in interfaceCriteriaBuilder
- Specified by:
notLike
in interfaceHibernateCriteriaBuilder
-
in
<T> SqmInPredicate<T> in(Expression<? extends T> expression)
- Specified by:
in
in interfaceCriteriaBuilder
- Specified by:
in
in interfaceHibernateCriteriaBuilder
-
in
<T> SqmInPredicate<T> in(Expression<? extends T> expression, Expression<? extends T>... values)
- Specified by:
in
in interfaceHibernateCriteriaBuilder
-
in
<T> SqmInPredicate<T> in(Expression<? extends T> expression, T... values)
- Specified by:
in
in interfaceHibernateCriteriaBuilder
-
in
<T> SqmInPredicate<T> in(Expression<? extends T> expression, Collection<T> values)
- Specified by:
in
in interfaceHibernateCriteriaBuilder
-
in
<T> SqmInPredicate<T> in(Expression<? extends T> expression, SqmSubQuery<T> subQuery)
-
exists
SqmPredicate exists(Subquery<?> subquery)
- Specified by:
exists
in interfaceCriteriaBuilder
- Specified by:
exists
in interfaceHibernateCriteriaBuilder
-
isMapEmpty
<M extends Map<?,?>> SqmPredicate isMapEmpty(JpaExpression<M> mapExpression)
Description copied from interface:HibernateCriteriaBuilder
Create a predicate that tests whether a Map is empty.- Specified by:
isMapEmpty
in interfaceHibernateCriteriaBuilder
- Parameters:
mapExpression
- The expression resolving to a Map which we want to check for emptiness- Returns:
- is-empty predicate
-
isMapNotEmpty
<M extends Map<?,?>> SqmPredicate isMapNotEmpty(JpaExpression<M> mapExpression)
Description copied from interface:HibernateCriteriaBuilder
Create a predicate that tests whether a Map is not empty.- Specified by:
isMapNotEmpty
in interfaceHibernateCriteriaBuilder
- Parameters:
mapExpression
- The expression resolving to a Map which we want to check for non-emptiness- Returns:
- is-not-empty predicate
-
mapSize
<M extends Map<?,?>> SqmExpression<Integer> mapSize(JpaExpression<M> mapExpression)
Description copied from interface:HibernateCriteriaBuilder
Create an expression that tests the size of a map.- Specified by:
mapSize
in interfaceHibernateCriteriaBuilder
- Parameters:
mapExpression
- The expression resolving to a Map for which we want to know the size- Returns:
- size expression
-
mapSize
<M extends Map<?,?>> SqmExpression<Integer> mapSize(M map)
Description copied from interface:HibernateCriteriaBuilder
Create an expression that tests the size of a map.- Specified by:
mapSize
in interfaceHibernateCriteriaBuilder
- Parameters:
map
- The Map for which we want to know the size- Returns:
- size expression
-
sort
SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence)
- Specified by:
sort
in interfaceHibernateCriteriaBuilder
-
sort
SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder, NullPrecedence nullPrecedence, boolean ignoreCase)
- Specified by:
sort
in interfaceHibernateCriteriaBuilder
-
sort
SqmSortSpecification sort(JpaExpression<?> sortExpression, SortDirection sortOrder)
- Specified by:
sort
in interfaceHibernateCriteriaBuilder
-
sort
SqmSortSpecification sort(JpaExpression<?> sortExpression)
- Specified by:
sort
in interfaceHibernateCriteriaBuilder
-
asc
SqmSortSpecification asc(Expression<?> x)
- Specified by:
asc
in interfaceCriteriaBuilder
- Specified by:
asc
in interfaceHibernateCriteriaBuilder
-
desc
SqmSortSpecification desc(Expression<?> x)
- Specified by:
desc
in interfaceCriteriaBuilder
- Specified by:
desc
in interfaceHibernateCriteriaBuilder
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
-
-