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