Enum Class FBEscapedParser.EscapeParserMode

java.lang.Object
java.lang.Enum<FBEscapedParser.EscapeParserMode>
org.firebirdsql.jdbc.escape.FBEscapedParser.EscapeParserMode
All Implemented Interfaces:
Serializable, Comparable<FBEscapedParser.EscapeParserMode>, Constable
Enclosing class:
FBEscapedParser

public static enum FBEscapedParser.EscapeParserMode extends Enum<FBEscapedParser.EscapeParserMode>
  • Enum Constant Details

    • USE_BUILT_IN

      public static final FBEscapedParser.EscapeParserMode USE_BUILT_IN
      Use built-in functions if available.

      This may still result in a UDF function being used if the UDF matches naming and arguments of the function (or function template)

    • USE_STANDARD_UDF

      public static final FBEscapedParser.EscapeParserMode USE_STANDARD_UDF
      Attempt to use UDF if there is no explicit function template defined.

      This may still result in a built-in function being used if there is an explicit function template, and/or if there is no UDF with the name, but there is a built-in with the same name and parameter order.

  • Method Details

    • values

      public static FBEscapedParser.EscapeParserMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FBEscapedParser.EscapeParserMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null