Crate bitcoinleveldb_db

Source

Modules§

iter_state

Structs§

DBImpl

DBImplWriter
| Information kept for every waiting | writer |
DBIter
| Memtables and sstables that make the DB | representation contain (userkey,seq,type) => | uservalue entries. DBIter combines multiple | entries for the same userkey found in the DB | representation into a single entry while | accounting for sequence numbers, deletion | markers, overwrites, etc.
IterState
LevelDB
LevelDBCache
LevelDBComparator

LevelDBEnv

LevelDBFileLock
LevelDBFilterPolicy

LevelDBLogger
LevelDBOptions
LevelDBRandomFile
LevelDBReadOptions
LevelDBSeqFile
LevelDBSnapshot
LevelDBWritableFile
LevelDBWriteBatch
LevelDBWriteOptions
TableTest
TestArgs

Enums§

DBIterDirection
| Which direction is the iterator currently | moving? | | (1) When moving forward, the internal | iterator is positioned at the exact entry | that yields this->key(), this->value() | | (2) When moving backwards, the internal | iterator is positioned just before all | entries whose user key == this->key().
TestType

Constants§

MAJOR_VERSION
MINOR_VERSION
NUM_NON_TABLE_CACHE_FILES

Traits§

CompactRange
DB
| A DB is a persistent ordered map from keys to | values. | | A DB is safe for concurrent access from | multiple threads without any external | synchronization.
Delete
Get
GetApproximateSizes
GetProperty
GetSnapshot
NewIterator
Put
ReleaseSnapshot

Functions§

cleanup_iterator_state
clip_to_range
| Fix user-supplied options to be reasonable |
copy_string
destroydb
| Destroy the contents of the specified database. | Be very careful using this method. | | Note: For backwards compatibility, if DestroyDB | is unable to list the database files, | Status::OK() will still be returned masking | this failure.
leveldb_approximate_sizes
leveldb_cache_create_lru
leveldb_cache_destroy
leveldb_close
leveldb_compact_range
leveldb_comparator_create
leveldb_comparator_destroy
leveldb_create_default_env
leveldb_create_iterator
leveldb_create_snapshot
leveldb_delete
leveldb_destroy_db
leveldb_env_destroy
leveldb_env_get_test_directory
leveldb_filterpolicy_create
leveldb_filterpolicy_create_bloom
leveldb_filterpolicy_destroy
leveldb_free
leveldb_get
leveldb_iter_destroy
leveldb_iter_get_error
leveldb_iter_key
leveldb_iter_next
leveldb_iter_prev
leveldb_iter_seek
leveldb_iter_seek_to_first
leveldb_iter_seek_to_last
leveldb_iter_valid
leveldb_iter_value
leveldb_major_version
leveldb_minor_version
leveldb_open
leveldb_options_create
leveldb_options_destroy
leveldb_options_set_block_restart_interval
leveldb_options_set_block_size
leveldb_options_set_cache
leveldb_options_set_comparator
leveldb_options_set_compression
leveldb_options_set_create_if_missing
leveldb_options_set_env
leveldb_options_set_error_if_exists
leveldb_options_set_filter_policy
leveldb_options_set_info_log
leveldb_options_set_max_file_size
leveldb_options_set_max_open_files
leveldb_options_set_paranoid_checks
leveldb_options_set_write_buffer_size
leveldb_property_value
leveldb_put
leveldb_readoptions_create
leveldb_readoptions_destroy
leveldb_readoptions_set_fill_cache
leveldb_readoptions_set_snapshot
leveldb_readoptions_set_verify_checksums
leveldb_release_snapshot
leveldb_repair_db
leveldb_write
leveldb_writebatch_append
leveldb_writebatch_clear
leveldb_writebatch_create
leveldb_writebatch_delete
leveldb_writebatch_destroy
leveldb_writebatch_iterate
leveldb_writebatch_put
leveldb_writeoptions_create
leveldb_writeoptions_destroy
leveldb_writeoptions_set_sync
new_db_iterator
| Return a new iterator that converts internal | keys (yielded by “*internal_iter”) that were | live at the specified “sequence” number into | appropriate user keys.
repairdb
| If a DB cannot be opened, you may attempt to | call this method to resurrect as much of the | contents of the database as possible. | | Some data may be lost, so be careful when | calling this function on a database that | contains important information.
sanitize_options
| Sanitize db options. The caller should | delete result.info_log if it is not | equal to src.info_log. |
save_error
snappy_compression_supported
table_cache_size
tabletable_test_main