Package | Description |
---|---|
org.apache.giraph.utils |
Modifier and Type | Method and Description |
---|---|
static <I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable,M extends org.apache.hadoop.io.Writable> |
MockUtils.prepareVertexAndComputation(Vertex<I,V,E> vertex,
I vertexId,
V vertexValue,
boolean isHalted,
Computation<I,V,E,M,M> computation,
long superstep)
prepare a vertex and computation for use in a unit test by setting its
internal state and injecting mocked dependencies,
|
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.