类 TrimFunction
- java.lang.Object
-
- org.hibernate.query.criteria.internal.AbstractNode
-
- org.hibernate.query.criteria.internal.expression.AbstractTupleElement<X>
-
- org.hibernate.query.criteria.internal.expression.SelectionImpl<T>
-
- org.hibernate.query.criteria.internal.expression.ExpressionImpl<X>
-
- org.hibernate.query.criteria.internal.expression.function.BasicFunctionExpression<String>
-
- org.hibernate.query.criteria.internal.expression.function.TrimFunction
-
- 所有已实现的接口:
Serializable,javax.persistence.criteria.Expression<String>,javax.persistence.criteria.Selection<String>,javax.persistence.TupleElement<String>,FunctionExpression<String>,ExpressionImplementor<String>,ParameterContainer,Renderable,SelectionImplementor<String>,TupleElementImplementor<String>
public class TrimFunction extends BasicFunctionExpression<String> implements Serializable
Models the ANSI SQL TRIM function.- 作者:
- Steve Ebersole, Brett Meyer
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.query.criteria.internal.ParameterContainer
ParameterContainer.Helper
-
-
字段概要
字段 修饰符和类型 字段 说明 static charDEFAULT_TRIM_CHARstatic javax.persistence.criteria.CriteriaBuilder.TrimspecDEFAULT_TRIMSPECstatic StringNAME
-
构造器概要
构造器 构造器 说明 TrimFunction(CriteriaBuilderImpl criteriaBuilder, char trimCharacter, javax.persistence.criteria.Expression<String> trimSource)TrimFunction(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec, char trimCharacter, javax.persistence.criteria.Expression<String> trimSource)TrimFunction(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec, javax.persistence.criteria.Expression<Character> trimCharacter, javax.persistence.criteria.Expression<String> trimSource)TrimFunction(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec, javax.persistence.criteria.Expression<String> trimSource)TrimFunction(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.Expression<Character> trimCharacter, javax.persistence.criteria.Expression<String> trimSource)TrimFunction(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.Expression<String> trimSource)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 javax.persistence.criteria.Expression<Character>getTrimCharacter()javax.persistence.criteria.Expression<String>getTrimSource()javax.persistence.criteria.CriteriaBuilder.TrimspecgetTrimspec()voidregisterParameters(ParameterRegistry registry)Register any parameters contained within this query component with the given registry.Stringrender(RenderingContext renderingContext)Perform the rendering, returning the rendition-
从类继承的方法 org.hibernate.query.criteria.internal.expression.function.BasicFunctionExpression
getFunctionName, isAggregation, properSize
-
从类继承的方法 org.hibernate.query.criteria.internal.expression.ExpressionImpl
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
-
从类继承的方法 org.hibernate.query.criteria.internal.expression.SelectionImpl
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
-
从类继承的方法 org.hibernate.query.criteria.internal.expression.AbstractTupleElement
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
-
从类继承的方法 org.hibernate.query.criteria.internal.AbstractNode
criteriaBuilder
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.query.criteria.internal.SelectionImplementor
getValueHandlers
-
从接口继承的方法 org.hibernate.query.criteria.internal.TupleElementImplementor
getValueHandler
-
-
-
-
构造器详细资料
-
TrimFunction
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec, javax.persistence.criteria.Expression<Character> trimCharacter, javax.persistence.criteria.Expression<String> trimSource)
-
TrimFunction
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec, char trimCharacter, javax.persistence.criteria.Expression<String> trimSource)
-
TrimFunction
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.Expression<String> trimSource)
-
TrimFunction
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.Expression<Character> trimCharacter, javax.persistence.criteria.Expression<String> trimSource)
-
TrimFunction
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, char trimCharacter, javax.persistence.criteria.Expression<String> trimSource)
-
TrimFunction
public TrimFunction(CriteriaBuilderImpl criteriaBuilder, javax.persistence.criteria.CriteriaBuilder.Trimspec trimspec, javax.persistence.criteria.Expression<String> trimSource)
-
-
方法详细资料
-
getTrimCharacter
public javax.persistence.criteria.Expression<Character> getTrimCharacter()
-
getTrimSource
public javax.persistence.criteria.Expression<String> getTrimSource()
-
getTrimspec
public javax.persistence.criteria.CriteriaBuilder.Trimspec getTrimspec()
-
registerParameters
public void registerParameters(ParameterRegistry registry)
从接口复制的说明:ParameterContainerRegister any parameters contained within this query component with the given registry.- 指定者:
registerParameters在接口中ParameterContainer- 覆盖:
registerParameters在类中BasicFunctionExpression<String>- 参数:
registry- The parameter registry with which to register.
-
render
public String render(RenderingContext renderingContext)
从接口复制的说明:RenderablePerform the rendering, returning the rendition- 指定者:
render在接口中Renderable- 覆盖:
render在类中BasicFunctionExpression<String>
-
-