Class GaussDBMinMaxFunction
java.lang.Object
org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
org.hibernate.community.dialect.function.GaussDBMinMaxFunction
- All Implemented Interfaces:
org.hibernate.query.sqm.function.FunctionRenderer, org.hibernate.query.sqm.function.SqmFunctionDescriptor
public class GaussDBMinMaxFunction
extends org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
GaussDB doesn't support min/max for uuid yet,
but since that type is comparable we want to support this operation.
The workaround is to cast uuid to text and aggregate that, which preserves the ordering,
and finally cast the result back to uuid.
-
Constructor Summary
Constructors -
Method Summary
Methods declared in class org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
filterClauseSupported, generateSqmAggregateFunctionExpression, generateSqmFunctionExpression, generateSqmOrderedSetAggregateFunctionExpression, generateSqmWindowFunctionExpression, getFunctionKind, renderMethods declared in class org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
generateAggregateSqmExpression, generateOrderedSetAggregateSqmExpression, generateSqmExpression, generateWindowSqmExpression, getArgumentListSignature, getArgumentsValidator, getArgumentTypeResolver, getName, getReturnSignature, getReturnTypeResolver, getSignatureMethods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface org.hibernate.query.sqm.function.FunctionRenderer
render, render, render, renderMethods declared in interface org.hibernate.query.sqm.function.SqmFunctionDescriptor
alwaysIncludesParentheses, generateSqmExpression, generateSqmExpression, isPredicate
-
Constructor Details
-
GaussDBMinMaxFunction
-