MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / _execute

Method _execute

join/LSH/datasketch/storage.py:484–496  ·  view source on GitHub ↗

Execute a list of statements and parameters NOT returning data. :param iterable[tuple] statements_and_parameters: list of statements and parameters

(self, statements_and_parameters)

Source from the content-addressed store, hash-verified

482 return ret
483
484 def _execute(self, statements_and_parameters):
485 """
486 Execute a list of statements and parameters NOT returning data.
487
488 :param iterable[tuple] statements_and_parameters: list of statements and parameters
489 """
490 size = self.CONCURRENCY
491 for sub_sequence in CassandraClient.split_sequence(statements_and_parameters, size):
492 c_concurrent.execute_concurrent(
493 self._session,
494 sub_sequence,
495 concurrency=size,
496 )
497
498 def _buffer(self, statements_and_parameters):
499 """

Callers 5

empty_bufferMethod · 0.95
insertMethod · 0.95
upsertMethod · 0.95
delete_keysMethod · 0.95
deleteMethod · 0.95

Calls 1

split_sequenceMethod · 0.80

Tested by

no test coverage detected