public class BasicFunctionExpression<X> extends ExpressionImpl<X> implements FunctionExpression<X>, java.io.Serializable
ParameterContainer.Helper| Constructor and Description |
|---|
BasicFunctionExpression(CriteriaBuilderImpl criteriaBuilder,
java.lang.Class<X> javaType,
java.lang.String functionName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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.
|
java.lang.String |
render(RenderingContext renderingContext) |
java.lang.String |
renderProjection(RenderingContext renderingContext) |
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, getValueHandlers, isCompoundSelectionforceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitas, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, isCompoundSelectiongetValueHandlersgetValueHandlerpublic BasicFunctionExpression(CriteriaBuilderImpl criteriaBuilder, java.lang.Class<X> javaType, java.lang.String functionName)
protected static int properSize(int number)
public java.lang.String getFunctionName()
FunctionExpressiongetFunctionName in interface FunctionExpression<X>public boolean isAggregation()
FunctionExpressionisAggregation in interface FunctionExpression<X>public void registerParameters(ParameterRegistry registry)
ParameterContainerregisterParameters in interface ParameterContainerregistry - The parameter registry with which to register.public java.lang.String render(RenderingContext renderingContext)
render in interface Renderablepublic java.lang.String renderProjection(RenderingContext renderingContext)
renderProjection in interface RenderableCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.