Package org.eclipse.net4j.db.ddl
Interface IDBIndex
-
- All Superinterfaces:
java.lang.Comparable<IDBSchemaElement>,org.eclipse.net4j.util.container.IContainer<IDBSchemaElement>,IDBElement,IDBNamedElement,IDBSchemaElement,org.eclipse.net4j.util.event.INotifier
- All Known Subinterfaces:
InternalDBIndex
public interface IDBIndex extends IDBSchemaElement
An index specification in aDB 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
Nested Classes Modifier and Type Interface Description static classIDBIndex.Type-
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement
IDBSchemaElement.SchemaElementType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IDBIndexFieldaddIndexField(java.lang.String name)IDBIndexFieldaddIndexField(IDBField field)IDBFieldgetField(int position)IDBFieldgetField(java.lang.String name)intgetFieldCount()IDBField[]getFields()IDBFieldgetFieldSafe(java.lang.String name)IDBIndexFieldgetIndexField(int position)IDBIndexFieldgetIndexField(java.lang.String name)IDBIndexField[]getIndexFields()IDBIndexFieldgetIndexFieldSafe(java.lang.String name)IDBTablegetParent()intgetPosition()Deprecated.IDBTablegetTable()IDBIndex.TypegetType()voidsetType(IDBIndex.Type type)-
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
-
-
-
-
Method Detail
-
getParent
IDBTable getParent()
- Specified by:
getParentin interfaceIDBSchemaElement- 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(java.lang.String name) throws SchemaElementNotFoundException
- Throws:
SchemaElementNotFoundException- Since:
- 4.2
-
getIndexFieldSafe
IDBIndexField getIndexFieldSafe(java.lang.String name) throws SchemaElementNotFoundException
- Throws:
SchemaElementNotFoundException- Since:
- 4.2
-
getIndexField
IDBIndexField getIndexField(java.lang.String name)
- Since:
- 4.2
-
getIndexField
IDBIndexField getIndexField(int position)
- Since:
- 4.2
-
getFieldSafe
IDBField getFieldSafe(java.lang.String name) throws SchemaElementNotFoundException
- Throws:
SchemaElementNotFoundException- Since:
- 4.2
-
getField
IDBField getField(java.lang.String name)
- Since:
- 4.2
-
getField
IDBField getField(int position)
-
getFieldCount
int getFieldCount()
-
getIndexFields
IDBIndexField[] getIndexFields()
- Since:
- 4.2
-
getFields
IDBField[] getFields()
-
-