Github user davidyan74 commented on a diff in the pull request:

    https://github.com/apache/apex-malhar/pull/316#discussion_r66519944
  
    --- Diff: 
library/src/main/java/com/datatorrent/lib/window/TriggerOption.java ---
    @@ -0,0 +1,55 @@
    +package com.datatorrent.lib.window;
    +
    +import java.util.LinkedList;
    +import java.util.List;
    +
    +/**
    + *
    + */
    +public class TriggerOption
    +{
    +
    +  public static enum WatermarkOpt
    +  {
    +    BEFORE,
    +    AFTER
    +  }
    +
    +  WatermarkOpt watermarkOpt = WatermarkOpt.BEFORE;
    +
    +  private List<Object[]> size = new LinkedList<>();
    +
    +  public static class TriggerOptionBuilder
    +  {
    +
    +    public static TriggerOption every(long quantity, Quantification.Unit 
unit)
    --- End diff --
    
    We will change the interfaces with quantity and unit to something 
different. Stay tuned.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to