T
- ID typepublic static class HITS.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 |
getAuthorityScore()
Get the authority score.
|
DoubleValue |
getHubScore()
Get the hub score.
|
int |
hashCode() |
void |
setAuthorityScore(DoubleValue authorityScore)
Set the authority score.
|
void |
setHubScore(DoubleValue hubScore)
Set the hub 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 getHubScore()
public void setHubScore(DoubleValue hubScore)
hubScore
- the hub scorepublic DoubleValue getAuthorityScore()
public void setAuthorityScore(DoubleValue authorityScore)
authorityScore
- the authority 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–2018 The Apache Software Foundation. All rights reserved.