public class ForeignKeyIndex extends NamedConstraint
Index.ColumnParams| Constructor and Description |
|---|
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 in class 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 in class NamedConstraintpublic ForeignKeyIndex withUsing(String using)
withUsing in class NamedConstraintpublic ForeignKeyIndex withName(List<String> name)
withName in class NamedConstraintpublic ForeignKeyIndex withName(String name)
withName in class NamedConstraintpublic ForeignKeyIndex withColumnsNames(List<String> list)
withColumnsNames in class NamedConstraintpublic ForeignKeyIndex withColumns(List<Index.ColumnParams> columns)
withColumns in class NamedConstraintpublic ForeignKeyIndex addColumns(Index.ColumnParams... functionDeclarationParts)
addColumns in class NamedConstraintpublic ForeignKeyIndex addColumns(Collection<? extends Index.ColumnParams> functionDeclarationParts)
addColumns in class NamedConstraintpublic ForeignKeyIndex withIndexSpec(List<String> idxSpec)
withIndexSpec in class NamedConstraintCopyright © 2004–2023 JSQLParser. All rights reserved.