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:
ArrayJoin,CdsUploadSkyMatch,GridDensityMap,PixFootprint,SkyConeMatch2,SkyDensityMap,TableCube,TableGroup,TableMatch1,TablePipe,TapUploadSkyMatch
MapperTask which has a single input table.
- Since:
- 14 Sep 2006
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionSingleMapperTask(String purpose, ProcessingMode outMode, boolean useOutFilter, boolean useInFilter) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected TableProducercreateInputProducer(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 Details
-
SingleMapperTask
public SingleMapperTask(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 Details
-
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
-