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, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public 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.ClassNotFoundException
java.lang.InterruptedException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 2019 The Apache Software Foundation