コード例 #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());
 }