类 BasicFunctionExpression<X>
- 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<X>
-
- 所有已实现的接口:
Serializable,javax.persistence.criteria.Expression<X>,javax.persistence.criteria.Selection<X>,javax.persistence.TupleElement<X>,FunctionExpression<X>,ExpressionImplementor<X>,ParameterContainer,Renderable,SelectionImplementor<X>,TupleElementImplementor<X>
- 直接已知子类:
CastFunction,CurrentDateFunction,CurrentTimeFunction,CurrentTimestampFunction,LocateFunction,ParameterizedFunctionExpression,SubstringFunction,TrimFunction
public class BasicFunctionExpression<X> extends ExpressionImpl<X> implements FunctionExpression<X>, Serializable
Models the basic concept of a SQL function.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.query.criteria.internal.ParameterContainer
ParameterContainer.Helper
-
-
构造器概要
构造器 构造器 说明 BasicFunctionExpression(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, String functionName)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetFunctionName()Retrieve the name of the function.booleanisAggregation()Is this function a value aggregator (like a COUNT or MAX function e.g.)?protected static intproperSize(int number)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.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
-
-
-
-
构造器详细资料
-
BasicFunctionExpression
public BasicFunctionExpression(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, String functionName)
-
-
方法详细资料
-
properSize
protected static int properSize(int number)
-
getFunctionName
public String getFunctionName()
从接口复制的说明:FunctionExpressionRetrieve the name of the function.- 指定者:
getFunctionName在接口中FunctionExpression<X>- 返回:
- The function name.
-
isAggregation
public boolean isAggregation()
从接口复制的说明:FunctionExpressionIs this function a value aggregator (like a COUNT or MAX function e.g.)?- 指定者:
isAggregation在接口中FunctionExpression<X>- 返回:
- True if this functions does aggregation.
-
registerParameters
public void registerParameters(ParameterRegistry registry)
从接口复制的说明:ParameterContainerRegister any parameters contained within this query component with the given registry.- 指定者:
registerParameters在接口中ParameterContainer- 参数:
registry- The parameter registry with which to register.
-
render
public String render(RenderingContext renderingContext)
从接口复制的说明:RenderablePerform the rendering, returning the rendition- 指定者:
render在接口中Renderable
-
-