org.apache.nutch.indexer.field
Class FieldsWritable
java.lang.Object
org.apache.nutch.indexer.field.FieldsWritable
- All Implemented Interfaces:
- Writable
public class FieldsWritable
- extends Object
- implements Writable
A class that holds a grouping of FieldWritable objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldsWritable
public FieldsWritable()
hasField
public boolean hasField(String name)
getField
public FieldWritable getField(String name)
getFields
public List<FieldWritable> getFields(String name)
getFieldsList
public List<FieldWritable> getFieldsList()
setFieldsList
public void setFieldsList(List<FieldWritable> fieldsList)
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface Writable
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface Writable
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation