From 165132bf6f1f8db4c391c38ea5db09f5796ee5e4 Mon Sep 17 00:00:00 2001 From: Nathanael Jourdane Date: Fri, 12 Feb 2016 15:59:53 +0100 Subject: [PATCH] Add a query to get TAP services. --- src/main/java/eu/omp/irap/vespa/epntapclient/utils/Queries.java | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/java/eu/omp/irap/vespa/epntapclient/utils/Queries.java b/src/main/java/eu/omp/irap/vespa/epntapclient/utils/Queries.java index a5dbf4e..dbf50e2 100644 --- a/src/main/java/eu/omp/irap/vespa/epntapclient/utils/Queries.java +++ b/src/main/java/eu/omp/irap/vespa/epntapclient/utils/Queries.java @@ -44,4 +44,9 @@ public class Queries { + "FROM (SELECT ivoid, accessurl, COUNT ( ivoid ) AS ntable FROM glots.services " + "JOIN glots.tables USING ( ivoid ) GROUP BY ivoid) AS t " + "JOIN rr.resource USING ( ivoid )"; + + // TODO: récupérer les noms des services + /** Minimal query to get TAP all services of the registry, using GloTS. */ + public static final String GET_TAP_SERVICES = "SELECT ivoid, accessurl FROM glots.services"; + } -- libgit2 0.21.2