Documentation
¶
Overview ¶
Package encoding holds the L2 codec layers (DESIGN.md §3, §14 M0):
- [bitstream]: MSB-first bit stream reader/writer (the foundation)
- encoding/chunk: value-column codecs (DoD, Gorilla, T64, dictionary, scaled-decimal)
- encoding/compress: zstd/lz4 block wrappers and codec chains
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct {
}
Profile is the default codec-chain profile per column kind (DESIGN.md §6). It is consumed by [storage.Options] and applied when flushing a part. Zero values mean "use the built-in default chain for that column kind".
This is a scaffold stub; the concrete chain type is filled in at M0 as the codecs land. It is a placeholder now so the [storage.Options] shape is stable.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package bitstream implements a zero-alloc, MSB-first bit stream reader and writer.
|
Package bitstream implements a zero-alloc, MSB-first bit stream reader and writer. |
|
Package chunk implements the zero-alloc value-column codecs (DESIGN.md §14 M0): delta-of-delta timestamps, Gorilla XOR float gauges, T64, dictionary, and scaled-decimal+nearest-delta.
|
Package chunk implements the zero-alloc value-column codecs (DESIGN.md §14 M0): delta-of-delta timestamps, Gorilla XOR float gauges, T64, dictionary, and scaled-decimal+nearest-delta. |
|
Package compress wraps zstd/lz4 block compression and defines the composable codec-chain type (preprocessor → general compressor) used to reach 0.4–0.8 bytes/point (DESIGN.md §3.3, §14 M0).
|
Package compress wraps zstd/lz4 block compression and defines the composable codec-chain type (preprocessor → general compressor) used to reach 0.4–0.8 bytes/point (DESIGN.md §3.3, §14 M0). |
Click to show internal directories.
Click to hide internal directories.