Save This Page
Home » nutch-1.0 » org.apache.nutch » segment » [javadoc | source]
org.apache.nutch.segment
public class: SegmentReader [javadoc | source]
java.lang.Object
   org.apache.hadoop.conf.Configured
      org.apache.nutch.segment.SegmentReader

All Implemented Interfaces:
    org.apache.hadoop.mapred.Reducer

Dump the content of a segment.
Nested Class Summary:
public static class  SegmentReader.InputCompatMapper   
public static class  SegmentReader.TextOutputFormat  Implements a text output format 
public static class  SegmentReader.SegmentReaderStats   
Field Summary
public static final  Log LOG     
 long recNo     
 SimpleDateFormat sdf     
Constructor:
 public SegmentReader() 
 public SegmentReader(Configuration conf,
    boolean co,
    boolean fe,
    boolean ge,
    boolean pa,
    boolean pd,
    boolean pt) 
Method from org.apache.nutch.segment.SegmentReader Summary:
close,   configure,   dump,   get,   getStats,   list,   main,   reduce
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.nutch.segment.SegmentReader Detail:
 public  void close() 
 public  void configure(JobConf job) 
 public  void dump(Path segment,
    Path output) throws IOException 
 public  void get(Path segment,
    Text key,
    Writer writer,
    Map results) throws Exception 
 public  void getStats(Path segment,
    SegmentReader.SegmentReaderStats stats) throws Exception 
 public  void list(List dirs,
    Writer writer) throws Exception 
 public static  void main(String[] args) throws Exception 
 public  void reduce(Text key,
    Iterator values,
    OutputCollector output,
    Reporter reporter) throws IOException