TapServiceFinderpublic class GlotsServiceFinder extends java.lang.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 | Description |
|---|---|---|
static java.lang.String |
GAVO_DC_TAP_URL |
| Constructor | Description |
|---|---|
GlotsServiceFinder() |
Constructs a default instance.
|
GlotsServiceFinder(EndpointSet glotsEndpointSet,
uk.ac.starlink.util.ContentCoding coding) |
Constructs an instance with custom configuration.
|
| Modifier and Type | Method | 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 java.lang.String GAVO_DC_TAP_URL
public GlotsServiceFinder()
public GlotsServiceFinder(EndpointSet glotsEndpointSet, uk.ac.starlink.util.ContentCoding coding)
glotsEndpointSet - TAP endpoints for a service
containing GloTS tablescoding - controls HTTP-level compression during TAP queriespublic TapServiceFinder.Service[] readAllServices() throws java.io.IOException
TapServiceFinderreadAllServices in interface TapServiceFinderjava.io.IOExceptionpublic TapServiceFinder.Table[] readSelectedTables(TapServiceFinder.Constraint constraint) throws java.io.IOException
TapServiceFinderreadSelectedTables in interface TapServiceFinderconstraint - object indicating the tables of interestjava.io.IOExceptionCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.