Uses of Class
com.hazelcast.jet.core.SlidingWindowPolicy
Packages that use SlidingWindowPolicy
Package
Description
Jet's Core API.
Contains static utility classes with factories of Jet processors.
-
Uses of SlidingWindowPolicy in com.hazelcast.jet.core
Methods in com.hazelcast.jet.core that return SlidingWindowPolicyModifier and TypeMethodDescriptionstatic SlidingWindowPolicySlidingWindowPolicy.slidingWinPolicy(long windowSize, long slideBy) Returns the definition of a sliding window of lengthwindowSizethat slides byslideBy.SlidingWindowPolicy.toTumblingByFrame()Converts this definition to one defining a tumbling window of the same length as this definition's frame.static SlidingWindowPolicySlidingWindowPolicy.tumblingWinPolicy(long windowSize) Returns the definition of a tumbling window of lengthwindowSize.SlidingWindowPolicy.withOffset(long offset) Returns a new window definition where all the frames are shifted by the given offset. -
Uses of SlidingWindowPolicy in com.hazelcast.jet.core.processor
Methods in com.hazelcast.jet.core.processor with parameters of type SlidingWindowPolicyModifier and TypeMethodDescriptionstatic <K,A> SupplierEx<Processor> Processors.accumulateByFrameP(List<FunctionEx<?, ? extends K>> keyFns, List<ToLongFunctionEx<?>> timestampFns, TimestampKind timestampKind, SlidingWindowPolicy winPolicy, AggregateOperation<A, ?> aggrOp) Returns a supplier of processors for the first-stage vertex in a two-stage sliding window aggregation setup (see theclass Javadocfor an explanation of aggregation stages).static <K,A> SupplierEx<Processor> Processors.accumulateByFrameP(List<FunctionEx<?, ? extends K>> keyFns, List<ToLongFunctionEx<?>> timestampFns, TimestampKind timestampKind, SlidingWindowPolicy winPolicy, AggregateOperation<A, ?> aggrOp, byte watermarkKey) Returns a supplier of processors for the first-stage vertex in a two-stage sliding window aggregation setup (see theclass Javadocfor an explanation of aggregation stages).static <K,A, R, OUT>
SupplierEx<Processor>Processors.aggregateToSlidingWindowP(List<FunctionEx<?, ? extends K>> keyFns, List<ToLongFunctionEx<?>> timestampFns, TimestampKind timestampKind, SlidingWindowPolicy winPolicy, long earlyResultsPeriod, AggregateOperation<A, ? extends R> aggrOp, KeyedWindowResultFunction<? super K, ? super R, ? extends OUT> mapToOutputFn) Returns a supplier of processors for a vertex that aggregates events into a sliding window in a single stage (see theclass Javadocfor an explanation of aggregation stages).static <K,A, R, OUT>
SupplierEx<Processor>Processors.aggregateToSlidingWindowP(List<FunctionEx<?, ? extends K>> keyFns, List<ToLongFunctionEx<?>> timestampFns, TimestampKind timestampKind, SlidingWindowPolicy winPolicy, long earlyResultsPeriod, AggregateOperation<A, ? extends R> aggrOp, KeyedWindowResultFunction<? super K, ? super R, ? extends OUT> mapToOutputFn, byte windowWatermarkKey) Returns a supplier of processors for a vertex that aggregates events into a sliding window in a single stage (see theclass Javadocfor an explanation of aggregation stages).static <K,A, R, OUT>
SupplierEx<Processor>Processors.combineToSlidingWindowP(SlidingWindowPolicy winPolicy, AggregateOperation<A, ? extends R> aggrOp, KeyedWindowResultFunction<? super K, ? super R, ? extends OUT> mapToOutputFn) Returns a supplier of processors for the second-stage vertex in a two-stage sliding window aggregation setup (see theclass Javadocfor an explanation of aggregation stages).static <K,A, R, OUT>
SupplierEx<Processor>Processors.combineToSlidingWindowP(SlidingWindowPolicy winPolicy, AggregateOperation<A, ? extends R> aggrOp, KeyedWindowResultFunction<? super K, ? super R, ? extends OUT> mapToOutputFn, byte windowWatermarkKey) Returns a supplier of processors for the second-stage vertex in a two-stage sliding window aggregation setup (see theclass Javadocfor an explanation of aggregation stages) with specifiedwindowWatermarkKey.