Example #1
0
File: rdd.py Project: cute/dpark
 def __getstate__(self):
     d = RDD.__getstate__(self)
     del d['func']
     return d, dump_func(self.func)
Example #2
0
 def __getstate__(self):
     d = dict(self.__dict__)
     del d['func']
     return d, dump_func(self.func)
Example #3
0
 def __getstate__(self):
     return dump_func(self.addInPlace), self.zero
Example #4
0
 def __getstate__(self):
     d = dict(self.__dict__)
     del d['func']
     return d, dump_func(self.func)
Example #5
0
 def __getstate__(self):
     return (dump_func(self.createCombiner),
         dump_func(self.mergeValue),
         dump_func(self.mergeCombiners))
Example #6
0
 def __getstate__(self):
     return (dump_func(self.createCombiner),
         dump_func(self.mergeValue),
         dump_func(self.mergeCombiners))
Example #7
0
 def __getstate__(self):
     return dump_func(self.addInPlace), self.zero
Example #8
0
 def __getstate__(self):
     d = RDD.__getstate__(self)
     del d['func']
     return d, dump_func(self.func)