[TOC]
org.apache.nutch.scoring.webgraph
Class Loops.Route
- java.lang.Object
- org.apache.nutch.scoring.webgraph.Loops.Route
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
- Enclosing class:
- Loops
public static class Loops.Route extends Object implements org.apache.hadoop.io.Writable
A link path or route looking to identify a link cycle.
Constructor Summary
Constructors Constructor and Description Loops.Route()
Method Summary
Methods Modifier and Type Method and Description String
getLookingFor()
String
getOutlinkUrl()
boolean
isFound()
void
readFields(DataInput in)
void
setFound(boolean found)
void
setLookingFor(String lookingFor)
void
setOutlinkUrl(String outlinkUrl)
void
write(DataOutput out)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
-
Loops.Route
public Loops.Route()
Method Detail
-
getOutlinkUrl
public String getOutlinkUrl()
-
setOutlinkUrl
public void setOutlinkUrl(String outlinkUrl)
-
getLookingFor
public String getLookingFor()
-
setLookingFor
public void setLookingFor(String lookingFor)
-
isFound
public boolean isFound()
-
setFound
public void setFound(boolean found)
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
- <code>readFields</code> in interface <code>org.apache.hadoop.io.Writable</code>
- Throws:
- <code>IOException</code>
-
write
public void write(DataOutput out) throws IOException
- Specified by:
- <code>write</code> in interface <code>org.apache.hadoop.io.Writable</code>
- Throws:
- <code>IOException</code>