Package org.hibernate.dialect.function
Class InverseDistributionWindowEmulation
java.lang.Object
org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
org.hibernate.dialect.function.InverseDistributionFunction
org.hibernate.dialect.function.InverseDistributionWindowEmulation
- All Implemented Interfaces:
FunctionRenderer
,SqmFunctionDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.dialect.function.InverseDistributionFunction
InverseDistributionFunction.SelfRenderingInverseDistributionFunction<T>
-
Constructor Summary
ConstructorsConstructorDescriptionInverseDistributionWindowEmulation
(String name, FunctionParameterType parameterType, TypeConfiguration typeConfiguration) -
Method Summary
Modifier and TypeMethodDescriptiongenerateSqmOrderedSetAggregateFunctionExpression
(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine) Return an SQM node or subtree representing an invocation of this ordered set-aggregate function with the given arguments.Methods inherited from class org.hibernate.dialect.function.InverseDistributionFunction
render, render, render
Methods inherited from class org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
generateSqmAggregateFunctionExpression, generateSqmFunctionExpression, generateSqmWindowFunctionExpression, getFunctionKind
Methods inherited from class org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
generateAggregateSqmExpression, generateOrderedSetAggregateSqmExpression, generateSqmExpression, generateWindowSqmExpression, getArgumentListSignature, getArgumentsValidator, getArgumentTypeResolver, getName, getReturnSignature, getReturnTypeResolver, getSignature
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.sqm.function.FunctionRenderer
render, render
Methods inherited from interface org.hibernate.query.sqm.function.SqmFunctionDescriptor
alwaysIncludesParentheses, generateSqmExpression, generateSqmExpression, isPredicate
-
Constructor Details
-
InverseDistributionWindowEmulation
public InverseDistributionWindowEmulation(String name, FunctionParameterType parameterType, TypeConfiguration typeConfiguration)
-
-
Method Details
-
generateSqmOrderedSetAggregateFunctionExpression
public <T> SelfRenderingSqmOrderedSetAggregateFunction<T> generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine) Description copied from class:AbstractSqmFunctionDescriptor
Return an SQM node or subtree representing an invocation of this ordered set-aggregate function with the given arguments. This method may be overridden in the case of function descriptors that wish to customize creation of the node.- Overrides:
generateSqmOrderedSetAggregateFunctionExpression
in classInverseDistributionFunction
- Parameters:
arguments
- the arguments of the function invocationimpliedResultType
- the function return type as inferred from its usage
-