|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--universe.server.database.Database
This is the main database class.
DBItem
,
Index
,
Query
Constructor Summary | |
Database()
|
Method Summary | |
abstract void |
delete(DBItem item)
The delete method is used to remove an item from the database. |
abstract DBItem |
get(Index index)
The get method is used to retrieve specific data from the database. |
abstract java.util.Enumeration |
query(Query query)
The query method is used to retrieve a set of data elements from the database. |
abstract void |
save()
The save method is used to store the current state of the database in permanent storage. |
abstract Index |
store(DBItem item)
The store method is used to change the database. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Database()
Method Detail |
public abstract Index store(DBItem item)
public abstract DBItem get(Index index)
public abstract java.util.Enumeration query(Query query)
public abstract void delete(DBItem item)
public abstract void save()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |