Package uk.ac.starlink.ttools.join
Class SkyMatch2Mapping
java.lang.Object
uk.ac.starlink.ttools.join.Match2Mapping
uk.ac.starlink.ttools.join.SkyMatch2Mapping
- All Implemented Interfaces:
TableMapping
Match2Mapping subclass specific to sky matching.
- Since:
- 6 Nov 2007
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionSkyMatch2Mapping
(uk.ac.starlink.table.join.FixedSkyMatchEngine.InDegrees matcher, String raExpr1, String decExpr1, String raExpr2, String decExpr2, uk.ac.starlink.table.join.JoinType join, uk.ac.starlink.table.join.PairMode pairMode, uk.ac.starlink.table.JoinFixAction fixact1, uk.ac.starlink.table.JoinFixAction fixact2, uk.ac.starlink.table.join.ProgressIndicator progger, uk.ac.starlink.table.RowRunner runner) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected uk.ac.starlink.table.StarTable
makeSubTable
(uk.ac.starlink.table.StarTable inTable, String[] exprTuple) Creates a table containing the values which are required by the matcher.Methods inherited from class uk.ac.starlink.ttools.join.Match2Mapping
mapTables
-
Constructor Details
-
SkyMatch2Mapping
public SkyMatch2Mapping(uk.ac.starlink.table.join.FixedSkyMatchEngine.InDegrees matcher, String raExpr1, String decExpr1, String raExpr2, String decExpr2, uk.ac.starlink.table.join.JoinType join, uk.ac.starlink.table.join.PairMode pairMode, uk.ac.starlink.table.JoinFixAction fixact1, uk.ac.starlink.table.JoinFixAction fixact2, uk.ac.starlink.table.join.ProgressIndicator progger, uk.ac.starlink.table.RowRunner runner) Constructor.- Parameters:
matcher
- sky match engineraExpr1
- JEL expression for right ascension/degrees in table 1 - if null, a guess is madedecExpr1
- JEL expression for declination/degrees in table 1 - if null, a guess is maderaExpr2
- JEL expression for right ascension/degrees in table 2 - if null, a guess is madedecExpr2
- JEL expression for declination/degrees in table 2 - if null, a guess is madejoin
- output row selection typepairMode
- pair matching modefixact1
- deduplication fix action for first input tablefixact2
- deduplication fix action for second input tableprogger
- progress indicator for match processrunner
- controls parallel implementation, or null for sequential
-
-
Method Details
-
makeSubTable
protected uk.ac.starlink.table.StarTable makeSubTable(uk.ac.starlink.table.StarTable inTable, String[] exprTuple) throws uk.ac.starlink.task.ExecutionException Description copied from class:Match2Mapping
Creates a table containing the values which are required by the matcher. This typically consists of a few of the columns from the input table, but in general may come from any JEL expression based on them. Because JEL compilation is performed here, an exception (rethrown as an ExecutionException) may occur.- Overrides:
makeSubTable
in classMatch2Mapping
- Parameters:
inTable
- input tableexprTuple
- array of JEL expressions giving the values of the tuple elements required for the matcher- Returns:
- table containing only a column for each tuple element required for the matcher
- Throws:
uk.ac.starlink.task.ExecutionException
- if a compilation error occurs
-