| Modifier and Type | Method and Description |
|---|---|
WindowedStream<T,KEY,TimeWindow> |
KeyedStream.timeWindow(AbstractTime size)
Windows this
KeyedStream into tumbling time windows. |
WindowedStream<T,KEY,TimeWindow> |
KeyedStream.timeWindow(AbstractTime size,
AbstractTime slide)
Windows this
KeyedStream into sliding time windows. |
AllWindowedStream<T,TimeWindow> |
DataStream.timeWindowAll(AbstractTime size)
Windows this
DataStream into tumbling time windows. |
AllWindowedStream<T,TimeWindow> |
DataStream.timeWindowAll(AbstractTime size,
AbstractTime slide)
Windows this
DataStream into sliding time windows. |
| Modifier and Type | Method and Description |
|---|---|
static TumblingTimeWindows |
TumblingTimeWindows.of(AbstractTime size)
Creates a new
TumblingTimeWindows WindowAssigner that assigns
elements to time windows based on the element timestamp. |
static SlidingTimeWindows |
SlidingTimeWindows.of(AbstractTime size,
AbstractTime slide)
Creates a new
SlidingTimeWindows WindowAssigner that assigns
elements to sliding time windows based on the element timestamp. |
| Modifier and Type | Method and Description |
|---|---|
static <W extends Window> |
TimeEvictor.of(AbstractTime windowSize)
Creates a
TimeEvictor that keeps the given number of elements. |
| Modifier and Type | Class and Description |
|---|---|
class |
EventTime
The definition of an event time interval for windowing.
|
class |
ProcessingTime
The definition of a processing time interval for windowing.
|
class |
Time
The definition of a time interval for windowing.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractTime |
Time.makeSpecificBasedOnTimeCharacteristic(TimeCharacteristic timeCharacteristic) |
abstract AbstractTime |
AbstractTime.makeSpecificBasedOnTimeCharacteristic(TimeCharacteristic characteristic) |
| Modifier and Type | Method and Description |
|---|---|
static <W extends Window> |
ContinuousEventTimeTrigger.of(AbstractTime interval)
Creates a trigger that continuously fires based on the given interval.
|
static <W extends Window> |
ContinuousProcessingTimeTrigger.of(AbstractTime interval)
Creates a trigger that continuously fires based on the given interval.
|
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.