public class NutchField extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
NutchField() |
NutchField(Object value) |
NutchField(Object value,
float weight) |
public NutchField()
public NutchField(Object value)
public NutchField(Object value, float weight)
public void add(Object value)
public float getWeight()
public void setWeight(float weight)
public void reset()
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2014 The Apache Software Foundation