From e9095ac1ae17e74134dc32c4855945a115dc255d Mon Sep 17 00:00:00 2001 From: Damian Li Date: Tue, 8 Oct 2024 03:42:01 -0400 Subject: [PATCH] update BloomFilter.cpp --- CMakeLists.txt | 1 + Storage/BloomFilter/BloomFilter.cpp | 5 +++++ Storage/BloomFilter/BloomFilter.h | 16 ++++++++++++++++ documentation/docs/api.md | 8 -------- 4 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 Storage/BloomFilter/BloomFilter.cpp create mode 100644 Storage/BloomFilter/BloomFilter.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 12429ab..5e527fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,7 @@ add_library(veloxdb_lib STATIC Storage/PageManager/PageManager.cpp Storage/DiskBTree/DiskBTree.cpp Storage/SstFileManager/SstFileManager.cpp + Storage/BloomFilter/BloomFilter.cpp # VeloxDB VeloxDB/VeloxDB.cpp diff --git a/Storage/BloomFilter/BloomFilter.cpp b/Storage/BloomFilter/BloomFilter.cpp new file mode 100644 index 0000000..19550ad --- /dev/null +++ b/Storage/BloomFilter/BloomFilter.cpp @@ -0,0 +1,5 @@ +// +// Created by Damian Li on 2024-10-08. +// + +#include "BloomFilter.h" diff --git a/Storage/BloomFilter/BloomFilter.h b/Storage/BloomFilter/BloomFilter.h new file mode 100644 index 0000000..b67f388 --- /dev/null +++ b/Storage/BloomFilter/BloomFilter.h @@ -0,0 +1,16 @@ +// +// Created by Damian Li on 2024-10-08. +// + +#ifndef BLOOMFILTER_H +#define BLOOMFILTER_H + + + +class BloomFilter { + +}; + + + +#endif //BLOOMFILTER_H diff --git a/documentation/docs/api.md b/documentation/docs/api.md index 7f39be1..2a7ed5b 100644 --- a/documentation/docs/api.md +++ b/documentation/docs/api.md @@ -1,11 +1,3 @@ -## VeloxDB -![Unit Tests](https://github.com/kkli08/VeloxDB/actions/workflows/cmake-unit-tests-multi-platform.yml/badge.svg) - -VeloxDB is a persistent key-value store database library. It designed to store -key-value pairs and allow efficient retrieval based on the key. This system is -inspired by modern databases like [LevelDB](https://github.com/google/leveldb) -and [RocksDB](https://github.com/facebook/rocksdb), and supports multiple data -types using C++ Templates and Protocol Buffers. ### Database Operations