Constructor and Description |
---|
ScoreDatum() |
ScoreDatum(float score,
String url,
String anchor,
int depth) |
Modifier and Type | Method and Description |
---|---|
byte[] |
deleteMeta(String key) |
String |
getAnchor() |
int |
getDistance() |
byte[] |
getMeta(String key) |
float |
getScore() |
String |
getUrl() |
void |
readFields(DataInput in) |
void |
setMeta(String key,
byte[] value) |
void |
setScore(float score) |
void |
setUrl(String url) |
String |
toString() |
void |
write(DataOutput out) |
public void readFields(DataInput in) throws IOException
readFields
in interface Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface Writable
IOException
public byte[] getMeta(String key)
public void setMeta(String key, byte[] value)
public byte[] deleteMeta(String key)
public float getScore()
public void setScore(float score)
public String getUrl()
public void setUrl(String url)
public String getAnchor()
public int getDistance()
Copyright © 2015 The Apache Software Foundation