public static class TestCreateSourceVertex.CreateEvenSourceVerticesCallback extends DefaultCreateSourceVertexCallback<org.apache.hadoop.io.IntWritable>
Constructor and Description |
---|
CreateEvenSourceVerticesCallback() |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldCreateSourceVertex(org.apache.hadoop.io.IntWritable vertexId) |
setConf
public boolean shouldCreateSourceVertex(org.apache.hadoop.io.IntWritable vertexId)
shouldCreateSourceVertex
in interface CreateSourceVertexCallback<org.apache.hadoop.io.IntWritable>
shouldCreateSourceVertex
in class DefaultCreateSourceVertexCallback<org.apache.hadoop.io.IntWritable>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.