Save This Page
Home » nutch-1.0 » org.apache.nutch » searcher » [javadoc | source]
org.apache.nutch.searcher
public class: FetchedSegments [javadoc | source]
java.lang.Object
   org.apache.nutch.searcher.FetchedSegments

All Implemented Interfaces:
    RPCSegmentBean

Implements HitSummarizer and HitContent for a set of fetched segments.
Field Summary
public static final  long VERSION     
Constructor:
 public FetchedSegments(Configuration conf,
    Path segmentsDir) throws IOException 
    Construct given a directory containing fetcher output.
Method from org.apache.nutch.searcher.FetchedSegments Summary:
close,   getContent,   getFetchDate,   getParseData,   getParseText,   getProtocolVersion,   getSegmentNames,   getSummary,   getSummary
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.nutch.searcher.FetchedSegments Detail:
 public  void close() throws IOException 
 public byte[] getContent(HitDetails details) throws IOException 
 public long getFetchDate(HitDetails details) throws IOException 
 public ParseData getParseData(HitDetails details) throws IOException 
 public ParseText getParseText(HitDetails details) throws IOException 
 public long getProtocolVersion(String protocol,
    long clientVersion) throws IOException 
 public String[] getSegmentNames() 
 public Summary getSummary(HitDetails details,
    Query query) throws IOException 
 public Summary[] getSummary(HitDetails[] details,
    Query query) throws IOException