Package uk.ac.starlink.ttools.task
Class ColumnSelectionMapper
- java.lang.Object
-
- uk.ac.starlink.ttools.task.ColumnSelectionMapper
-
- All Implemented Interfaces:
TableMapper
public class ColumnSelectionMapper extends java.lang.Object implements TableMapper
Mapper which operates on a user-supplied selection of the columns of the input table.- Since:
- 9 May 2006
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description ColumnSelectionMapper()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableMappingcreateMapping(uk.ac.starlink.task.Environment env, int nin)Creates a new mapping object, using a given execution environment for any additional required state.WordsParametergetColumnsParameter()Returns the parameter which specifies the column IDs for use.uk.ac.starlink.task.Parameter<?>[]getParameters()Returns the parameters defined by this mapper.
-
-
-
Method Detail
-
getParameters
public uk.ac.starlink.task.Parameter<?>[] getParameters()
Description copied from interface:TableMapperReturns the parameters defined by this mapper.- Specified by:
getParametersin 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:TableMapperCreates a new mapping object, using a given execution environment for any additional required state.- Specified by:
createMappingin 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
-
getColumnsParameter
public WordsParameter getColumnsParameter()
Returns the parameter which specifies the column IDs for use.- Returns:
- column list parameter
-
-