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