Modifier and Type | Field and Description |
---|---|
private Set<String> |
columns |
private boolean |
isUnique |
private String |
name |
Constructor and Description |
---|
IndexInfo(String name,
boolean isUnique)
Create a new IndexInfo object.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getColumns() |
String |
getName() |
boolean |
isUnique() |
String |
toString() |
private final String name
private final boolean isUnique
public IndexInfo(String name, boolean isUnique)
getColumns()
set.name
- The name of the indexisUnique
- If the index must have unique values or not