/** * Constructor requiring classes * * @param conf Should have vertex and edge classes set. */ public TestGraph(GiraphConfiguration conf) { this.conf = new ImmutableClassesGiraphConfiguration(conf); vertexValueCombiner = this.conf.createVertexValueCombiner(); }
@Override public void initialize(int partitionId, Progressable progressable) { setId(partitionId); setProgressable(progressable); vertexValueCombiner = conf.createVertexValueCombiner(); }