public class FixedTimeStreamWindow<I extends List> extends Object implements StreamWindow<I,Result>
Constructor and Description |
---|
FixedTimeStreamWindow(SubtransExecutor subtransExecutor,
RowMetaInterface rowMeta,
long millis,
int batchSize) |
Modifier and Type | Method and Description |
---|---|
Iterable<Result> |
buffer(io.reactivex.Observable<I> observable)
Takes an iterable (would typically be a
StreamSource.observable() }
call) and buffers it according to the window strategy. |
public FixedTimeStreamWindow(SubtransExecutor subtransExecutor, RowMetaInterface rowMeta, long millis, int batchSize)
public Iterable<Result> buffer(io.reactivex.Observable<I> observable)
StreamWindow
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.buffer
in interface StreamWindow<I extends List,Result>
Copyright © 2018 Hitachi Vantara. All rights reserved.