Documentation
¶
Index ¶
- Variables
- func CompileWithSortKey(rctx *runtime.Context, seq ast.Seq, r zio.Reader, sortKey order.SortKey) (*exec.Query, error)
- func MustParse(query string) ast.Seq
- func NewCompiler() runtime.Compiler
- func NewFileSystemCompiler(engine storage.Engine) runtime.Compiler
- func NewLakeCompiler(r *lake.Root) runtime.Compiler
- func Parse(src string, filenames ...string) (ast.Seq, error)
- type InvalidDeleteWhereQuery
- type Job
- func (j *Job) Build(readers ...zio.Reader) error
- func (j *Job) Builder() *kernel.Builder
- func (j *Job) DefaultScan() (*dag.DefaultScan, bool)
- func (j *Job) Entry() dag.Seq
- func (j *Job) Optimize() error
- func (j *Job) OptimizeDeleter(replicas int) error
- func (j *Job) Parallelize(n int) error
- func (j *Job) Puller() zbuf.Puller
Constants ¶
This section is empty.
Variables ¶
View Source
var Parallelism = goruntime.GOMAXPROCS(0) //XXX
Functions ¶
func CompileWithSortKey ¶ added in v1.8.0
func CompileWithSortKey(rctx *runtime.Context, seq ast.Seq, r zio.Reader, sortKey order.SortKey) (*exec.Query, error)
XXX currently used only by group-by test, need to deprecate
func NewCompiler ¶ added in v1.2.0
func NewFileSystemCompiler ¶ added in v1.2.0
Types ¶
type InvalidDeleteWhereQuery ¶ added in v1.3.0
type InvalidDeleteWhereQuery struct{}
func (InvalidDeleteWhereQuery) Error ¶ added in v1.3.0
func (InvalidDeleteWhereQuery) Error() string
type Job ¶ added in v1.2.0
type Job struct {
// contains filtered or unexported fields
}
func (*Job) Build ¶ added in v1.2.0
Build builds a flowgraph for j. If the flowgraph expects an input stream from the runtime (because its DAG contains a dag.DefaultSource), Build constructs it from readers.
func (*Job) DefaultScan ¶ added in v1.12.0
func (j *Job) DefaultScan() (*dag.DefaultScan, bool)
func (*Job) Optimize ¶ added in v1.2.0
This must be called before the zbuf.Filter interface will work.
func (*Job) OptimizeDeleter ¶ added in v1.8.0
func (*Job) Parallelize ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.