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.fs   
net.nutch.io Generic i/o code for use when reading and writing data to the network, to databases, and to files. 
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.fs
 

Methods in net.nutch.fs that return UTF8
 UTF8[] NDFSClient.listing(UTF8 src)
           
 UTF8 HeartbeatData.getName()
           
 UTF8 HeartbeatData.getMachineName()
           
 UTF8[] FSDirectory.getListing(UTF8 src)
          Get a listing of files given path 'src' This function is admittedly very inefficient right now.
 UTF8 DatanodeInfo.getName()
           
 UTF8 DatanodeInfo.getMachineName()
           
 

Methods in net.nutch.fs with parameters of type UTF8
 InputStream NDFSClient.open(UTF8 src)
          Create an input stream that obtains a nodelist from the namenode, and then reads from all the right places.
 OutputStream NDFSClient.create(UTF8 src)
          Create an output stream that writes to all the right places.
 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.
 UTF8[] NDFSClient.listing(UTF8 src)
           
 Object[] FSNamesystem.open(UTF8 src)
          The client wants to open the given filename.
 Object[] FSNamesystem.startFile(UTF8 src)
          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).
 int FSNamesystem.completeFile(UTF8 src)
          Finalize the created file and make it world-accessible.
 boolean FSNamesystem.renameTo(UTF8 src, UTF8 dst)
          Change the indicated filename.
 Object[] FSNamesystem.getListing(UTF8 src)
          Get a listing of all files at 'src'.
 boolean FSNamesystem.delete(UTF8 src)
          Remove the indicated filename from the namespace.
 void FSNamesystem.gotHeartbeat(UTF8 name, UTF8 machineName, int port, 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.
 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
 UTF8[] 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
 

Constructors in net.nutch.fs with parameters of type UTF8
DatanodeInfo(UTF8 name)
           
DatanodeInfo(UTF8 name, UTF8 machineName, int port, long capacity, long remaining)
           
 

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.pagedb
 

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



Copyright © 2004 The Nutch Organization.