shape

package
v0.34.0-test1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BatchSize = 100
View Source
var MemMaxBytes = 128 * 1024 * 1024

Functions

This section is empty.

Types

type Proc

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

func New

func New(pctx *op.Context, parent zbuf.Puller) (*Proc, error)

func (*Proc) Pull

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

type Shaper

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

func NewShaper

func NewShaper(zctx *zed.Context, memMaxBytes int) *Shaper

func (*Shaper) Close

func (s *Shaper) Close() error

Close removes the receiver's temporary file if it created one.

func (*Shaper) Read

func (s *Shaper) Read() (*zed.Value, error)

func (*Shaper) Write

func (s *Shaper) Write(rec *zed.Value) error

Write buffers rec. If called after Read, Write panics.

Jump to

Keyboard shortcuts

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