Modifier and Type | Method and Description |
---|---|
WindowedStream<T,KEY,TimeWindow> |
KeyedStream.timeWindow(Time size)
Windows this
KeyedStream into tumbling time windows. |
WindowedStream<T,KEY,TimeWindow> |
KeyedStream.timeWindow(Time size,
Time slide)
Windows this
KeyedStream into sliding time windows. |
AllWindowedStream<T,TimeWindow> |
DataStream.timeWindowAll(Time size)
Windows this
DataStream into tumbling time windows. |
AllWindowedStream<T,TimeWindow> |
DataStream.timeWindowAll(Time size,
Time slide)
Windows this
DataStream into sliding time windows. |
Modifier and Type | Method and Description |
---|---|
TimeWindow |
TimeWindow.Serializer.copy(TimeWindow from) |
TimeWindow |
TimeWindow.Serializer.copy(TimeWindow from,
TimeWindow reuse) |
TimeWindow |
TimeWindow.cover(TimeWindow other)
Returns the minimal window covers both this window and the given window.
|
TimeWindow |
TimeWindow.Serializer.createInstance() |
TimeWindow |
TimeWindow.Serializer.deserialize(DataInputView source) |
TimeWindow |
TimeWindow.Serializer.deserialize(TimeWindow reuse,
DataInputView source) |
Modifier and Type | Method and Description |
---|---|
TimeWindow |
TimeWindow.Serializer.copy(TimeWindow from) |
TimeWindow |
TimeWindow.Serializer.copy(TimeWindow from,
TimeWindow reuse) |
TimeWindow |
TimeWindow.cover(TimeWindow other)
Returns the minimal window covers both this window and the given window.
|
TimeWindow |
TimeWindow.Serializer.deserialize(TimeWindow reuse,
DataInputView source) |
boolean |
TimeWindow.intersects(TimeWindow other)
Returns
true if this window intersects the given window. |
void |
TimeWindow.Serializer.serialize(TimeWindow record,
DataOutputView target) |
Modifier and Type | Method and Description |
---|---|
static void |
TimeWindow.mergeWindows(Collection<TimeWindow> windows,
MergingWindowAssigner.MergeCallback<TimeWindow> c)
Merge overlapping
TimeWindow s. |
static void |
TimeWindow.mergeWindows(Collection<TimeWindow> windows,
MergingWindowAssigner.MergeCallback<TimeWindow> c)
Merge overlapping
TimeWindow s. |
Modifier and Type | Method and Description |
---|---|
void |
IncrementalLearningSkeleton.PartialModelBuilder.apply(TimeWindow window,
Iterable<Integer> values,
Collector<Double[]> out) |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.