Exemplo n.º 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)
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 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)
Exemplo n.º 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)