Package org.hibernate.query.sqm.function
Class SelfRenderingAggregateFunctionSqlAstExpression<T>
java.lang.Object
org.hibernate.query.sqm.function.SelfRenderingFunctionSqlAstExpression<T>
org.hibernate.query.sqm.function.SelfRenderingAggregateFunctionSqlAstExpression<T>
- All Implemented Interfaces:
JdbcMappingContainer,SqlExpressible,DomainResultProducer<T>,SqlSelectionProducer,AggregateFunctionExpression,Expression,FunctionExpression,SelfRenderingExpression,SqlAstNode
- Direct Known Subclasses:
SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
public class SelfRenderingAggregateFunctionSqlAstExpression<T>
extends SelfRenderingFunctionSqlAstExpression<T>
implements AggregateFunctionExpression
Representation of an aggregate function call in the SQL AST for impls that know how to
render themselves.
-
Constructor Summary
ConstructorsConstructorDescriptionSelfRenderingAggregateFunctionSqlAstExpression(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<T> type, JdbcMappingContainer expressible) -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderToSql(SqlAppender sqlAppender, SqlAstTranslator<?> walker, SessionFactoryImplementor sessionFactory) Methods inherited from class org.hibernate.query.sqm.function.SelfRenderingFunctionSqlAstExpression
applySqlSelections, createDomainResult, createSqlSelection, forEachJdbcType, getArguments, getExpressionType, getFunctionName, getJdbcMappingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference, getExpressionTypeMethods inherited from interface org.hibernate.sql.ast.tree.expression.FunctionExpression
getArguments, getFunctionNameMethods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcTypeCount, getSingleJdbcMappingMethods inherited from interface org.hibernate.sql.ast.tree.expression.SelfRenderingExpression
acceptMethods inherited from interface org.hibernate.metamodel.mapping.SqlExpressible
getJdbcMapping
-
Constructor Details
-
SelfRenderingAggregateFunctionSqlAstExpression
public SelfRenderingAggregateFunctionSqlAstExpression(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<T> type, JdbcMappingContainer expressible)
-
-
Method Details
-
getFilter
- Specified by:
getFilterin interfaceAggregateFunctionExpression
-
renderToSql
public void renderToSql(SqlAppender sqlAppender, SqlAstTranslator<?> walker, SessionFactoryImplementor sessionFactory) - Specified by:
renderToSqlin interfaceSelfRenderingExpression- Overrides:
renderToSqlin classSelfRenderingFunctionSqlAstExpression<T>
-