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

Module fieldinfos

source code

FieldInfos are collections of inferred metadata on the columns present within ADQL relations.

In generation, this module distinguishes between query-like (select...) and table-like (from table references) field infos. The functions here are called from the addFieldInfo methods of the respective nodes classes.

Classes
  FieldInfos
A base class for field annotations.
  TableFieldInfos
FieldInfos coming from something that's basically a table in the DB.
  QueryFieldInfos
FieldInfos inferred from a FROM clause.
Functions
 
tableNamesMatch(table, toName)
returns true when table could be referred to by toName.
source code
Variables
  __package__ = 'gavo.adql'
Function Details

tableNamesMatch(table, toName)

source code 

returns true when table could be referred to by toName.

This means that either the name matches or toName is table's original name.

toName is a qualified name (i.e., including schema), table is some node that has a tableName.