importer

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 17 Imported by: 0

README

influx-tools import

The import tool consumes binary data produced by influx-tools export -format binary to write data directly to disk possibly under a new retention policy. This tool handles the binary format only - exports of line protocol data should be handled using the existing endpoints. Influx should be offline while this tool is run.

If the target retention policy already exists, the tool will error out if you attempt to change the retention policy settings. However, it is possible to replace on disk shards with the -replace option.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	// Standard input/output, overridden for testing.
	Stderr io.Writer
	Stdin  io.Reader
	Logger *zap.Logger
	// contains filtered or unexported fields
}

Command represents the program execution for "store query".

func NewCommand

func NewCommand(server server.Interface) *Command

NewCommand returns a new instance of Command.

func (*Command) Run

func (cmd *Command) Run(args []string) (err error)

Run executes the import command using the specified args.

Jump to

Keyboard shortcuts

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