Top Description Fields Constructors Methods
org.hibernate.query.sqm.function

public Class SelfRenderingAggregateFunctionSqlAstExpression

extends SelfRenderingFunctionSqlAstExpression
implements AggregateFunctionExpression
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.ast.tree.expression.AggregateFunctionExpression, org.hibernate.sql.ast.tree.expression.FunctionExpression, org.hibernate.sql.ast.tree.expression.Expression, org.hibernate.sql.ast.spi.SqlSelectionProducer, org.hibernate.sql.ast.tree.SqlAstNode
Known Direct Subclasses
org.hibernate.query.sqm.function.SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
Imports
java.util.List, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.metamodel.mapping.JdbcMappingContainer, org.hibernate.query.ReturnableType, org.hibernate.sql.ast.SqlAstTranslator, org.hibernate.sql.ast.spi.SqlAppender, org.hibernate.sql.ast.tree.SqlAstNode, org.hibernate.sql.ast.tree.expression.AggregateFunctionExpression, org.hibernate.sql.ast.tree.predicate.Predicate

Representation of an aggregate function call in the SQL AST for impls that know how to render themselves.
Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final Predicate

Constructor Summary

AccessConstructor and Description
public
public
SelfRenderingAggregateFunctionSqlAstExpression(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> type, JdbcMappingContainer expressible)

Deprecated as a consequence of FunctionRenderer being deprecated.

Method Summary

Modifier and TypeMethod and Description
public Predicate
public void
Inherited from org.hibernate.query.sqm.function.SelfRenderingFunctionSqlAstExpression:
applySqlSelectionscreateDomainResultcreateSqlSelectioncreateSqlSelectionforEachJdbcTypegetAliasgetAliasgetArgumentsgetCustomReadExpressiongetCustomWriteExpressiongetExpressionTypegetFunctionNamegetFunctionRenderergetJdbcMappinggetRenderergetTemplategetTextgetTextgetTypeisFormula

Field Detail

filterback to summary
private final Predicate filter

Constructor Detail

SelfRenderingAggregateFunctionSqlAstExpressionback to summary
public SelfRenderingAggregateFunctionSqlAstExpression(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> type, JdbcMappingContainer expressible)
Annotations
@Deprecated
forRemoval:true
SelfRenderingAggregateFunctionSqlAstExpressionback to summary
public SelfRenderingAggregateFunctionSqlAstExpression(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> type, JdbcMappingContainer expressible)

Deprecated

as a consequence of FunctionRenderer being deprecated. See corresponding docs for further information.

Method Detail

getFilterback to summary
public Predicate getFilter()

Implements org.hibernate.sql.ast.tree.expression.AggregateFunctionExpression.getFilter.

Annotations
@Override
renderToSqlback to summary
public void renderToSql(SqlAppender sqlAppender, SqlAstTranslator<?> walker, SessionFactoryImplementor sessionFactory)

Overrides org.hibernate.query.sqm.function.SelfRenderingFunctionSqlAstExpression.renderToSql.

Implements org.hibernate.sql.ast.tree.expression.SelfRenderingExpression.renderToSql.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Annotations
@Override