public class SlidingWindowDef extends Object implements WindowDefinition
sliding
window
.WindowDefinition.WindowKind
Modifier and Type | Method and Description |
---|---|
SlidingWindowDef |
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 |
slideBy()
Returns the size of the sliding step.
|
SlidingWindowPolicy |
toSlidingWindowPolicy()
Returns the policy object used by the Core API processors to drive the
sliding window logic.
|
long |
watermarkFrameSize()
Returns the frameLength and offset this window definition needs.
|
long |
windowSize()
Returns the length of the window (the size of the timestamp range it
covers).
|
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 SlidingWindowDef downcast()
WindowDefinition
ClassCastException
.downcast
in interface WindowDefinition
public long watermarkFrameSize()
WindowDefinition
watermarkFrameSize
in interface WindowDefinition
public long windowSize()
slideBy()
.public long slideBy()
public SlidingWindowPolicy toSlidingWindowPolicy()
Copyright © 2018 Hazelcast, Inc.. All rights reserved.