Package | Description |
---|---|
org.eclipse.net4j.db |
The Net4j DB framework.
|
org.eclipse.net4j.db.ddl |
The Net4j DB framework concepts for the abstraction of the SQL data definition language.
|
org.eclipse.net4j.db.ddl.delta |
The Net4j DB framework concepts for the abstraction of schema deltas.
|
org.eclipse.net4j.db.h2 |
The Net4j DB Framework support for H2 databases.
|
org.eclipse.net4j.db.postgresql |
The Net4j DB Framework support for PostgreSQL databases.
|
org.eclipse.net4j.spi.db |
Server service provider interfaces and useful base implementations for the Net4j DB framework.
|
org.eclipse.net4j.spi.db.ddl |
Server service provider interfaces for the Net4j DB framework.
|
Modifier and Type | Method and Description |
---|---|
Set<IDBTable> |
IDBAdapter.createTables(Iterable<? extends IDBTable> tables,
Connection connection) |
Collection<IDBTable> |
IDBAdapter.dropTables(Iterable<? extends IDBTable> tables,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
static int |
DBUtil.clearTable(Connection connection,
IDBTable table) |
boolean |
IDBAdapter.createTable(IDBTable table,
Statement statement) |
static void |
DBUtil.deserializeTable(ExtendedDataInput in,
Connection connection,
IDBTable table,
OMMonitor monitor) |
static void |
DBUtil.deserializeTable(ExtendedDataInput in,
Connection connection,
IDBTable table,
OMMonitor monitor,
DBUtil.DeserializeRowHandler handler) |
boolean |
IDBAdapter.dropTable(IDBTable table,
Statement statement) |
static void |
DBUtil.serializeTable(ExtendedDataOutput out,
Connection connection,
IDBTable table,
String tableAlias,
String sqlSuffix) |
static void |
DBUtil.serializeTable(ExtendedDataOutput out,
Connection connection,
IDBTable table,
String tableAlias,
String sqlSuffix,
DBUtil.SerializeRowHandler handler) |
Modifier and Type | Method and Description |
---|---|
Set<IDBTable> |
IDBAdapter.createTables(Iterable<? extends IDBTable> tables,
Connection connection) |
Collection<IDBTable> |
IDBAdapter.dropTables(Iterable<? extends IDBTable> tables,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
IDBTable |
IDBSchema.addTable(String name) |
IDBTable |
IDBField.getParent() |
IDBTable |
IDBIndex.getParent() |
IDBTable |
IDBField.getTable() |
IDBTable |
IDBIndex.getTable() |
IDBTable |
IDBSchema.getTable(String name) |
IDBTable[] |
IDBSchema.getTables() |
IDBTable |
IDBSchema.getTableSafe(String name) |
IDBTable |
IDBSchema.removeTable(String name) |
Modifier and Type | Method and Description |
---|---|
Set<IDBTable> |
IDBSchema.create(IDBAdapter dbAdapter,
Connection connection) |
Set<IDBTable> |
IDBSchema.create(IDBAdapter dbAdapter,
DataSource dataSource) |
Set<IDBTable> |
IDBSchema.create(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider) |
Modifier and Type | Method and Description |
---|---|
void |
IDBSchemaVisitor.visit(IDBTable table) |
void |
IDBSchemaVisitor.Default.visit(IDBTable element) |
Modifier and Type | Method and Description |
---|---|
IDBTable |
IDBTableDelta.getSchemaElement(IDBSchema schema) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
H2Adapter.isPrimaryKeyShadow(Connection connection,
IDBTable table,
String name,
IDBIndex.Type type,
IDBField[] fields) |
Modifier and Type | Method and Description |
---|---|
protected void |
PostgreSQLAdapter.doCreateTable(IDBTable table,
Statement statement) |
Modifier and Type | Method and Description |
---|---|
IDBTable |
DBSchema.addTable(String name)
Deprecated.
|
IDBTable |
DBSchema.getTable(String name)
Deprecated.
|
IDBTable[] |
DBSchema.getTables()
Deprecated.
|
IDBTable |
DBSchema.removeTable(String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Set<IDBTable> |
DBSchema.create(IDBAdapter dbAdapter,
Connection connection)
Deprecated.
|
Set<IDBTable> |
DBSchema.create(IDBAdapter dbAdapter,
DataSource dataSource)
Deprecated.
|
Set<IDBTable> |
DBSchema.create(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider)
Deprecated.
|
Set<IDBTable> |
DBAdapter.createTables(Iterable<? extends IDBTable> tables,
Connection connection) |
Collection<IDBTable> |
DBAdapter.dropTables(Iterable<? extends IDBTable> tables,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
DBAdapter.addIndex(Connection connection,
IDBTable table,
String name,
IDBIndex.Type type,
List<DBAdapter.FieldInfo> fieldInfos) |
protected void |
DBAdapter.alterTable(Connection connection,
IDBTable table,
IDBTableDelta delta) |
protected void |
DBAdapter.appendFieldDefs(Appendable appendable,
IDBTable table,
String[] defs) |
void |
DBAdapter.appendFieldNames(Appendable appendable,
IDBTable table) |
protected String |
DBAdapter.createConstraints(IDBTable table) |
protected String[] |
DBAdapter.createFieldDefinitions(IDBTable table) |
protected void |
DBAdapter.createTable(Connection connection,
IDBTable table,
IDBTableDelta delta) |
boolean |
DBAdapter.createTable(IDBTable table,
Statement statement) |
protected void |
DBAdapter.doCreateTable(IDBTable table,
Statement statement) |
protected void |
DBAdapter.dropTable(Connection connection,
IDBTable table,
IDBTableDelta delta) |
boolean |
DBAdapter.dropTable(IDBTable table,
Statement statement) |
protected String |
DBAdapter.getDropTableSQL(IDBTable table) |
protected boolean |
DBAdapter.isPrimaryKeyShadow(Connection connection,
IDBTable table,
String name,
IDBIndex.Type type,
IDBField[] fields) |
protected void |
DBAdapter.readFields(Connection connection,
IDBTable table) |
protected void |
DBAdapter.readIndices(Connection connection,
DatabaseMetaData metaData,
IDBTable table,
String schemaName) |
protected void |
DBAdapter.readIndices(Connection connection,
ResultSet resultSet,
IDBTable table,
int indexNameColumn,
int indexTypeColumn,
int fieldNameColumn,
int fieldPositionColumn) |
protected void |
DBAdapter.validateTable(IDBTable table,
Statement statement) |
Modifier and Type | Method and Description |
---|---|
Set<IDBTable> |
DBAdapter.createTables(Iterable<? extends IDBTable> tables,
Connection connection) |
Collection<IDBTable> |
DBAdapter.dropTables(Iterable<? extends IDBTable> tables,
Connection connection) |
Modifier and Type | Interface and Description |
---|---|
interface |
InternalDBTable |
Modifier and Type | Field and Description |
---|---|
static IDBTable[] |
InternalDBSchema.NO_TABLES |
Modifier and Type | Method and Description |
---|---|
IDBTable |
InternalDBSchema.addTable(String name) |
IDBTable |
InternalDBTable.getWrapper() |
IDBTable |
InternalDBSchema.removeTable(String name) |
Modifier and Type | Method and Description |
---|---|
String |
InternalDBSchema.createIndexName(IDBTable table,
IDBIndex.Type type,
IDBField[] fields,
int position) |
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.