K
- the vertex key typeVV
- the vertex value typeEV
- the edge value typeO
- the type of the return valuepublic interface EdgesFunctionWithVertexValue<K,VV,EV,O> extends org.apache.flink.api.common.functions.Function, Serializable
Graph.groupReduceOnEdges(EdgesFunctionWithVertexValue, EdgeDirection)
method.void iterateEdges(Vertex<K,VV> vertex, Iterable<Edge<K,EV>> edges, org.apache.flink.util.Collector<O> out) throws Exception
If called with EdgeDirection.OUT
the group will contain
the out-edges of the grouping vertex.
If called with EdgeDirection.IN
the group will contain
the in-edges of the grouping vertex.
If called with EdgeDirection.ALL
the group will contain
all edges of the grouping vertex.
The method can emit any number of output elements, including none.
vertex
- the grouping vertexedges
- the neighboring edges of the grouping vertex.out
- the collector to emit results toException
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.