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