Class IntraMatchSpec

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class IntraMatchSpec extends MatchSpec
MatchSpec for matching between rows of a given table.
Since:
20 Mar 2004
Author:
Mark Taylor (Starlink)
See Also:
  • Constructor Details

    • IntraMatchSpec

      public IntraMatchSpec(uk.ac.starlink.table.join.MatchEngine engine, Supplier<uk.ac.starlink.table.RowRunner> runnerFact)
      Constructs a new IntraMatchSpec.
      Parameters:
      engine - the match engine defining the match type
      runnerFact - supplier for RowRunner
  • Method Details

    • checkArguments

      public void checkArguments()
      Description copied from class: MatchSpec
      Invoked from the event dispatch thread before MatchSpec.calculate(uk.ac.starlink.table.join.ProgressIndicator) is called. A check should be made that it is sensible to call calculate; if not an exception should be thrown.
      Specified by:
      checkArguments in class MatchSpec
    • calculate

      public void calculate(uk.ac.starlink.table.join.ProgressIndicator indicator) throws IOException, InterruptedException
      Description copied from class: MatchSpec
      Performs the match calculation. This method is called from a thread other than the event dispatch thread, so it can take its time, and must not call Swing things.
      Specified by:
      calculate in class MatchSpec
      Parameters:
      indicator - a progress indicator which the calculation should try to update
      Throws:
      IOException - if there's some trouble
      InterruptedException - if the user interrupts the calculation
    • matchSuccess

      public void matchSuccess(Component parent)
      Description copied from class: MatchSpec
      This method is called from the event dispatch thread if the calculation terminates normally.
      Specified by:
      matchSuccess in class MatchSpec
      Parameters:
      parent - window controlling the invocation