Class AuxServiceFinder

  • All Implemented Interfaces:
    TapServiceFinder

    public class AuxServiceFinder
    extends java.lang.Object
    implements 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:
    Discovering Data Collections Within Services
    • Constructor Detail

      • AuxServiceFinder

        public AuxServiceFinder()
        Constructs a default instance.
      • AuxServiceFinder

        public AuxServiceFinder​(EndpointSet regtapEndpointSet,
                                uk.ac.starlink.util.ContentCoding coding)
        Constructs an instance with custom configuration.
        Parameters:
        regtapEndpointSet - TAP endpoints for RegTAP service
        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