K
- ID typeEV
- edge value typeD
- degree typepublic static class DegreeAnnotationFunctions.JoinEdgeWithVertexDegree<K,EV,D> extends Object implements JoinFunction<Edge<K,EV>,Vertex<K,D>,Edge<K,Tuple2<EV,D>>>
Constructor and Description |
---|
JoinEdgeWithVertexDegree() |
public Edge<K,Tuple2<EV,D>> join(Edge<K,EV> edge, Vertex<K,D> vertex) throws Exception
JoinFunction
join
in interface JoinFunction<Edge<K,EV>,Vertex<K,D>,Edge<K,Tuple2<EV,D>>>
edge
- The element from first input.vertex
- The element from second input.Exception
- This method may throw exceptions. Throwing an exception will cause the operation
to fail and may trigger recovery.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.