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
Constructors Constructor Description SelfRenderingOrderedSetAggregateFunctionSqlAstExpression(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SortSpecification>
getWithinGroup()
void
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 Detail
-
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 Detail
-
getWithinGroup
public List<SortSpecification> 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
-
-