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

Method empty_buffer

join/LSH/datasketch/storage.py:1069–1073  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1067 return self._redis.hexists(self._name, key)
1068
1069 def empty_buffer(self):
1070 self._buffer.execute()
1071 # To avoid broken pipes, recreate the connection
1072 # objects upon emptying the buffer
1073 self.__init__(self.config, name=self._name)
1074
1075
1076 class RedisSetStorage(UnorderedStorage, RedisListStorage):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.95

Tested by

no test coverage detected