Module org.jooq
Package org.jooq

Enum Class PolicyStatement

All Implemented Interfaces:
Serializable, Comparable<PolicyStatement>, Constable

@Pro public enum PolicyStatement extends Enum<PolicyStatement>
A policy statement type for use with Policy.
Lukas Eder
  • Enum Constant Details

    • ALL

      public static final PolicyStatement ALL
      The policy applies to all statement types.
    • SELECT

      public static final PolicyStatement SELECT
      The policy applies to Select statements, including subqueries.
    • INSERT

      public static final PolicyStatement INSERT
      The policy applies to Insert statements, including the inserting parts of Merge.
    • UPDATE

      public static final PolicyStatement UPDATE
      The policy applies to Update statements, including the updating parts of Merge.
    • DELETE

      public static final PolicyStatement DELETE
      The policy applies to Delete statements, including the deleting parts of Merge.
  • Method Details

    • values

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

      public static PolicyStatement 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      @Nullable public static @Nullable PolicyStatement of(QueryPart part)