Class ClusteringCoefficientOutput
- java.lang.Object
-
- org.apache.hugegraph.computer.core.output.AbstractComputerOutput
-
- org.apache.hugegraph.computer.core.output.hg.HugeGraphOutput<java.lang.Float>
-
- org.apache.hugegraph.computer.algorithm.community.cc.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)
-
-
Constructor Summary
Constructors Constructor Description ClusteringCoefficientOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.hugegraph.structure.graph.VertexconstructHugeVertex(org.apache.hugegraph.computer.core.graph.vertex.Vertex vertex)java.lang.Stringname()voidprepareSchema()-
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
-
-
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
namein interfaceorg.apache.hugegraph.computer.core.output.ComputerOutput- Overrides:
namein classorg.apache.hugegraph.computer.core.output.AbstractComputerOutput
-
prepareSchema
public void prepareSchema()
- Specified by:
prepareSchemain classorg.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:
constructHugeVertexin classorg.apache.hugegraph.computer.core.output.hg.HugeGraphOutput<java.lang.Float>
-
-