Package gavo :: Package votable :: Module tapquery :: Class ADQLEndpoint
[frames] | no frames]

Class ADQLEndpoint

source code

   object --+    
            |    
_WithEndpoint --+
                |
               ADQLEndpoint

A facade for an ADQL endpoint.

This is only needed for inspecting server metadata (i.e., in general only for rather fancy applications).

Instance Methods
 
__init__(self, endpointURL)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
createJob(self, query, lang='ADQL-2.0', userParams={}) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties
  available
returns True, False, or None (undecidable).
  capabilities
returns a dictionary containing some meta info on the remote service.
  tables
returns a sequence of table definitions for the tables accessible through this service.

Inherited from object: __class__

Method Details

__init__(self, endpointURL)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Property Details

available

returns True, False, or None (undecidable).

None is returned when /availability gives a 404 (which is legal) or the returned document doesn't parse.

Get Method:
unreachable.available(self) - returns True, False, or None (undecidable).

capabilities

returns a dictionary containing some meta info on the remote service.

Keys to look for include title, identifier, contact (the mail address), and referenceURL.

If the remote server doesn't return capabilities as expected, an empty dict is returned.

Get Method:
unreachable.capabilities(self) - returns a dictionary containing some meta info on the remote service.

tables

returns a sequence of table definitions for the tables accessible through this service.

The table definitions come as gavo.votable.Table instances.

Get Method:
unreachable.tables(self) - returns a sequence of table definitions for the tables accessible through this service.