T
- the type of the expressionSelection<T>
, TupleElement<T>
CollectionJoin<Z,E>
, CriteriaBuilder.Case<R>
, CriteriaBuilder.Coalesce<T>
, CriteriaBuilder.In<T>
, CriteriaBuilder.SimpleCase<C,R>
, From<Z,X>
, Join<Z,X>
, ListJoin<Z,E>
, MapJoin<Z,K,V>
, ParameterExpression<T>
, Path<X>
, PluralJoin<Z,C,E>
, Predicate
, Root<X>
, SetJoin<Z,E>
, Subquery<T>
public interface Expression<T> extends Selection<T>
Modifier and Type | Method | Description |
---|---|---|
<X> Expression<X> |
as(java.lang.Class<X> type) |
Perform a typecast upon the expression, returning a new
expression object.
|
Predicate |
in(java.lang.Object... values) |
Create a predicate to test whether the expression is a member
of the argument list.
|
Predicate |
in(java.util.Collection<?> values) |
Create a predicate to test whether the expression is a member
of the collection.
|
Predicate |
in(Expression<?>... values) |
Create a predicate to test whether the expression is a member
of the argument list.
|
Predicate |
in(Expression<java.util.Collection<?>> values) |
Create a predicate to test whether the expression is a member
of the collection.
|
Predicate |
isNotNull() |
Create a predicate to test whether the expression is
not null.
|
Predicate |
isNull() |
Create a predicate to test whether the expression is null.
|
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
Predicate isNull()
Predicate isNotNull()
Predicate in(java.lang.Object... values)
values
- values to be tested againstPredicate in(Expression<?>... values)
values
- expressions to be tested againstPredicate in(java.util.Collection<?> values)
values
- collection of values to be tested againstPredicate in(Expression<java.util.Collection<?>> values)
values
- expression corresponding to collection to be
tested against<X> Expression<X> as(java.lang.Class<X> type)
type
- intended type of the expressionCopyright © 2018. All rights reserved.