public static class GeneratorJob.SelectorEntry extends Object implements WritableComparable<GeneratorJob.SelectorEntry>
Constructor and Description |
---|
GeneratorJob.SelectorEntry() |
GeneratorJob.SelectorEntry(String url,
float score) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(GeneratorJob.SelectorEntry se) |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
set(String url,
float score)
Sets url with score on this writable.
|
void |
write(DataOutput out) |
public GeneratorJob.SelectorEntry()
public GeneratorJob.SelectorEntry(String url, float score)
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 int compareTo(GeneratorJob.SelectorEntry se)
compareTo
in interface Comparable<GeneratorJob.SelectorEntry>
public void set(String url, float score)
url
- score
- Copyright © 2015 The Apache Software Foundation