Package gavo :: Package user :: Module upgrade :: Class To9Upgrader
[frames] | no frames]

Class To9Upgrader

source code

object --+    
         |    
  Upgrader --+
             |
            To9Upgrader

Instance Methods

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

Class Methods

Inherited from Upgrader: iterStatements, updateSchemaversion

Class Variables
  version = 8
hash(x)
  u_010_chuckADQLPrefix = "UPDATE TAP_SCHEMA.columns SET datatyp...
  u_020_setSize1OnAtoms = 'UPDATE tap_schema.columns SET "size"=...
  u_030_removeArrayMarkInText = "UPDATE tap_schema.columns SET d...
Properties

Inherited from object: __class__

Class Variable Details

u_010_chuckADQLPrefix

Value:
"UPDATE TAP_SCHEMA.columns SET datatype=substring(datatype from 6) WHE\
RE datatype LIKE 'adql:%%'"

u_020_setSize1OnAtoms

Value:
'UPDATE tap_schema.columns SET "size"=1 WHERE NOT datatype LIKE \'%%(*\
)\''

u_030_removeArrayMarkInText

Value:
"UPDATE tap_schema.columns SET datatype=replace(datatype, '(*)', '') W\
HERE datatype LIKE '%%(*)'"