Modifier and Type | Field and Description |
---|---|
private Set<String> |
columns |
private String |
condition |
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 |
getCondition()
If a condition is specificed a partial index is
created for rows that matches the conditions.
|
String |
getName() |
boolean |
isUnique() |
void |
setCondition(String condition) |
String |
toString() |
private final String name
private final boolean isUnique
private String condition
public IndexInfo(String name, boolean isUnique)
getColumns()
set.name
- The name of the indexisUnique
- If the index must have unique values or notpublic String getName()
public boolean isUnique()
public String getCondition()
public void setCondition(String condition)