public abstract class MapperTask extends ConsumerTask
TableMapper
object.Constructor and Description |
---|
MapperTask(String purpose,
ProcessingMode outMode,
boolean useOutFilter,
TableMapper mapper,
TablesInput tablesInput)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TableProducer |
createProducer(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, getIdentity, getOutputMode, getParameterList, getParameters, getPurpose
public MapperTask(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(Environment env) throws TaskException
ConsumerTask
ConsumerTask.getIdentity(uk.ac.starlink.table.StarTable)
method.createProducer
in class ConsumerTask
env
- execution environmentTaskException
public TableMapper getMapper()
public TablesInput getTablesInput()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.