Class Traverse
- java.lang.Object
-
- com.alibaba.graphscope.example.traverse.Traverse
-
- All Implemented Interfaces:
AppBase<Long,Long,Double,Long,TraverseContext>
,ParallelAppBase<Long,Long,Double,Long,TraverseContext>
,ParallelEngine
public class Traverse extends Object implements ParallelAppBase<Long,Long,Double,Long,TraverseContext>, ParallelEngine
-
-
Field Summary
-
Fields inherited from interface com.alibaba.graphscope.parallel.ParallelEngine
chunkSize, logger
-
-
Constructor Summary
Constructors Constructor Description Traverse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
IncEval(IFragment<Long,Long,Double,Long> fragment, ParallelContextBase<Long,Long,Double,Long> context, ParallelMessageManager messageManager)
Incremental Evaluation to implement.void
PEval(IFragment<Long,Long,Double,Long> fragment, ParallelContextBase<Long,Long,Double,Long> context, ParallelMessageManager messageManager)
Partial Evaluation to implement.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alibaba.graphscope.parallel.ParallelEngine
forEachLabelVertex, forEachLabelVertex, forEachVertex, forEachVertex, forEachVertex, forEachVertexSendMsg, forEachVertexSendMsg
-
-
-
-
Method Detail
-
PEval
public void PEval(IFragment<Long,Long,Double,Long> fragment, ParallelContextBase<Long,Long,Double,Long> context, ParallelMessageManager messageManager)
Description copied from interface:ParallelAppBase
Partial Evaluation to implement.- Specified by:
PEval
in interfaceParallelAppBase<Long,Long,Double,Long,TraverseContext>
- Parameters:
fragment
- fragment. The graph fragment providing accesses to graph data.context
- context. User defined context which manages data during the whole computations.messageManager
- The message manger which manages messages between fragments.- See Also:
IFragment
,ParallelContextBase
,ParallelMessageManager
-
IncEval
public void IncEval(IFragment<Long,Long,Double,Long> fragment, ParallelContextBase<Long,Long,Double,Long> context, ParallelMessageManager messageManager)
Description copied from interface:ParallelAppBase
Incremental Evaluation to implement.- Specified by:
IncEval
in interfaceParallelAppBase<Long,Long,Double,Long,TraverseContext>
- Parameters:
fragment
- fragment. The graph fragment providing accesses to graph data.context
- context. User defined context which manages data during the whole computations.messageManager
- The message manger which manages messages between fragments.- See Also:
IFragment
,ParallelContextBase
,ParallelMessageManager
-
-