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 |
---|---|
DoubleValue |
getPageRankScore()
Get the PageRank score.
|
int |
hashCode() |
void |
setPageRankScore(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, translate
public static final int HASH_SEED
public DoubleValue getPageRankScore()
public void setPageRankScore(DoubleValue pageRankScore)
pageRankScore
- the PageRank scorepublic String toString()
ResultBase
Object.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 ResultBase
public String toPrintableString()
PrintableResult
toPrintableString
in interface PrintableResult
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.