Uses of Class
net.nutch.io.UTF8

Packages that use UTF8
net.nutch.db Web database: tracks page fetches and link structure. 
net.nutch.fetcher The Nutch robot. 
net.nutch.io Generic i/o code for use when reading and writing data to the network, to databases, and to files. 
net.nutch.ndfs   
net.nutch.pagedb   
 

Uses of UTF8 in net.nutch.db
 

Methods in net.nutch.db that return UTF8
 UTF8 Link.getURL()
           
 UTF8 Link.getAnchorText()
           
 UTF8 Page.getURL()
           
 

Methods in net.nutch.db with parameters of type UTF8
 Link[] WebDBReader.getLinks(UTF8 url)
          Get all the hyperlinks that link TO the indicated URL.
 Link[] IWebDBReader.getLinks(UTF8 url)
          Return any Link objects that point to the given URL.
 Link[] DistributedWebDBReader.getLinks(UTF8 url)
          Get all the hyperlinks that link TO the indicated URL.
 Page DBSectionReader.getPage(UTF8 url, Page p)
          Fetch a Page with the given URL, and fill it into the pre-allocated Page 'p'.
 Vector DBSectionReader.getLinks(UTF8 url)
          Get all the hyperlinks that link TO the indicated URL.
 

Uses of UTF8 in net.nutch.fetcher
 

Methods in net.nutch.fetcher that return UTF8
 UTF8 FetcherOutput.getUrl()
           
 

Uses of UTF8 in net.nutch.io
 

Methods in net.nutch.io with parameters of type UTF8
 void UTF8.set(UTF8 other)
          Set to contain the contents of a string.
static MD5Hash MD5Hash.digest(UTF8 utf8)
          Construct a hash value for a String.
 

Constructors in net.nutch.io with parameters of type UTF8
UTF8(UTF8 utf8)
          Construct from a given string.
 

Uses of UTF8 in net.nutch.ndfs
 

Methods in net.nutch.ndfs that return UTF8
 UTF8 HeartbeatData.getName()
           
 UTF8 DatanodeInfo.getName()
           
 

Methods in net.nutch.ndfs with parameters of type UTF8
 Object[] FSNamesystem.open(UTF8 src)
          The client wants to open the given filename.
 Object[] FSNamesystem.startFile(UTF8 src, UTF8 holder, boolean overwrite)
          The client would like to create a new block for the indicated filename.
 Object[] FSNamesystem.getAdditionalBlock(UTF8 src)
          The client would like to obtain an additional block for the indicated filename (which is being written-to).
 boolean FSNamesystem.abandonBlock(Block b, UTF8 src)
          The client would like to let go of the given block
 int FSNamesystem.completeFile(UTF8 src, UTF8 holder)
          Finalize the created file and make it world-accessible.
 boolean FSNamesystem.renameTo(UTF8 src, UTF8 dst)
          Change the indicated filename.
 boolean FSNamesystem.delete(UTF8 src)
          Remove the indicated filename from the namespace.
 boolean FSNamesystem.exists(UTF8 src)
          Return whether the given filename exists
 boolean FSNamesystem.isDir(UTF8 src)
          Whether the given name is a directory
 boolean FSNamesystem.mkdirs(UTF8 src)
          Create all the necessary directories
 int FSNamesystem.obtainLock(UTF8 src, UTF8 holder, boolean exclusive)
          Get a lock (perhaps exclusive) on the given file
 int FSNamesystem.releaseLock(UTF8 src, UTF8 holder)
          Release the lock on the given file
 void FSNamesystem.renewLease(UTF8 holder)
          Renew the lease(s) held by the given client
 NDFSFileInfo[] FSNamesystem.getListing(UTF8 src)
          Get a listing of all files at 'src'.
 void FSNamesystem.gotHeartbeat(UTF8 name, long capacity, long remaining)
          The given node has reported in.
 void FSNamesystem.processReport(Block[] newReport, UTF8 name)
          The given node is reporting all its blocks.
 void FSNamesystem.blockReceived(Block block, UTF8 name)
          The given node is reporting that it received a certain block.
 Block[] FSNamesystem.recentlyInvalidBlocks(UTF8 name)
          Return with a list of Blocks that should be invalidated at the given node.
 Block[] FSNamesystem.checkObsoleteBlocks(UTF8 name)
          If the node has not been checked in some time, go through its blocks and find which ones are neither valid nor pending.
 boolean FSDirectory.addFile(UTF8 src, Block[] blocks)
          Add the given filename to the fs.
 boolean FSDirectory.renameTo(UTF8 src, UTF8 dst)
          Change the filename
 Block[] FSDirectory.delete(UTF8 src)
          Remove the file from management, return blocks
 int FSDirectory.obtainLock(UTF8 src, UTF8 holder, boolean exclusive)
           
 int FSDirectory.releaseLock(UTF8 src, UTF8 holder)
           
 NDFSFileInfo[] FSDirectory.getListing(UTF8 src)
          Get a listing of files given path 'src' This function is admittedly very inefficient right now.
 Block[] FSDirectory.getFile(UTF8 src)
          Get the blocks associated with the file
 boolean FSDirectory.isValidToCreate(UTF8 src)
          Check whether the filepath could be created
 boolean FSDirectory.isDir(UTF8 src)
          Check whether it's a directory
 boolean FSDirectory.mkdirs(UTF8 src)
          Create the given directory and all its parent dirs.
 NFSInputStream NDFSClient.open(UTF8 src)
          Create an input stream that obtains a nodelist from the namenode, and then reads from all the right places.
 NFSOutputStream NDFSClient.create(UTF8 src)
          Create an output stream that writes to all the right places.
 NFSOutputStream NDFSClient.create(UTF8 src, boolean overwrite)
           
 boolean NDFSClient.rename(UTF8 src, UTF8 dst)
          Make a direct connection to namenode and manipulate structures there.
 boolean NDFSClient.delete(UTF8 src)
          Make a direct connection to namenode and manipulate structures there.
 boolean NDFSClient.exists(UTF8 src)
           
 boolean NDFSClient.isDirectory(UTF8 src)
           
 NDFSFileInfo[] NDFSClient.listFiles(UTF8 src)
           
 boolean NDFSClient.mkdirs(UTF8 src)
           
 void NDFSClient.lock(UTF8 src, boolean exclusive)
           
 void NDFSClient.release(UTF8 src)
           
 

Constructors in net.nutch.ndfs with parameters of type UTF8
DatanodeInfo(UTF8 name)
           
DatanodeInfo(UTF8 name, long capacity, long remaining)
           
NDFSFileInfo(UTF8 path, long len, long contentsLen, boolean isDir)
           
 

Uses of UTF8 in net.nutch.pagedb
 

Methods in net.nutch.pagedb that return UTF8
 UTF8 FetchListEntry.getUrl()
           
 



Copyright © 2005 The Nutch Organization.