rename

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: 3 Imported by: 0

Documentation

Overview

rename renames one or more fields in a record. A field can only be renamed within its own record. For example id.orig_h can be renamed to id.src, but it cannot be renamed to src. Renames are applied left to right; each rename observes the effect of all

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

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

func NewFunction

func NewFunction(zctx *zed.Context, srcs, dsts field.List) *Function

func (*Function) Apply

func (r *Function) Apply(in *zed.Record) (*zed.Record, error)

func (*Function) String

func (_ *Function) String() string

func (*Function) Warning

func (_ *Function) Warning() string

Jump to

Keyboard shortcuts

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