public static class GraphComputerTest.VertexProgramM extends Object implements VertexProgram
VertexProgram.Builder, VertexProgram.Features| Modifier and Type | Field and Description |
|---|---|
static String |
KNOWS_ONLY |
static String |
ONE_OUT_EDGE_ONLY |
static String |
OUT_EDGES_ONLY |
static String |
PEOPLE_KNOWS_ONLY |
static String |
PEOPLE_KNOWS_WELL_ONLY |
static String |
PEOPLE_ONLY |
static String |
SOFTWARE_ONLY |
static String |
VERTICES_ONLY |
VERTEX_PROGRAM| Constructor and Description |
|---|
VertexProgramM() |
VertexProgramM(String state) |
| Modifier and Type | Method and Description |
|---|---|
GraphComputerTest.VertexProgramM |
clone() |
void |
execute(Vertex vertex,
Messenger messenger,
Memory memory) |
Set<MessageScope> |
getMessageScopes(Memory memory) |
GraphComputer.Persist |
getPreferredPersist() |
GraphComputer.ResultGraph |
getPreferredResultGraph() |
void |
loadState(Graph graph,
org.apache.commons.configuration.Configuration configuration) |
void |
setup(Memory memory) |
void |
storeState(org.apache.commons.configuration.Configuration configuration) |
boolean |
terminate(Memory memory) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateVertexProgram, getFeatures, getMapReducers, getMemoryComputeKeys, getMessageCombiner, getTraverserRequirements, getVertexComputeKeys, workerIterationEnd, workerIterationStartpublic static final String SOFTWARE_ONLY
public static final String PEOPLE_ONLY
public static final String KNOWS_ONLY
public static final String PEOPLE_KNOWS_ONLY
public static final String PEOPLE_KNOWS_WELL_ONLY
public static final String VERTICES_ONLY
public static final String ONE_OUT_EDGE_ONLY
public static final String OUT_EDGES_ONLY
public VertexProgramM()
public VertexProgramM(String state)
public void setup(Memory memory)
setup in interface VertexProgrampublic void execute(Vertex vertex, Messenger messenger, Memory memory)
execute in interface VertexProgrampublic boolean terminate(Memory memory)
terminate in interface VertexProgrampublic Set<MessageScope> getMessageScopes(Memory memory)
getMessageScopes in interface VertexProgrampublic GraphComputer.ResultGraph getPreferredResultGraph()
getPreferredResultGraph in interface VertexProgrampublic GraphComputer.Persist getPreferredPersist()
getPreferredPersist in interface VertexProgrampublic GraphComputerTest.VertexProgramM clone()
clone in interface VertexProgramclone in class Objectpublic void loadState(Graph graph, org.apache.commons.configuration.Configuration configuration)
loadState in interface VertexProgrampublic void storeState(org.apache.commons.configuration.Configuration configuration)
storeState in interface VertexProgramCopyright © 2013–2021 Apache Software Foundation. All rights reserved.