Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Collect = streaming.Collect[Object]
Collect collects all the items in the given stream and returns an slice containing them.
var ErrEnd = streaming.ErrEnd
ErrEnd is the error returned by a stream when there are no more items.
var Map = streaming.Map[Object, Object]
Map creates a stream that contains the result of transforming the objects of the given stream with a mapper. Note that the actual calls to the mapper will not happen when this function is called, they will happen only when the stream is eventually consumed.
var Null = streaming.Null[Object]
Null is an empty stream of objects.
var Pour = streaming.Pour[Object]
Pour creates a stream that contains the objects in the given slice.
var Repeat = streaming.Repeat[Object]
Repeat creates a stream that repeats the same object multiple times.
var Select = streaming.Select[Object]
Select creates a new stream that only contains the items of the source stream that return true for the given selector. Note that the actual calls to the select will not happen when this function is called, they will happen only when the stream is eventually consumed.
Functions ¶
Types ¶
type Object ¶
Object represents an object containing a list of fields, each with a name and a value.
func GetExtensions ¶
func GetLabelsMap ¶
type StreamFunc ¶
type StreamFunc = streaming.StreamFunc[Object]
StreamFunc creates an string using the given function.