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)
CreateSourceVertexCallback
shouldCreateSourceVertex
in interface CreateSourceVertexCallback<I extends org.apache.hadoop.io.Writable>
vertexId
- the id of vertex to be createdpublic void setConf(ImmutableClassesGiraphConfiguration configuration)
GiraphConfigurationSettable
setConf
in interface GiraphConfigurationSettable
configuration
- Set configurationCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.