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
    Constructor
    Description
     
  • Method Summary

    Methods declared in class org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor

    filterClauseSupported, generateSqmAggregateFunctionExpression, generateSqmFunctionExpression, generateSqmOrderedSetAggregateFunctionExpression, generateSqmWindowFunctionExpression, getFunctionKind, render

    Methods declared in class org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor

    generateAggregateSqmExpression, generateOrderedSetAggregateSqmExpression, generateSqmExpression, generateWindowSqmExpression, getArgumentListSignature, getArgumentsValidator, getArgumentTypeResolver, getName, getReturnSignature, getReturnTypeResolver, getSignature

    Methods declared in interface org.hibernate.query.sqm.function.FunctionRenderer

    render, render, render, render

    Methods declared in interface org.hibernate.query.sqm.function.SqmFunctionDescriptor

    alwaysIncludesParentheses, generateSqmExpression, generateSqmExpression, isPredicate
  • Constructor Details

    • GaussDBMinMaxFunction

      public GaussDBMinMaxFunction(String name)