Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gifted-s/velarixdb
/ functions
Functions
380 in github.com/Gifted-s/velarixdb
⨍
Functions
380
◇
Types & classes
79
Method
get_filter
(&self)
src/compactors/insertor.rs:18
Method
get_hotness
Returns `Table` `hotness`
src/sst/table.rs:159
Function
get_many
(c: &mut Criterion)
bench/benchmark.rs:25
Method
get_sst_dir
Get SSTable path
src/filter/bf.rs:216
Method
get_value_from_vlog
Retrieves entry from value log Returns tuple of value and date created # Errors Returns error in case search was not successful
src/gc/garbage_collector.rs:524
Method
handle_compaction
( buckets: BucketMapHandle, key_range: KeyRangeHandle, cfg: &Config, )
src/compactors/compact.rs:292
Method
handle_deleted_entries
Handles entries marked as tombstone
src/gc/garbage_collector.rs:540
Method
handle_empty_vlog
Creates new [`DataStore`] Used in case there is no recovery needed
src/db/recovery.rs:290
Function
insert
(c: &mut Criterion)
bench/benchmark.rs:9
Method
insert
Inserts new entry
src/index/indexer.rs:130
Method
is_entry_within_range
Checks if a key range exists in the memtable
src/memtable/mem.rs:287
Method
is_range_iterator_set
Checks if `range_iterator` is set for [`DataStore`]
src/db/store.rs:741
Function
is_valid_keyspace_name
Keyspace names can be up to 255 characters long, can not be empty and can only contain alphanumerics, underscore (`_`) and dash (`-`).
src/db/keyspace.rs:7
Method
len_of_entries_in_memtable
Returns length of entries in active memtable
src/db/store.rs:731
Function
main
()
examples/put_concurrent.rs:9
Function
main
()
examples/update.rs:5
Function
main
()
examples/json.rs:6
Function
main
()
examples/delete.rs:5
Function
main
()
examples/get_concurrent.rs:9
Function
main
()
examples/put.rs:5
Function
main
()
examples/get.rs:5
Method
new
Creates `GC` instance
src/gc/garbage_collector.rs:98
Method
new
(dir: P)
src/bucket/bucket_manager.rs:65
Method
new
(path: P, file: F)
src/index/indexer.rs:70
Method
new
( start: &'a [u8], end: &'a [u8], allow_prefetch: bool, prefetch_entries_size:
src/range/range_iterator.rs:26
Method
new
(size: usize, key_len: usize, val_len: usize, write_read_ratio: f64)
src/tests/workload.rs:41
Method
new
Creates new `DataFile`
src/sst/table.rs:71
Method
new
Creates new `UserEntry`
src/memtable/mem.rs:47
Method
new
(path: P, file: F)
src/vlog/v_log.rs:100
Method
new
(expected: usize)
src/compactors/compact.rs:106
Method
new
creates new instance of `SizedTierRunner`
src/compactors/sized.rs:41
Method
new
Creates a new `MetaFile`
src/meta/meta_manager.rs:19
Method
new
Creates a new empty Block.
src/block/block_manager.rs:97
Method
new
creates new [`BloomFilter`] instance
src/filter/bf.rs:62
Method
new
( read_only_memtable: ImmutableMemTables<K>, bucket_map: BucketMapHandle, key_range: K
src/flush/flusher.rs:21
Method
new
Creates new `Range`
src/key_range/range.rs:41
Method
new
(path: impl P, file_type: FileType)
src/fs/mod.rs:162
Method
num_bits
Returns the current number of elements inserted into the Bloom filter.
src/filter/bf.rs:204
Method
num_elements
Returns the current number of elements inserted into the Bloom filter.
src/filter/bf.rs:198
Method
num_of_hash_functions
Returns the current number of hash functions.
src/filter/bf.rs:210
Method
open_without_background
( keyspace: &'static str, dir: impl P, )
src/db/store.rs:157
Method
punch_holes
will show unused on non-linux environment
src/gc/garbage_collector.rs:368
Method
put
Inserts valid entries to GC table # Errors Returns error in case put fails
src/gc/garbage_collector.rs:404
Function
put_many
(c: &mut Criterion)
bench/benchmark.rs:50
Method
range
(&self, range_offset: RangeOffset)
src/sst/table.rs:348
Method
range
()
src/memtable/mem.rs:322
Method
read_buf
(&self, buf: &mut Buf)
src/fs/mod.rs:210
Method
read_chunk_to_garbage_collect
( &self, bytes_to_collect: usize, offset: u64, )
src/fs/mod.rs:579
Method
recover
Fetches an entry from value log using the `start_offset` This is used to fetch all entries that is yet to be flushed before crash happened # Error
src/vlog/v_log.rs:228
Method
recover
Recovers `Meta` from disk # Error Returns IO error in case it occurs
src/meta/meta_manager.rs:82
Method
recover
(&self, start_offset: usize)
src/fs/mod.rs:520
Method
recover_memtable
Recovers memtable state Recovers both active and readonly memtable states using value log Returns a tuple of active memtable and read only memtables
src/db/recovery.rs:245
Method
search_key_in_sstables
Retrieves key from SSTable Returns tuple of value and date created # Errors Returns error in case search was not successful
src/gc/garbage_collector.rs:478
Method
set
Maps SSTable path to its key range
src/key_range/range.rs:63
Method
set_head
Sets `Meta` `v_log_head` field
src/meta/meta_manager.rs:65
Method
set_tail
Sets `Meta` `v_log_tail` field
src/meta/meta_manager.rs:69
Method
size
(&self)
src/memtable/mem.rs:162
Method
size
(&self)
src/compactors/insertor.rs:21
Method
sleep_compaction
(duration: std::time::Duration)
src/compactors/compact.rs:306
Function
table_fits_into_bucket
()
src/tests/bucket_test.rs:141
Function
table_insert_to_appropriate_bucket
()
src/tests/bucket_test.rs:304
Function
test_append
()
src/tests/vlog.rs:22
Function
test_bucket_from_with_empty
()
src/tests/bucket_test.rs:30
Function
test_bucket_from_with_sstables
()
src/tests/bucket_test.rs:46
Function
test_bucket_map_extract_imbalanced_buckets
()
src/tests/bucket_test.rs:181
Function
test_bucket_map_is_balanced
()
src/tests/bucket_test.rs:254
Function
test_bucket_map_new
()
src/tests/bucket_test.rs:170
Function
test_bucket_new
()
src/tests/bucket_test.rs:15
Function
test_cal_average_size
()
src/tests/bucket_test.rs:74
Function
test_cleanup_after_compaction
()
src/tests/sized_tier_test.rs:407
Function
test_clear_all
()
src/tests/vlog.rs:155
Function
test_comp_params_new
()
src/compactors/compact.rs:317
Function
test_concurrent_write
()
src/memtable/mem.rs:431
Function
test_default_datetime
()
src/util/mod.rs:80
Function
test_default_keyrange
()
src/tests/key_range_test.rs:23
Function
test_delete
()
src/memtable/mem.rs:541
Function
test_delete
()
tests/delete.rs:5
Function
test_delete_sstables
()
src/tests/bucket_test.rs:337
Function
test_extract_sstable_to_compact
()
src/tests/bucket_test.rs:112
Function
test_false_positives_high_rate
()
src/filter/bf.rs:307
Function
test_false_positives_low_rate
()
src/filter/bf.rs:387
Function
test_false_positives_medium_rate
()
src/filter/bf.rs:347
Function
test_fetch_imbalanced_buckets
()
src/tests/sized_tier_test.rs:110
Function
test_float_from_le_bytes
()
src/util/mod.rs:94
Function
test_float_to_le_bytes
()
src/util/mod.rs:86
Function
test_generate_random_id
()
src/util/mod.rs:62
Function
test_generate_table_id
()
src/memtable/mem.rs:572
Function
test_get
()
src/tests/vlog.rs:41
Function
test_get
()
src/memtable/mem.rs:405
Function
test_get
()
tests/get.rs:5
Function
test_get_concurrent
()
tests/get_concurrent.rs:9
Function
test_get_entry
()
src/block/block_manager.rs:309
Function
test_get_value_nonexistent_key
()
src/block/block_manager.rs:324
Function
test_insert
()
src/memtable/mem.rs:378
Function
test_insert_valid_elements
()
src/tests/sized_tier_test.rs:624
Function
test_invalid_keyspace_name
()
src/db/keyspace.rs:42
Function
test_is_entry_within_range
()
src/memtable/mem.rs:583
Function
test_is_full
()
src/memtable/mem.rs:622
Function
test_is_full
()
src/block/block_manager.rs:224
Function
test_key_range_filters_by_biggest_key
()
src/tests/key_range_test.rs:68
← previous
next →
201–300 of 380, ranked by callers