Package org.hibernate.query.sqm.function
Class SelfRenderingAggregateFunctionSqlAstExpression
java.lang.Object
org.hibernate.query.sqm.function.SelfRenderingFunctionSqlAstExpression
org.hibernate.query.sqm.function.SelfRenderingAggregateFunctionSqlAstExpression
- All Implemented Interfaces:
Selectable
,JdbcMappingContainer
,SqlExpressible
,DomainResultProducer
,SqlSelectionProducer
,AggregateFunctionExpression
,Expression
,FunctionExpression
,SelfRenderingExpression
,SqlAstNode
- Direct Known Subclasses:
SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
public class SelfRenderingAggregateFunctionSqlAstExpression
extends SelfRenderingFunctionSqlAstExpression
implements AggregateFunctionExpression
Representation of an aggregate function call in the SQL AST for impls that know how to
render themselves.
-
Constructor Summary
ConstructorDescriptionSelfRenderingAggregateFunctionSqlAstExpression
(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> type, JdbcMappingContainer expressible) SelfRenderingAggregateFunctionSqlAstExpression
(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> type, JdbcMappingContainer expressible) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
renderToSql
(SqlAppender sqlAppender, SqlAstTranslator<?> walker, SessionFactoryImplementor sessionFactory) Methods inherited from class org.hibernate.query.sqm.function.SelfRenderingFunctionSqlAstExpression
applySqlSelections, createDomainResult, createSqlSelection, forEachJdbcType, getAlias, getAlias, getArguments, getCustomReadExpression, getCustomWriteExpression, getExpressionType, getFunctionName, getFunctionRenderer, getJdbcMapping, getRenderer, getTemplate, getText, getText, getType, isFormula
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference, getExpressionType
Methods inherited from interface org.hibernate.sql.ast.tree.expression.FunctionExpression
getArguments, getFunctionName
Methods inherited from interface org.hibernate.metamodel.mapping.JdbcMappingContainer
forEachJdbcType, getJdbcTypeCount, getSingleJdbcMapping
Methods inherited from interface org.hibernate.mapping.Selectable
getWriteExpr, getWriteExpr
Methods inherited from interface org.hibernate.sql.ast.tree.expression.SelfRenderingExpression
accept
Methods inherited from interface org.hibernate.metamodel.mapping.SqlExpressible
getJdbcMapping
-
Constructor Details
-
SelfRenderingAggregateFunctionSqlAstExpression
@Deprecated(forRemoval=true) public SelfRenderingAggregateFunctionSqlAstExpression(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> type, JdbcMappingContainer expressible) Deprecated, for removal: This API element is subject to removal in a future version. -
SelfRenderingAggregateFunctionSqlAstExpression
public SelfRenderingAggregateFunctionSqlAstExpression(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, ReturnableType<?> type, JdbcMappingContainer expressible)
-
-
Method Details
-
getFilter
- Specified by:
getFilter
in interfaceAggregateFunctionExpression
-
renderToSql
public void renderToSql(SqlAppender sqlAppender, SqlAstTranslator<?> walker, SessionFactoryImplementor sessionFactory) - Specified by:
renderToSql
in interfaceSelfRenderingExpression
- Overrides:
renderToSql
in classSelfRenderingFunctionSqlAstExpression
-
SelfRenderingAggregateFunctionSqlAstExpression(String, FunctionRenderer, List, Predicate, ReturnableType, JdbcMappingContainer)
instead