Class ProgramTest.TestProgram
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.step.map.ProgramTest.TestProgram
-
- All Implemented Interfaces:
Cloneable,VertexProgram
- Enclosing class:
- ProgramTest
public static class ProgramTest.TestProgram 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 TestProgram()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProgramTest.TestProgramclone()voidexecute(Vertex vertex, Messenger messenger, Memory memory)Set<MemoryComputeKey>getMemoryComputeKeys()Set<MessageScope>getMessageScopes(Memory memory)GraphComputer.PersistgetPreferredPersist()GraphComputer.ResultGraphgetPreferredResultGraph()Set<VertexComputeKey>getVertexComputeKeys()voidloadState(Graph graph, org.apache.commons.configuration2.Configuration configuration)voidsetup(Memory memory)voidstoreState(org.apache.commons.configuration2.Configuration configuration)booleanterminate(Memory memory)voidworkerIterationEnd(Memory memory)voidworkerIterationStart(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
-
-
-
-
Method Detail
-
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
-
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
-
workerIterationStart
public void workerIterationStart(Memory memory)
- Specified by:
workerIterationStartin interfaceVertexProgram
-
workerIterationEnd
public void workerIterationEnd(Memory memory)
- Specified by:
workerIterationEndin interfaceVertexProgram
-
getVertexComputeKeys
public Set<VertexComputeKey> getVertexComputeKeys()
- Specified by:
getVertexComputeKeysin interfaceVertexProgram
-
getMemoryComputeKeys
public Set<MemoryComputeKey> getMemoryComputeKeys()
- Specified by:
getMemoryComputeKeysin interfaceVertexProgram
-
getMessageScopes
public Set<MessageScope> getMessageScopes(Memory memory)
- Specified by:
getMessageScopesin interfaceVertexProgram
-
clone
public ProgramTest.TestProgram clone()
- Specified by:
clonein interfaceVertexProgram- Overrides:
clonein classObject
-
getPreferredResultGraph
public GraphComputer.ResultGraph getPreferredResultGraph()
- Specified by:
getPreferredResultGraphin interfaceVertexProgram
-
getPreferredPersist
public GraphComputer.Persist getPreferredPersist()
- Specified by:
getPreferredPersistin interfaceVertexProgram
-
-