Class GlotsServiceFinder

  • All Implemented Interfaces:
    TapServiceFinder

    public class GlotsServiceFinder
    extends java.lang.Object
    implements TapServiceFinder
    TapServiceFinder implementation that uses the GloTS schema maintained (at time of writing) at the GAVO Data Center. GloTS is a non-standard registry containing metadata gathered by hook or by crook from all known registered TAP services.

    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.

    Since:
    30 Jun 2015
    Author:
    Mark Taylor
    • Field Detail

    • Constructor Detail

      • GlotsServiceFinder

        public GlotsServiceFinder()
        Constructs a default instance.
      • GlotsServiceFinder

        public GlotsServiceFinder​(EndpointSet glotsEndpointSet,
                                  uk.ac.starlink.util.ContentCoding coding)
        Constructs an instance with custom configuration.
        Parameters:
        glotsEndpointSet - TAP endpoints for a service containing GloTS tables
        coding - controls HTTP-level compression during TAP queries
    • Method Detail

      • readSelectedTables

        public TapServiceFinder.Table[] readSelectedTables​(TapServiceFinder.Constraint constraint)
                                                    throws java.io.IOException
        Description copied from interface: TapServiceFinder
        Locates 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:
        readSelectedTables in interface TapServiceFinder
        Parameters:
        constraint - object indicating the tables of interest
        Returns:
        list of tables matching constraint
        Throws:
        java.io.IOException