public static class EnumTriangles.TupleEdgeConverter extends Object implements MapFunction<Tuple2<Integer,Integer>,EnumTrianglesDataTypes.Edge>
Constructor and Description |
---|
TupleEdgeConverter() |
Modifier and Type | Method and Description |
---|---|
EnumTrianglesDataTypes.Edge |
map(Tuple2<Integer,Integer> t)
The mapping method.
|
public EnumTrianglesDataTypes.Edge map(Tuple2<Integer,Integer> t) throws Exception
MapFunction
map
in interface MapFunction<Tuple2<Integer,Integer>,EnumTrianglesDataTypes.Edge>
t
- The input value.Exception
- This method may throw exceptions. Throwing an exception will cause the
operation to fail and may trigger recovery.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.