|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.ejb.criteria.AbstractNode org.hibernate.ejb.criteria.expression.AbstractTupleElement<X> org.hibernate.ejb.criteria.expression.SelectionImpl<T> org.hibernate.ejb.criteria.expression.ExpressionImpl<T>
public abstract class ExpressionImpl<T>
Models an expression in the criteria query language.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.hibernate.ejb.criteria.ParameterContainer |
---|
ParameterContainer.Helper |
Constructor Summary | |
---|---|
ExpressionImpl(CriteriaBuilderImpl criteriaBuilder,
Class<T> javaType)
|
Method Summary | ||
---|---|---|
|
as(Class<X> type)
|
|
ExpressionImplementor<BigDecimal> |
asBigDecimal()
See CriteriaBuilder.toBigDecimal(javax.persistence.criteria.Expression extends java.lang.Number>) |
|
ExpressionImplementor<BigInteger> |
asBigInteger()
See CriteriaBuilder.toBigInteger(javax.persistence.criteria.Expression extends java.lang.Number>) |
|
ExpressionImplementor<Double> |
asDouble()
See CriteriaBuilder.toDouble(javax.persistence.criteria.Expression extends java.lang.Number>) |
|
ExpressionImplementor<Float> |
asFloat()
See CriteriaBuilder.toFloat(javax.persistence.criteria.Expression extends java.lang.Number>) |
|
ExpressionImplementor<Integer> |
asInteger()
See CriteriaBuilder.toInteger(javax.persistence.criteria.Expression extends java.lang.Number>) |
|
ExpressionImplementor<Long> |
asLong()
See CriteriaBuilder.toLong(javax.persistence.criteria.Expression extends java.lang.Number>) |
|
ExpressionImplementor<String> |
asString()
See CriteriaBuilder.toString(javax.persistence.criteria.Expression |
|
javax.persistence.criteria.Predicate |
in(Collection<?> values)
|
|
javax.persistence.criteria.Predicate |
in(javax.persistence.criteria.Expression<?>... values)
|
|
javax.persistence.criteria.Predicate |
in(javax.persistence.criteria.Expression<Collection<?>> values)
|
|
javax.persistence.criteria.Predicate |
in(Object... values)
|
|
javax.persistence.criteria.Predicate |
isNotNull()
|
|
javax.persistence.criteria.Predicate |
isNull()
|
Methods inherited from class org.hibernate.ejb.criteria.expression.SelectionImpl |
---|
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection |
Methods inherited from class org.hibernate.ejb.criteria.expression.AbstractTupleElement |
---|
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias |
Methods inherited from class org.hibernate.ejb.criteria.AbstractNode |
---|
criteriaBuilder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.hibernate.ejb.criteria.SelectionImplementor |
---|
getValueHandlers |
Methods inherited from interface org.hibernate.ejb.criteria.TupleElementImplementor |
---|
getValueHandler |
Methods inherited from interface javax.persistence.criteria.Selection |
---|
alias, getCompoundSelectionItems, isCompoundSelection |
Methods inherited from interface javax.persistence.TupleElement |
---|
getAlias, getJavaType |
Methods inherited from interface org.hibernate.ejb.criteria.Renderable |
---|
render, renderProjection |
Methods inherited from interface org.hibernate.ejb.criteria.ParameterContainer |
---|
registerParameters |
Constructor Detail |
---|
public ExpressionImpl(CriteriaBuilderImpl criteriaBuilder, Class<T> javaType)
Method Detail |
---|
public <X> javax.persistence.criteria.Expression<X> as(Class<X> type)
as
in interface javax.persistence.criteria.Expression<T>
public javax.persistence.criteria.Predicate isNull()
isNull
in interface javax.persistence.criteria.Expression<T>
public javax.persistence.criteria.Predicate isNotNull()
isNotNull
in interface javax.persistence.criteria.Expression<T>
public javax.persistence.criteria.Predicate in(Object... values)
in
in interface javax.persistence.criteria.Expression<T>
public javax.persistence.criteria.Predicate in(javax.persistence.criteria.Expression<?>... values)
in
in interface javax.persistence.criteria.Expression<T>
public javax.persistence.criteria.Predicate in(Collection<?> values)
in
in interface javax.persistence.criteria.Expression<T>
public javax.persistence.criteria.Predicate in(javax.persistence.criteria.Expression<Collection<?>> values)
in
in interface javax.persistence.criteria.Expression<T>
public ExpressionImplementor<Long> asLong()
CriteriaBuilder.toLong(javax.persistence.criteria.Expression extends java.lang.Number>)
asLong
in interface ExpressionImplementor<T>
public ExpressionImplementor<Integer> asInteger()
CriteriaBuilder.toInteger(javax.persistence.criteria.Expression extends java.lang.Number>)
asInteger
in interface ExpressionImplementor<T>
public ExpressionImplementor<Float> asFloat()
CriteriaBuilder.toFloat(javax.persistence.criteria.Expression extends java.lang.Number>)
asFloat
in interface ExpressionImplementor<T>
public ExpressionImplementor<Double> asDouble()
CriteriaBuilder.toDouble(javax.persistence.criteria.Expression extends java.lang.Number>)
asDouble
in interface ExpressionImplementor<T>
public ExpressionImplementor<BigDecimal> asBigDecimal()
CriteriaBuilder.toBigDecimal(javax.persistence.criteria.Expression extends java.lang.Number>)
asBigDecimal
in interface ExpressionImplementor<T>
BigDecimal
public ExpressionImplementor<BigInteger> asBigInteger()
CriteriaBuilder.toBigInteger(javax.persistence.criteria.Expression extends java.lang.Number>)
asBigInteger
in interface ExpressionImplementor<T>
BigInteger
public ExpressionImplementor<String> asString()
CriteriaBuilder.toString(javax.persistence.criteria.Expression)
asString
in interface ExpressionImplementor<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |