apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gauravgopi123 <...@git.apache.org>
Subject [GitHub] incubator-apex-core pull request: APEXCORE-60 Iteration support in...
Date Wed, 16 Dec 2015 14:21:18 GMT
Github user gauravgopi123 commented on a diff in the pull request:

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

View raw message