Uses of Class
com.feedzai.commons.sql.abstraction.ddl.DbFk.Builder
-
Packages that use DbFk.Builder Package Description com.feedzai.commons.sql.abstraction.ddl Contains classes that aid on DDL creation.com.feedzai.commons.sql.abstraction.dml.dialect Contains an SQL builder. -
-
Uses of DbFk.Builder in com.feedzai.commons.sql.abstraction.ddl
Methods in com.feedzai.commons.sql.abstraction.ddl that return DbFk.Builder Modifier and Type Method Description DbFk.BuilderDbFk.Builder. addColumn(String... columns)Adds local columns (from the child table, where the foreign key is defined) to match the ones from the referenced table (parent table).DbFk.BuilderDbFk.Builder. addColumns(Collection<String> columns)Adds local columns (from the child table, where the foreign key is defined) to match the ones from the referenced table (parent table).DbFk.BuilderDbFk.Builder. addForeignColumn(String... columns)Deprecated.a "foreign key" is actually composed from the local columns of the table where it is defined (the child table); this name is wrong and will eventually be removed ─ useaddReferencedColumn(String...)instead.DbFk.BuilderDbFk.Builder. addForeignColumns(Collection<String> columns)Deprecated.a "foreign key" is actually composed from the local columns of the table where it is defined (the child table); this name is wrong and will eventually be removed ─ useaddReferencedColumns(Collection)instead.DbFk.BuilderDbFk.Builder. addReferencedColumn(String... columns)Adds columns from the referenced table (parent table) to match the local ones.DbFk.BuilderDbFk.Builder. addReferencedColumns(Collection<String> columns)Adds columns from the referenced table (parent table) to match the local ones.DbFk.BuilderDbFk.Builder. foreignTable(String referencedTable)Deprecated.a "foreign key" is actually composed from the local columns of the table where it is defined (the child table); this name is wrong and will eventually be removed ─ usereferencedTable(String)instead.DbFk.BuilderDbFk.Builder. referencedTable(String referencedTable)Sets the name of the referenced table (parent table).Methods in com.feedzai.commons.sql.abstraction.ddl with parameters of type DbFk.Builder Modifier and Type Method Description DbEntity.BuilderDbEntity.Builder. addFk(DbFk.Builder... fks)Adds the FKs. -
Uses of DbFk.Builder in com.feedzai.commons.sql.abstraction.dml.dialect
Methods in com.feedzai.commons.sql.abstraction.dml.dialect that return DbFk.Builder Modifier and Type Method Description static DbFk.BuilderSqlBuilder. dbFk()Creates a Database Foreign Key builder.
-