|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.nutch.fs.NDFSClient
NDFSClient does what's necessary to connect to a Nutch Filesystem and perform basic file tasks.
Field Summary |
Constructor Summary | |
NDFSClient(InetSocketAddress namenode)
|
Method Summary | |
OutputStream |
create(UTF8 src)
Create an output stream that writes to all the right places. |
boolean |
delete(UTF8 src)
Make a direct connection to namenode and manipulate structures there. |
UTF8[] |
listing(UTF8 src)
|
InputStream |
open(UTF8 src)
Create an input stream that obtains a nodelist from the namenode, and then reads from all the right places. |
boolean |
rename(UTF8 src,
UTF8 dst)
Make a direct connection to namenode and manipulate structures there. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NDFSClient(InetSocketAddress namenode)
Method Detail |
public InputStream open(UTF8 src) throws IOException
IOException
public OutputStream create(UTF8 src) throws IOException
IOException
public boolean rename(UTF8 src, UTF8 dst) throws IOException
IOException
public boolean delete(UTF8 src) throws IOException
IOException
public UTF8[] listing(UTF8 src) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |