|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.task.ConsumerTask
uk.ac.starlink.ttools.task.MapperTask
public abstract class MapperTask
Task which maps one or more input tables to an output table.
This class provides methods to acquire the table sources and sink;
any actual transformation work is done by a separate
TableMapper
object.
Constructor Summary | |
---|---|
MapperTask(String purpose,
ProcessingMode outMode,
boolean useOutFilter,
TableMapper mapper,
TablesInput tablesInput)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class uk.ac.starlink.ttools.task.ConsumerTask |
---|
createExecutable, createProducer, getOutputMode, getParameterList, getParameters, getPurpose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 environmentMethod Detail |
---|
public TableProducer createProducer(Environment env) throws TaskException
ConsumerTask
createProducer
in class ConsumerTask
env
- execution environment
TaskException
public TableMapper getMapper()
public TablesInput getTablesInput()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |