[ https://issues.apache.org/jira/browse/FLINK-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14609712#comment-14609712 ]
ASF GitHub Bot commented on FLINK-2141: --------------------------------------- Github user andralungu commented on a diff in the pull request: https://github.com/apache/flink/pull/877#discussion_r33657016 --- Diff: docs/libs/gelly_guide.md --- @@ -693,6 +693,9 @@ Currently, the following parameters can be specified: * <strong>Number of Vertices</strong>: Accessing the total number of vertices within the iteration. This property can be set using the `setOptNumVertices()` method. The number of vertices can then be accessed in the gather, sum and/or apply functions by using the `getNumberOfVertices()` method. If the option is not set in the configuration, this method will return -1. +* <strong>Neighbor Direction</strong>: By Default values are gathered from the out neighbors of the Vertex. This can be modified --- End diff -- default without capital D, set direction should be written without capital s and in between inverted commas (i.e. `setDirection()`) It would be nice to have an example in the docs, showing users how to play with this option; check the number of vertices example for inspiration :) > Allow GSA's Gather to perform this operation in more than one direction > ----------------------------------------------------------------------- > > Key: FLINK-2141 > URL: https://issues.apache.org/jira/browse/FLINK-2141 > Project: Flink > Issue Type: New Feature > Components: Gelly > Affects Versions: 0.9 > Reporter: Andra Lungu > Assignee: Shivani Ghatge > > For the time being, a vertex only gathers information from its in-edges. > Similarly to the vertex-centric approach, we would like to allow users to > gather data from out and all edges as well. > This property should be set using a setDirection() method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)