public class TrimFunction extends BasicFunctionExpression<String> implements Serializable
ParameterContainer.Helper
Modifier and Type | Field and Description |
---|---|
static char |
DEFAULT_TRIM_CHAR |
static CriteriaBuilder.Trimspec |
DEFAULT_TRIMSPEC |
static String |
NAME |
Constructor and Description |
---|
TrimFunction(CriteriaBuilderImpl criteriaBuilder,
char trimCharacter,
Expression<String> trimSource) |
TrimFunction(CriteriaBuilderImpl criteriaBuilder,
CriteriaBuilder.Trimspec trimspec,
char trimCharacter,
Expression<String> trimSource) |
TrimFunction(CriteriaBuilderImpl criteriaBuilder,
CriteriaBuilder.Trimspec trimspec,
Expression<Character> trimCharacter,
Expression<String> trimSource) |
TrimFunction(CriteriaBuilderImpl criteriaBuilder,
CriteriaBuilder.Trimspec trimspec,
Expression<String> trimSource) |
TrimFunction(CriteriaBuilderImpl criteriaBuilder,
Expression<Character> trimCharacter,
Expression<String> trimSource) |
TrimFunction(CriteriaBuilderImpl criteriaBuilder,
Expression<String> trimSource) |
Modifier and Type | Method and Description |
---|---|
Expression<Character> |
getTrimCharacter() |
Expression<String> |
getTrimSource() |
CriteriaBuilder.Trimspec |
getTrimspec() |
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 static final CriteriaBuilder.Trimspec DEFAULT_TRIMSPEC
public static final char DEFAULT_TRIM_CHAR
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, CriteriaBuilder.Trimspec trimspec, Expression<Character> trimCharacter, Expression<String> trimSource)
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, CriteriaBuilder.Trimspec trimspec, char trimCharacter, Expression<String> trimSource)
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, Expression<String> trimSource)
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, Expression<Character> trimCharacter, Expression<String> trimSource)
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, char trimCharacter, Expression<String> trimSource)
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, CriteriaBuilder.Trimspec trimspec, Expression<String> trimSource)
public Expression<Character> getTrimCharacter()
public Expression<String> getTrimSource()
public CriteriaBuilder.Trimspec getTrimspec()
public void registerParameters(ParameterRegistry registry)
ParameterContainer
registerParameters
in interface ParameterContainer
registerParameters
in class BasicFunctionExpression<String>
registry
- The parameter registry with which to register.public String render(RenderingContext renderingContext)
render
in interface Renderable
render
in class BasicFunctionExpression<String>
Copyright © 2016 JBoss by Red Hat. All rights reserved.