Package org.eclipse.net4j.db.ddl
Interface IDBSchema
- All Superinterfaces:
Comparable<IDBSchemaElement>
,org.eclipse.net4j.util.container.IContainer<IDBSchemaElement>
,IDBElement
,IDBNamedElement
,IDBSchemaElement
,org.eclipse.net4j.util.event.INotifier
- All Known Subinterfaces:
InternalDBSchema
- All Known Implementing Classes:
org.eclipse.net4j.internal.db.ddl.DBSchema
,DBSchema
Specifies a number of
DB tables
that can be created in or dropped from a database through a
DB adapter
.- 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 TypeMethodDescriptioncreate
(IDBAdapter dbAdapter, Connection connection) create
(IDBAdapter dbAdapter, DataSource dataSource) create
(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) void
drop
(IDBAdapter dbAdapter, Connection connection) void
drop
(IDBAdapter dbAdapter, DataSource dataSource) void
drop
(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) void
export
(Connection connection, PrintStream out) void
export
(DataSource dataSource, PrintStream out) void
export
(IDBConnectionProvider connectionProvider, PrintStream out) <T extends IDBSchemaElement>
TfindElement
(IDBSchemaElement prototype) IDBTable[]
getTableSafe
(String name) boolean
boolean
isLocked()
boolean
removeTable
(String name) 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, getParent, getSchema, getSchemaElementType, remove, setName
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
isLocked
boolean isLocked()- Since:
- 4.2
-
isCaseSensitive
boolean isCaseSensitive()- Since:
- 4.12
-
isQualifiedTableNames
boolean isQualifiedTableNames()- Since:
- 4.12
-
findElement
- Since:
- 4.2
-
addTable
- Throws:
DBException
-
removeTable
- Throws:
DBException
- Since:
- 4.0
-
getTableSafe
- Throws:
SchemaElementNotFoundException
- Since:
- 4.2
-
getTable
-
getTables
IDBTable[] getTables() -
create
- Throws:
DBException
-
create
- Throws:
DBException
-
create
Set<IDBTable> create(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) throws DBException - Throws:
DBException
-
drop
- Throws:
DBException
-
drop
- Throws:
DBException
-
drop
- Throws:
DBException
-
export
- Throws:
DBException
-
export
- Throws:
DBException
-
export
- Throws:
DBException
-
compare
- Since:
- 4.2
-