Package gavo :: Package adql :: Module nodes :: Class ColumnBearingNode
[frames] | no frames]

Class ColumnBearingNode

source code

             object --+        
                      |        
utils.autonode.AutoNode --+    
                          |    
                   ADQLNode --+
                              |
                             ColumnBearingNode
Known Subclasses:

A Node types defining selectable columns.

These are tables, subqueries, etc. This class is the basis for the annotation of tables and subqueries.

Their getFieldInfo(name)->fi method gives annotation.FieldInfos objects for their columns, None for unknown columns.

These keep their fieldInfos on a change()

Nested Classes

Inherited from utils.autonode.AutoNode: __metaclass__

Instance Methods
 
getFieldInfo(self, name) source code
 
getAllNames(self)
yields all relation names mentioned in this node.
source code
 
change(self, **kwargs)
returns a shallow copy of self with constructor arguments in kwargs changed.
source code
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from ADQLNode: __repr__, asTree, flatten, getFlattenedChildren, iterTree

Inherited from utils.autonode.AutoNode: iterAttributes, iterChildren, iterNodeChildren, iterNodes

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

Class Methods

Inherited from ADQLNode: fromParseResult

Inherited from utils.autonode.AutoNode: cloneFrom

Class Variables
  fieldInfos = None
hash(x)
  originalTable = None
hash(x)

Inherited from ADQLNode: type

Properties

Inherited from object: __class__

Method Details

change(self, **kwargs)

source code 

returns a shallow copy of self with constructor arguments in kwargs changed.

Overrides: utils.autonode.AutoNode.change
(inherited documentation)

__init__(self)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)