Home | Trees | Indices | Help |
|
---|
|
object --+ | FieldInfo
is a container for meta information on columns.
It is constructed with a unit, a ucd and userData. UserData is a sequence of opaque objects. A FieldInfo combined from more than one FieldInfo will have all userDatas of the combined FieldInfos in its userData attribute.
There's also a properties dictionary you can use to set arbitrary keys in. These should not be inherited. This is used for:
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Methods | |||
|
|||
|
Static Methods | |||
|
|||
|
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
tries to find a common STC system for fi1 and fi2. Two STC systems are compatible if at least one is None or if they are equal. If this method discovers incompatible systems, it will set the stc attribute to "BROKEN". |
returns a new FieldInfo built from the multiplication-like operator opr and the two field infos. The unit is unit1 opr unit2 unless we have a dimless (empty unit), in which case we keep the unit but turn the tainted flag on, unless both are empty. The ucd is always empty unless it's a simple dimless multiplication, in which case the ucd of the non-dimless is kept (but the info is tainted). |
returns a new FieldInfo built from the addition-like operator opr and the two field infos. If both UCDs and units are the same, they are kept. Otherwise, they are cleared and the fieldInfo is tainted. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |