explode

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(zctx *zed.Context, parent zbuf.Puller, args []expr.Evaluator, typ zed.Type, name string) (zbuf.Puller, error)

New creates a exploder for type typ, where the output records' single field is named name.

Types

type Op

type Op struct {
	// contains filtered or unexported fields
}

A an explode Proc is a proc that, given an input record and a zng type T, outputs one record for each field of the input record of type T. It is useful for type-based indexing.

func (*Op) Pull

func (o *Op) Pull(done bool) (zbuf.Batch, error)

Jump to

Keyboard shortcuts

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