uk.ac.starlink.ttools.task
Class FixedMapperTask
java.lang.Object
uk.ac.starlink.ttools.task.ConsumerTask
uk.ac.starlink.ttools.task.MapperTask
uk.ac.starlink.ttools.task.FixedMapperTask
- All Implemented Interfaces:
- uk.ac.starlink.task.Task
- Direct Known Subclasses:
- SkyMatch2, TableCat2, TableMatch2
public class FixedMapperTask
- extends MapperTask
MapperTask which has a fixed number of input tables.
Each input table gets its own numbered table parameter and (if requested)
filter parameter - in1, in2, in3, ... and icmd1, icmd2, icmd3, ...
- Since:
- 14 Sep 2006
- Author:
- Mark Taylor
Method Summary |
protected InputTableSpec[] |
getInputSpecs(uk.ac.starlink.task.Environment env)
Returns an array of InputTableSpec objects describing the input tables
used by this task. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedMapperTask
public FixedMapperTask(String purpose,
ProcessingMode outMode,
boolean useOutFilter,
TableMapper mapper,
int nIn,
boolean useInFilters)
- 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 tablemapper
- object which defines mapping transformationnIn
- number of input tablesuseInFilters
- whether to use input filter parameters
getInputSpecs
protected InputTableSpec[] getInputSpecs(uk.ac.starlink.task.Environment env)
throws uk.ac.starlink.task.TaskException
- Description copied from class:
MapperTask
- Returns an array of InputTableSpec objects describing the input tables
used by this task.
- Specified by:
getInputSpecs
in class MapperTask
- Parameters:
env
- execution environment
- Returns:
- input table specifiers
- Throws:
uk.ac.starlink.task.TaskException
Copyright © 2009 Central Laboratory of the Research Councils. All Rights Reserved.