Uses of Interface
org.jooq.ForeignKey
-
Packages that use ForeignKey Package Description org.jooq This package contains jOOQ's public API.org.jooq.impl This package contains jOOQ's implementation classes. -
-
Uses of ForeignKey in org.jooq
Methods in org.jooq that return types with arguments of type ForeignKey Modifier and Type Method Description @NotNull List<ForeignKey<R,?>>
Table. getReferences()
Get the list ofFOREIGN KEY
's of this table@NotNull List<ForeignKey<?,R>>
UniqueKey. getReferences()
A list of allForeignKeys
, referencing thisUniqueKey
<O extends Record>
@NotNull List<ForeignKey<O,R>>Table. getReferencesFrom(Table<O> other)
Get a list ofFOREIGN KEY
's of a specific table, referencing a this table.<O extends Record>
@NotNull List<ForeignKey<R,O>>Table. getReferencesTo(Table<O> other)
Get a list ofFOREIGN KEY
's of this table, referencing a specific table.Methods in org.jooq with parameters of type ForeignKey Modifier and Type Method Description void
SelectQuery. addJoinOnKey(TableLike<?> table, JoinType type, ForeignKey<?,?> key)
Joins the existing table product to a new table using a foreign key.<O extends TableRecord<O>>
@NotNull Table<O>Result. children(ForeignKey<O,R> key)
Get a table expression representing the children of all of this result's records, given a foreign key.<O extends TableRecord<O>>
@NotNull Table<O>UpdatableRecord. children(ForeignKey<O,R> key)
Get a table expression representing the children of this record, given a foreign key.<O extends TableRecord<O>>
OUpdatableRecord. fetchChild(ForeignKey<O,R> key)
Fetch a child record of this record, given a foreign key.<O extends TableRecord<O>>
@NotNull Result<O>Result. fetchChildren(ForeignKey<O,R> key)
Fetch child records of this record, given a foreign key, as if fetching fromResult.children(ForeignKey)
.<O extends TableRecord<O>>
@NotNull Result<O>UpdatableRecord. fetchChildren(ForeignKey<O,R> key)
Fetch child records of this record, given a foreign key.<O extends UpdatableRecord<O>>
OTableRecord. fetchParent(ForeignKey<R,O> key)
Fetch a parent record of this record, given a foreign key.<O extends UpdatableRecord<O>>
@NotNull Result<O>Result. fetchParents(ForeignKey<R,O> key)
Fetch parent records of this record, given a foreign key, as if fetching fromResult.parents(ForeignKey)
.@NotNull SelectJoinStep<R>
SelectOnStep. onKey(ForeignKey<?,?> key)
Join the table on a non-ambiguous foreign key relationship between the two joined tables.@NotNull TableOnConditionStep<R>
TableOnStep. onKey(ForeignKey<?,?> key)
Join the table on a non-ambiguous foreign key relationship between the two joined tables.<O extends UpdatableRecord<O>>
@NotNull Table<O>TableRecord. parent(ForeignKey<R,O> key)
Get a table expression representing the parent of this record, given a foreign key.<O extends UpdatableRecord<O>>
@NotNull Table<O>Result. parents(ForeignKey<R,O> key)
Get a table expression representing the parents of all of this result's records, given a foreign key. -
Uses of ForeignKey in org.jooq.impl
Methods in org.jooq.impl that return ForeignKey Modifier and Type Method Description static <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 <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)
Factory method for foreign keys.static <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)
Factory method for foreign keys.static <R extends Record,U extends Record>
@NotNull ForeignKey<R,U>Internal. createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>... fields)
Deprecated.- 3.14.0 - [#9404] - Please re-generate your code.static <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.- 3.14.0 - [#9404] - Please re-generate your code.static <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.Methods in org.jooq.impl that return types with arguments of type ForeignKey Modifier and Type Method Description List<ForeignKey<R,?>>
CustomTable. getReferences()
Methods in org.jooq.impl with parameters of type ForeignKey Modifier and Type Method Description <O extends TableRecord<O>>
Table<O>UpdatableRecordImpl. children(ForeignKey<O,R> key)
static @NotNull Name
Internal. createPathAlias(Table<?> child, ForeignKey<?,?> path)
Factory method for path aliases.<O extends TableRecord<O>>
OUpdatableRecordImpl. fetchChild(ForeignKey<O,R> key)
<O extends TableRecord<O>>
Result<O>UpdatableRecordImpl. fetchChildren(ForeignKey<O,R> key)
<O extends UpdatableRecord<O>>
OTableRecordImpl. fetchParent(ForeignKey<R,O> key)
<O extends UpdatableRecord<O>>
Table<O>TableRecordImpl. parent(ForeignKey<R,O> key)
Constructors in org.jooq.impl with parameters of type ForeignKey Constructor Description TableImpl(Name name, Schema schema, Table<?> child, ForeignKey<?,R> path, Table<R> aliased, Field<?>[] parameters, Comment comment)
TableImpl(Name name, Schema schema, Table<?> child, ForeignKey<?,R> path, Table<R> aliased, Field<?>[] parameters, Comment comment, TableOptions options)
TableImpl(Table<?> child, ForeignKey<?,R> path, Table<R> parent)
-