Class AbstractPointerCombiner<T extends org.apache.hugegraph.computer.core.io.Readable & org.apache.hugegraph.computer.core.io.Writable>
- java.lang.Object
-
- org.apache.hugegraph.computer.core.combiner.AbstractPointerCombiner<T>
-
- All Implemented Interfaces:
PointerCombiner
- Direct Known Subclasses:
EdgeValueCombiner,MessageValueCombiner,VertexValueCombiner
public abstract class AbstractPointerCombiner<T extends org.apache.hugegraph.computer.core.io.Readable & org.apache.hugegraph.computer.core.io.Writable> extends java.lang.Object implements PointerCombiner
-
-
Constructor Summary
Constructors Constructor Description AbstractPointerCombiner(java.util.function.Supplier<T> supplier, org.apache.hugegraph.computer.core.combiner.Combiner<T> combiner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pointercombine(Pointer v1, Pointer v2)
-
-
-
Field Detail
-
v1
protected T extends org.apache.hugegraph.computer.core.io.Readable & org.apache.hugegraph.computer.core.io.Writable v1
-
v2
protected T extends org.apache.hugegraph.computer.core.io.Readable & org.apache.hugegraph.computer.core.io.Writable v2
-
result
protected T extends org.apache.hugegraph.computer.core.io.Readable & org.apache.hugegraph.computer.core.io.Writable result
-
combiner
protected org.apache.hugegraph.computer.core.combiner.Combiner<T extends org.apache.hugegraph.computer.core.io.Readable & org.apache.hugegraph.computer.core.io.Writable> combiner
-
output
protected org.apache.hugegraph.computer.core.io.BytesOutput output
-
-
Method Detail
-
combine
public Pointer combine(Pointer v1, Pointer v2)
- Specified by:
combinein interfacePointerCombiner
-
-