Class PostgreSQLJsonExtractFunction

All Implemented Interfaces:
FunctionRenderer, FunctionRenderingSupport, SqmFunctionDescriptor

public class PostgreSQLJsonExtractFunction extends AbstractJsonExtractFunction
  • Constructor Details

  • Method Details

    • renderPath

      public void renderPath(SqlAppender sqlAppender, List<? extends SqlAstNode> pathArgs, ReturnableType<?> returnType, SqlAstTranslator<?> translator)
      Description copied from class: AbstractJsonExtractFunction
      Renders the JSON path part.

      Default implementation uses AbstractJsonExtractFunction.collectPath.

      Overrides:
      renderPath in class AbstractJsonExtractFunction
      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.