I - Vertex idV - Vertex valueE - Edge valuepublic interface ReusesObjectsPartition<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends Partition<I,V,E>
Partition implementations that
don't keep references to the Vertex objects they are passed.
The Giraph infrastructure can exploit this characteristic by reusing Vertex
objects.addPartition, addPartitionVertices, getEdgeCount, getId, getVertex, getVertexCount, initialize, progress, putOrCombine, putVertex, removeVertex, saveVertex, setId, setProgressablegetConfsetConfforEach, iterator, spliteratorCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.