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
public class SkyMatch2Mapping
- extends Match2Mapping
Match2Mapping subclass specific to sky matching.
- Since:
- 6 Nov 2007
- Author:
- Mark Taylor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SkyMatch2Mapping
public SkyMatch2Mapping(FixedSkyMatchEngine matcher,
String raExpr1,
String decExpr1,
String raExpr2,
String decExpr2,
JoinType join,
PairMode pairMode,
JoinFixAction fixact1,
JoinFixAction fixact2,
ProgressIndicator progger)
- 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 process
makeSubTable
protected StarTable makeSubTable(StarTable inTable,
String[] exprTuple)
throws 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 class Match2Mapping
- 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:
ExecutionException
- if a compilation error occurs
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.