Package gavo :: Package adql :: Module fieldinfos :: Class TableFieldInfos
[frames] | no frames]

Class TableFieldInfos

source code

object --+    
         |    
FieldInfos --+
             |
            TableFieldInfos

FieldInfos coming from something that's basically a table in the DB.

This includes joins.

To instanciate those, use the makeForNode class method below.

Instance Methods

Inherited from FieldInfos: __init__, __repr__, addColumn, assertIsCompatible, getFieldInfo, locateTable

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

Class Methods
 
makeForNode(cls, tableNode, context)
returns a TableFieldInfos instance for an ADQL tableNode.
source code
Properties

Inherited from object: __class__

Method Details

makeForNode(cls, tableNode, context)
Class Method

source code 

returns a TableFieldInfos instance for an ADQL tableNode.

context is an AnnotationContext.

Whatever tableNode actually is, it needs an originalTable attribute which is used to retrieve the column info.