gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manuzhang <>
Subject [GitHub] incubator-gearpump issue #85: [GEARPUMP-23] add window dsl
Date Wed, 28 Sep 2016 01:03:59 GMT
Github user manuzhang commented on the issue:
    `stream.groupBy` is now a shortcut for `stream.window(CountWindow.apply(1).triggering(CountTrigger).accumulating).groupBy`.
    so `groupBy` has windowing semantics and all window operations should follow `groupBy`
    here is the window semantics
    - Window
        - WindowFn 
             -> SlidingWindowFn // FixedWindow and SlidingWindow 
             -> CountWindowFn  // CountWindow
        - Trigger
             -> EventTimeTrigger  // event time aggregation
             -> ProcessingTimeTrigger  // processing time aggregation
             -> CountTrigger // count aggregation, used with CountWindowFn
         - AccumulationMode
             -> Accumulating   // states are accumulated across windows
             -> Discarding  // states are not accumulated  

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message