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.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 |
---|---|
boolean |
IDBAdapter.createTable(IDBTable table,
Statement statement) |
Set<IDBTable> |
IDBAdapter.createTables(Iterable<? extends IDBTable> tables,
Connection connection) |
Collection<IDBTable> |
IDBAdapter.dropTables(Iterable<? extends IDBTable> tables,
Connection connection) |
Connection |
IDBConnectionProvider.getConnection()
Returns a connection.
|
static int |
DBUtil.getRowCount(ResultSet resultSet)
Returns the number of rows contained in the given result set.
|
static int |
DBUtil.select(Connection connection,
IDBRowHandler rowHandler,
IDBField... fields) |
static int |
DBUtil.select(Connection connection,
IDBRowHandler rowHandler,
String where,
IDBField... fields) |
static Object[] |
DBUtil.select(Connection connection,
String where,
IDBField... fields) |
static int |
DBUtil.selectMaximumInt(Connection connection,
IDBField field,
String... where) |
static long |
DBUtil.selectMaximumLong(Connection connection,
IDBField field,
String... where) |
static int |
DBUtil.selectMinimumInt(Connection connection,
IDBField field,
String... where) |
static long |
DBUtil.selectMinimumLong(Connection connection,
IDBField field,
String... where) |
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) |
void |
IDBAdapter.updateSchema(Connection connection,
IDBSchema schema,
IDBSchemaDelta delta) |
Modifier and Type | Class and Description |
---|---|
class |
SchemaElementNotFoundException |
Modifier and Type | Method and Description |
---|---|
IDBTable |
IDBSchema.addTable(String name) |
Set<IDBTable> |
IDBSchema.create(IDBAdapter dbAdapter,
Connection connection) |
Set<IDBTable> |
IDBSchema.create(IDBAdapter dbAdapter,
DataSource dataSource) |
Set<IDBTable> |
IDBSchema.create(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider) |
void |
IDBSchema.drop(IDBAdapter dbAdapter,
Connection connection) |
void |
IDBSchema.drop(IDBAdapter dbAdapter,
DataSource dataSource) |
void |
IDBSchema.drop(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider) |
void |
IDBSchema.export(Connection connection,
PrintStream out) |
void |
IDBSchema.export(DataSource dataSource,
PrintStream out) |
void |
IDBSchema.export(IDBConnectionProvider connectionProvider,
PrintStream out) |
IDBTable |
IDBSchema.removeTable(String name) |
Modifier and Type | Method and Description |
---|---|
IDBTable |
DBSchema.addTable(String name)
Deprecated.
|
void |
DBSchema.assertUnlocked()
Deprecated.
|
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.
|
boolean |
DBAdapter.createTable(IDBTable table,
Statement statement) |
Set<IDBTable> |
DBAdapter.createTables(Iterable<? extends IDBTable> tables,
Connection connection) |
void |
DBSchema.drop(IDBAdapter dbAdapter,
Connection connection)
Deprecated.
|
void |
DBSchema.drop(IDBAdapter dbAdapter,
DataSource dataSource)
Deprecated.
|
void |
DBSchema.drop(IDBAdapter dbAdapter,
IDBConnectionProvider connectionProvider)
Deprecated.
|
Collection<IDBTable> |
DBAdapter.dropTables(Iterable<? extends IDBTable> tables,
Connection connection) |
void |
DBSchema.export(Connection connection,
PrintStream out)
Deprecated.
|
void |
DBSchema.export(DataSource dataSource,
PrintStream out)
Deprecated.
|
void |
DBSchema.export(IDBConnectionProvider connectionProvider,
PrintStream out)
Deprecated.
|
void |
DBAdapter.updateSchema(Connection connection,
IDBSchema schema,
IDBSchemaDelta delta) |
protected void |
DBAdapter.validateTable(IDBTable table,
Statement statement) |
Modifier and Type | Method and Description |
---|---|
void |
InternalDBSchema.assertUnlocked() |
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.