public class DDLIndex
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DDLIndex.DDLIndexBuilder |
Modifier and Type | Method and Description |
---|---|
static DDLIndex.DDLIndexBuilder |
builder() |
boolean |
containsFieldWithName(java.lang.String fieldName) |
boolean |
containsFieldWithNameIgnoreCase(java.lang.String fieldName) |
boolean |
equals(java.lang.Object o)
Check if this is equal to other index.
|
DDLIndexField[] |
getFields() |
java.lang.String |
getIndexName() |
java.lang.String |
getTable() |
int |
hashCode() |
java.lang.String |
toString() |
public static DDLIndex.DDLIndexBuilder builder()
public java.lang.String getTable()
public DDLIndexField[] getFields()
public java.lang.String getIndexName()
public boolean containsFieldWithName(java.lang.String fieldName)
public boolean containsFieldWithNameIgnoreCase(java.lang.String fieldName)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
Two indexes are considered equivalent if and only if they have exactly the same column names in the same order and the same table name specified. Please note that index name does not matter when checking for index equality.
equals
in class java.lang.Object
o
- object to compare withpublic int hashCode()
hashCode
in class java.lang.Object
Copyright © 2007-2018. All Rights Reserved.