Interface TapServiceFinder

  • All Known Implementing Classes:
    AuxServiceFinder, GlotsServiceFinder

    public interface TapServiceFinder
    Defines an object that can make global queries (from the registry or some registry-like entity) about all TAP services and tables satisfying certain constraints.

    This interface defines a couple of methods that implementations must implement, and a number of interfaces defining parameter and return types used by those methods.

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

      • readAllServices

        TapServiceFinder.Service[] readAllServices()
                                            throws java.io.IOException
        Reads basic metadata about all known TAP services. May be slow.
        Returns:
        list of TAP services
        Throws:
        java.io.IOException
      • readSelectedTables

        TapServiceFinder.Table[] readSelectedTables​(TapServiceFinder.Constraint constraint)
                                             throws java.io.IOException
        Locates a list of tables from a global list of all known tables served by all known TAP services that satisfy a given constraint.
        Parameters:
        constraint - object indicating the tables of interest
        Returns:
        list of tables matching constraint
        Throws:
        java.io.IOException