The item type this stream is going to work with.
Create a new data stream.
The id, item pairs.
Return an iterable of key, value pairs for every entry in the stream.
Cache the items from this stream.
A new DataStream with cached items (detached from the original DataSet).
Get the distinct values of given property.
The type of the distinct value.
The function that picks and possibly converts the property.
A set of all distinct properties.
Return an iterable of key, value pairs for every entry in the stream.
Filter the items of the stream.
The function that decides whether an item will be included.
A new data stream with the filtered items.
Execute a callback for each item of the stream.
The function that will be invoked for each item.
Return an iterable of keys in the stream.
Map the items into a different type.
The type of the item after mapping.
The function that does the conversion.
A new data stream with the mapped items.
Get the item with the maximum value of given property.
The function that picks and possibly converts the property.
The item with the maximum if found otherwise null.
Get the item with the minimum value of given property.
The function that picks and possibly converts the property.
The item with the minimum if found otherwise null.
Reduce the items into a single value.
The type of the accumulated value.
The function that does the reduction.
The initial value of the accumulator.
The reduced value.
Sort the items.
Item comparator.
A new stream with sorted items.
Return an array containing all the entries in this stream.
The array with all entries from this stream.
Return an array containing all the ids in this stream.
The array with all ids from this stream.
Return a set containing all the (unique) ids in this stream.
The set of all ids from this stream.
Return an array containing all the items in this stream.
The array with all items from this stream.
Return a set containing all the (unique) items in this stream.
The set of all items from this stream.
Return a map containing all the items in this stream accessible by ids.
The map of all id → item pairs from this stream.
Return an object map containing all the items in this stream accessible by ids.
The object map of all id → item pairs from this stream.
Return an iterable of values in the stream.
Generated using TypeDoc
Data stream
DataStream offers an always up to date stream of items from a DataSet or DataView. That means that the stream is evaluated at the time of iteration, conversion to another data type or when cache is called, not when the DataStream was created. Multiple invocations of for example toItemArray may yield different results (if the data source like for example DataSet gets modified).