T
- ID typepublic static class TriangleListing.Result<T> extends org.apache.flink.api.java.tuple.Tuple4<T,T,T,org.apache.flink.types.ByteValue> implements PrintableResult, TertiaryResult<T>
Tuple4
to encapsulate results from the directed Triangle Listing algorithm.Constructor and Description |
---|
Result()
No-args constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.flink.types.ByteValue |
getBitmask()
Get the bitmask indicating the presence of the six potential
connecting edges.
|
T |
getVertexId0()
Get the first vertex ID.
|
T |
getVertexId1()
Get the second vertex ID.
|
T |
getVertexId2()
Get the third vertex ID.
|
void |
setVertexId0(T value)
Set the first vertex ID.
|
void |
setVertexId1(T value)
Set the second vertex ID.
|
void |
setVertexId2(T value)
Set the third vertex ID.
|
String |
toPrintableString()
Format values into a human-readable string.
|
public T getVertexId0()
TertiaryResult
getVertexId0
in interface TertiaryResult<T>
public void setVertexId0(T value)
TertiaryResult
setVertexId0
in interface TertiaryResult<T>
value
- new vertex IDpublic T getVertexId1()
TertiaryResult
getVertexId1
in interface TertiaryResult<T>
public void setVertexId1(T value)
TertiaryResult
setVertexId1
in interface TertiaryResult<T>
value
- new vertex IDpublic T getVertexId2()
TertiaryResult
getVertexId2
in interface TertiaryResult<T>
public void setVertexId2(T value)
TertiaryResult
setVertexId2
in interface TertiaryResult<T>
value
- new vertex IDpublic org.apache.flink.types.ByteValue getBitmask()
EdgeOrder
public String toPrintableString()
toPrintableString
in interface PrintableResult
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.