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()
Return the Java type of the tuple element.
|
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)
Add an argument to the coalesce expression.
|
CriteriaBuilder.Coalesce<T> |
value(T value)
Add an argument to the coalesce expression.
|
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()
TupleElement
getJavaType
in interface TupleElement<T>
getJavaType
in class AbstractTupleElement<T>
public CriteriaBuilder.Coalesce<T> value(T value)
CriteriaBuilder.Coalesce
value
in interface CriteriaBuilder.Coalesce<T>
value
- valuepublic CriteriaBuilder.Coalesce<T> value(Expression<? extends T> value)
CriteriaBuilder.Coalesce
value
in interface CriteriaBuilder.Coalesce<T>
value
- expressionpublic 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 © 2017 JBoss by Red Hat. All rights reserved.