Package uk.ac.starlink.ttools.taplint
Class ObsLocStage
java.lang.Object
uk.ac.starlink.ttools.taplint.ObsLocStage
- All Implemented Interfaces:
Stage
Validation stage for testing ObsLocTAP data model metadata and content.
This implementation corresponds to PR-ObsLocTAP-20210609.
- Since:
- 5 Feb 2021
- Author:
- Mark Taylor
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]
Required ADQL Geometry functions (ObsLocTAP sec 3.3).static final String
Feature type for ADQL Geometry functions from TAPRegExt.static final String
Full required name of ObsPlan table.static final String
Required registration UType for ObsPlan table.static final String[]
Known DALI Xtypes indicating region data. -
Constructor Summary
ConstructorsConstructorDescriptionObsLocStage
(TapRunner tapRunner, CapabilityHolder capHolder, MetadataHolder metaHolder) Constructor. -
Method Summary
-
Field Details
-
OBSPLAN_TNAME
Full required name of ObsPlan table.- See Also:
-
OBSPLAN_UTYPE
Required registration UType for ObsPlan table.- See Also:
-
ADQLGEO_TYPE
Feature type for ADQL Geometry functions from TAPRegExt.- See Also:
-
ADQLGEO_FORMS
Required ADQL Geometry functions (ObsLocTAP sec 3.3). -
REGION_XTYPES
Known DALI Xtypes indicating region data.
-
-
Constructor Details
-
ObsLocStage
Constructor.- Parameters:
tapRunner
- runs TAP queriescapHolder
- provides capability metadata at runtimemetaHolder
- provides table metadata at runtime
-
-
Method Details
-
getDescription
Description copied from interface:Stage
Returns a short one-line description of this stage.- Specified by:
getDescription
in interfaceStage
- Returns:
- description in imperative mood
-
run
Description copied from interface:Stage
Performs the validation checks for this stage. -
votype
Returns the human-readable name of the data type of a column from a VOTable.- Parameters:
info
- column info- Returns:
- datatype name
-