Class SingleStoreJsonSetFunction

java.lang.Object
org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
org.hibernate.dialect.function.json.AbstractJsonSetFunction
org.hibernate.community.dialect.function.json.SingleStoreJsonSetFunction
All Implemented Interfaces:
org.hibernate.query.sqm.function.FunctionRenderer, org.hibernate.query.sqm.function.SqmFunctionDescriptor

public class SingleStoreJsonSetFunction extends org.hibernate.dialect.function.json.AbstractJsonSetFunction
SingleStore json_set function.

The behavior of creating missing keypaths is available by setting the json_compatibility_level to 8.0

  • Constructor Summary

    Constructors
    Constructor
    Description
    SingleStoreJsonSetFunction(org.hibernate.type.spi.TypeConfiguration typeConfiguration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(org.hibernate.sql.ast.spi.SqlAppender sqlAppender, List<? extends org.hibernate.sql.ast.tree.SqlAstNode> arguments, org.hibernate.metamodel.model.domain.ReturnableType<?> returnType, org.hibernate.sql.ast.SqlAstTranslator<?> translator)
     

    Methods inherited from class org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor

    filterClauseSupported, generateSqmAggregateFunctionExpression, generateSqmFunctionExpression, generateSqmOrderedSetAggregateFunctionExpression, 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 Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.query.sqm.function.FunctionRenderer

    render, render, render, render

    Methods inherited from interface org.hibernate.query.sqm.function.SqmFunctionDescriptor

    alwaysIncludesParentheses, generateSqmExpression, generateSqmExpression, isPredicate
  • Constructor Details

    • SingleStoreJsonSetFunction

      public SingleStoreJsonSetFunction(org.hibernate.type.spi.TypeConfiguration typeConfiguration)
  • Method Details

    • render

      public void render(org.hibernate.sql.ast.spi.SqlAppender sqlAppender, List<? extends org.hibernate.sql.ast.tree.SqlAstNode> arguments, org.hibernate.metamodel.model.domain.ReturnableType<?> returnType, org.hibernate.sql.ast.SqlAstTranslator<?> translator)
      Specified by:
      render in interface org.hibernate.query.sqm.function.FunctionRenderer
      Overrides:
      render in class org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor