public class Index extends AbstractDatabaseObject
LiquibaseSerializable.SerializationType| Modifier and Type | Field and Description |
|---|---|
static String |
MARK_FOREIGN_KEY
Marks Index as associated with Foreign Key [FK]
|
static String |
MARK_PRIMARY_KEY
Marks Index as associated with Primary Key [PK]
|
static String |
MARK_UNIQUE_CONSTRAINT
Marks Index as associated with Unique Constraint [UC]
|
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE| Constructor and Description |
|---|
Index() |
Index(String indexName) |
Index(String indexName,
String catalogName,
String schemaName,
String tableName,
Column... columns) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssociatedWith(String item) |
Index |
addColumn(Column column) |
int |
compareTo(Object other) |
boolean |
equals(Object obj) |
Set<String> |
getAssociatedWith() |
String |
getAssociatedWithAsString() |
Boolean |
getClustered() |
String |
getColumnNames() |
List<Column> |
getColumns() |
DatabaseObject[] |
getContainingObjects() |
String |
getName() |
Schema |
getSchema() |
Table |
getTable() |
String |
getTablespace() |
int |
hashCode() |
boolean |
isAssociatedWith(String keyword) |
Boolean |
isUnique() |
Index |
setClustered(Boolean clustered) |
Index |
setColumns(List<Column> columns) |
Index |
setName(String name) |
Index |
setTable(Table table) |
Index |
setTablespace(String tablespace) |
Index |
setUnique(Boolean value) |
String |
toString() |
getAttribute, getAttribute, getAttributes, getObjectTypeName, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getSnapshotId, load, serialize, setAttribute, setSnapshotId, snapshotByDefaultpublic static final String MARK_PRIMARY_KEY
public static final String MARK_FOREIGN_KEY
public static final String MARK_UNIQUE_CONSTRAINT
public Index()
public Index(String indexName)
public DatabaseObject[] getContainingObjects()
public String getName()
public Schema getSchema()
public Table getTable()
public String getTablespace()
public String getColumnNames()
public Boolean isUnique()
public String getAssociatedWithAsString()
public void addAssociatedWith(String item)
public boolean isAssociatedWith(String keyword)
public Boolean getClustered()
public int compareTo(Object other)
compareTo in interface ComparablecompareTo in class AbstractDatabaseObjectpublic String toString()
toString in class AbstractDatabaseObjectCopyright © 2018 Liquibase.org. All rights reserved.