public class BasicFunctionExpression<X> extends ExpressionImpl<X> implements FunctionExpression<X>, Serializable
ParameterContainer.Helper
Constructor and Description |
---|
BasicFunctionExpression(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType,
String functionName) |
Modifier and Type | Method and Description |
---|---|
String |
getFunctionName()
Retrieve the name of the function.
|
boolean |
isAggregation()
Is this function a value aggregator (like a COUNT or MAX function e.g.)?
|
protected static int |
properSize(int number) |
void |
registerParameters(ParameterRegistry registry)
Register any parameters contained within this query component with the given registry.
|
String |
render(RenderingContext renderingContext) |
String |
renderProjection(RenderingContext renderingContext) |
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
forceConversion, getAlias, getJavaType, 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, getJavaType
getValueHandlers
getValueHandler
public BasicFunctionExpression(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, String functionName)
protected static int properSize(int number)
public String getFunctionName()
FunctionExpression
getFunctionName
in interface FunctionExpression<X>
public boolean isAggregation()
FunctionExpression
isAggregation
in interface FunctionExpression<X>
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.