public class LinkRank extends Configured implements Tool
| Constructor and Description |
|---|
LinkRank()
Default constructor.
|
LinkRank(Configuration conf)
Configurable constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(Path webGraphDb)
Runs the complete link analysis job.
|
void |
close() |
static void |
main(java.lang.String[] args) |
int |
run(java.lang.String[] args)
Runs the LinkRank tool.
|
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic LinkRank()
public LinkRank(Configuration conf)
public void close()
public void analyze(Path webGraphDb) throws java.io.IOException, java.lang.ClassNotFoundException, java.lang.InterruptedException
webGraphDb - The WebGraph to run link analysis on.java.io.IOException - If an error occurs during link analysis.java.lang.ClassNotFoundExceptionjava.lang.InterruptedExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2019 The Apache Software Foundation