Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectStage ¶
type CollectStage struct { Output chan WrappedEntry // contains filtered or unexported fields }
func MakeCollectStage ¶
func MakeCollectStage() *CollectStage
func (*CollectStage) Add ¶
func (c *CollectStage) Add(entries []WrappedEntry)
func (*CollectStage) Chain ¶
func (c *CollectStage) Chain(s Stage)
func (*CollectStage) Execute ¶
func (c *CollectStage) Execute()
func (*CollectStage) Finish ¶
func (c *CollectStage) Finish()
func (*CollectStage) Next ¶
func (c *CollectStage) Next() Stage
type DataPipeline ¶
type FilterStage ¶
type FilterStage struct {
// contains filtered or unexported fields
}
func MakeFilterStage ¶
func MakeFilterStage(node *ast.DataFunctionNode) *FilterStage
func (*FilterStage) Add ¶
func (f *FilterStage) Add(entries []WrappedEntry)
func (*FilterStage) Chain ¶
func (f *FilterStage) Chain(next Stage)
func (*FilterStage) Execute ¶
func (f *FilterStage) Execute()
func (*FilterStage) Finish ¶
func (f *FilterStage) Finish()
func (*FilterStage) Next ¶
func (f *FilterStage) Next() Stage
type Function ¶
func MakeFunction ¶
type MapStage ¶
type MapStage struct {
// contains filtered or unexported fields
}
func MakeMapStage ¶
func MakeMapStage(node *ast.DataFunctionNode) *MapStage
func (*MapStage) Add ¶
func (m *MapStage) Add(entries []WrappedEntry)
type MetaDataFilterBuilder ¶
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
func MakePipelineFromNode ¶
func MakePipelineFromNode(node *ast.DataPipelineNode) Pipeline
type ReduceStage ¶
type ReduceStage struct {
// contains filtered or unexported fields
}
func MakeReduceStage ¶
func MakeReduceStage(node *ast.DataFunctionNode) *ReduceStage
func (*ReduceStage) Add ¶
func (r *ReduceStage) Add(entries []WrappedEntry)
func (*ReduceStage) Chain ¶
func (r *ReduceStage) Chain(next Stage)
func (*ReduceStage) Execute ¶
func (r *ReduceStage) Execute()
func (*ReduceStage) Finish ¶
func (r *ReduceStage) Finish()
func (*ReduceStage) Next ¶
func (r *ReduceStage) Next() Stage
type Stage ¶
type Stage interface { Chain(Stage) Next() Stage Add(entries []WrappedEntry) Finish() Execute() }
type WrappedEntry ¶
type WrappedEntry struct {
// contains filtered or unexported fields
}
func Wrap ¶
func Wrap(entry database.Entry) WrappedEntry
func (*WrappedEntry) Copy ¶
func (w *WrappedEntry) Copy(v types.Value) WrappedEntry
func (*WrappedEntry) Entry ¶
func (w *WrappedEntry) Entry() database.Entry
func (*WrappedEntry) SetTopic ¶
func (w *WrappedEntry) SetTopic(t string)
func (*WrappedEntry) Value ¶
func (w *WrappedEntry) Value() types.Value
Click to show internal directories.
Click to hide internal directories.