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, isRef
public Index(java.lang.String name, boolean unique, java.lang.String... strings) throws InvalidArgument
InvalidArgument
public 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.IndexType
public TableSpecification.IndexType copy(TableSpecification spec)
TableSpecification.IndexType
copy
in class TableSpecification.IndexType