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 Object
CloneNotSupportedException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2014 The Apache Software Foundation