Package org.eclipse.net4j.db.ddl
Interface IDBTable
- All Superinterfaces:
Comparable<IDBSchemaElement>,org.eclipse.net4j.util.container.IContainer<IDBSchemaElement>,IDBElement,IDBNamedElement,IDBSchemaElement,org.eclipse.net4j.util.event.INotifier
- All Known Subinterfaces:
InternalDBTable
A table specification in a
DB schema.- 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/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.SchemaElementTypeNested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Method Summary
Modifier and TypeMethodDescriptionaddIndex(String name, IDBIndex.Type type, String... fieldNames) addIndex(String name, IDBIndex.Type type, IDBField... fields) addIndex(IDBIndex.Type type, String... fieldNames) addIndex(IDBIndex.Type type, IDBField... fields) addIndexEmpty(String name, IDBIndex.Type type) addIndexEmpty(IDBIndex.Type type) getField(int position) intIDBField[]IDBField[]getFieldSafe(String name) getIndex(int position) intgetIndexSafe(String name) IDBIndex[]booleanhasIndexFor(IDBField... fields) Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmptyMethods inherited from interface org.eclipse.net4j.db.ddl.IDBElement
getPropertiesMethods inherited from interface org.eclipse.net4j.db.ddl.IDBNamedElement
getNameMethods inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement
accept, getElement, getFullName, getSchema, getSchemaElementType, remove, setNameMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
getParent
IDBSchema getParent()- Specified by:
getParentin interfaceIDBElement- Specified by:
getParentin interfaceIDBSchemaElement- Since:
- 4.2
-
addField
-
addField
-
addField
-
addField
-
addField
-
addField
-
getFieldSafe
- Throws:
SchemaElementNotFoundException- Since:
- 4.2
-
getField
-
getField
-
getFieldCount
int getFieldCount() -
getFields
IDBField[] getFields() -
getFields
- Throws:
SchemaElementNotFoundException- Since:
- 4.2
-
hasIndexFor
- Since:
- 4.5
-
addIndex
- Since:
- 4.2
-
addIndex
IDBIndex addIndex(String name, IDBIndex.Type type, String... fieldNames) throws SchemaElementNotFoundException - Throws:
SchemaElementNotFoundException- Since:
- 4.2
-
addIndexEmpty
- Since:
- 4.2
-
addIndex
-
addIndex
- Throws:
SchemaElementNotFoundException- Since:
- 4.2
-
addIndexEmpty
- Since:
- 4.2
-
getIndexSafe
- Throws:
SchemaElementNotFoundException- Since:
- 4.2
-
getIndex
- Since:
- 4.2
-
getIndex
- Since:
- 4.2
-
getIndexCount
int getIndexCount() -
getIndices
IDBIndex[] getIndices() -
getPrimaryKeyIndex
IDBIndex getPrimaryKeyIndex() -
sqlInsert
String sqlInsert()
-