I - Vertex idpublic class DefaultCreateSourceVertexCallback<I extends org.apache.hadoop.io.Writable> extends Object implements CreateSourceVertexCallback<I>
| Constructor and Description | 
|---|
| DefaultCreateSourceVertexCallback() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | setConf(ImmutableClassesGiraphConfiguration configuration)Set the configuration to be used by this object. | 
| boolean | shouldCreateSourceVertex(I vertexId)Should we create a vertex that doesn't exist in vertex input
 but only exists in edge input | 
public boolean shouldCreateSourceVertex(I vertexId)
CreateSourceVertexCallbackshouldCreateSourceVertex in interface CreateSourceVertexCallback<I extends org.apache.hadoop.io.Writable>vertexId - the id of vertex to be createdpublic void setConf(ImmutableClassesGiraphConfiguration configuration)
GiraphConfigurationSettablesetConf in interface GiraphConfigurationSettableconfiguration - Set configurationCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.