I
- Vertex ID type.E
- Edge value type.public class DefaultOutEdgesFactory<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable> extends Object implements OutEdgesFactory<I,E>, GiraphConfigurationSettable
OutEdges
instances to be used
during computation. This factory simply creates an instance of the
OutEdges
class set in the configuration.Constructor and Description |
---|
DefaultOutEdgesFactory() |
Modifier and Type | Method and Description |
---|---|
OutEdges<I,E> |
newInstance()
Creates a new
instance . |
void |
setConf(ImmutableClassesGiraphConfiguration conf)
Set the configuration to be used by this object.
|
public void setConf(ImmutableClassesGiraphConfiguration conf)
GiraphConfigurationSettable
setConf
in interface GiraphConfigurationSettable
conf
- Set configurationpublic OutEdges<I,E> newInstance()
OutEdgesFactory
instance
.newInstance
in interface OutEdgesFactory<I extends org.apache.hadoop.io.WritableComparable,E extends org.apache.hadoop.io.Writable>
OutEdges
instance.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.