Class PostgreSQLJsonExtractFunction
java.lang.Object
org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
org.hibernate.query.sqm.function.NamedSqmFunctionDescriptor
org.hibernate.dialect.function.StandardSQLFunction
com.axelor.db.hibernate.dialect.function.AbstractJsonExtractFunction
com.axelor.db.hibernate.dialect.function.PostgreSQLJsonExtractFunction
- All Implemented Interfaces:
FunctionRenderer,FunctionRenderingSupport,SqmFunctionDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderPath(SqlAppender sqlAppender, List<? extends SqlAstNode> pathArgs, ReturnableType<?> returnType, SqlAstTranslator<?> translator) Renders the JSON path part.Methods inherited from class com.axelor.db.hibernate.dialect.function.AbstractJsonExtractFunction
renderMethods inherited from class org.hibernate.dialect.function.StandardSQLFunction
getTypeMethods inherited from class org.hibernate.query.sqm.function.NamedSqmFunctionDescriptor
alwaysIncludesParentheses, getArgumentListSignature, getName, render, render, render, toStringMethods inherited from class org.hibernate.query.sqm.function.AbstractSqmSelfRenderingFunctionDescriptor
generateSqmAggregateFunctionExpression, generateSqmFunctionExpression, generateSqmOrderedSetAggregateFunctionExpression, generateSqmWindowFunctionExpression, getFunctionKindMethods inherited from class org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
generateAggregateSqmExpression, generateOrderedSetAggregateSqmExpression, generateSqmExpression, generateWindowSqmExpression, getArgumentsValidator, getArgumentTypeResolver, getReturnSignature, getReturnTypeResolver, getSignatureMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.query.sqm.function.FunctionRenderer
renderMethods inherited from interface org.hibernate.query.sqm.function.FunctionRenderingSupport
render, render, renderMethods inherited from interface org.hibernate.query.sqm.function.SqmFunctionDescriptor
generateSqmExpression, generateSqmExpression
-
Constructor Details
-
PostgreSQLJsonExtractFunction
-
-
Method Details
-
renderPath
public void renderPath(SqlAppender sqlAppender, List<? extends SqlAstNode> pathArgs, ReturnableType<?> returnType, SqlAstTranslator<?> translator) Description copied from class:AbstractJsonExtractFunctionRenders the JSON path part.Default implementation uses
AbstractJsonExtractFunction.collectPath.- Overrides:
renderPathin classAbstractJsonExtractFunction- Parameters:
sqlAppender- The SQL appender to which the rendered SQL will be added.pathArgs- A list of SQL AST nodes representing the JSON path components.returnType- The return type of the rendered function.translator- The SQL AST translator.
-