public class ParameterizedFunctionExpression<X> extends BasicFunctionExpression<X> implements FunctionExpression<X>
ParameterContainer.Helper
Modifier and Type | Field and Description |
---|---|
static java.util.List<java.lang.String> |
STANDARD_JPA_FUNCTION_NAMES |
Constructor and Description |
---|
ParameterizedFunctionExpression(CriteriaBuilderImpl criteriaBuilder,
java.lang.Class<X> javaType,
java.lang.String functionName,
javax.persistence.criteria.Expression<?>... argumentExpressions) |
ParameterizedFunctionExpression(CriteriaBuilderImpl criteriaBuilder,
java.lang.Class<X> javaType,
java.lang.String functionName,
java.util.List<javax.persistence.criteria.Expression<?>> argumentExpressions) |
Modifier and Type | Method and Description |
---|---|
java.util.List<javax.persistence.criteria.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.
|
java.lang.String |
render(RenderingContext renderingContext)
Render clause
|
protected void |
renderArguments(java.lang.StringBuilder buffer,
RenderingContext renderingContext) |
getFunctionName, isAggregation
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
getValueHandlers
getValueHandler
renderGroupBy, renderProjection
public static java.util.List<java.lang.String> STANDARD_JPA_FUNCTION_NAMES
public ParameterizedFunctionExpression(CriteriaBuilderImpl criteriaBuilder, java.lang.Class<X> javaType, java.lang.String functionName, java.util.List<javax.persistence.criteria.Expression<?>> argumentExpressions)
public ParameterizedFunctionExpression(CriteriaBuilderImpl criteriaBuilder, java.lang.Class<X> javaType, java.lang.String functionName, javax.persistence.criteria.Expression<?>... argumentExpressions)
protected boolean isStandardJpaFunction()
protected static int properSize(int number)
public java.util.List<javax.persistence.criteria.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 java.lang.String render(RenderingContext renderingContext)
Renderable
render
in interface Renderable
render
in class BasicFunctionExpression<X>
renderingContext
- contextprotected void renderArguments(java.lang.StringBuilder buffer, RenderingContext renderingContext)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.