public abstract class Index extends AbstractSchemaObject
HASHFACTOR
Constructor and Description |
---|
Index() |
Modifier and Type | Method and Description |
---|---|
void |
addField(Field field)
Add given field to list of index fields.
|
boolean |
equals(Object other) |
protected void |
fieldNames(DDLWriter writer)
Concatenate all field names delimited by field delimiter and whitespace.
|
Field |
getField(int index)
Get index field at given index.
|
int |
getFieldCount()
Get number of index fields.
|
Table |
getTable()
Get table the foreign key is used for.
|
int |
hashCode() |
void |
setTable(Table table)
Set table the foreign key is used for.
|
equals, getConfiguration, getName, setConfiguration, setName
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
toCreateDDL, toDropDDL
public final void addField(Field field)
field
- Field to add to list of index fields.public final int getFieldCount()
public final Field getField(int index)
index
- Index of index field to return.public final void setTable(Table table)
table
- Table the foreign key is used for.public final Table getTable()
protected final void fieldNames(DDLWriter writer)
writer
- DDLWriter to write schema objects to.Copyright © 2014. All rights reserved.