public class FulgoraResult<S> extends Object implements OLAPResult<S>
| Constructor and Description |
|---|
FulgoraResult(int numVertices,
IDManager idManager) |
FulgoraResult(Map<Long,S> initialState,
IDManager idManager) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Map.Entry<Long,S>> |
entries()
Returns an
Iterable over all final (vertex-id,vertex-state) pairs resulting from a job's execution. |
S |
get(long vertexId)
Returns the final vertex state for a given vertex identified by its id.
|
long |
size()
Returns the number of vertices in the result
|
Iterable<S> |
values()
Returns an
Iterable over all final vertex states. |
public FulgoraResult(int numVertices,
IDManager idManager)
public Iterable<S> values()
OLAPResultIterable over all final vertex states.values in interface OLAPResult<S>public Iterable<Map.Entry<Long,S>> entries()
OLAPResultIterable over all final (vertex-id,vertex-state) pairs resulting from a job's execution.entries in interface OLAPResult<S>public long size()
OLAPResultsize in interface OLAPResult<S>public S get(long vertexId)
OLAPResultget in interface OLAPResult<S>Copyright © 2012–2014. All rights reserved.