public enum SlidingWindowType extends java.lang.Enum<SlidingWindowType>
| Enum Constant and Description |
|---|
COUNT_BASED
The definition of count-based sliding window from "Sliding Sketches: A Framework using Time
Zones for Data * Stream Processing in Sliding Windows" by Gou et al.: Given a data stream S, a
count-based sliding window with length N means the union of the last N items.
|
NONE
NONE indicates that sliding window model is not used.
|
TIME_BASED
The definition of time-based sliding window from "Sliding Sketches: A Framework using Time
Zones for Data Stream Processing in Sliding Windows" by Gou et al.: Given a data stream S, a
time-based sliding window with length N means the union of data items which arrive in the last
N time units.
|
| Modifier and Type | Method and Description |
|---|---|
static SlidingWindowType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SlidingWindowType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SlidingWindowType COUNT_BASED
public static final SlidingWindowType TIME_BASED
public static final SlidingWindowType NONE
public static SlidingWindowType[] values()
for (SlidingWindowType c : SlidingWindowType.values()) System.out.println(c);
public static SlidingWindowType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2022. All Rights Reserved.