Package org.apache.tinkerpop.gremlin.process.computer
-
Interface Summary Interface Description ComputerResult The result of theGraphComputer's computation.GraphComputer TheGraphComputeris responsible for the execution of aVertexProgramand then a set ofMapReducejobs over the vertices in theGraph.GraphComputer.Features MapReduce<MK,MV,RK,RV,R> A MapReduce is composed of map(), combine(), and reduce() stages.MapReduce.MapEmitter<K,V> The MapEmitter is used to emit key/value pairs from the map() stage of the MapReduce job.MapReduce.ReduceEmitter<OK,OV> The ReduceEmitter is used to emit key/value pairs from the combine() and reduce() stages of the MapReduce job.Memory The Memory of aGraphComputeris a global data structure where by vertices can communicate information with one another.Memory.Admin The Admin interface is used by theGraphComputerto update the Memory.MessageCombiner<M> A MessageCombiner allows two messages in route to the same vertex to be aggregated into a single message.Messenger<M> TheMessengerserves as the routing system for messages between vertices.VertexProgram<M> AVertexProgramrepresents one component of a distributed graph computation.VertexProgram.Builder VertexProgram.Features -
Class Summary Class Description Computer GraphComputer.Exceptions GraphFilter GraphFilter is used byGraphComputerimplementations to prune the source graph data being loaded into the OLAP system.KeyValue<K,V> MapReduce.NullObject A convenience singleton when a single key is needed so that all emitted values converge to the same combiner/reducer.Memory.Exceptions MemoryComputeKey<A> MessageScope AMessageScoperepresents the range of a message.MessageScope.Global A Global message is directed at an arbitrary vertex in the graph.MessageScope.Local<M> A Local message is directed to an adjacent (or "memory adjacent") vertex.MessageScope.Local.ReverseTraversalSupplier A helper class that can be used to generate the reverse traversal of the traversal within aMessageScope.Local.VertexComputeKey AVertexComputeKeyspecifies a property of a vertex that will be used to storeGraphComputerdata. -
Enum Summary Enum Description GraphComputer.Persist GraphComputer.ResultGraph GraphFilter.Legal A enum denoting whether a particular result will be allowed or not.MapReduce.Stage MapReduce is composed of three stages: map, combine, and reduce.ProgramPhase