|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.conf.Configured org.apache.nutch.scoring.webgraph.NodeReader
public class NodeReader
Reads and prints to system out information for a single node from the NodeDb in the WebGraph.
Constructor Summary | |
---|---|
NodeReader()
|
|
NodeReader(Configuration conf)
|
Method Summary | |
---|---|
void |
dumpUrl(Path webGraphDb,
String url)
Prints the content of the Node represented by the url to system out. |
static void |
main(String[] args)
Runs the NodeReader tool. |
Methods inherited from class org.apache.hadoop.conf.Configured |
---|
getConf, setConf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeReader()
public NodeReader(Configuration conf)
Method Detail |
---|
public void dumpUrl(Path webGraphDb, String url) throws IOException
webGraphDb
- The webgraph from which to get the node.url
- The url of the node.
IOException
- If an error occurs while getting the node.public static void main(String[] args) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |