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 StringKNOWS_ONLYstatic StringONE_OUT_EDGE_ONLYstatic StringOUT_EDGES_ONLYstatic StringPEOPLE_KNOWS_ONLYstatic StringPEOPLE_KNOWS_WELL_ONLYstatic StringPEOPLE_ONLYstatic StringSOFTWARE_ONLYstatic StringVERTICES_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.VertexProgramMclone()voidexecute(Vertex vertex, Messenger messenger, Memory memory)Set<MessageScope>getMessageScopes(Memory memory)GraphComputer.PersistgetPreferredPersist()GraphComputer.ResultGraphgetPreferredResultGraph()voidloadState(Graph graph, org.apache.commons.configuration2.Configuration configuration)voidsetup(Memory memory)voidstoreState(org.apache.commons.configuration2.Configuration configuration)booleanterminate(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:
setupin interfaceVertexProgram
-
execute
public void execute(Vertex vertex, Messenger messenger, Memory memory)
- Specified by:
executein interfaceVertexProgram
-
terminate
public boolean terminate(Memory memory)
- Specified by:
terminatein interfaceVertexProgram
-
getMessageScopes
public Set<MessageScope> getMessageScopes(Memory memory)
- Specified by:
getMessageScopesin interfaceVertexProgram
-
getPreferredResultGraph
public GraphComputer.ResultGraph getPreferredResultGraph()
- Specified by:
getPreferredResultGraphin interfaceVertexProgram
-
getPreferredPersist
public GraphComputer.Persist getPreferredPersist()
- Specified by:
getPreferredPersistin interfaceVertexProgram
-
clone
public GraphComputerTest.VertexProgramM clone()
- Specified by:
clonein interfaceVertexProgram- Overrides:
clonein classObject
-
loadState
public void loadState(Graph graph, org.apache.commons.configuration2.Configuration configuration)
- Specified by:
loadStatein interfaceVertexProgram
-
storeState
public void storeState(org.apache.commons.configuration2.Configuration configuration)
- Specified by:
storeStatein interfaceVertexProgram
-
-