MCPcopy Create free account
hub / github.com/apache/kvrocks / Bitmap

Method Bitmap

src/types/redis_bitmap.h:48–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 class SegmentCacheStore;
47
48 Bitmap(engine::Storage *storage, const std::string &ns) : Database(storage, ns) {}
49 rocksdb::Status GetBit(engine::Context &ctx, const Slice &user_key, uint32_t bit_offset, bool *bit);
50 rocksdb::Status GetString(engine::Context &ctx, const Slice &user_key, uint32_t max_btos_size, std::string *value);
51 rocksdb::Status SetBit(engine::Context &ctx, const Slice &user_key, uint32_t bit_offset, bool new_bit, bool *old_bit);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected