public class TableSpecification.Index extends TableSpecification.IndexType
| Constructor and Description |
|---|
Index(java.lang.String name,
boolean unique,
java.lang.String... strings) |
Index(TableSpecification.Index i) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(java.util.function.UnaryOperator<java.lang.String> name_map,
FieldTypeVisitor vis) |
TableSpecification.IndexType |
copy(TableSpecification spec)
Generate a copy of this index in a different specification.
|
boolean |
getUnique() |
addField, equals, getindexNames, getName, hashCode, isRefpublic Index(java.lang.String name,
boolean unique,
java.lang.String... strings)
throws InvalidArgument
InvalidArgumentpublic Index(TableSpecification.Index i)
public boolean getUnique()
public void accept(java.util.function.UnaryOperator<java.lang.String> name_map,
FieldTypeVisitor vis)
accept in class TableSpecification.IndexTypepublic TableSpecification.IndexType copy(TableSpecification spec)
TableSpecification.IndexTypecopy in class TableSpecification.IndexType