コード例 #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
ファイル: shard.py プロジェクト: David-Gould/skytools
 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)