Beispiel #1
0
 def __init__(self, tempstore, segment, limitmb=128, **kwargs):
     SortingPool.__init__(self, **kwargs)
     self.tempstore = tempstore
     self.segment = segment
     self.limit = limitmb * 1024 * 1024
     self.currentsize = 0
     self.fieldnames = set()
Beispiel #2
0
 def __init__(self, tempstore, segment, limitmb=128, **kwargs):
     SortingPool.__init__(self, **kwargs)
     self.tempstore = tempstore
     self.segment = segment
     self.limit = limitmb * 1024 * 1024
     self.currentsize = 0
     self.fieldnames = set()
Beispiel #3
0
 def save(self):
     SortingPool.save(self)
     self.currentsize = 0
 def save(self):
     SortingPool.save(self)
     self.currentsize = 0