Versions in this module Expand all Collapse all v0 v0.1.6 Nov 13, 2026 Changes in this version + const GrainDeployment + const GrainEvent + const GrainHost + const GrainKey + const GrainOp + const GrainProfile + const GrainSnapshot + const GrainToken + const PivotEmpty + const TotalLabel + const TransformDedupe + const TransformFormat + const TransformGroup + const TransformJoin + const TransformMap + const TransformPivot + const TransformSplit + const TransformTemplate + const Version + var Aggregates = []string + var Defaults = map[string][]Column + var ErrNothingShared = errors.New("the two selections have no column in common to compare on") + var ErrUnknownGrain = errors.New("selection: unknown grain") + var Formats = []string + var Grains = []string + var Presets = map[string]Selection + var Transforms = []string + func Cell(v any) string + func Cells(r []any) []string + func Facets(ds *dataset.Dataset, grain string) (map[string][]FacetValue, error) + func Parts(grain string) []string + func Report(exp *encode.ClientExport) string + type Aggregate struct + As string + Field string + Op string + func (a Aggregate) Name() string + type Column struct + As string + Field string + func (c Column) Heading() string + type Comparison struct + Both int + KeptA int + KeptB int + On []string + OnlyA [][]string + OnlyB [][]string + func Compare(a, b Result) (Comparison, error) + type FacetValue struct + Profile string + Rows int + Value string + type HostSource interface + ManifestOrder func(aliases []string) ([]string, error) + type Result struct + Columns []string + Defaults []Column + Fields []string + Rows [][]any + Stages []Stage + func HostExport(ds *dataset.Dataset, s Selection, f encode.Format, src HostSource, ...) (*encode.ClientExport, Result, error) + func HostRows(ds *dataset.Dataset, s Selection, src HostSource) ([]string, Result, error) + func Run(ds *dataset.Dataset, s Selection) (Result, error) + type Selection struct + Columns []Column + Grain string + Limit int + Narrow bool + Sort []Sort + Transforms []Transform + Version int + Where Where + func Parse(b []byte) (Selection, error) + type Sort struct + Desc bool + Field string + type Stage struct + Name string + Rows int + type Transform struct + Aggregates []Aggregate + As string + By []string + Default *string + Field string + Format string + Kind string + Layout string + Rows bool + Sep string + Template string + Totals bool + Values map[string]string + type Where struct + Area []string + Command []string + Env []string + Exclude string + Include string + Key []string + Kind []string + Profile []string + Role []string + Since string + Source []string + Status []string + Tag []string + Target []string + Until string