Ability to read adjacent vertex properties in vertex program
In our graph, related nodes are connected to a master node. So as part of vertex program i was thinking to just get all master nodes and from master node get all connected nodes.
So finally output should be like below and i should be able to read properties from derived list of vertices.
[MasterNode] -> List of connected nodes, ex :
V(masternode) -> [ V(a), V(b), V(c)]
I noticed vertex.inVertex() returns ComputerAdjacentVertex and it does not have properties, all properties are dropped.
Is there any way to read adjacent vertex properties in vertex program? Please note i am not using adjacent vertex property for any traversal logic but want to read just as part of final result.