Class AuxServiceFinder
java.lang.Object
uk.ac.starlink.vo.AuxServiceFinder
- All Implemented Interfaces:
TapServiceFinder
TapServiceFinder implementation that uses the IVOA Registry
along with an "auxiliary" labelling of tableset resources.
This is a version of the scheme proposed by Markus Demleitner's
IVOA Note "Discovering Data Collections Within Services",
version 1.1.
- Since:
- 6 Aug 2015
- Author:
- Mark Taylor
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface TapServiceFinder
TapServiceFinder.Constraint, TapServiceFinder.Service, TapServiceFinder.Table, TapServiceFinder.Target -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a default instance.AuxServiceFinder(TapService regtapService, uk.ac.starlink.util.ContentCoding coding) Constructs an instance with custom configuration. -
Method Summary
Modifier and TypeMethodDescriptionReads basic metadata about all known TAP services.readSelectedTables(TapServiceFinder.Constraint constraint) Locates a list of tables from a global list of all known tables served by all known TAP services that satisfy a given constraint.
-
Constructor Details
-
AuxServiceFinder
public AuxServiceFinder()Constructs a default instance. -
AuxServiceFinder
Constructs an instance with custom configuration.- Parameters:
regtapService- RegTAP service descriptioncoding- controls HTTP-level compression during TAP queries
-
-
Method Details
-
readAllServices
Description copied from interface:TapServiceFinderReads basic metadata about all known TAP services. May be slow.- Specified by:
readAllServicesin interfaceTapServiceFinder- Returns:
- list of TAP services
- Throws:
IOException
-
readSelectedTables
public TapServiceFinder.Table[] readSelectedTables(TapServiceFinder.Constraint constraint) throws IOException Description copied from interface:TapServiceFinderLocates a list of tables from a global list of all known tables served by all known TAP services that satisfy a given constraint.- Specified by:
readSelectedTablesin interfaceTapServiceFinder- Parameters:
constraint- object indicating the tables of interest- Returns:
- list of tables matching constraint
- Throws:
IOException
-