[
https://issues.apache.org/jira/browse/APEXCORE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15842309#comment-15842309
]
ASF GitHub Bot commented on APEXCORE-577:
-----------------------------------------
GitHub user tushargosavi opened a pull request:
https://github.com/apache/apex-core/pull/456
APEXCORE-577 Add visitor API to examine the DAG.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tushargosavi/apex-core APEXCORE-577
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/apex-core/pull/456.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #456
----
commit 0da3a472c0bea14b49239e8e267042fdc513056e
Author: Tushar R. Gosavi <[email protected]>
Date: 2016-12-22T09:06:06Z
APEXCORE-577 Add visitor API to examine the DAG.
----
> Visitor API for DAG
> -------------------
>
> Key: APEXCORE-577
> URL: https://issues.apache.org/jira/browse/APEXCORE-577
> Project: Apache Apex Core
> Issue Type: Sub-task
> Reporter: Tushar Gosavi
> Assignee: Tushar Gosavi
>
> Support an Visitor like api for DAG, which could be used to write plugins for
> Apex.
> change DAG interface to add a visitor
> {code}
> registerVisitor(DagVisitor visitor)
> {code}
> The DagVisitor interface
> {code}
> interface DagVisitor {
> boolean startDAG(DAG* dag);
> boolean visitOperator(OperatorMeta *ometa)
> boolean visitStream(StreamMeta *smeta);
> boolean endDAG()
> }
> {code}
> dev thread discussions
> https://lists.apache.org/thread.html/1c37e0954cee029c9de537cc35ecb35beebdf49aba17de89bd2ce9ed@%3Cdev.apex.apache.org%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)