public abstract class ExpressionImpl<T> extends SelectionImpl<T> implements ExpressionImplementor<T>, Serializable
ParameterContainer.Helper| Constructor and Description |
|---|
ExpressionImpl(CriteriaBuilderImpl criteriaBuilder,
Class<T> javaType) |
| Modifier and Type | Method and Description |
|---|---|
<X> Expression<X> |
as(Class<X> type)
Perform a typecast upon the expression, returning a new
expression object.
|
ExpressionImplementor<BigDecimal> |
asBigDecimal()
|
ExpressionImplementor<BigInteger> |
asBigInteger()
|
ExpressionImplementor<Double> |
asDouble()
|
ExpressionImplementor<Float> |
asFloat()
|
ExpressionImplementor<Integer> |
asInteger()
|
ExpressionImplementor<Long> |
asLong()
|
ExpressionImplementor<String> |
asString()
|
Predicate |
in(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<Collection<?>> values)
Create a predicate to test whether the expression is a member
of the collection.
|
Predicate |
in(Object... values)
Create a predicate to test whether the expression is a member
of the argument list.
|
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, getValueHandlers, isCompoundSelectionforceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueHandlersgetValueHandleralias, getCompoundSelectionItems, isCompoundSelectiongetAlias, getJavaTyperender, renderProjectionregisterParameterspublic ExpressionImpl(CriteriaBuilderImpl criteriaBuilder, Class<T> javaType)
public <X> Expression<X> as(Class<X> type)
as in interface Expression<T>type - intended type of the expressionpublic Predicate isNull()
isNull in interface Expression<T>public Predicate isNotNull()
isNotNull in interface Expression<T>public Predicate in(Object... values)
in in interface Expression<T>values - values to be tested againstpublic Predicate in(Expression<?>... values)
in in interface Expression<T>values - expressions to be tested againstpublic Predicate in(Collection<?> values)
in in interface Expression<T>values - collection of values to be tested againstpublic Predicate in(Expression<Collection<?>> values)
in in interface Expression<T>values - expression corresponding to collection to be
tested againstpublic ExpressionImplementor<Long> asLong()
asLong in interface ExpressionImplementor<T>public ExpressionImplementor<Integer> asInteger()
asInteger in interface ExpressionImplementor<T>public ExpressionImplementor<Float> asFloat()
asFloat in interface ExpressionImplementor<T>public ExpressionImplementor<Double> asDouble()
asDouble in interface ExpressionImplementor<T>public ExpressionImplementor<BigDecimal> asBigDecimal()
asBigDecimal in interface ExpressionImplementor<T>BigDecimalpublic ExpressionImplementor<BigInteger> asBigInteger()
asBigInteger in interface ExpressionImplementor<T>BigIntegerpublic ExpressionImplementor<String> asString()
asString in interface ExpressionImplementor<T>Copyright © 2012 JBoss by Red Hat. All Rights Reserved.