put

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(pctx *proc.Context, parent proc.Interface, clauses []expr.Assignment) (proc.Interface, error)

Types

type Proc

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

Put is a proc that modifies the record stream with computed values. Each new value is called a clause and consists of a field name and an expression. Each put clause either replaces an existing value in the column specified or appends a value as a new column. Appended values appear as new columns in the order that the clause appears in the put expression.

func (*Proc) Done

func (p *Proc) Done()

func (*Proc) Pull

func (p *Proc) Pull() (zbuf.Batch, error)

Jump to

Keyboard shortcuts

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