1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/storage/compression/bitpacking.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/common/string_util.hpp"
12
13namespace duckdb {
14
15enum class BitpackingMode : uint8_t {
16 AUTO,
17
18 CONSTANT,
19 CONSTANT_DELTA,
20 DELTA_FOR,
21 FOR
22};
23
24BitpackingMode BitpackingModeFromString(const string &str);
25string BitpackingModeToString(const BitpackingMode &mode);
26
27} // namespace duckdb
28