@ProviderType public class IndexMetadata extends Index implements Comparable<IndexMetadata>
Constructor and Description |
---|
IndexMetadata(String indexName,
String tableName,
boolean unique,
String... columnNames) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IndexMetadata indexMetadata) |
boolean |
equals(Object obj) |
String[] |
getColumnNames() |
String |
getCreateSQL(int[] lengths) |
String |
getDropSQL() |
int |
hashCode() |
Boolean |
redundantTo(IndexMetadata indexMetadata) |
String |
toString() |
getIndexName, getTableName, isUnique
public IndexMetadata(String indexName, String tableName, boolean unique, String... columnNames)
public int compareTo(IndexMetadata indexMetadata)
compareTo
in interface Comparable<IndexMetadata>
public boolean equals(Object obj)
equals
in class Object
public String[] getColumnNames()
public String getCreateSQL(int[] lengths)
public String getDropSQL()
public int hashCode()
hashCode
in class Object
public Boolean redundantTo(IndexMetadata indexMetadata)
public String toString()
toString
in class Object