public interface StreamWindow<I,O>
Modifier and Type | Method and Description |
---|---|
Iterable<O> |
buffer(io.reactivex.Observable<I> observable)
Takes an iterable (would typically be a
StreamSource.observable() }
call) and buffers it according to the window strategy. |
Iterable<O> buffer(io.reactivex.Observable<I> observable)
StreamSource.observable()
}
call) and buffers it according to the window strategy.
Returns an iterable of data for the window. Depending on stream implementation,
the output could also be transformed. For example, the
FixedTimeStreamWindow
will pass windowed data to a subtransformation, and return the
transformed results.Copyright © 2018 Hitachi Vantara. All rights reserved.