Enum SqlAstNodeRenderingMode

    • Enum Constant Detail

      • INLINE_PARAMETERS

        public static final SqlAstNodeRenderingMode INLINE_PARAMETERS
        Render parameters as literals. All parameters within the SqlAstNode are rendered as literals.
      • INLINE_ALL_PARAMETERS

        public static final SqlAstNodeRenderingMode INLINE_ALL_PARAMETERS
        Render all nested parameters as literals. All parameters within the SqlAstNode are rendered as literals.
      • NO_PLAIN_PARAMETER

        public static final SqlAstNodeRenderingMode NO_PLAIN_PARAMETER
        Don't render plain parameters. Render it as literal or as expression. If the SqlAstNode to render is a parameter, it will be rendered either as literal or wrapped into a semantically equivalent expression such that it doesn't appear as plain parameter.
      • NO_UNTYPED

        public static final SqlAstNodeRenderingMode NO_UNTYPED
        Don't render untyped expressions e.g. plain parameters or null literals. Render it as literal or as expression. If the SqlAstNode to render is a parameter, it will be rendered either as literal or wrapped into a semantically equivalent expression such that it doesn't appear as plain parameter. null literals will be wrapped in a cast.
    • Method Detail

      • values

        public static SqlAstNodeRenderingMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SqlAstNodeRenderingMode c : SqlAstNodeRenderingMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SqlAstNodeRenderingMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null