org.apache.nutch.searcher
Class LinkDbInlinks

java.lang.Object
  extended by org.apache.nutch.searcher.LinkDbInlinks
All Implemented Interfaces:
Closeable, HitInlinks

public class LinkDbInlinks
extends Object
implements HitInlinks


Constructor Summary
LinkDbInlinks(FileSystem fs, Path dir, Configuration conf)
           
 
Method Summary
 void close()
           
 String[] getAnchors(HitDetails details)
          Returns the anchors of a hit document.
 Inlinks getInlinks(HitDetails details)
          Return the inlinks of a hit document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkDbInlinks

public LinkDbInlinks(FileSystem fs,
                     Path dir,
                     Configuration conf)
Method Detail

getAnchors

public String[] getAnchors(HitDetails details)
                    throws IOException
Description copied from interface: HitInlinks
Returns the anchors of a hit document.

Specified by:
getAnchors in interface HitInlinks
Throws:
IOException

getInlinks

public Inlinks getInlinks(HitDetails details)
                   throws IOException
Description copied from interface: HitInlinks
Return the inlinks of a hit document.

Specified by:
getInlinks in interface HitInlinks
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2006 The Apache Software Foundation