Пример #1
0
 def __init__(self, pool):
     '''Create and populate the SQLite Units Table'''
     Table.__init__(self, pool)
     # Cached row ids
     self._id = {}
     self._id['Publisher']  = None
     self._id['Subscriber'] = None
Пример #2
0
 def __init__(self, connection):
     '''Create and populate the SQLite Units Table'''
     Table.__init__(self, connection)
     # Cached row ids
     self._id = {}
     self._id['Publisher'] = None
     self._id['Subscriber'] = None
Пример #3
0
    def __init__(self, connection, parent):
        '''Create the SQLite TESS Readings table'''

        Table.__init__(self, connection)
        self.parent = parent
        self.setOptions(auth_filter=True)
        self.resetCounters()
Пример #4
0
 def __init__(self, connection, secs_resol):
     '''Create and Populate the SQlite Time of Day Table'''
     Table.__init__(self, connection)
     self.secs_resol = secs_resol
     self.ONE = datetime.timedelta(seconds=secs_resol)
Пример #5
0
 def __init__(self, pool, validate=False):
     Table.__init__(self, pool)
     self.resetCounters()
Пример #6
0
 def __init__(self, pool):
     '''Create and Populate the SQLite Date Table'''
     Table.__init__(self, pool)
Пример #7
0
 def __init__(self, connection, validate=False):
     Table.__init__(self, connection)
     self.resetCounters()
Пример #8
0
 def __init__(self, connection):
     '''Create and Populate the SQLite Date Table'''
     Table.__init__(self, connection)
Пример #9
0
 def __init__(self, connection):
     '''Create and populate the SQLite Location Table'''
     Table.__init__(self, connection)
Пример #10
0
 def __init__(self, pool, parent):
     '''Create the SQLite TESS Readings table'''
     Table.__init__(self, pool)
     self.parent = parent
     self.setOptions(location_filter=True)
     self.resetCounters()
Пример #11
0
 def __init__(self, pool):
     '''Create and populate the SQLite Location Table'''
     Table.__init__(self, pool)
Пример #12
0
 def __init__(self, pool, secs_resol):
     '''Create and Populate the SQlite Time of Day Table'''
     Table.__init__(self, pool)
     self.secs_resol = secs_resol
     self.ONE        = datetime.timedelta(seconds=secs_resol)