Esempio n. 1
0
 protected LongWritable getTargetVertexId(LongPair endpoints) throws IOException {
   return new LongWritable(endpoints.getSecond());
 }
Esempio n. 2
0
 protected LongWritable getSourceVertexId(LongPair endpoints) throws IOException {
   return new LongWritable(endpoints.getFirst());
 }