Class GraphComputerTest.MultiScopeVertexProgram
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.computer.util.StaticVertexProgram<Long>
-
- org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest.MultiScopeVertexProgram
-
- All Implemented Interfaces:
Cloneable
,VertexProgram<Long>
- Enclosing class:
- GraphComputerTest
public static class GraphComputerTest.MultiScopeVertexProgram extends StaticVertexProgram<Long>
-
-
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 MultiScopeVertexProgram()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Vertex vertex, Messenger<Long> messenger, Memory memory)
Set<MessageScope>
getMessageScopes(Memory memory)
GraphComputer.Persist
getPreferredPersist()
GraphComputer.ResultGraph
getPreferredResultGraph()
Set<VertexComputeKey>
getVertexComputeKeys()
void
setup(Memory memory)
boolean
terminate(Memory memory)
-
Methods inherited from class org.apache.tinkerpop.gremlin.process.computer.util.StaticVertexProgram
clone, storeState
-
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, loadState, workerIterationEnd, workerIterationStart
-
-
-
-
Method Detail
-
setup
public void setup(Memory memory)
-
getPreferredPersist
public GraphComputer.Persist getPreferredPersist()
-
getVertexComputeKeys
public Set<VertexComputeKey> getVertexComputeKeys()
-
getMessageScopes
public Set<MessageScope> getMessageScopes(Memory memory)
-
terminate
public boolean terminate(Memory memory)
-
getPreferredResultGraph
public GraphComputer.ResultGraph getPreferredResultGraph()
-
-