public interface IEDBDatabase
Modifier and Type | Method and Description |
---|---|
void |
doVacuum()
Makes some database cleanups to save space
|
java.util.Vector |
getAllTypes()
Returns all types stored in this database
|
java.util.Vector |
getAllValuesOfType(java.lang.String type)
Returns all values of a given type stored in this database
|
void |
insert(java.lang.String type,
java.lang.String key,
java.lang.String value)
Inserts some value of a given type with a given key into the database
|
void |
remove(java.lang.String type,
java.lang.String key)
Removes a value with a given type and key form this database
|
void |
removeType(java.lang.String type)
Removes a type from this database, i.e. all values of the given type and the type itself will be deleted
|
void |
testDB()
Does a basic test, if this DB would work.
|
void testDB() throws java.lang.Exception
java.lang.Exception
void insert(java.lang.String type, java.lang.String key, java.lang.String value) throws EDBException
EDBException
java.util.Vector getAllTypes() throws EDBException
EDBException
java.util.Vector getAllValuesOfType(java.lang.String type) throws EDBException
EDBException
void removeType(java.lang.String type) throws EDBException
EDBException
void remove(java.lang.String type, java.lang.String key) throws EDBException
EDBException
void doVacuum() throws EDBException
EDBException
Copyright © 2023. All rights reserved.