oxygen.zio.SparseStreamAggregator
See theSparseStreamAggregator companion object
SparseStreamAggregator serves the purpose of being able to aggregate a stream of sparse data.
Example:
Input:
- (1.some, None, None)
- (2.some, None, None)
- (None, true.some, None)
- (3.some, None, None)
- (None, None, "A".some)
- (4.some, None, None)
- (None, false.some, None)
- (None, None, "B".some)
- (None, None, "C".some)
- (None, None, "D".some)
Output:
- (1, None, Contiguous())
- (2, true.some, Contiguous())
- (3, None, Contiguous("A"))
- (4, false.some, Contiguous("B", "C", "D"))
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
In this article