|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuba.db.DatabaseBehavior
uba.db.impl.memory.MemoryDatabase
public class MemoryDatabase
| Constructor Summary | |
|---|---|
MemoryDatabase()
|
|
| Method Summary | |
|---|---|
protected Table |
basicCreateTable(TableSchema tableSchema)
Las sub-clases deben implementar este método creando la instancia concreta de la tabla a utilizar. |
protected IdGenerator |
idGenerator()
Las sub-clases deben implementar este método retornando un objeto que se encarga de crear los ids para las nuevas tablas. |
| Methods inherited from class uba.db.DatabaseBehavior |
|---|
addToColumnsTable, addToTablesTable, addToUserTablesMap, basicTableNamed, columnsTable, configureDatabaseUsing, containsTableNamed, createColumnsTable, createTable, createTablesTable, dataTypesTable, initializeUserTables, systemTables, tableNamed, tables, tablesTable, userTables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryDatabase()
throws DatabaseInitializationException
DatabaseInitializationException| Method Detail |
|---|
protected Table basicCreateTable(TableSchema tableSchema)
throws TableCreationException
DatabaseBehavior
basicCreateTable in class DatabaseBehaviortableSchema - esquema de la tabla a crear.
Table que depende de la
implementación.
TableCreationException - si no se pudo crear la tabla.DatabaseBehavior.basicCreateTable(uba.db.table.TableSchema)protected IdGenerator idGenerator()
DatabaseBehavior
idGenerator in class DatabaseBehaviorDatabaseBehavior.idGenerator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||