Module org.jooq
Package org.jooq

Interface Identity<R extends Record,​T>

Type Parameters:
R - The IDENTITY's owner table record
T - The IDENTITY's field type
All Superinterfaces:
Serializable

public interface Identity<R extends Record,​T> extends Serializable
An Identity is an object representing an IDENTITY column as understood by the SQL:2003 standard. In most RDBMS, this is actually called an IDENTITY column. Some RDMBS such as MySQL call it AUTO_INCREMENT columns.

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

Author:
Lukas Eder
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull TableField<R,​T>
    The IDENTITY column.
    @NotNull Table<R>
    The IDENTITY's owner table
  • Method Details

    • getTable

      @NotNull @NotNull Table<R> getTable()
      The IDENTITY's owner table
    • getField

      @NotNull @NotNull TableField<R,​T> getField()
      The IDENTITY column.