Package uk.ac.starlink.ttools.task
Class SingleMapperTask
- java.lang.Object
-
- uk.ac.starlink.ttools.task.ConsumerTask
-
- 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
Constructors Constructor Description SingleMapperTask(java.lang.String purpose, ProcessingMode outMode, boolean useOutFilter, boolean useInFilter)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, getIdentity, getOutputMode, getParameterList, getParameters, getPurpose
-
-
-
-
Constructor Detail
-
SingleMapperTask
public SingleMapperTask(java.lang.String purpose, ProcessingMode outMode, boolean useOutFilter, boolean useInFilter)
Constructor.- Parameters:
purpose
- one-line description of the purpose of the taskoutMode
- processing mode which determines the destination of the processed tableuseOutFilter
- allow specification of filters for output tableuseInFilter
- 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
-
-