uk.ac.starlink.ttools.task
Class SingleMapperTask

java.lang.Object
  extended by uk.ac.starlink.ttools.task.ConsumerTask
      extended by uk.ac.starlink.ttools.task.SingleMapperTask
All Implemented Interfaces:
uk.ac.starlink.task.Task
Direct Known Subclasses:
CdsUploadSkyMatch, PixFootprint, SkyConeMatch2, SkyDensityMap, TableCube, TableMatch1, TablePipe, TapUploadSkyMatch

public abstract class SingleMapperTask
extends ConsumerTask

MapperTask which has a single input table.

Since:
14 Sep 2006
Author:
Mark Taylor

Constructor Summary
SingleMapperTask(String purpose, ProcessingMode outMode, boolean useOutFilter, boolean useInFilter)
          Constructor.
 
Method Summary
protected  TableProducer createInputProducer(uk.ac.starlink.task.Environment env)
          Returns an object provides which provides the (possibly filtered) input table.
 
Methods inherited from class uk.ac.starlink.ttools.task.ConsumerTask
createExecutable, createProducer, createProducer, getOutputMode, getParameterList, getParameters, getPurpose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleMapperTask

public SingleMapperTask(String purpose,
                        ProcessingMode outMode,
                        boolean useOutFilter,
                        boolean useInFilter)
Constructor.

Parameters:
purpose - one-line description of the purpose of the task
outMode - processing mode which determines the destination of the processed table
useOutFilter - allow specification of filters for output table
useInFilter - allow specification of filters for input table
Method Detail

createInputProducer

protected TableProducer createInputProducer(uk.ac.starlink.task.Environment env)
                                     throws uk.ac.starlink.task.TaskException
Returns an object provides which provides the (possibly filtered) input table.

Parameters:
env - execution environment
Returns:
input table producer
Throws:
uk.ac.starlink.task.TaskException


Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.