Module org.jooq
Package org.jooq

Interface Check<R extends Record>

Type Parameters:
R - The CHECK's owner table record
All Superinterfaces:
Named, QueryPart, Serializable

public interface Check<R extends Record> extends Named
A check constraint.

Instances of this type cannot be created directly. They are available from generated code.

Lukas Eder
  • Method Details

    • getTable

      Table<R> getTable()
      The Key's owner table
    • condition

      Condition condition()
      The CHECK constraint's condition.
    • constraint

      Constraint constraint()
      Get this CHECK as a formal Constraint specification.
    • enforced

      boolean enforced()
      Whether this check is being enforced.