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

Method add_to_select_buffer

join/LSH/datasketch/storage.py:178–183  ·  view source on GitHub ↗

Query keys and add them to internal buffer

(self, keys)

Source from the content-addressed store, hash-verified

176 pass
177
178 def add_to_select_buffer(self, keys):
179 '''Query keys and add them to internal buffer'''
180 if not hasattr(self, '_select_buffer'):
181 self._select_buffer = self.getmany(*keys)
182 else:
183 self._select_buffer.extend(self.getmany(*keys))
184
185 def collect_select_buffer(self):
186 '''Return buffered query results'''

Callers 2

add_to_select_bufferMethod · 0.45
add_to_query_bufferMethod · 0.45

Calls 1

getmanyMethod · 0.95

Tested by

no test coverage detected