vkdb
A time series database engine in C++.
Loading...
Searching...
No Matches
wal_lsm.h
1#ifndef STORAGE_WAL_LSM_H
2#define STORAGE_WAL_LSM_H
3
4#include <vkdb/lsm_tree.h>
5
6namespace vkdb {
7template <ArithmeticNoCVRefQuals TValue>
8class LSMTree;
9
10template <ArithmeticNoCVRefQuals TValue>
11class WriteAheadLog;
12
17enum class WALRecordType {
18 PUT,
19 REMOVE
20};
21
27template <ArithmeticNoCVRefQuals TValue>
28struct WALRecord {
29 WALRecordType type;
30 TimeSeriesEntry<TValue> entry;
31};
32}
33
34#endif // STORAGE_WAL_LSM_H
LSM tree on TimeSeriesKey.
Definition wal_lsm.h:8
Write-ahead log.
Represents a WAL record.
Definition wal_lsm.h:28