@Override public org.apache.flink.graph.Vertex<GradoopId, NullValue> map(Vertex epgmVertex) { reuseVertex.setId(epgmVertex.getId()); return reuseVertex; } }
/** * Map function to create gelly vertices with long key and long value. * * @param tuple given unique vertex id * @return gelly vertex */ @Override public Vertex<Long, Long> map(Tuple2<Long, GradoopId> tuple) { vertex.setId(tuple.f0); vertex.setValue(tuple.f0); return vertex; } }
@Override public org.apache.flink.graph.Vertex<GradoopId, NullValue> map(Vertex epgmVertex) { reuseVertex.setId(epgmVertex.getId()); return reuseVertex; } }
/** * Map function to create gelly vertices with long key and long value. * * @param tuple given unique vertex id * @return gelly vertex */ @Override public Vertex<Long, Long> map(Tuple2<Long, GradoopId> tuple) { vertex.setId(tuple.f0); vertex.setValue(tuple.f0); return vertex; } }
@Override public org.apache.flink.graph.Vertex<GradoopId, GradoopId> map(Vertex epgmVertex) { GradoopId id = epgmVertex.getId(); reuseVertex.setId(id); reuseVertex.setValue(id); return reuseVertex; } }
@Override public org.apache.flink.graph.Vertex<GradoopId, GradoopId> map(Vertex epgmVertex) { GradoopId id = epgmVertex.getId(); reuseVertex.setId(id); reuseVertex.setValue(id); return reuseVertex; } }
@Override public org.apache.flink.graph.Vertex<GradoopId, PropertyValue> map( Vertex epgmVertex) throws Exception { reuseVertex.setId(epgmVertex.getId()); reuseVertex.setValue(epgmVertex.getPropertyValue(propertyKey)); return reuseVertex; } }
@Override public org.apache.flink.graph.Vertex<GradoopId, PropertyValue> map( Vertex epgmVertex) throws Exception { reuseVertex.setId(epgmVertex.getId()); reuseVertex.setValue(epgmVertex.getPropertyValue(propertyKey)); return reuseVertex; } }