Sessions (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

Class Sessions

  • All Implemented Interfaces:
    HasDisplayData, Serializable

    public class Sessions
    extends WindowFn<Object,IntervalWindow>
    A WindowFn windowing values into sessions separated by gapDuration-long periods with no elements.

    For example, in order to window data into session with at least 10 minute gaps in between them:

     PCollection<Integer> pc = ...;
     PCollection<Integer> windowed_pc = pc.apply(
    See Also:
    Serialized Form

Send feedback about...

Cloud Dataflow