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