public class NodeReader extends Configured
Constructor and Description |
---|
NodeReader() |
NodeReader(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
dumpUrl(Path webGraphDb,
java.lang.String url)
Prints the content of the Node represented by the url to system out.
|
static void |
main(java.lang.String[] args)
Runs the NodeReader tool.
|
getConf, setConf
public NodeReader()
public NodeReader(Configuration conf)
public void dumpUrl(Path webGraphDb, java.lang.String url) throws java.io.IOException
webGraphDb
- The webgraph from which to get the node.url
- The url of the node.java.io.IOException
- If an error occurs while getting the node.public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 2019 The Apache Software Foundation