Module org.jooq
Package org.jooq.conf

Enum Class ParamType

java.lang.Object
java.lang.Enum<ParamType>
org.jooq.conf.ParamType
All Implemented Interfaces:
Serializable, Comparable<ParamType>, Constable

public enum ParamType extends Enum<ParamType>

Java class for ParamType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ParamType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="INDEXED"/>
     <enumeration value="FORCE_INDEXED"/>
     <enumeration value="NAMED"/>
     <enumeration value="NAMED_OR_INLINED"/>
     <enumeration value="INLINED"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • INDEXED

      public static final ParamType INDEXED
      Execute statements with indexed parameters, the way JDBC expects them.
    • FORCE_INDEXED

      public static final ParamType FORCE_INDEXED
      Execute statements with indexed parameters, forcing explicit inlined and named parameters to be indexed as well.
    • NAMED

      public static final ParamType NAMED
      Execute statements with named parameters.
    • NAMED_OR_INLINED

      public static final ParamType NAMED_OR_INLINED
      Execute statements with named parameters, if a name is given, or inlined parameters otherwise.
    • INLINED

      public static final ParamType INLINED
      Execute statements with inlined parameters.
  • Method Details

    • values

      public static ParamType[] 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 ParamType 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
    • value

      public String value()
    • fromValue

      public static ParamType fromValue(String v)