public abstract class MapperTask extends ConsumerTask
TableMapper
object.Constructor and Description |
---|
MapperTask(java.lang.String purpose,
ProcessingMode outMode,
boolean useOutFilter,
TableMapper mapper,
TablesInput tablesInput)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TableProducer |
createProducer(uk.ac.starlink.task.Environment env)
Returns an object which can produce the effective output table which
will be consumed by this task.
|
TableMapper |
getMapper()
Returns this task's Mapper object.
|
TablesInput |
getTablesInput()
Returns the object used for acquiring input tables from the environment.
|
createExecutable, createProducer, getOutputMode, getParameterList, getParameters, getPurpose
public MapperTask(java.lang.String purpose, ProcessingMode outMode, boolean useOutFilter, TableMapper mapper, TablesInput tablesInput)
purpose
- one-line description of the taskoutMode
- processing mode which determines the destination of
the processed tableuseOutFilter
- allow specification of filters for output tablemapper
- object which defines mapping transformationtablesInput
- object which can acquire multiple input tables
from the environmentpublic TableProducer createProducer(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
ConsumerTask
createProducer
in class ConsumerTask
env
- execution environmentuk.ac.starlink.task.TaskException
public TableMapper getMapper()
public TablesInput getTablesInput()
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.