public class FixedTimeStreamWindow<I extends List> extends Object implements StreamWindow<I,org.pentaho.di.core.Result>
| 构造器和说明 |
|---|
FixedTimeStreamWindow(SubtransExecutor subtransExecutor,
org.pentaho.di.core.row.RowMetaInterface rowMeta,
long millis,
int batchSize,
int parallelism) |
FixedTimeStreamWindow(SubtransExecutor subtransExecutor,
org.pentaho.di.core.row.RowMetaInterface rowMeta,
long millis,
int batchSize,
int parallelism,
io.reactivex.functions.Consumer<Map.Entry<List<I>,org.pentaho.di.core.Result>> postProcessor) |
public FixedTimeStreamWindow(SubtransExecutor subtransExecutor, org.pentaho.di.core.row.RowMetaInterface rowMeta, long millis, int batchSize, int parallelism)
public FixedTimeStreamWindow(SubtransExecutor subtransExecutor, org.pentaho.di.core.row.RowMetaInterface rowMeta, long millis, int batchSize, int parallelism, io.reactivex.functions.Consumer<Map.Entry<List<I>,org.pentaho.di.core.Result>> postProcessor)
public Iterable<org.pentaho.di.core.Result> buffer(io.reactivex.Flowable<I> flowable)
StreamWindowStreamSource.flowable()}
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 在接口中 StreamWindow<I extends List,org.pentaho.di.core.Result>Copyright © 2024 Hitachi Vantara. All rights reserved.