Package org.hibernate.dialect.function
Class AvgFunction
- java.lang.Object
- org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
- org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
- org.hibernate.dialect.function.AvgFunction
- All Implemented Interfaces:
FunctionRenderer,FunctionRenderingSupport,SqmFunctionDescriptor
public classAvgFunctionextendsAbstractSqmSelfRenderingFunctionDescriptor
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAvgFunction.ReturnTypeResolverstatic classAvgFunction.Validator
Constructor Summary
Constructors Constructor Description AvgFunction(Dialect dialect,TypeConfiguration typeConfiguration,SqlAstNodeRenderingMode defaultArgumentRenderingMode)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetArgumentListSignature()voidrender(SqlAppender sqlAppender,List<? extendsSqlAstNode> sqlAstArguments,ReturnableType<?> returnType,SqlAstTranslator<?> walker)voidrender(SqlAppender sqlAppender,List<? extendsSqlAstNode> sqlAstArguments,Predicate filter,ReturnableType<?> returnType,SqlAstTranslator<?> translator)Methods inherited from class org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
generateSqmAggregateFunctionExpression,generateSqmFunctionExpression,generateSqmOrderedSetAggregateFunctionExpression,generateSqmWindowFunctionExpression,getFunctionKind
Methods inherited from class org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
generateAggregateSqmExpression,generateOrderedSetAggregateSqmExpression,generateSqmExpression,generateWindowSqmExpression,getArgumentsValidator,getArgumentTypeResolver,getName,getReturnSignature,getReturnTypeResolver,getSignature
Methods inherited from class java.lang.Object
clone,equals,finalize,getClass,hashCode,notify,notifyAll,toString,wait,wait,wait
Methods inherited from interface org.hibernate.query.sqm.function.FunctionRenderer
render,render,render
Methods inherited from interface org.hibernate.query.sqm.function.FunctionRenderingSupport
render,render,render
Methods inherited from interface org.hibernate.query.sqm.function.SqmFunctionDescriptor
alwaysIncludesParentheses,generateSqmExpression,generateSqmExpression
Constructor Detail
AvgFunction
public AvgFunction(Dialect dialect,TypeConfiguration typeConfiguration,SqlAstNodeRenderingMode defaultArgumentRenderingMode)
Method Detail
render
public void render(SqlAppender sqlAppender,List<? extendsSqlAstNode> sqlAstArguments,ReturnableType<?> returnType,SqlAstTranslator<?> walker)
- Specified by:
renderin interfaceFunctionRenderer- Specified by:
renderin interfaceFunctionRenderingSupport- Overrides:
renderin classAbstractSqmSelfRenderingFunctionDescriptor
render
public void render(SqlAppender sqlAppender,List<? extendsSqlAstNode> sqlAstArguments,Predicate filter,ReturnableType<?> returnType,SqlAstTranslator<?> translator)
getArgumentListSignature
public String getArgumentListSignature()
- Overrides:
getArgumentListSignaturein classAbstractSqmFunctionDescriptor