public class GlotsServiceFinder extends Object implements TapServiceFinder
It is not very respectable to use this resource; the correct way to find out this kind of thing is using the standard interfaces of the IVOA Registry. However, at time of writing (June 2015) the Registry does not contain sufficiently detailed metadata (in particular, lists of table names and descriptions for each service) to do the job, while GloTS does.
TapServiceFinder.Constraint, TapServiceFinder.Service, TapServiceFinder.Table, TapServiceFinder.Target
Modifier and Type | Field and Description |
---|---|
static String |
GAVO_DC_TAP_URL |
Constructor and Description |
---|
GlotsServiceFinder()
Constructs a default instance.
|
GlotsServiceFinder(TapService glotsService,
ContentCoding coding)
Constructs an instance with custom configuration.
|
Modifier and Type | Method and Description |
---|---|
TapServiceFinder.Service[] |
readAllServices()
Reads basic metadata about all known TAP services.
|
TapServiceFinder.Table[] |
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.
|
public static final String GAVO_DC_TAP_URL
public GlotsServiceFinder()
public GlotsServiceFinder(TapService glotsService, ContentCoding coding)
glotsService
- TAP service description for a service
containing GloTS tablescoding
- controls HTTP-level compression during TAP queriespublic TapServiceFinder.Service[] readAllServices() throws IOException
TapServiceFinder
readAllServices
in interface TapServiceFinder
IOException
public TapServiceFinder.Table[] readSelectedTables(TapServiceFinder.Constraint constraint) throws IOException
TapServiceFinder
readSelectedTables
in interface TapServiceFinder
constraint
- object indicating the tables of interestIOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.