A destructor is present on this object, but not explicitly documented in the source.
Works the same as load except that it also reads data from cache which hasn't been stored yet
Ditto
Internal function used to reserve a size bytes in the blockfile
Creates the header block.
Marks a block for the recycler as erased This function ereases the block before the store method is called The list of recyclable blocks is also updated after the store method has been called.
Used for debugging only to dump the Block's
Loads a document at an index. If the document is not valid it throws an exception.
Sets the database root index
Allocates new document Does not actually update the BlockFile just reserves new block's
Allocates new document Does not actually update the BlockFile just reserves new block's
Sets the pointer to the index in the blockfile.
This function will erase, write, update the BlockFile and update the recycle bin Stores the list of BlockSegment to the disk If this function throws an Exception the Blockfile has not been updated
Write the master block to the filesystem and truncate the file
Creates an empty BlockFile
Opens an existing file which previously was created by BlockFile.create
* The HeaderBlock is the first block in the BlockFile
The MasterBlock is the last block in the BlockFile This block maintains the indices to of other block
Block file operation