[ https://issues.apache.org/jira/browse/FLINK-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14580232#comment-14580232 ]
ASF GitHub Bot commented on FLINK-2140: --------------------------------------- Github user andralungu commented on the pull request: https://github.com/apache/flink/pull/779#issuecomment-110654021 If no objections, I'd like to merge this one within the next week. There is a direction issue for GSA(FLINK-2141) that will actually touch the same files. > 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)