public class CompleteGraph.LinkVertexToAll extends Object implements FlatMapFunction<LongValue,Edge<LongValue,NullValue>>
Constructor and Description |
---|
LinkVertexToAll(long vertex_count) |
Modifier and Type | Method and Description |
---|---|
void |
flatMap(LongValue source,
Collector<Edge<LongValue,NullValue>> out)
The core method of the FlatMapFunction.
|
public void flatMap(LongValue source, Collector<Edge<LongValue,NullValue>> out) throws Exception
FlatMapFunction
flatMap
in interface FlatMapFunction<LongValue,Edge<LongValue,NullValue>>
source
- The input value.out
- The collector for returning result values.Exception
- This method may throw exceptions. Throwing an exception will cause the operation
to fail and may trigger recovery.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.