public class ParameterizedFunctionExpression<X> extends BasicFunctionExpression<X> implements FunctionExpression<X>
ParameterContainer.Helper
Modifier and Type | Field and Description |
---|---|
static List<String> |
STANDARD_JPA_FUNCTION_NAMES |
Constructor and Description |
---|
ParameterizedFunctionExpression(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType,
String functionName,
Expression<?>... argumentExpressions) |
ParameterizedFunctionExpression(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType,
String functionName,
List<Expression<?>> argumentExpressions) |
Modifier and Type | Method and Description |
---|---|
List<Expression<?>> |
getArgumentExpressions() |
protected boolean |
isStandardJpaFunction() |
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) |
protected void |
renderArguments(StringBuilder buffer,
RenderingContext renderingContext) |
getFunctionName, isAggregation, renderProjection
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
getFunctionName, isAggregation
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
getValueHandlers
getValueHandler
public ParameterizedFunctionExpression(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, String functionName, List<Expression<?>> argumentExpressions)
public ParameterizedFunctionExpression(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, String functionName, Expression<?>... argumentExpressions)
protected boolean isStandardJpaFunction()
protected static int properSize(int number)
public List<Expression<?>> getArgumentExpressions()
public void registerParameters(ParameterRegistry registry)
ParameterContainer
registerParameters
in interface ParameterContainer
registerParameters
in class BasicFunctionExpression<X>
registry
- The parameter registry with which to register.public String render(RenderingContext renderingContext)
render
in interface Renderable
render
in class BasicFunctionExpression<X>
protected void renderArguments(StringBuilder buffer, RenderingContext renderingContext)
Copyright © 2016 JBoss by Red Hat. All rights reserved.