T
- type of the stream itempublic class SessionWindowDef<T> extends Object implements WindowDefinition
session
window.WindowDefinition.WindowKind
Modifier and Type | Method and Description |
---|---|
SessionWindowDef<T> |
downcast()
Returns this window definition downcast to the type determined through
type inference at the call site.
|
WindowDefinition.WindowKind |
kind()
Returns what kind of window this definition describes.
|
long |
sessionTimeout()
Returns the session timeout, which is the largest difference in the
timestamps of any two consecutive events in the session window.
|
long |
watermarkFrameSize()
Returns the frameLength and offset this window definition needs.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
session, sliding, tumbling
@Nonnull public WindowDefinition.WindowKind kind()
WindowDefinition
kind
in interface WindowDefinition
@Nonnull public SessionWindowDef<T> downcast()
WindowDefinition
ClassCastException
.downcast
in interface WindowDefinition
public long watermarkFrameSize()
WindowDefinition
watermarkFrameSize
in interface WindowDefinition
public long sessionTimeout()
Copyright © 2018 Hazelcast, Inc.. All rights reserved.