November 2017
Beginner to intermediate
290 pages
7h 34m
English
Session Windows are windows that model after sessions. For example, one session could represent each time a user visits a website. Unlike Time Windows and Sliding Time Windows, Session Windows have variable durations and are based on the key of the tuple. If we want to process the activity data based on each time a user visits a website, the key of the tuple could be the user ID. Each tuple is assigned to exactly one window. It takes a duration parameter minGap, which specifies the minimum time gap between any two tuples that belong to two different Session Windows of the same key:

When a tuple arrives, the WindowedOperator ...
Read now
Unlock full access