Package uk.ac.starlink.ttools.join
Class Match1Mapping
- java.lang.Object
-
- uk.ac.starlink.ttools.join.Match1Mapping
-
- All Implemented Interfaces:
SingleTableMapping
public class Match1Mapping extends java.lang.Object implements SingleTableMapping
SingleTableMapping whose result is generated by performing an internal crossmatch on the input table.- Since:
- 16 Nov 2007
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description Match1Mapping(uk.ac.starlink.table.join.MatchEngine matchEngine, uk.ac.starlink.table.join.Match1Type type1, java.lang.String[] tupleExprs, uk.ac.starlink.table.join.ProgressIndicator progger, uk.ac.starlink.table.RowRunner runner)
Constructs a Match1Mapping by giving instructions about how the internal match result table will be produced from the input table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description uk.ac.starlink.table.StarTable
map(uk.ac.starlink.table.StarTable inTable)
Converts the input table to a table containing internal match results.
-
-
-
Constructor Detail
-
Match1Mapping
public Match1Mapping(uk.ac.starlink.table.join.MatchEngine matchEngine, uk.ac.starlink.table.join.Match1Type type1, java.lang.String[] tupleExprs, uk.ac.starlink.table.join.ProgressIndicator progger, uk.ac.starlink.table.RowRunner runner)
Constructs a Match1Mapping by giving instructions about how the internal match result table will be produced from the input table.- Parameters:
matchEngine
- match enginetype1
- type of internal match result tabletupleExprs
- array of JEL expressions to execute in the context of the input table, one for each element of the matchEngine's tupleprogger
- progress indicatorrunner
- controls parallel implementation, or null for sequential
-
-
Method Detail
-
map
public uk.ac.starlink.table.StarTable map(uk.ac.starlink.table.StarTable inTable) throws uk.ac.starlink.task.TaskException, java.io.IOException
Converts the input table to a table containing internal match results.- Specified by:
map
in interfaceSingleTableMapping
- Parameters:
inTable
- input table- Returns:
- match result table
- Throws:
uk.ac.starlink.task.TaskException
java.io.IOException
-
-