[TOC]
org.apache.nutch.crawl
Class Signature
- java.lang.Object
- org.apache.nutch.crawl.Signature
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable
- Direct Known Subclasses:
- MD5Signature, TextProfileSignature
public abstract class Signature extends Object implements org.apache.hadoop.conf.Configurable
Field Summary
Fields Modifier and Type Field and Description protected org.apache.hadoop.conf.Configuration
conf
Constructor Summary
Constructors Constructor and Description Signature()
Method Summary
Methods Modifier and Type Method and Description abstract byte[]
calculate(Content content,
Parse parse)
org.apache.hadoop.conf.Configuration
getConf()
void
setConf(org.apache.hadoop.conf.Configuration conf)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
-
conf
protected org.apache.hadoop.conf.Configuration conf
Constructor Detail
-
Signature
public Signature()
Method Detail
-
calculate
public abstract byte[] calculate(Content content, Parse parse)
-
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
- <code>getConf</code> in interface <code>org.apache.hadoop.conf.Configurable</code>
-
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
- <code>setConf</code> in interface <code>org.apache.hadoop.conf.Configurable</code>