Documentation ¶
Index ¶
- Variables
- func CompileAssignment(zctx *zed.Context, node *dag.Assignment) (expr.Assignment, error)
- func CompileAssignments(zctx *zed.Context, dsts field.List, srcs field.List) (field.List, []expr.Evaluator)
- func CompileBufferFilter(zctx *zed.Context, e dag.Expr) (*expr.BufferFilter, error)
- func CompileExprs(zctx *zed.Context, nodes []dag.Expr) ([]expr.Evaluator, error)
- func EvalAtCompileTime(zctx *zed.Context, in dag.Expr) (val *zed.Value, err error)
- type Builder
- type Filter
- type Reader
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrJoinParents = errors.New("join requires two upstream parallel query paths")
Functions ¶
func CompileAssignment ¶
func CompileAssignment(zctx *zed.Context, node *dag.Assignment) (expr.Assignment, error)
func CompileAssignments ¶
func CompileBufferFilter ¶
CompileBufferFilter tries to return a BufferFilter for e such that the BufferFilter's Eval method returns true for any byte slice containing the ZNG encoding of a record matching e. (It may also return true for some byte slices that do not match.) compileBufferFilter returns a nil pointer and nil error if it cannot construct a useful filter.
func CompileExprs ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder(pctx *op.Context, adaptor op.DataAdaptor) *Builder
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
func (*Filter) AsBufferFilter ¶
func (f *Filter) AsBufferFilter() (*expr.BufferFilter, error)
Click to show internal directories.
Click to hide internal directories.