Class FileGraphPartition


  • public class FileGraphPartition
    extends java.lang.Object
    • Constructor Detail

      • FileGraphPartition

        public FileGraphPartition​(org.apache.hugegraph.computer.core.common.ComputerContext context,
                                  Managers managers,
                                  int partition)
    • Method Detail

      • compute

        protected PartitionStat compute​(org.apache.hugegraph.computer.core.worker.WorkerContext context,
                                        int superstep)
      • messages

        protected void messages​(PeekableIterator<KvEntry> messages)
        Put the messages sent at previous superstep from MessageRecvManager to this partition. The messages is null if no messages sent to this partition at previous superstep.
      • partition

        protected int partition()