public class ForeignKeyIndex extends NamedConstraint
Index.ColumnParams| 构造器和说明 |
|---|
ForeignKeyIndex() |
getColumns, getColumnsNames, getColumnWithParams, getIndexSpec, getName, getNameParts, getType, getUsing, setColumnNamesWithParams, setColumns, setColumnsNames, setIndexSpec, setName, setName, setType, setUsingpublic Table getTable()
public void setTable(Table table)
public void setReferentialAction(ReferentialAction.Type type, ReferentialAction.Action action)
type - action - public ForeignKeyIndex withReferentialAction(ReferentialAction.Type type, ReferentialAction.Action action)
public void removeReferentialAction(ReferentialAction.Type type)
type - public ReferentialAction getReferentialAction(ReferentialAction.Type type)
type - @Deprecated public String getOnDeleteReferenceOption()
@Deprecated public void setOnDeleteReferenceOption(String onDeleteReferenceOption)
@Deprecated public String getOnUpdateReferenceOption()
@Deprecated public void setOnUpdateReferenceOption(String onUpdateReferenceOption)
public String toString()
toString 在类中 NamedConstraintpublic ForeignKeyIndex withTable(Table table)
public ForeignKeyIndex withReferencedColumnNames(List<String> referencedColumnNames)
public ForeignKeyIndex withOnDeleteReferenceOption(String onDeleteReferenceOption)
public ForeignKeyIndex withOnUpdateReferenceOption(String onUpdateReferenceOption)
public ForeignKeyIndex addReferencedColumnNames(String... referencedColumnNames)
public ForeignKeyIndex addReferencedColumnNames(Collection<String> referencedColumnNames)
public ForeignKeyIndex withType(String type)
withType 在类中 NamedConstraintpublic ForeignKeyIndex withUsing(String using)
withUsing 在类中 NamedConstraintpublic ForeignKeyIndex withName(List<String> name)
withName 在类中 NamedConstraintpublic ForeignKeyIndex withName(String name)
withName 在类中 NamedConstraintpublic ForeignKeyIndex withColumnsNames(List<String> list)
withColumnsNames 在类中 NamedConstraintpublic ForeignKeyIndex withColumns(List<Index.ColumnParams> columns)
withColumns 在类中 NamedConstraintpublic ForeignKeyIndex addColumns(Index.ColumnParams... functionDeclarationParts)
addColumns 在类中 NamedConstraintpublic ForeignKeyIndex addColumns(Collection<? extends Index.ColumnParams> functionDeclarationParts)
addColumns 在类中 NamedConstraintpublic ForeignKeyIndex withIndexSpec(List<String> idxSpec)
withIndexSpec 在类中 NamedConstraintCopyright © 2026. All rights reserved.