org.eclipse.net4j.spi.db.ddl
Interface InternalDBSchema
- All Superinterfaces:
- Comparable<IDBSchemaElement>, IContainer<IDBSchemaElement>, IDBElement, IDBNamedElement, IDBSchema, IDBSchemaElement, INotifier, InternalDBElement, InternalDBNamedElement, InternalDBSchemaElement
- All Known Implementing Classes:
- org.eclipse.net4j.internal.db.ddl.DBSchema, DBSchema
- public interface InternalDBSchema
- extends IDBSchema, InternalDBSchemaElement
- Since:
- 4.2
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBSchema |
compare, create, create, create, drop, drop, drop, export, export, export, findElement, getTable, getTables, getTableSafe, isLocked |
NO_TABLES
static final IDBTable[] NO_TABLES
getWrapper
IDBSchema getWrapper()
- Specified by:
getWrapper
in interface InternalDBSchemaElement
addTable
IDBTable addTable(String name)
- Specified by:
addTable
in interface IDBSchema
removeTable
IDBTable removeTable(String name)
- Specified by:
removeTable
in interface IDBSchema
createIndexName
String createIndexName(IDBTable table,
IDBIndex.Type type,
IDBField[] fields,
int position)
lock
boolean lock()
unlock
boolean unlock()
assertUnlocked
void assertUnlocked()
throws DBException
- Throws:
DBException
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.