database
<<<<<<< HEAD
Package database provides a database for SCR-NETWORK.
Package database provides a database for pyipad.
0e8ed786da4e31df71edebffb326da64b0a6c3b4
Overview
This package provides a database layer to store and retrieve data in a simple
and efficient manner.
The current backend is ffldb, which makes use of leveldb, flat files, and strict
checksums in key areas to ensure data integrity.
Implementors of additional backends are required to implement the following interfaces:
DataAccessor
<<<<<<< HEAD
This defines the common interface by which data gets accessed in a generic SCR-NETWORK
This defines the common interface by which data gets accessed in a generic pyipad
0e8ed786da4e31df71edebffb326da64b0a6c3b4
database. Both the Database and the Transaction interfaces (see below) implement it.
Database
This defines the interface of a database that can begin transactions and close itself.
Transaction
<<<<<<< HEAD
This defines the interface of a generic SCR-NETWORK database transaction.
This defines the interface of a generic pyipad database transaction.
0e8ed786da4e31df71edebffb326da64b0a6c3b4
Note: Transactions provide data consistency over the state of the database as it was
when the transaction started. There is NO guarantee that if one puts data into the
transaction then it will be available to get within the same transaction.
Cursor
This iterates over database entries given some bucket.