Class GraphComputerTest.VertexProgramM
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest.VertexProgramM
-
- All Implemented Interfaces:
Cloneable
,VertexProgram
- Enclosing class:
- GraphComputerTest
public static class GraphComputerTest.VertexProgramM extends Object implements VertexProgram
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.computer.VertexProgram
VertexProgram.Builder, VertexProgram.Features
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from interface org.apache.tinkerpop.gremlin.process.computer.VertexProgram
VERTEX_PROGRAM
-
-
Constructor Summary
Constructors Constructor Description VertexProgramM()
VertexProgramM(String state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.configuration2.Configuration configuration)
void
setup(Memory memory)
void
storeState(org.apache.commons.configuration2.Configuration configuration)
boolean
terminate(Memory memory)
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.process.computer.VertexProgram
getFeatures, getMapReducers, getMemoryComputeKeys, getMessageCombiner, getTraverserRequirements, getVertexComputeKeys, workerIterationEnd, workerIterationStart
-
-
-
-
Field Detail
-
SOFTWARE_ONLY
public static final String SOFTWARE_ONLY
- See Also:
- Constant Field Values
-
PEOPLE_ONLY
public static final String PEOPLE_ONLY
- See Also:
- Constant Field Values
-
KNOWS_ONLY
public static final String KNOWS_ONLY
- See Also:
- Constant Field Values
-
PEOPLE_KNOWS_ONLY
public static final String PEOPLE_KNOWS_ONLY
- See Also:
- Constant Field Values
-
PEOPLE_KNOWS_WELL_ONLY
public static final String PEOPLE_KNOWS_WELL_ONLY
- See Also:
- Constant Field Values
-
VERTICES_ONLY
public static final String VERTICES_ONLY
- See Also:
- Constant Field Values
-
ONE_OUT_EDGE_ONLY
public static final String ONE_OUT_EDGE_ONLY
- See Also:
- Constant Field Values
-
OUT_EDGES_ONLY
public static final String OUT_EDGES_ONLY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VertexProgramM
public VertexProgramM()
-
VertexProgramM
public VertexProgramM(String state)
-
-
Method Detail
-
setup
public void setup(Memory memory)
- Specified by:
setup
in interfaceVertexProgram
-
execute
public void execute(Vertex vertex, Messenger messenger, Memory memory)
- Specified by:
execute
in interfaceVertexProgram
-
terminate
public boolean terminate(Memory memory)
- Specified by:
terminate
in interfaceVertexProgram
-
getMessageScopes
public Set<MessageScope> getMessageScopes(Memory memory)
- Specified by:
getMessageScopes
in interfaceVertexProgram
-
getPreferredResultGraph
public GraphComputer.ResultGraph getPreferredResultGraph()
- Specified by:
getPreferredResultGraph
in interfaceVertexProgram
-
getPreferredPersist
public GraphComputer.Persist getPreferredPersist()
- Specified by:
getPreferredPersist
in interfaceVertexProgram
-
clone
public GraphComputerTest.VertexProgramM clone()
- Specified by:
clone
in interfaceVertexProgram
- Overrides:
clone
in classObject
-
loadState
public void loadState(Graph graph, org.apache.commons.configuration2.Configuration configuration)
- Specified by:
loadState
in interfaceVertexProgram
-
storeState
public void storeState(org.apache.commons.configuration2.Configuration configuration)
- Specified by:
storeState
in interfaceVertexProgram
-
-