Class MessageInput<T extends org.apache.hugegraph.computer.core.graph.value.Value>


  • public class MessageInput<T extends org.apache.hugegraph.computer.core.graph.value.Value>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageInput​(org.apache.hugegraph.computer.core.common.ComputerContext context, PeekableIterator<KvEntry> messages)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.util.Iterator<T> iterator​(ReusablePointer vidPointer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MessageInput

        public MessageInput​(org.apache.hugegraph.computer.core.common.ComputerContext context,
                            PeekableIterator<KvEntry> messages)
    • Method Detail

      • iterator

        public java.util.Iterator<T> iterator​(ReusablePointer vidPointer)
      • close

        public void close()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception