Terrier IR Platform
2.2.1

uk.ac.gla.terrier.utility.io
Class HadoopPlugin.JobFactory

java.lang.Object
  extended by uk.ac.gla.terrier.utility.io.HadoopPlugin.JobFactory
Enclosing class:
HadoopPlugin

public abstract static class HadoopPlugin.JobFactory
extends java.lang.Object

a Job Factory is responsible for creating Terrier Map Reduce jobs. This should be used when requesting a Terrier map reduce job, as it adequately initialises the job, such that Terrier can run correctly.


Constructor Summary
HadoopPlugin.JobFactory()
           
 
Method Summary
abstract  void close()
          Finish with this job factory.
abstract  org.apache.hadoop.mapred.JobConf newJob()
          Make a new job
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HadoopPlugin.JobFactory

public HadoopPlugin.JobFactory()
Method Detail

newJob

public abstract org.apache.hadoop.mapred.JobConf newJob()
                                                 throws java.lang.Exception
Make a new job

Throws:
java.lang.Exception

close

public abstract void close()
Finish with this job factory. If the JobFactory was created using HOD, then the HOD job will also be ended


Terrier IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow