runtime

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: BSD-3-Clause Imports: 11 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler added in v1.2.0

type Compiler interface {
	NewQuery(*op.Context, ast.Seq, []zio.Reader) (*Query, error)
	NewLakeQuery(*op.Context, ast.Seq, int, *lakeparse.Commitish) (*Query, error)
	NewLakeDeleteQuery(*op.Context, ast.Seq, *lakeparse.Commitish) (*DeleteQuery, error)
	Parse(string, ...string) (ast.Seq, error)
}

type DeleteQuery added in v1.3.0

type DeleteQuery struct {
	*Query
	// contains filtered or unexported fields
}

func NewDeleteQuery added in v1.3.0

func NewDeleteQuery(octx *op.Context, puller zbuf.Puller, deletes *sync.Map) *DeleteQuery

func (*DeleteQuery) DeletionSet added in v1.3.0

func (d *DeleteQuery) DeletionSet() []ksuid.KSUID

type Query

type Query struct {
	zbuf.Puller
	// contains filtered or unexported fields
}

Query runs a flowgraph as a zbuf.Puller and implements a Close() method that gracefully tears down the flowgraph. Its AsReader() and AsProgressReader() methods provide a convenient means to run a flowgraph as zio.Reader.

func CompileLakeQuery added in v1.2.0

func CompileLakeQuery(ctx context.Context, zctx *zed.Context, c Compiler, program ast.Seq, head *lakeparse.Commitish, logger *zap.Logger) (*Query, error)

func CompileQuery added in v1.2.0

func CompileQuery(ctx context.Context, zctx *zed.Context, c Compiler, program ast.Seq, readers []zio.Reader) (*Query, error)

func NewQuery

func NewQuery(octx *op.Context, puller zbuf.Puller, meter zbuf.Meter) *Query

func (*Query) AsProgressReadCloser

func (q *Query) AsProgressReadCloser() zbuf.ProgressReadCloser

func (*Query) AsReader

func (q *Query) AsReader() zio.Reader

func (*Query) Close

func (q *Query) Close() error

func (*Query) Meter

func (q *Query) Meter() zbuf.Meter

func (*Query) Progress

func (q *Query) Progress() zbuf.Progress

func (*Query) Pull

func (q *Query) Pull(done bool) (zbuf.Batch, error)

Directories

Path Synopsis
agg
op
combine
A combine proc merges multiple upstream inputs into one output.
A combine proc merges multiple upstream inputs into one output.
top

Jump to

Keyboard shortcuts

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