Home | Trees | Indices | Help |
|
---|
|
object --+ | _WithEndpoint --+ | ADQLTAPJob
A facade for an ADQL-based async TAP job.
Construct it with the URL of the async endpoint and a query.
Alternatively, you can give the endpoint URL and a jobId as a keyword parameter. This only makes sense if the service has handed out the jobId before (e.g., when a different program takes up handling of a job started before).
See :dachsdoc:`adql.html` for details.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
executionDuration | |
destruction | |
info returns a dictionary of much job-related information. |
|
phase returns the phase the job is in according to the server. |
|
quote returns the estimate the server gives for the run time of the job. |
|
owner returns the owner of the job. |
|
parameters returns a dictionary mapping passed parameters to server-provided string representations. |
|
allResults returns a list of UWSResult instances. |
|
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
removes the job on the remote side. usePOST=True can be used for servers that do not support the DELETE HTTP method (a.k.a. "are broken"). |
waits for the job's phase to become one of the set phases. This method polls. Initially, it does increases poll times exponentially with increment until it queries every two minutes. The magic number in increment is 2**(1/4.). giveUpAfter, if given, is the number of iterations this method will do. If none of the desired phases have been found until then, raise a ProtocolError. |
runs the job and waits until it has finished. The function raises an exception with an error message gleaned from the server. |
returns a file-like object you can read the default TAP result off. To have the embedded VOTable returned, say votable.load(job.openResult()). If you pass simple=False, the URL will be taken from the service's result list (the first one given there). Otherwise (the default), results/result is used. |
adds uploaded tables, either from a file or as a remote URL. You should not try to change UPLOAD yourself (e.g., using setParameter). Data is either a string (i.e. a URI) or a file-like object (an upload). |
Property Details |
executionDuration
|
destruction
|
inforeturns a dictionary of much job-related information.
|
phasereturns the phase the job is in according to the server.
|
quotereturns the estimate the server gives for the run time of the job.
|
ownerreturns the owner of the job.
|
parametersreturns a dictionary mapping passed parameters to server-provided string representations. To set a parameter, use the setParameter function. Changing the dictionary returned here will have no effect.
|
allResultsreturns a list of UWSResult instances.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |