encoding

package
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL