├── .vscode └── settings.json ├── CMakeLists.txt ├── README.md ├── bin ├── data_2 │ ├── 000000000.data │ ├── 000000061.data │ ├── hint-index │ └── merge-finished ├── data_3 │ ├── 000000000.data │ ├── 000000007.data │ ├── hint-index │ └── merge-finished ├── test_batch ├── test_data_file ├── test_db ├── test_file_io ├── test_flock ├── test_iterator ├── test_log_record ├── test_map └── test_merge ├── inc ├── batch.h ├── data_file.h ├── db.h ├── errors.h ├── file_io.h ├── index.h ├── iterator.h ├── log_record.h ├── map.h ├── options.h └── utils.h ├── lib ├── inc │ ├── log.h │ ├── mutex.h │ ├── noncopyable.h │ ├── singleton.h │ └── thread.h └── libalpha.so ├── src ├── batch.cc ├── data_file.cc ├── db.cc ├── errors.cc ├── file_io.cc ├── index.cc ├── iterator.cc ├── log_record.cc ├── map.cc ├── merge.cc ├── options.cc └── utils.cc └── tests ├── test_batch.cc ├── test_data_file.cc ├── test_db.cc ├── test_file_io.cc ├── test_flock.cc ├── test_iterator.cc ├── test_log_record.cc ├── test_map.cc └── test_merge.cc /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/README.md -------------------------------------------------------------------------------- /bin/data_2/000000000.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/data_2/000000000.data -------------------------------------------------------------------------------- /bin/data_2/000000061.data: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/data_2/hint-index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/data_2/hint-index -------------------------------------------------------------------------------- /bin/data_2/merge-finished: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/data_2/merge-finished -------------------------------------------------------------------------------- /bin/data_3/000000000.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/data_3/000000000.data -------------------------------------------------------------------------------- /bin/data_3/000000007.data: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/data_3/hint-index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/data_3/hint-index -------------------------------------------------------------------------------- /bin/data_3/merge-finished: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/data_3/merge-finished -------------------------------------------------------------------------------- /bin/test_batch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/test_batch -------------------------------------------------------------------------------- /bin/test_data_file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/test_data_file -------------------------------------------------------------------------------- /bin/test_db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/test_db -------------------------------------------------------------------------------- /bin/test_file_io: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/test_file_io -------------------------------------------------------------------------------- /bin/test_flock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/test_flock -------------------------------------------------------------------------------- /bin/test_iterator: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/test_iterator -------------------------------------------------------------------------------- /bin/test_log_record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/test_log_record -------------------------------------------------------------------------------- /bin/test_map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/test_map -------------------------------------------------------------------------------- /bin/test_merge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/bin/test_merge -------------------------------------------------------------------------------- /inc/batch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/batch.h -------------------------------------------------------------------------------- /inc/data_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/data_file.h -------------------------------------------------------------------------------- /inc/db.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/db.h -------------------------------------------------------------------------------- /inc/errors.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/errors.h -------------------------------------------------------------------------------- /inc/file_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/file_io.h -------------------------------------------------------------------------------- /inc/index.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/index.h -------------------------------------------------------------------------------- /inc/iterator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/iterator.h -------------------------------------------------------------------------------- /inc/log_record.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/log_record.h -------------------------------------------------------------------------------- /inc/map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/map.h -------------------------------------------------------------------------------- /inc/options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/options.h -------------------------------------------------------------------------------- /inc/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/inc/utils.h -------------------------------------------------------------------------------- /lib/inc/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/lib/inc/log.h -------------------------------------------------------------------------------- /lib/inc/mutex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/lib/inc/mutex.h -------------------------------------------------------------------------------- /lib/inc/noncopyable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/lib/inc/noncopyable.h -------------------------------------------------------------------------------- /lib/inc/singleton.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/lib/inc/singleton.h -------------------------------------------------------------------------------- /lib/inc/thread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/lib/inc/thread.h -------------------------------------------------------------------------------- /lib/libalpha.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/lib/libalpha.so -------------------------------------------------------------------------------- /src/batch.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/batch.cc -------------------------------------------------------------------------------- /src/data_file.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/data_file.cc -------------------------------------------------------------------------------- /src/db.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/db.cc -------------------------------------------------------------------------------- /src/errors.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/errors.cc -------------------------------------------------------------------------------- /src/file_io.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/file_io.cc -------------------------------------------------------------------------------- /src/index.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/index.cc -------------------------------------------------------------------------------- /src/iterator.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/iterator.cc -------------------------------------------------------------------------------- /src/log_record.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/log_record.cc -------------------------------------------------------------------------------- /src/map.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/map.cc -------------------------------------------------------------------------------- /src/merge.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/merge.cc -------------------------------------------------------------------------------- /src/options.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/options.cc -------------------------------------------------------------------------------- /src/utils.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/src/utils.cc -------------------------------------------------------------------------------- /tests/test_batch.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/tests/test_batch.cc -------------------------------------------------------------------------------- /tests/test_data_file.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/tests/test_data_file.cc -------------------------------------------------------------------------------- /tests/test_db.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/tests/test_db.cc -------------------------------------------------------------------------------- /tests/test_file_io.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/tests/test_file_io.cc -------------------------------------------------------------------------------- /tests/test_flock.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/tests/test_flock.cc -------------------------------------------------------------------------------- /tests/test_iterator.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/tests/test_iterator.cc -------------------------------------------------------------------------------- /tests/test_log_record.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/tests/test_log_record.cc -------------------------------------------------------------------------------- /tests/test_map.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/tests/test_map.cc -------------------------------------------------------------------------------- /tests/test_merge.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AlphaMinZ/alphaDB/HEAD/tests/test_merge.cc --------------------------------------------------------------------------------