dump

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 9 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

TryOpenSeriesMetadata attempts to open the series metadata file (smeta.bin) in the given part path. It returns the reader if successful, or nil if the file doesn't exist or on error. Only file not found errors are silently ignored; other errors are reported as warnings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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