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.SchemaElementType
Nested 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) int
IDBField[]
IDBField[]
getFieldSafe
(String name) getIndex
(int position) int
getIndexSafe
(String name) IDBIndex[]
boolean
hasIndexFor
(IDBField... fields) 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
IDBSchema getParent()- Specified by:
getParent
in interfaceIDBElement
- Specified by:
getParent
in 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()
-