package org.apache.kafka.streams.kstream;
abstract class Window {
// only required methods that have no implementation
// the others follow
public abstract boolean overlap(final Window other);
}
Window
Window
is the base of single window instances that are described by the start and end timestamps and can be checked if they overlap.
Method | Description |
---|---|
|
Use start
method to access the start timestamp of a window.
long start()
Use end
method to access the end timestamp of a window.
long end()
Window
has the following text representation:
Window{start=[startMs], end=[endMs]}
Window | Description |
---|---|
|
|
|
Creating Window Instance
Window
takes the following when created:
Window
initializes the internal registries and counters.
Window
is created when…MEFIXME
Window
is created along with…MEFIXME
Note
|
Window is a Java/Scala abstract class and cannot be created directly. It is created indirectly when the concrete FIXMEs are.
|