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(CriteriaQueryCompiler.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 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)
ParameterContainerregisterParameters in interface ParameterContainerregisterParameters in class BasicFunctionExpression<String>registry - The parameter registry with which to register.public String render(CriteriaQueryCompiler.RenderingContext renderingContext)
render in interface Renderablerender in class BasicFunctionExpression<String>Copyright © 2012 JBoss by Red Hat. All Rights Reserved.