encoding

package
v0.45.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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