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, waitsession, sliding, tumbling@Nonnull public WindowDefinition.WindowKind kind()
WindowDefinitionkind in interface WindowDefinition@Nonnull public SessionWindowDef<T> downcast()
WindowDefinitionClassCastException.downcast in interface WindowDefinitionpublic long watermarkFrameSize()
WindowDefinitionwatermarkFrameSize in interface WindowDefinitionpublic long sessionTimeout()
Copyright © 2018 Hazelcast, Inc.. All rights reserved.