compiler

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: BSD-3-Clause Imports: 18 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Parallelism = runtime.GOMAXPROCS(0) //XXX

Functions

func CompileWithSortKey added in v1.8.0

func CompileWithSortKey(octx *op.Context, seq ast.Seq, r zio.Reader, sortKey order.SortKey) (*runtime.Query, error)

XXX currently used only by group-by test, need to deprecate

func MustParse added in v1.2.0

func MustParse(query string) ast.Seq

MustParse is like Parse but panics if an error is encountered.

func NewCompiler added in v1.2.0

func NewCompiler() runtime.Compiler

func NewFileSystemCompiler added in v1.2.0

func NewFileSystemCompiler(engine storage.Engine) runtime.Compiler

func NewLakeCompiler added in v1.2.0

func NewLakeCompiler(r *lake.Root) zedruntime.Compiler

func Parse added in v1.2.0

func Parse(src string, filenames ...string) (ast.Seq, error)

Types

type InvalidDeleteWhereQuery added in v1.3.0

type InvalidDeleteWhereQuery struct{}

func (InvalidDeleteWhereQuery) Error added in v1.3.0

type Job added in v1.2.0

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

func NewJob added in v1.2.0

func NewJob(octx *op.Context, in ast.Seq, src *data.Source, head *lakeparse.Commitish) (*Job, error)

func (*Job) Build added in v1.2.0

func (j *Job) Build() error

func (*Job) Builder added in v1.2.0

func (j *Job) Builder() *kernel.Builder

func (*Job) Entry added in v1.2.0

func (j *Job) Entry() dag.Seq

func (*Job) Optimize added in v1.2.0

func (j *Job) Optimize() error

This must be called before the zbuf.Filter interface will work.

func (*Job) OptimizeDeleter added in v1.8.0

func (j *Job) OptimizeDeleter(replicas int) error

func (*Job) Parallelize added in v1.2.0

func (j *Job) Parallelize(n int) error

func (*Job) Puller added in v1.2.0

func (j *Job) Puller() zbuf.Puller

Directories

Path Synopsis
ast
Package ast declares the types used to represent syntax trees for Zed queries.
Package ast declares the types used to represent syntax trees for Zed queries.
dag
zed

Jump to

Keyboard shortcuts

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