package aggregators

import "github.com/influxdata/influxdb/cmd/influx_inspect/cardinality/aggregators"

Index

Types

type NodeWrapper

type NodeWrapper struct {
	RollupNode
}

func (*NodeWrapper) Record

func (r *NodeWrapper) Record(depth, totalDepth int, db, rp, measurement string, key []byte, field []byte, tags models.Tags)

type RollupNode

type RollupNode interface {
	sync.Locker
	report.Counter
	Children() rollupNodeMap
	RecordSeries(db, rp, ms string, key, field []byte, tags models.Tags)
	Print(tw *tabwriter.Writer, printTags bool, db, rp, ms string) error
	// contains filtered or unexported methods
}

type RollupNodeFactory

type RollupNodeFactory struct {
	EstTitle string
	NewNode  func(isLeaf bool) NodeWrapper
	// contains filtered or unexported fields
}

func CreateNodeFactory

func CreateNodeFactory(detailed, exact bool) *RollupNodeFactory

func (*RollupNodeFactory) PrintDivider

func (f *RollupNodeFactory) PrintDivider(tw *tabwriter.Writer) error

func (*RollupNodeFactory) PrintHeader

func (f *RollupNodeFactory) PrintHeader(tw *tabwriter.Writer) error

Source Files

aggregators.go

Version
v1.12.1 (latest)
Published
Jun 24, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
1 day ago

Tools for package owners.