I
- Vertex idV
- Vertex dataE
- Edge datapublic class ValueFactories<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable> extends Object
MessageValueFactory
here because they
reference types which may change at a given superstep. Instead we create them
as necessary so that they get the latest information.Constructor and Description |
---|
ValueFactories(org.apache.hadoop.conf.Configuration conf)
Constructor reading from Configuration
|
Modifier and Type | Method and Description |
---|---|
EdgeValueFactory<E> |
getEdgeValueFactory() |
VertexIdFactory<I> |
getVertexIdFactory() |
VertexValueFactory<V> |
getVertexValueFactory() |
public ValueFactories(org.apache.hadoop.conf.Configuration conf)
conf
- Configuration to read frompublic EdgeValueFactory<E> getEdgeValueFactory()
public VertexIdFactory<I> getVertexIdFactory()
public VertexValueFactory<V> getVertexValueFactory()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.