|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.colle.sql.schema.Index
Model abstraction of an index on a relational table. Created: 21 Feb 2001
Constructor Summary | |
(package private) |
Index(String psName,
boolean pbUnique,
Table pxTable)
Constructs an index on a relational table. |
(package private) |
Index(Table pxTable)
Constructs a primary key on a relational table. |
Method Summary | |
(package private) void |
appendColumn(Column pxColumn)
Appends a column that is part of the index |
Iterator |
getColumns()
Returns all of the columns in this index. |
String |
getCreateSQL()
Returns a complete SQL statement that can be used to create this index. |
String |
getName()
Returns the name of the index. |
Table |
getTable()
Returns the table containing this column. |
boolean |
isUnique()
Returns true if the index is unique. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
Index(Table pxTable)
Index(String psName, boolean pbUnique, Table pxTable)
Method Detail |
public String getName()
public Iterator getColumns()
public Table getTable()
public boolean isUnique()
public String getCreateSQL()
void appendColumn(Column pxColumn)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |