Class SparseStore¶
Defined in File SparseStore.h
Nested Relationships¶
Nested Types¶
Inheritance Relationships¶
Base Type¶
public Umap::Store
(Class Store)
Class Documentation¶
-
class SparseStore : public Umap::Store¶
Public Functions
-
SparseStore(size_t _rsize_, size_t _aligned_size_, std::string _root_path_, size_t _file_Size_)¶
-
SparseStore(std::string _root_path, bool _read_only_)¶
-
~SparseStore()¶
-
ssize_t read_from_store(char *buf, size_t nb, off_t off)¶
-
ssize_t write_to_store(char *buf, size_t nb, off_t off)¶
-
size_t get_current_capacity()¶
-
int close_files()¶
-
virtual ssize_t read_from_store(char *buf, std::size_t nb, off_t off) = 0¶
-
virtual ssize_t write_to_store(char *buf, std::size_t nb, off_t off) = 0¶
Public Static Functions
-
static size_t get_capacity(std::string base_path)¶
To get the size of any persistent region created using SparseStore without the need to instianiate an object
-
SparseStore(size_t _rsize_, size_t _aligned_size_, std::string _root_path_, size_t _file_Size_)¶