Class EnumTrianglesDataTypes.Edge
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- EnumTrianglesDataTypes
public static class EnumTrianglesDataTypes.Edge extends org.apache.flink.api.java.tuple.Tuple2<Integer,Integer>
A POJO storing two vertex IDs.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyVerticesFromEdgeWithDegrees(EnumTrianglesDataTypes.EdgeWithDegrees ewd)voidcopyVerticesFromTuple2(org.apache.flink.api.java.tuple.Tuple2<Integer,Integer> t)voidflipVertices()IntegergetFirstVertex()IntegergetSecondVertex()voidsetFirstVertex(Integer vertex1)voidsetSecondVertex(Integer vertex2)-
Methods inherited from class org.apache.flink.api.java.tuple.Tuple2
copy, equals, getArity, getField, hashCode, of, setField, setFields, swap, toString
-
-
-
-
Field Detail
-
V1
public static final int V1
- See Also:
- Constant Field Values
-
V2
public static final int V2
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFirstVertex
public Integer getFirstVertex()
-
getSecondVertex
public Integer getSecondVertex()
-
setFirstVertex
public void setFirstVertex(Integer vertex1)
-
setSecondVertex
public void setSecondVertex(Integer vertex2)
-
copyVerticesFromTuple2
public void copyVerticesFromTuple2(org.apache.flink.api.java.tuple.Tuple2<Integer,Integer> t)
-
copyVerticesFromEdgeWithDegrees
public void copyVerticesFromEdgeWithDegrees(EnumTrianglesDataTypes.EdgeWithDegrees ewd)
-
flipVertices
public void flipVertices()
-
-