Class ClusteringCoefficientOutput

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

    public class ClusteringCoefficientOutput
    extends org.apache.hugegraph.computer.core.output.hg.HugeGraphOutput<java.lang.Float>
    Offer 2 ways to output: write-back + hdfs-file(TODO)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.hugegraph.structure.graph.Vertex constructHugeVertex​(org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex)  
      java.lang.String name()  
      void prepareSchema()  
      • Methods inherited from class org.apache.hugegraph.computer.core.output.hg.HugeGraphOutput

        client, close, commit, init, value, write, writeType
      • Methods inherited from class org.apache.hugegraph.computer.core.output.AbstractComputerOutput

        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

      • ClusteringCoefficientOutput

        public ClusteringCoefficientOutput()
    • Method Detail

      • name

        public java.lang.String name()
        Specified by:
        name in interface org.apache.hugegraph.computer.core.output.ComputerOutput
        Overrides:
        name in class org.apache.hugegraph.computer.core.output.AbstractComputerOutput
      • prepareSchema

        public void prepareSchema()
        Specified by:
        prepareSchema in class org.apache.hugegraph.computer.core.output.hg.HugeGraphOutput<java.lang.Float>
      • constructHugeVertex

        protected org.apache.hugegraph.structure.graph.Vertex constructHugeVertex​(org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex)
        Overrides:
        constructHugeVertex in class org.apache.hugegraph.computer.core.output.hg.HugeGraphOutput<java.lang.Float>