org.apache.nutch.mapReduce
Class JobProfile
java.lang.Object
org.apache.nutch.mapReduce.JobProfile
- All Implemented Interfaces:
- Writable
- public class JobProfile
- extends Object
- implements Writable
A JobProfile is a MapReduce primitive. Tracks a job,
whether living or dead.
- Author:
- Mike Cafarella
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobProfile
public JobProfile()
JobProfile
public JobProfile(String jobid,
String jobFile,
String url)
getJobId
public String getJobId()
getJobFile
public String getJobFile()
getURL
public URL getURL()
write
public void write(DataOutput out)
throws IOException
- Description copied from interface:
Writable
- Writes the fields of this object to
out
.
- Specified by:
write
in interface Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Description copied from interface:
Writable
- Reads the fields of this object from
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
- Specified by:
readFields
in interface Writable
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation