package exec

import "github.com/influxdata/influxdb/cmd/influx_tools/generate/exec"

Index

Types

type Command

type Command struct {
	Stdin  io.Reader
	Stdout io.Writer
	Stderr io.Writer
	// contains filtered or unexported fields
}

Command represents the program execution for "store query".

func NewCommand

func NewCommand(deps Dependencies) *Command

NewCommand returns a new instance of Command.

func (*Command) Run

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

type Dependencies

type Dependencies struct {
	Server server.Interface

	// SeriesGeneratorFilter wraps g with a SeriesGenerator that
	// returns a subset of keys from g
	SeriesGeneratorFilter SeriesGeneratorFilter
}

type Generator

type Generator struct {
	Concurrency int
	BuildTSI    bool
	// contains filtered or unexported fields
}

func (*Generator) Run

func (g *Generator) Run(ctx context.Context, database, shardPath string, groups []meta.ShardGroupInfo, gens []gen.SeriesGenerator) (err error)

type SeriesGeneratorFilter

type SeriesGeneratorFilter func(sgi meta.ShardGroupInfo, g gen.SeriesGenerator) gen.SeriesGenerator

Source Files

command.go generator.go

Version
v1.12.0 (latest)
Published
Apr 8, 2025
Platform
linux/amd64
Imports
24 packages
Last checked
2 days ago

Tools for package owners.