Package uk.ac.starlink.ttools.task
Class CatMapper
java.lang.Object
uk.ac.starlink.ttools.task.CatMapper
- All Implemented Interfaces:
TableMapper
TableMapper which concatenates tables top to bottom.
- Since:
- 15 Sep 2006
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMapping
(uk.ac.starlink.task.Environment env, int nin) Creates a new mapping object, using a given execution environment for any additional required state.uk.ac.starlink.task.Parameter<?>[]
Returns the parameters defined by this mapper.
-
Constructor Details
-
CatMapper
public CatMapper(boolean hasLazy) Constructor.- Parameters:
hasLazy
- whether this mapper is to make use of a lazy parameter
-
-
Method Details
-
getParameters
public uk.ac.starlink.task.Parameter<?>[] getParameters()Description copied from interface:TableMapper
Returns the parameters defined by this mapper.- Specified by:
getParameters
in interfaceTableMapper
- Returns:
- parameter array
-
createMapping
public TableMapping createMapping(uk.ac.starlink.task.Environment env, int nin) throws uk.ac.starlink.task.TaskException Description copied from interface:TableMapper
Creates a new mapping object, using a given execution environment for any additional required state.- Specified by:
createMapping
in interfaceTableMapper
- Parameters:
env
- execution environmentnin
- number of input tables that the mapping will operate on if known; -1 if not- Throws:
uk.ac.starlink.task.TaskException
-