Interface LLDatabaseType
- All Superinterfaces:
AutoCloseable, Closeable
- All Known Implementing Classes:
LLDatabaseSQLite
A database.
-
Method Details
-
dataSizeApproximate
- Returns:
- The approximate size of the database in bytes
- Throws:
IOException- On errors
-
keyCountApproximate
- Returns:
- The approximate number of keys in the database
- Throws:
IOException- On errors
-
isClosed
boolean isClosed()- Returns:
trueif the store has been closed
-
readUpdateDelete
Atomically read, update, and delete values in the database.- Parameters:
rud- The RUD operation- Returns:
- The read keys
- Throws:
IOException- On errors
-
get
Get the value associated with the given key, if any.- Parameters:
key- The key- Returns:
- The value, if any
- Throws:
IOException- On errors
-
getAll
- Returns:
- The entire database
- Throws:
IOException- On errors
-