[
https://issues.apache.org/jira/browse/FLINK-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572663#comment-14572663
]
ASF GitHub Bot commented on FLINK-2140:
---------------------------------------
GitHub user andralungu opened a pull request:
https://github.com/apache/flink/pull/779
[FLINK-2140][gelly] Allowed access to the number of vertices in the GSA
functions
Similar to the vertex-centric approach, this PR enables users to access the
total number of vertices from within the gather, sum and/or apply functions of
a GSA iteration.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andralungu/flink numVerticesGSA
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/779.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 #779
----
commit cffd9440599cf56e7e22da69a3a1a94168789b17
Author: andralungu <[email protected]>
Date: 2015-06-04T12:13:21Z
[FLINK-2140][gelly] Allowed access to the number of vertices in the GSA
functions
----
> Access the number of vertices from within the GSA functions
> -----------------------------------------------------------
>
> Key: FLINK-2140
> URL: https://issues.apache.org/jira/browse/FLINK-2140
> Project: Flink
> Issue Type: New Feature
> Components: Gelly
> Affects Versions: 0.9
> Reporter: Andra Lungu
> Assignee: Andra Lungu
>
> Similarly to the Vertex-centric approach we would like to allow the user to
> access the number of vertices from the Gather, Sum and Apply functions
> respectively. This property will become available by setting
> [setOptNumVertices()] the numVertices option to true.
> The number of vertices can then be accessed in the gather, sum and apply
> functions using the getNumberOfVertices() method. If the option is not set in
> the configuration, this method will return -1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)