Class QueryStage

java.lang.Object
uk.ac.starlink.ttools.taplint.QueryStage
All Implemented Interfaces:
Stage

public class QueryStage extends Object implements Stage
Validation stage which performs some ADQL queries on data tables.
Since:
8 Jun 2011
Author:
Mark Taylor
  • Constructor Details

    • QueryStage

      public QueryStage(VotLintTapRunner tapRunner, MetadataHolder metaHolder, CapabilityHolder capHolder)
      Constructor.
      Parameters:
      tapRunner - object that can run TAP queries
      metaHolder - provides table metadata at run time
      capHolder - provides capability info at run time; may be null if capability-related queries are not required
  • Method Details

    • getDescription

      public String getDescription()
      Description copied from interface: Stage
      Returns a short one-line description of this stage.
      Specified by:
      getDescription in interface Stage
      Returns:
      description in imperative mood
    • run

      public void run(Reporter reporter, uk.ac.starlink.vo.TapService tapService)
      Description copied from interface: Stage
      Performs the validation checks for this stage.
      Specified by:
      run in interface Stage
      Parameters:
      reporter - destination for validation messages
      tapService - TAP service description