org.apache.nutch.indexer.field
Class FieldsWritable

java.lang.Object
  extended by 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.


Constructor Summary
FieldsWritable()
           
 
Method Summary
 FieldWritable getField(String name)
           
 List<FieldWritable> getFields(String name)
           
 List<FieldWritable> getFieldsList()
           
 boolean hasField(String name)
           
 void readFields(DataInput in)
           
 void setFieldsList(List<FieldWritable> fieldsList)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldsWritable

public FieldsWritable()
Method Detail

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