예제 #1
0
 def prepare_batch(self, batch_info, dst_curs):
     """Called on first event for this table in current batch."""
     if self.hash_key is not None:
         if not self.hash_mask:
             self.load_shard_info(dst_curs)
     TableHandler.prepare_batch(self, batch_info, dst_curs)
예제 #2
0
파일: part.py 프로젝트: olsender/skytools
 def prepare_batch(self, batch_info, dst_curs):
     """Called on first event for this table in current batch."""
     if not self.max_part:
         self.load_part_info(dst_curs)
     TableHandler.prepare_batch(self, batch_info, dst_curs)
예제 #3
0
파일: part.py 프로젝트: kitsemets/skytools
 def prepare_batch(self, batch_info, dst_curs):
     """Called on first event for this table in current batch."""
     if not self.max_part:
         self.load_part_info(dst_curs)
     TableHandler.prepare_batch(self, batch_info, dst_curs)
예제 #4
0
 def prepare_batch(self, batch_info, dst_curs):
     """Called on first event for this table in current batch."""
     if self.hash_key is not None:
         if not self.hash_mask:
             self.load_shard_info(dst_curs)
     TableHandler.prepare_batch(self, batch_info, dst_curs)