Vasia Kalavri created FLINK-1515:
------------------------------------

             Summary: [Gelly] Enable access to aggregators and broadcast sets 
in vertex-centric iteration
                 Key: FLINK-1515
                 URL: https://issues.apache.org/jira/browse/FLINK-1515
             Project: Flink
          Issue Type: Improvement
            Reporter: Vasia Kalavri


Currently, aggregators and broadcast sets cannot be accessed through Gelly's  
{{runVertexCentricIteration}} method. The functionality is already present in 
the {{VertexCentricIteration}} and we just need to expose it.

This could be done like this: We create a method 
{{createVertexCentricIteration}}, which will return a 
{{VertexCentricIteration}} object and we change {{runVertexCentricIteration}} 
to accept this as a parameter (and return the graph after running this 
iteration).
The user can configure the {{VertexCentricIteration}} by directly calling the 
public methods {{registerAggregator}}, {{setName}}, etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to