dump

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package dump provides utilities for dumping BanyanDB data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSeriesMetadata

func ParseSeriesMetadata(partID uint64, seriesMetadata fs.Reader, partSeriesMap map[uint64]map[common.SeriesID]string) error

ParseSeriesMetadata parses series metadata from the given reader and stores EntityValues in partSeriesMap. It reads all data from the series metadata file, unmarshals Documents, and stores the mapping of SeriesID to EntityValues for use in CSV output.

func TryOpenSeriesMetadata

func TryOpenSeriesMetadata(fileSystem fs.FileSystem, partPath string) (fs.Reader, error)

TryOpenSeriesMetadata attempts to open the series metadata file (smeta.bin) in the given part path. The file is optional: a "not found" error yields (nil, nil) so callers can proceed without it. Any other open failure is returned so the caller can decide how to report it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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