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(CriteriaQueryCompiler.RenderingContext renderingContext) |
String |
renderProjection(CriteriaQueryCompiler.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, isCompoundSelectiongetAlias, getJavaTypegetValueHandlersgetValueHandlerpublic BasicFunctionExpression(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, String functionName)
protected static int properSize(int number)
public 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 String render(CriteriaQueryCompiler.RenderingContext renderingContext)
render in interface Renderablepublic String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
renderProjection in interface RenderableCopyright © 2012 JBoss by Red Hat. All Rights Reserved.