public class Loops extends Configured implements Tool
| Modifier and Type | Class and Description |
|---|---|
static class |
Loops.Finalizer
Finishes the Loops job by aggregating and collecting and found routes.
|
static class |
Loops.Initializer
Initializes the Loop routes.
|
static class |
Loops.Looper
Follows a route path looking for the start url of the route.
|
static class |
Loops.LoopSet
A set of loops.
|
static class |
Loops.Route
A link path or route looking to identify a link cycle.
|
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
static String |
LOOPS_DIR |
static String |
ROUTES_DIR |
| Constructor and Description |
|---|
Loops() |
| Modifier and Type | Method and Description |
|---|---|
void |
findLoops(Path webGraphDb)
Runs the various loop jobs.
|
static void |
main(String[] args) |
int |
run(String[] args)
Runs the Loops tool.
|
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic static final org.slf4j.Logger LOG
public static final String LOOPS_DIR
public static final String ROUTES_DIR
public void findLoops(Path webGraphDb) throws IOException
IOExceptionCopyright © 2012 The Apache Software Foundation