Package org.eclipse.net4j.db.ddl
Interface IDBIndex
- All Superinterfaces:
Comparable<IDBSchemaElement>
,org.eclipse.net4j.util.container.IContainer<IDBSchemaElement>
,IDBElement
,IDBNamedElement
,IDBSchemaElement
,org.eclipse.net4j.util.event.INotifier
- All Known Subinterfaces:
InternalDBIndex
An index specification in a
DB table
.- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>
Nested classes/interfaces inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement
IDBSchemaElement.SchemaElementType
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Method Summary
Modifier and TypeMethodDescriptionaddIndexField
(String name) addIndexField
(IDBField field) getField
(int position) int
IDBField[]
getFieldSafe
(String name) getIndexField
(int position) getIndexField
(String name) getIndexFieldSafe
(String name) int
Deprecated.getTable()
getType()
void
setType
(IDBIndex.Type type) Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBElement
getProperties
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBNamedElement
getName
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement
accept, getElement, getFullName, getSchema, getSchemaElementType, remove, setName
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
getParent
IDBTable getParent()- Specified by:
getParent
in interfaceIDBElement
- Specified by:
getParent
in interfaceIDBSchemaElement
- Since:
- 4.2
-
getTable
IDBTable getTable() -
getType
IDBIndex.Type getType() -
setType
- Since:
- 4.2
-
getPosition
Deprecated. -
addIndexField
- Since:
- 4.2
-
addIndexField
- Throws:
SchemaElementNotFoundException
- Since:
- 4.2
-
getIndexFieldSafe
- Throws:
SchemaElementNotFoundException
- Since:
- 4.2
-
getIndexField
- Since:
- 4.2
-
getIndexField
- Since:
- 4.2
-
getFieldSafe
- Throws:
SchemaElementNotFoundException
- Since:
- 4.2
-
getField
- Since:
- 4.2
-
getField
-
getFieldCount
int getFieldCount() -
getIndexFields
IDBIndexField[] getIndexFields()- Since:
- 4.2
-
getFields
IDBField[] getFields()
-