public static class EnumTriangles.TriadBuilder extends Object implements GroupReduceFunction<EnumTriangles.Edge,EnumTriangles.Triad>
Constructor and Description |
---|
TriadBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
reduce(Iterable<EnumTriangles.Edge> edges,
Collector<EnumTriangles.Triad> out)
The reduce method.
|
scala.collection.mutable.MutableList<Integer> |
vertices() |
public scala.collection.mutable.MutableList<Integer> vertices()
public void reduce(Iterable<EnumTriangles.Edge> edges, Collector<EnumTriangles.Triad> out)
GroupReduceFunction
reduce
in interface GroupReduceFunction<EnumTriangles.Edge,EnumTriangles.Triad>
edges
- All records that belong to the given input key.out
- The collector to hand results to.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.