org.eclipse.net4j.db.ddl
Interface IDBIndex
- All Superinterfaces:
- Comparable<IDBSchemaElement>, IContainer<IDBSchemaElement>, IDBElement, IDBNamedElement, IDBSchemaElement, INotifier
- All Known Subinterfaces:
- InternalDBIndex
- public interface IDBIndex
- extends IDBSchemaElement
An index specification in a DB table
.
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
getParent
IDBTable getParent()
- Specified by:
getParent
in interface IDBSchemaElement
- Since:
- 4.2
getTable
IDBTable getTable()
getType
IDBIndex.Type getType()
setType
void setType(IDBIndex.Type type)
- Since:
- 4.2
getPosition
@Deprecated
int getPosition()
- Deprecated.
addIndexField
IDBIndexField addIndexField(IDBField field)
- Since:
- 4.2
addIndexField
IDBIndexField addIndexField(String name)
throws SchemaElementNotFoundException
- Throws:
SchemaElementNotFoundException
- Since:
- 4.2
getIndexFieldSafe
IDBIndexField getIndexFieldSafe(String name)
throws SchemaElementNotFoundException
- Throws:
SchemaElementNotFoundException
- Since:
- 4.2
getIndexField
IDBIndexField getIndexField(String name)
- Since:
- 4.2
getIndexField
IDBIndexField getIndexField(int position)
- Since:
- 4.2
getFieldSafe
IDBField getFieldSafe(String name)
throws SchemaElementNotFoundException
- Throws:
SchemaElementNotFoundException
- Since:
- 4.2
getField
IDBField getField(String name)
- Since:
- 4.2
getField
IDBField getField(int position)
getFieldCount
int getFieldCount()
getIndexFields
IDBIndexField[] getIndexFields()
- Since:
- 4.2
getFields
IDBField[] getFields()
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.