@SuppressWarnings("unchecked") public Tuple2<K, Edge<K, EV>> map(Edge<K, EV> edge) { return new Tuple2<>((K) edge.getField(fieldPosition), edge); } }
@SuppressWarnings("unchecked") public Tuple2<K, EV> map(Edge<K, EV> edge) { return new Tuple2<>((K) edge.getField(fieldPosition), edge.getValue()); } }
@SuppressWarnings("unchecked") public void join(Edge<K, EV> edge, Vertex<K, VV> otherVertex, Collector<Tuple3<K, Edge<K, EV>, Vertex<K, VV>>> out) { out.collect(new Tuple3<>((K) edge.getField(fieldPosition), edge, otherVertex)); } }
@SuppressWarnings("unchecked") public void join(Edge<K, EV> edge, Vertex<K, VV> otherVertex, Collector<Tuple2<K, VV>> out) { out.collect(new Tuple2<>((K) edge.getField(fieldPosition), otherVertex.getValue())); } }
public K getKey(Edge<K, EV> edge) throws Exception { return edge.getField(key); } }
@SuppressWarnings("unchecked") public Tuple2<K, Edge<K, EV>> map(Edge<K, EV> edge) { return new Tuple2<>((K) edge.getField(fieldPosition), edge); } }
@SuppressWarnings("unchecked") public Tuple2<K, Edge<K, EV>> map(Edge<K, EV> edge) { return new Tuple2<>((K) edge.getField(fieldPosition), edge); } }
@SuppressWarnings("unchecked") public Tuple2<K, Edge<K, EV>> map(Edge<K, EV> edge) { return new Tuple2<>((K) edge.getField(fieldPosition), edge); } }
@SuppressWarnings("unchecked") public void join(Edge<K, EV> edge, Vertex<K, VV> otherVertex, Collector<Tuple3<K, Edge<K, EV>, Vertex<K, VV>>> out) { out.collect(new Tuple3<>((K) edge.getField(fieldPosition), edge, otherVertex)); } }
@SuppressWarnings("unchecked") public void join(Edge<K, EV> edge, Vertex<K, VV> otherVertex, Collector<Tuple3<K, Edge<K, EV>, Vertex<K, VV>>> out) { out.collect(new Tuple3<>((K) edge.getField(fieldPosition), edge, otherVertex)); } }
@SuppressWarnings("unchecked") public void join(Edge<K, EV> edge, Vertex<K, VV> otherVertex, Collector<Tuple3<K, Edge<K, EV>, Vertex<K, VV>>> out) { out.collect(new Tuple3<>((K) edge.getField(fieldPosition), edge, otherVertex)); } }
@SuppressWarnings("unchecked") public Tuple2<K, EV> map(Edge<K, EV> edge) { return new Tuple2<>((K) edge.getField(fieldPosition), edge.getValue()); } }
@SuppressWarnings("unchecked") public Tuple2<K, EV> map(Edge<K, EV> edge) { return new Tuple2<>((K) edge.getField(fieldPosition), edge.getValue()); } }
@SuppressWarnings("unchecked") public Tuple2<K, EV> map(Edge<K, EV> edge) { return new Tuple2<>((K) edge.getField(fieldPosition), edge.getValue()); } }
@SuppressWarnings("unchecked") public void join(Edge<K, EV> edge, Vertex<K, VV> otherVertex, Collector<Tuple2<K, VV>> out) { out.collect(new Tuple2<>((K) edge.getField(fieldPosition), otherVertex.getValue())); } }
@SuppressWarnings("unchecked") public void join(Edge<K, EV> edge, Vertex<K, VV> otherVertex, Collector<Tuple2<K, VV>> out) { out.collect(new Tuple2<>((K) edge.getField(fieldPosition), otherVertex.getValue())); } }
@SuppressWarnings("unchecked") public void join(Edge<K, EV> edge, Vertex<K, VV> otherVertex, Collector<Tuple2<K, VV>> out) { out.collect(new Tuple2<>((K) edge.getField(fieldPosition), otherVertex.getValue())); } }