T - ID typepublic static class PageRank.Result<T> extends UnaryResultBase<T> implements PrintableResult
| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_SEED |
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.types.DoubleValue |
getPageRankScore()
Get the PageRank score.
|
int |
hashCode() |
void |
setPageRankScore(org.apache.flink.types.DoubleValue pageRankScore)
Set the PageRank score.
|
String |
toPrintableString()
A human-readable representation of this value.
|
String |
toString()
Object.toString() must be overridden to write POJO values in the
same form as Tuple. |
getVertexId0, setVertexId0, translatepublic static final int HASH_SEED
public org.apache.flink.types.DoubleValue getPageRankScore()
public void setPageRankScore(org.apache.flink.types.DoubleValue pageRankScore)
pageRankScore - the PageRank scorepublic String toString()
ResultBaseObject.toString() must be overridden to write POJO values in the
same form as Tuple. Values are
comma-separated and enclosed in parenthesis, e.g. "(f0,f1)".toString in class ResultBasepublic String toPrintableString()
PrintableResulttoPrintableString in interface PrintableResultCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.