Package org.javastro.ivoa.tap
Class QueryResource
java.lang.Object
org.javastro.ivoa.quarkus.tap.BaseSyncTAPResource
org.javastro.ivoa.tap.QueryResource
@ApplicationScoped
@Path("/tap/sync")
public class QueryResource
extends org.javastro.ivoa.quarkus.tap.BaseSyncTAPResource
Main TAP Query.
This works by creating an asynchronous job and then waiting for it to complete,
returning the result if it does complete within a reasonable time, or an error VOTable if it doesn't.
The client can then poll the async endpoint if they want to wait longer.
note that this must share the same resource path root as the async endpoint
AsyncQueryResource for tap compliance
Created on 04/03/2026 by Paul Harrison (paul.harrison@manchester.ac.uk).-
Field Summary
Fields inherited from class org.javastro.ivoa.quarkus.tap.BaseSyncTAPResource
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected org.javastro.ivoa.quarkus.tap.TAPHelperMethods inherited from class org.javastro.ivoa.quarkus.tap.BaseSyncTAPResource
buildErrorVOTable, handleJob, syncGet, syncPost
-
Constructor Details
-
QueryResource
public QueryResource()
-
-
Method Details
-
getTapHelper
protected org.javastro.ivoa.quarkus.tap.TAPHelper getTapHelper()- Specified by:
getTapHelperin classorg.javastro.ivoa.quarkus.tap.BaseSyncTAPResource
-
getSyncWait
protected int getSyncWait()- Specified by:
getSyncWaitin classorg.javastro.ivoa.quarkus.tap.BaseSyncTAPResource
-