[TOC]
org.apache.nutch.crawl
Class Generator.SelectorEntry
- java.lang.Object
- org.apache.nutch.crawl.Generator.SelectorEntry
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
- Enclosing class:
- Generator
public static class Generator.SelectorEntry extends Object implements org.apache.hadoop.io.Writable
Field Summary
Fields Modifier and Type Field and Description CrawlDatum
datum
org.apache.hadoop.io.IntWritable
segnum
org.apache.hadoop.io.Text
url
Constructor Summary
Constructors Constructor and Description Generator.SelectorEntry()
Method Summary
Methods Modifier and Type Method and Description void
readFields(DataInput in)
String
toString()
void
write(DataOutput out)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Field Detail
-
url
public org.apache.hadoop.io.Text url
-
datum
public CrawlDatum datum
-
segnum
public org.apache.hadoop.io.IntWritable segnum
Constructor Detail
-
Generator.SelectorEntry
public Generator.SelectorEntry()
Method Detail
-
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>
-
toString
public String toString()
- Overrides:
- <code>toString</code> in class <code>Object</code>