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 List<ForeignKey<R,?>>
Table. getReferences()
Get the list ofFOREIGN KEY
's of this tableList<ForeignKey<?,R>>
UniqueKey. getReferences()
A list of allForeignKeys
, referencing thisUniqueKey
<O extends Record>
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>
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>>
OUpdatableRecord. fetchChild(ForeignKey<O,R> key)
Fetch a child record of this record, given a foreign key.<O extends TableRecord<O>>
Result<O>Result. fetchChildren(ForeignKey<O,R> key)
Fetch child records of this record, given a foreign key.<O extends TableRecord<O>>
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>>
Result<O>Result. fetchParents(ForeignKey<R,O> key)
Fetch parent records of this record, given a foreign key.SelectJoinStep<R>
SelectOnStep. onKey(ForeignKey<?,?> key)
Join the table on a non-ambiguous foreign key relationship between the two joined tables.TableOnConditionStep<R>
TableOnStep. onKey(ForeignKey<?,?> key)
Join the table on a non-ambiguous foreign key relationship between the two joined tables. -
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>
ForeignKey<R,U>Internal. createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>... fields)
Factory method for foreign keys.static <R extends Record,U extends Record>
ForeignKey<R,U>Internal. createForeignKey(UniqueKey<U> key, Table<R> table, String name, TableField<R,?>[] fields, boolean enforced)
Factory method for foreign keys.static <R extends Record,U extends Record>
ForeignKey<R,U>Internal. createForeignKey(UniqueKey<U> key, Table<R> table, TableField<R,?>... fields)
Factory method for foreign keys.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 static 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)
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)
-