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

    https://github.com/apache/incubator-apex-core/pull/185#discussion_r47780330
  
    --- Diff: api/src/main/java/com/datatorrent/api/Context.java ---
    @@ -161,6 +161,13 @@
          */
         Attribute<Class<?>> TUPLE_CLASS = new Attribute<>(new 
Class2String<>());
     
    +    /**
    +     * Attribute of input port.
    +     * This is a read-only attribute to query whether the input port is 
connected to a DelayOperator
    +     * This is for iterative processing.
    +     */
    +    Attribute<Boolean> IS_CONNECTED_TO_DELAY_OPERATOR = new 
Attribute<>(false);
    --- End diff --
    
    @davidyan74 : There are some internal Attributes defined in LogicalPlan. I 
think we should do the same for this as well. Define it as an internal 
attribute and use that. Only thing is that you now will have to first check if 
portContext.getValue() returns null or not


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to