public class SubstringFunction extends BasicFunctionExpression<String> implements Serializable
ParameterContainer.Helper| Constructor and Description | 
|---|
SubstringFunction(CriteriaBuilderImpl criteriaBuilder,
                 Expression<String> value,
                 Expression<Integer> start)  | 
SubstringFunction(CriteriaBuilderImpl criteriaBuilder,
                 Expression<String> value,
                 Expression<Integer> start,
                 Expression<Integer> length)  | 
SubstringFunction(CriteriaBuilderImpl criteriaBuilder,
                 Expression<String> value,
                 int start)  | 
SubstringFunction(CriteriaBuilderImpl criteriaBuilder,
                 Expression<String> value,
                 int start,
                 int length)  | 
| Modifier and Type | Method and Description | 
|---|---|
Expression<Integer> | 
getLength()  | 
Expression<Integer> | 
getStart()  | 
Expression<String> | 
getValue()  | 
void | 
registerParameters(ParameterRegistry registry)
Register any parameters contained within this query component with the given registry. 
 | 
String | 
render(RenderingContext renderingContext)  | 
getFunctionName, isAggregation, properSize, renderProjectionas, 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 static final String NAME
public SubstringFunction(CriteriaBuilderImpl criteriaBuilder, Expression<String> value, Expression<Integer> start, Expression<Integer> length)
public SubstringFunction(CriteriaBuilderImpl criteriaBuilder, Expression<String> value, Expression<Integer> start)
public SubstringFunction(CriteriaBuilderImpl criteriaBuilder, Expression<String> value, int start)
public SubstringFunction(CriteriaBuilderImpl criteriaBuilder, Expression<String> value, int start, int length)
public Expression<Integer> getLength()
public Expression<Integer> getStart()
public Expression<String> getValue()
public void registerParameters(ParameterRegistry registry)
ParameterContainerregisterParameters in interface ParameterContainerregisterParameters in class BasicFunctionExpression<String>registry - The parameter registry with which to register.public String render(RenderingContext renderingContext)
render in interface Renderablerender in class BasicFunctionExpression<String>Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.