buildtsi

package
Version: v0.0.0-...-d6600b6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package buildtsi reads an in-memory index and exports it as a TSI index.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexShard

func IndexShard(sfile *tsdb.SeriesFile, dataDir, walDir string, maxLogFileSize int64, batchSize int, log *zap.Logger, verboseLogging bool) error

func IndexTSMFile

func IndexTSMFile(index *tsi1.Index, path string, batchSize int, log *zap.Logger, verboseLogging bool) error

Types

type Command

type Command struct {
	Stderr  io.Writer
	Stdout  io.Writer
	Verbose bool
	Logger  *zap.Logger
	// contains filtered or unexported fields
}

Command represents the program execution for "influx_inspect buildtsi".

func NewCommand

func NewCommand() *Command

NewCommand returns a new instance of Command.

func (*Command) Run

func (cmd *Command) Run(args ...string) error

Run executes the command.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL