|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.tools.workbench.base.Index
This class represents an index for a table.
Field Summary | |
protected int[] |
columns
The columns included in the index |
protected java.lang.String |
name
The name of the index |
protected Table |
table
The table where the index is created |
protected boolean |
unique
The uniqueness indicator |
Constructor Summary | |
Index(java.lang.String name,
Table table,
boolean unique,
int[] columns)
This constructor creates an Index object. |
Method Summary | |
int[] |
getColumns()
Returns the column identifiers of the check constraint. |
java.lang.String |
getName()
Returns the name of the index. |
Table |
getTable()
Returns the table |
boolean |
isUnique()
Checks if the index is unique |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.String name
protected Table table
protected int[] columns
protected boolean unique
Constructor Detail |
public Index(java.lang.String name, Table table, boolean unique, int[] columns)
name
- java.lang.String The name of the index.table
- com.ibm.dse.tools.workbench.base.Table The table.unique
- boolean The uniqueness indicator.columns
- int[] The column identifiers included in the index.Method Detail |
public int[] getColumns()
public java.lang.String getName()
public Table getTable()
public boolean isUnique()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |