CriteriaBuilder
public interface BlazeCriteriaBuilder extends CriteriaBuilder
CriteriaBuilder
.CriteriaBuilder.Case<R extends java.lang.Object>, CriteriaBuilder.Coalesce<T extends java.lang.Object>, CriteriaBuilder.In<T extends java.lang.Object>, CriteriaBuilder.SimpleCase<C extends java.lang.Object,R extends java.lang.Object>, CriteriaBuilder.Trimspec
Modifier and Type | Method | Description |
---|---|---|
BlazeOrder |
asc(Expression<?> x) |
|
BlazeOrder |
asc(Expression<?> x,
boolean nullsFirst) |
Like
CriteriaBuilder.asc(Expression) but allows to also specify the null precedence. |
<T> BlazeCriteriaDelete<T> |
createCriteriaDelete(java.lang.Class<T> targetEntity) |
Create a query object to perform a bulk delete operation.
|
<T> BlazeCriteriaDelete<T> |
createCriteriaDelete(java.lang.Class<T> targetEntity,
java.lang.String alias) |
Like
createCriteriaDelete(Class) but also sets the alias for the entity. |
<T> BlazeCriteriaUpdate<T> |
createCriteriaUpdate(java.lang.Class<T> targetEntity) |
Create a query object to perform a bulk update operation.
|
<T> BlazeCriteriaUpdate<T> |
createCriteriaUpdate(java.lang.Class<T> targetEntity,
java.lang.String alias) |
Like
createCriteriaUpdate(Class) but also sets the alias for the entity. |
BlazeCriteriaQuery<java.lang.Object> |
createQuery() |
|
<T> BlazeCriteriaQuery<T> |
createQuery(java.lang.Class<T> resultClass) |
|
BlazeCriteriaQuery<javax.persistence.Tuple> |
createTupleQuery() |
|
BlazeOrder |
desc(Expression<?> x) |
|
BlazeOrder |
desc(Expression<?> x,
boolean nullsFirst) |
Like
CriteriaBuilder.desc(Expression) but allows to also specify the null precedence. |
<C extends java.util.Map<?,?>> |
isMapEmpty(Expression<C> map) |
Create a predicate that tests whether a map is empty.
|
<C extends java.util.Map<?,?>> |
isMapNotEmpty(Expression<C> map) |
Create a predicate that tests whether a map is not empty.
|
<C extends java.util.Map<?,?>> |
mapSize(C map) |
Create an expression that tests the size of a map.
|
<C extends java.util.Map<?,?>> |
mapSize(Expression<C> map) |
Create an expression that tests the size of a map.
|
<X,T,E extends T> |
treat(BlazeCollectionJoin<X,T> join,
java.lang.Class<E> type) |
Downcast CollectionJoin object to the specified type.
|
<X,T,V extends T> |
treat(BlazeJoin<X,T> join,
java.lang.Class<V> type) |
Downcast Join object to the specified type.
|
<X,T,E extends T> |
treat(BlazeListJoin<X,T> join,
java.lang.Class<E> type) |
Downcast ListJoin object to the specified type.
|
<X,K,T,V extends T> |
treat(BlazeMapJoin<X,K,T> join,
java.lang.Class<V> type) |
Downcast MapJoin object to the specified type.
|
<X,T extends X> |
treat(BlazePath<X> path,
java.lang.Class<T> type) |
Downcast Path object to the specified type.
|
<X,T extends X> |
treat(BlazeRoot<X> root,
java.lang.Class<T> type) |
Downcast Root object to the specified type.
|
<X,T,E extends T> |
treat(BlazeSetJoin<X,T> join,
java.lang.Class<E> type) |
Downcast SetJoin object to the specified type.
|
<X,T,E extends T> |
treat(CollectionJoin<X,T> join,
java.lang.Class<E> type) |
Downcast CollectionJoin object to the specified type.
|
<X,T,V extends T> |
treat(Join<X,T> join,
java.lang.Class<V> type) |
Downcast Join object to the specified type.
|
<X,T,E extends T> |
treat(ListJoin<X,T> join,
java.lang.Class<E> type) |
Downcast ListJoin object to the specified type.
|
<X,K,T,V extends T> |
treat(MapJoin<X,K,T> join,
java.lang.Class<V> type) |
Downcast MapJoin object to the specified type.
|
<X,T extends X> |
treat(Path<X> path,
java.lang.Class<T> type) |
Downcast Path object to the specified type.
|
<X,T extends X> |
treat(Root<X> root,
java.lang.Class<T> type) |
Downcast Root object to the specified type.
|
<X,T,E extends T> |
treat(SetJoin<X,T> join,
java.lang.Class<E> type) |
Downcast SetJoin object to the specified type.
|
abs, all, and, and, any, array, avg, between, between, coalesce, coalesce, coalesce, concat, concat, concat, conjunction, construct, count, countDistinct, currentDate, currentTime, currentTimestamp, diff, diff, diff, disjunction, equal, equal, exists, function, ge, ge, greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, greatest, gt, gt, in, isEmpty, isFalse, isMember, isMember, isNotEmpty, isNotMember, isNotMember, isNotNull, isNull, isTrue, keys, le, le, least, length, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo, like, like, like, like, like, like, literal, locate, locate, locate, locate, lower, lt, lt, max, min, mod, mod, mod, neg, not, notEqual, notEqual, notLike, notLike, notLike, notLike, notLike, notLike, nullif, nullif, nullLiteral, or, or, parameter, parameter, prod, prod, prod, quot, quot, quot, selectCase, selectCase, size, size, some, sqrt, substring, substring, substring, substring, sum, sum, sum, sum, sumAsDouble, sumAsLong, toBigDecimal, toBigInteger, toDouble, toFloat, toInteger, toLong, toString, trim, trim, trim, trim, trim, trim, tuple, upper, values
<C extends java.util.Map<?,?>> Predicate isMapEmpty(Expression<C> map)
C
- map typemap
- expression<C extends java.util.Map<?,?>> Predicate isMapNotEmpty(Expression<C> map)
C
- map typemap
- expression<C extends java.util.Map<?,?>> Expression<java.lang.Integer> mapSize(Expression<C> map)
C
- map typemap
- map<C extends java.util.Map<?,?>> Expression<java.lang.Integer> mapSize(C map)
C
- map typemap
- mapBlazeOrder asc(Expression<?> x, boolean nullsFirst)
CriteriaBuilder.asc(Expression)
but allows to also specify the null precedence.x
- The expression used to define the orderingnullsFirst
- True if nulls should be first, false otherwiseBlazeOrder desc(Expression<?> x, boolean nullsFirst)
CriteriaBuilder.desc(Expression)
but allows to also specify the null precedence.x
- The expression used to define the orderingnullsFirst
- True if nulls should be first, false otherwise<T> BlazeCriteriaUpdate<T> createCriteriaUpdate(java.lang.Class<T> targetEntity, java.lang.String alias)
createCriteriaUpdate(Class)
but also sets the alias for the entity.T
- The type of the entitytargetEntity
- target type for update operationalias
- The alias for the entity<T> BlazeCriteriaDelete<T> createCriteriaDelete(java.lang.Class<T> targetEntity, java.lang.String alias)
createCriteriaDelete(Class)
but also sets the alias for the entity.T
- The type of the entitytargetEntity
- target type for delete operationalias
- The alias for the entityBlazeOrder asc(Expression<?> x)
asc
in interface CriteriaBuilder
BlazeOrder desc(Expression<?> x)
desc
in interface CriteriaBuilder
BlazeCriteriaQuery<java.lang.Object> createQuery()
createQuery
in interface CriteriaBuilder
<T> BlazeCriteriaQuery<T> createQuery(java.lang.Class<T> resultClass)
createQuery
in interface CriteriaBuilder
BlazeCriteriaQuery<javax.persistence.Tuple> createTupleQuery()
createTupleQuery
in interface CriteriaBuilder
<T> BlazeCriteriaUpdate<T> createCriteriaUpdate(java.lang.Class<T> targetEntity)
T
- The type of the entitytargetEntity
- target type for update operation<T> BlazeCriteriaDelete<T> createCriteriaDelete(java.lang.Class<T> targetEntity)
T
- The type of the entitytargetEntity
- target type for delete operation<X,T,V extends T> BlazeJoin<X,V> treat(Join<X,T> join, java.lang.Class<V> type)
X
- The source typeT
- The type of the joined relationV
- The target treat typejoin
- Join objecttype
- type to be downcast to<X,T,E extends T> BlazeCollectionJoin<X,E> treat(CollectionJoin<X,T> join, java.lang.Class<E> type)
X
- The source typeT
- The type of the joined relationE
- The target treat typejoin
- CollectionJoin objecttype
- type to be downcast to<X,T,E extends T> BlazeSetJoin<X,E> treat(SetJoin<X,T> join, java.lang.Class<E> type)
X
- The source typeT
- The type of the joined relationE
- The target treat typejoin
- SetJoin objecttype
- type to be downcast to<X,T,E extends T> BlazeListJoin<X,E> treat(ListJoin<X,T> join, java.lang.Class<E> type)
X
- The source typeT
- The type of the joined relationE
- The target treat typejoin
- ListJoin objecttype
- type to be downcast to<X,K,T,V extends T> BlazeMapJoin<X,K,V> treat(MapJoin<X,K,T> join, java.lang.Class<V> type)
X
- The source typeT
- The type of the joined relationK
- The key type of the joined relationV
- The target treat typejoin
- MapJoin objecttype
- type to be downcast to<X,T extends X> BlazePath<T> treat(Path<X> path, java.lang.Class<T> type)
X
- The path typeT
- The target treat typepath
- pathtype
- type to be downcast to<X,T extends X> BlazeRoot<T> treat(Root<X> root, java.lang.Class<T> type)
X
- The root typeT
- The target treat typeroot
- roottype
- type to be downcast to<X,T,V extends T> BlazeJoin<X,V> treat(BlazeJoin<X,T> join, java.lang.Class<V> type)
X
- The source typeT
- The type of the joined relationV
- The target treat typejoin
- Join objecttype
- type to be downcast to<X,T,E extends T> BlazeCollectionJoin<X,E> treat(BlazeCollectionJoin<X,T> join, java.lang.Class<E> type)
X
- The source typeT
- The type of the joined relationE
- The target treat typejoin
- CollectionJoin objecttype
- type to be downcast to<X,T,E extends T> BlazeSetJoin<X,E> treat(BlazeSetJoin<X,T> join, java.lang.Class<E> type)
X
- The source typeT
- The type of the joined relationE
- The target treat typejoin
- SetJoin objecttype
- type to be downcast to<X,T,E extends T> BlazeListJoin<X,E> treat(BlazeListJoin<X,T> join, java.lang.Class<E> type)
X
- The source typeT
- The type of the joined relationE
- The target treat typejoin
- ListJoin objecttype
- type to be downcast to<X,K,T,V extends T> BlazeMapJoin<X,K,V> treat(BlazeMapJoin<X,K,T> join, java.lang.Class<V> type)
X
- The source typeT
- The type of the joined relationK
- The key type of the joined relationV
- The target treat typejoin
- MapJoin objecttype
- type to be downcast to<X,T extends X> BlazePath<T> treat(BlazePath<X> path, java.lang.Class<T> type)
X
- The path typeT
- The target treat typepath
- pathtype
- type to be downcast toCopyright © 2014–2018 Blazebit. All rights reserved.