uk.ac.starlink.ttools.task
Class HomogeneousMapperTask
java.lang.Object
uk.ac.starlink.ttools.task.ConsumerTask
uk.ac.starlink.ttools.task.MapperTask
uk.ac.starlink.ttools.task.HomogeneousMapperTask
- All Implemented Interfaces:
- uk.ac.starlink.task.Task
- Direct Known Subclasses:
- TableCat
public class HomogeneousMapperTask
- extends MapperTask
MapperTask which has a variable number of input tables,
treating them all the same as each other.
A single, possibly repeated, parameter is used to specify any
number of input tables, and a single (not repeated) filter
parameter is used to specify a processing pipeline which operates
identically on all the inputs.
- Since:
- 14 Sep 2006
- Author:
- Mark Taylor
Method Summary |
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 |
inTablesParam_
public InputTablesParameter inTablesParam_
inFilterParam_
public FilterParameter inFilterParam_
HomogeneousMapperTask
public HomogeneousMapperTask(String purpose,
ProcessingMode outMode,
boolean useOutFilter,
TableMapper mapper,
boolean useInFilter)
- Constructor.
- Parameters:
purpose
- one-line description of the purpose of the taskoutMode
- output modeuseOutFilter
- whether a postprocessing filter is permittedmapper
- table mapperuseInFilter
- whether preprocessing filters are permitted
getInputSpecs
public 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.