Package org.hibernate.query.sqm.function
Class SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
java.lang.Object
org.hibernate.query.sqm.function.SelfRenderingFunctionSqlAstExpression
org.hibernate.query.sqm.function.SelfRenderingAggregateFunctionSqlAstExpression
org.hibernate.query.sqm.function.SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
- All Implemented Interfaces:
Selectable
,JdbcMappingContainer
,SqlExpressible
,DomainResultProducer
,SqlSelectionProducer
,AggregateFunctionExpression
,Expression
,FunctionExpression
,OrderedSetAggregateFunctionExpression
,SelfRenderingExpression
,SqlAstNode
public class SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
extends SelfRenderingAggregateFunctionSqlAstExpression
implements OrderedSetAggregateFunctionExpression
Representation of an aggregate function call in the SQL AST for impls that know how to
render themselves.
-
Constructor Summary
ConstructorDescriptionSelfRenderingOrderedSetAggregateFunctionSqlAstExpression
(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> type, JdbcMappingContainer expressible) SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, 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.SelfRenderingAggregateFunctionSqlAstExpression
getFilter
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.AggregateFunctionExpression
getFilter
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
-
SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
@Deprecated(forRemoval=true) public SelfRenderingOrderedSetAggregateFunctionSqlAstExpression(String functionName, FunctionRenderingSupport renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> type, JdbcMappingContainer expressible) Deprecated, for removal: This API element is subject to removal in a future version. -
SelfRenderingOrderedSetAggregateFunctionSqlAstExpression
public SelfRenderingOrderedSetAggregateFunctionSqlAstExpression(String functionName, FunctionRenderer renderer, List<? extends SqlAstNode> sqlAstArguments, Predicate filter, List<SortSpecification> withinGroup, ReturnableType<?> type, JdbcMappingContainer expressible)
-
-
Method Details
-
getWithinGroup
- Specified by:
getWithinGroup
in interfaceOrderedSetAggregateFunctionExpression
-
renderToSql
public void renderToSql(SqlAppender sqlAppender, SqlAstTranslator<?> walker, SessionFactoryImplementor sessionFactory) - Specified by:
renderToSql
in interfaceSelfRenderingExpression
- Overrides:
renderToSql
in classSelfRenderingAggregateFunctionSqlAstExpression
-
SelfRenderingOrderedSetAggregateFunctionSqlAstExpression(String, FunctionRenderer, List, Predicate, List, ReturnableType, JdbcMappingContainer)
instead