Uses of Interface
org.jooq.UniqueKey
Package
Description
This package contains jOOQ's public API.
This package contains jOOQ's implementation classes.
-
Uses of UniqueKey in org.jooq
Modifier and TypeMethodDescriptionForeignKey.getKey()
The referencedUniqueKey
.Table.getPrimaryKey()
Retrieve the table's primary keyModifier and TypeMethodDescriptionTable.getKeys()
Retrieve all of the table's primary and unique keys.Meta.getPrimaryKeys()
Get all primary keys from the underlying meta data source.Meta.getPrimaryKeys
(String name) Get all primary keys from the underlying meta data source.Meta.getPrimaryKeys
(Name name) Get all primary keys from the underlying meta data source.Schema.getPrimaryKeys()
List all primary keys contained in this schema.Schema.getPrimaryKeys
(String name) Get primary keys by their name (case-sensitive) in this schema.Schema.getPrimaryKeys
(Name name) Get primary keys by their qualified or unqualified name in this schema.Meta.getUniqueKeys()
Get all unique keys from the underlying meta data source.Meta.getUniqueKeys
(String name) Get all unique keys from the underlying meta data source.Meta.getUniqueKeys
(Name name) Get all unique keys from the underlying meta data source.Schema.getUniqueKeys()
List all unique keys (including primary keys) contained in this schema.Schema.getUniqueKeys
(String name) Get unique keys (including primary keys) by their name (case-sensitive) in this schema.Schema.getUniqueKeys
(Name name) Get unique keys (including primary keys) by their qualified or unqualified name in this schema.Table.getUniqueKeys()
Retrieve all of the table's unique keys.Schema.primaryKeyStream()
Stream all primary keys contained in this schema.Schema.uniqueKeyStream()
Stream all unique keys (including primary keys) contained in this schema.Modifier and TypeMethodDescription@NotNull InsertOnConflictDoUpdateStep
<R> InsertOnDuplicateStep.onConflictOnConstraint
(UniqueKey<R> constraint) Add aON CONFLICT ON CONSTRAINT
clause to this INSERT statement.void
InsertQuery.onConflictOnConstraint
(UniqueKey<R> constraint) Whether use aON CONFLICT
orON CONFLICT ON CONSTRAINT
clause in thisINSERT
statement.Modifier and TypeMethodDescription@NotNull Meta
Meta.filterPrimaryKeys
(Predicate<? super UniqueKey<?>> filter) Create a wrapperMeta
instance filtering out some primary keys.@NotNull Meta
Meta.filterUniqueKeys
(Predicate<? super UniqueKey<?>> filter) Create a wrapperMeta
instance filtering out some unique keys. -
Uses of UniqueKey in org.jooq.impl
Modifier and TypeMethodDescriptionAbstractKeys.createUniqueKey
(Table<R> table, String name, TableField<R, ?>... fields) Deprecated.- [#6875] [#7158] - 3.11.0 - Please re-generate your codeAbstractKeys.createUniqueKey
(Table<R> table, TableField<R, ?>... fields) Deprecated.- [#6875] [#7158] - 3.11.0 - Please re-generate your codeInternal.createUniqueKey
(Table<R> table, String name, TableField<R, ?>... fields) Deprecated, for removal: This API element is subject to removal in a future version.- 3.14.0 - [#9404] - Please re-generate your code.Internal.createUniqueKey
(Table<R> table, String name, TableField<R, ?>[] fields, boolean enforced) Deprecated, for removal: This API element is subject to removal in a future version.- 3.14.0 - [#9404] - Please re-generate your code.Internal.createUniqueKey
(Table<R> table, Name name, TableField<R, ?>... fields) Factory method for unique keys.Internal.createUniqueKey
(Table<R> table, Name name, TableField<R, ?>[] fields, boolean enforced) Factory method for unique keys.static final <R extends Record,
ER extends EmbeddableRecord<ER>>
@NotNull UniqueKey<R> Internal.createUniqueKey
(Table<R> table, Name name, TableField<R, ER> embeddableField, boolean enforced) Factory method for unique keys.Internal.createUniqueKey
(Table<R> table, TableField<R, ?>... fields) Factory method for unique keys.CustomTable.getPrimaryKey()
Modifier and TypeMethodDescriptionLazySchema.getPrimaryKeys()
LazySchema.getPrimaryKeys
(String name) LazySchema.getPrimaryKeys
(Name name) SchemaImpl.getPrimaryKeys()
List all primary keys contained in this schema.SchemaImpl.getPrimaryKeys
(String name) SchemaImpl.getPrimaryKeys
(Name name) CustomTable.getUniqueKeys()
LazySchema.getUniqueKeys()
LazySchema.getUniqueKeys
(String name) LazySchema.getUniqueKeys
(Name name) SchemaImpl.getUniqueKeys()
List all unique keys (including primary keys) contained in this schema.SchemaImpl.getUniqueKeys
(String name) SchemaImpl.getUniqueKeys
(Name name) LazySchema.primaryKeyStream()
SchemaImpl.primaryKeyStream()
LazySchema.uniqueKeyStream()
SchemaImpl.uniqueKeyStream()
Modifier and TypeMethodDescriptionstatic <R extends Record,
U extends Record>
ForeignKey<R, U> AbstractKeys.createForeignKey
(UniqueKey<U> key, Table<R> table, String name, TableField<R, ?>... fields) Deprecated.- [#6875] [#7158] - 3.11.0 - Please re-generate your codestatic <R extends Record,
U extends Record>
ForeignKey<R, U> AbstractKeys.createForeignKey
(UniqueKey<U> key, Table<R> table, TableField<R, ?>... fields) Deprecated.- [#6875] [#7158] - 3.11.0 - Please re-generate your codestatic final <R extends Record,
U extends Record>
@NotNull ForeignKey<R, U> Internal.createForeignKey
(Table<R> table, Name name, TableField<R, ?>[] fkFields, UniqueKey<U> uk, TableField<U, ?>[] ukFields, boolean enforced) Deprecated.- 3.20.0 - [#9736] - Regenerate your code.static final <R extends Record,
U extends Record>
@NotNull ForeignKey<R, U> Internal.createForeignKey
(Table<R> table, Name name, TableField<R, ?>[] fkFields, UniqueKey<U> uk, TableField<U, ?>[] ukFields, boolean enforced, QOM.ForeignKeyRule deleteRule, QOM.ForeignKeyRule updateRule) Factory method for foreign keys.static final <R extends Record,
U extends Record, ER extends EmbeddableRecord<ER>>
@NotNull ForeignKey<R, U> Internal.createForeignKey
(Table<R> table, Name name, TableField<R, ER> fkEmbeddableField, UniqueKey<U> uk, TableField<U, ER> ukEmbeddableField, boolean enforced) Deprecated.- 3.20.0 - [#9736] - Regenerate your code.static final <R extends Record,
U extends Record, ER extends EmbeddableRecord<ER>>
@NotNull ForeignKey<R, U> Internal.createForeignKey
(Table<R> table, Name name, TableField<R, ER> fkEmbeddableField, UniqueKey<U> uk, TableField<U, ER> ukEmbeddableField, boolean enforced, QOM.ForeignKeyRule deleteRule, QOM.ForeignKeyRule updateRule) Factory method for foreign keys.static final <R extends Record,
U extends Record>
@NotNull ForeignKey<R, U> Internal.createForeignKey
(UniqueKey<U> key, Table<R> table, String name, TableField<R, ?>... fields) Deprecated, for removal: This API element is subject to removal in a future version.- 3.14.0 - [#9404] - Please re-generate your code.static final <R extends Record,
U extends Record>
@NotNull ForeignKey<R, U> Internal.createForeignKey
(UniqueKey<U> key, Table<R> table, String name, TableField<R, ?>[] fields, boolean enforced) Deprecated, for removal: This API element is subject to removal in a future version.- 3.14.0 - [#9404] - Please re-generate your code.static final <R extends Record,
U extends Record>
@NotNull ForeignKey<R, U> Internal.createForeignKey
(UniqueKey<U> key, Table<R> table, String name, TableField<R, ?>[] fields, boolean enforced, QOM.ForeignKeyRule deleteRule, QOM.ForeignKeyRule updateRule) Factory method for foreign keys.static final <R extends Record,
U extends Record>
@NotNull ForeignKey<R, U> Internal.createForeignKey
(UniqueKey<U> key, Table<R> table, TableField<R, ?>... fields) Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.