public class CoalesceExpression<T> extends ExpressionImpl<T> implements CriteriaBuilder.Coalesce<T>, Serializable
ParameterContainer.Helper
Constructor and Description |
---|
CoalesceExpression(CriteriaBuilderImpl criteriaBuilder) |
CoalesceExpression(CriteriaBuilderImpl criteriaBuilder,
Class<T> javaType) |
Modifier and Type | Method and Description |
---|---|
List<Expression<? extends T>> |
getExpressions() |
Class<T> |
getJavaType() |
void |
registerParameters(ParameterRegistry registry)
Register any parameters contained within this query component with the given registry.
|
String |
render(RenderingContext renderingContext) |
String |
renderProjection(RenderingContext renderingContext) |
CriteriaBuilder.Coalesce<T> |
value(Expression<? extends T> value) |
CriteriaBuilder.Coalesce<T> |
value(T value) |
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
forceConversion, getAlias, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias
getValueHandlers
getValueHandler
public CoalesceExpression(CriteriaBuilderImpl criteriaBuilder)
public CoalesceExpression(CriteriaBuilderImpl criteriaBuilder, Class<T> javaType)
public Class<T> getJavaType()
getJavaType
in interface TupleElement<T>
getJavaType
in class AbstractTupleElement<T>
public CriteriaBuilder.Coalesce<T> value(T value)
value
in interface CriteriaBuilder.Coalesce<T>
public CriteriaBuilder.Coalesce<T> value(Expression<? extends T> value)
value
in interface CriteriaBuilder.Coalesce<T>
public List<Expression<? extends T>> getExpressions()
public void registerParameters(ParameterRegistry registry)
ParameterContainer
registerParameters
in interface ParameterContainer
registry
- The parameter registry with which to register.public String render(RenderingContext renderingContext)
render
in interface Renderable
public String renderProjection(RenderingContext renderingContext)
renderProjection
in interface Renderable
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.