1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Row-level serialization for Data.db
//!
//! Encodes entire rows in V5CompressedLegacy (OA) format:
//! - Row header (flags, liveness info)
//! - Partition key
//! - Clustering key (if present)
//! - Static columns (if present)
//! - Regular columns (cell-by-cell)
//!
//! Row format critical requirements:
//! - Row size measured AFTER VInt length bytes
//! - Partition ordering by Murmur3 token
//! - Clustering ordering by comparator
//! - Static columns before regular columns
//!
//! TODO: Implementation in M5.0-16 (Issue #374)
//! - Row header encoding
//! - Partition key serialization
//! - Clustering key serialization
//! - Static column handling
//! - Regular column iteration
//! - Coordination with CellEncoder
/// Row serializer
///
/// TODO: Implementation in M5.0-16