Class LogOutput

  • All Implemented Interfaces:
    org.apache.hugegraph.computer.core.output.ComputerOutput

    public class LogOutput
    extends org.apache.hugegraph.computer.core.output.AbstractComputerOutput
    LogOutput print the computation result to log file. It can't be used on production environment. Be used for test or development only.
    • Constructor Summary

      Constructors 
      Constructor Description
      LogOutput()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void write​(org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex)  
      • Methods inherited from class org.apache.hugegraph.computer.core.output.AbstractComputerOutput

        init, name, partition
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.hugegraph.computer.core.output.ComputerOutput

        mergePartitions
    • Constructor Detail

      • LogOutput

        public LogOutput()
    • Method Detail

      • write

        public void write​(org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex)
      • close

        public void close()