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.
- Author:
- Christian Beikov
-
Constructor Summary
ConstructorsConstructorDescriptionSelfRenderingAggregateFunctionSqlAstExpression(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 TypeMethodDescriptionvoidrenderToSql(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, isFormulaMethods 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.mapping.Selectable
getWriteExpr, getWriteExprMethods inherited from interface org.hibernate.sql.ast.tree.expression.SelfRenderingExpression
acceptMethods 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:
getFilterin interfaceAggregateFunctionExpression
-
renderToSql
public void renderToSql(SqlAppender sqlAppender, SqlAstTranslator<?> walker, SessionFactoryImplementor sessionFactory) - Specified by:
renderToSqlin interfaceSelfRenderingExpression- Overrides:
renderToSqlin classSelfRenderingFunctionSqlAstExpression
-
SelfRenderingAggregateFunctionSqlAstExpression(String, FunctionRenderer, List, Predicate, ReturnableType, JdbcMappingContainer)instead