Class GraphComputerTest.VertexProgramL
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest.VertexProgramL
-
- All Implemented Interfaces:
Cloneable
,VertexProgram
- Enclosing class:
- GraphComputerTest
public static class GraphComputerTest.VertexProgramL 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 inherited from interface org.apache.tinkerpop.gremlin.process.computer.VertexProgram
VERTEX_PROGRAM
-
-
Constructor Summary
Constructors Constructor Description VertexProgramL()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphComputerTest.VertexProgramL
clone()
void
execute(Vertex vertex, Messenger messenger, Memory memory)
Set<MemoryComputeKey>
getMemoryComputeKeys()
Set<MessageScope>
getMessageScopes(Memory memory)
GraphComputer.Persist
getPreferredPersist()
GraphComputer.ResultGraph
getPreferredResultGraph()
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, getMessageCombiner, getTraverserRequirements, getVertexComputeKeys, loadState, workerIterationEnd, workerIterationStart
-
-
-
-
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
-
getMemoryComputeKeys
public Set<MemoryComputeKey> getMemoryComputeKeys()
- Specified by:
getMemoryComputeKeys
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.VertexProgramL clone()
- Specified by:
clone
in interfaceVertexProgram
- Overrides:
clone
in classObject
-
storeState
public void storeState(org.apache.commons.configuration2.Configuration configuration)
- Specified by:
storeState
in interfaceVertexProgram
-
-