T - the type of the expressionpublic abstract class AbstractExpression<T> extends AbstractSelection<T> implements Expression<T>
| Constructor and Description |
|---|
AbstractExpression(Class<T> javaType) |
| Modifier and Type | Method and Description |
|---|---|
<X> Expression<X> |
as(Class<X> type) |
abstract String |
generateJpqlRestriction(BaseQueryImpl<?> query)
Returns the JPQL where fragment.
|
ExpressionConverter<?> |
getConverter()
Returns the converter of the expression.
|
Predicate |
in(Collection<?> values) |
PredicateImpl |
in(Expression<?>... values) |
PredicateImpl |
in(Expression<Collection<?>> values) |
PredicateImpl |
in(Object... values) |
PredicateImpl |
isNotNull() |
PredicateImpl |
isNull() |
<N> Expression<N> |
setConverter(ExpressionConverter<N> converter)
Sets the numeric converter of the expression
|
alias, generateJpqlSelect, generateSqlSelect, getAlias, getCompoundSelectionItems, getSqlRestrictionFragments, handle, isCompoundSelection, isEntityListgetJavaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalias, getCompoundSelectionItems, isCompoundSelectiongetAlias, getJavaTypepublic <X> Expression<X> as(Class<X> type)
as in interface Expression<T>public abstract String generateJpqlRestriction(BaseQueryImpl<?> query)
query - the querypublic ExpressionConverter<?> getConverter()
public Predicate in(Collection<?> values)
in in interface Expression<T>public PredicateImpl in(Expression<?>... values)
in in interface Expression<T>public PredicateImpl in(Expression<Collection<?>> values)
in in interface Expression<T>public PredicateImpl in(Object... values)
in in interface Expression<T>public PredicateImpl isNotNull()
isNotNull in interface Expression<T>public PredicateImpl isNull()
isNull in interface Expression<T>public <N> Expression<N> setConverter(ExpressionConverter<N> converter)
N - the type of the conversionconverter - the numeric converter instanceCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.