public class LocateFunction extends BasicFunctionExpression<Integer> implements Serializable
ParameterContainer.Helper
Constructor and Description |
---|
LocateFunction(CriteriaBuilderImpl criteriaBuilder,
Expression<String> pattern,
Expression<String> string) |
LocateFunction(CriteriaBuilderImpl criteriaBuilder,
Expression<String> pattern,
Expression<String> string,
Expression<Integer> start) |
LocateFunction(CriteriaBuilderImpl criteriaBuilder,
String pattern,
Expression<String> string) |
LocateFunction(CriteriaBuilderImpl criteriaBuilder,
String pattern,
Expression<String> string,
int start) |
Modifier and Type | Method and Description |
---|---|
Expression<String> |
getPattern() |
Expression<Integer> |
getStart() |
Expression<String> |
getString() |
void |
registerParameters(ParameterRegistry registry)
Register any parameters contained within this query component with the given registry.
|
String |
render(RenderingContext renderingContext) |
getFunctionName, isAggregation, properSize, 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
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
getValueHandlers
getValueHandler
public static final String NAME
public LocateFunction(CriteriaBuilderImpl criteriaBuilder, Expression<String> pattern, Expression<String> string, Expression<Integer> start)
public LocateFunction(CriteriaBuilderImpl criteriaBuilder, Expression<String> pattern, Expression<String> string)
public LocateFunction(CriteriaBuilderImpl criteriaBuilder, String pattern, Expression<String> string)
public LocateFunction(CriteriaBuilderImpl criteriaBuilder, String pattern, Expression<String> string, int start)
public Expression<String> getPattern()
public Expression<Integer> getStart()
public Expression<String> getString()
public void registerParameters(ParameterRegistry registry)
ParameterContainer
registerParameters
in interface ParameterContainer
registerParameters
in class BasicFunctionExpression<Integer>
registry
- The parameter registry with which to register.public String render(RenderingContext renderingContext)
render
in interface Renderable
render
in class BasicFunctionExpression<Integer>
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.