Package gavo :: Package utils :: Module typeconversions :: Class FromVOTableConverter
[frames] | no frames]

Class FromVOTableConverter

source code

object --+
         |
        FromVOTableConverter

Instance Methods
 
convert(self, type, arraysize, xtype=None) source code
 
mapComplex(self, type, arraysize) source code

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

Class Variables
  typeSystem = 'db'
  simpleMap = {('boolean', '1'): 'boolean', ('char', '*'): 'text...
  xtypeMap = {'adql:POINT': 'spoint', 'adql:REGION': 'spoly', 'a...
Properties

Inherited from object: __class__

Class Variable Details

simpleMap

Value:
{('boolean', '1'): 'boolean',
 ('char', '*'): 'text',
 ('char', '1'): 'char',
 ('double', '1'): 'double precision',
 ('float', '1'): 'real',
 ('int', '1'): 'integer',
 ('long', '1'): 'bigint',
 ('raw', '1'): 'raw',
...

xtypeMap

Value:
{'adql:POINT': 'spoint',
 'adql:REGION': 'spoly',
 'adql:TIMESTAMP': 'timestamp',
 'circle': 'scircle',
 'point': 'spoint',
 'polygon': 'spoly',
 'timestamp': 'timestamp',
 'x:box': 'sbox'}