bitmap

接口

 // ==============BITMAP=====================
 Status BitSet(const std::string &key, const std::int64_t offset, const std::int64_t on, std::int64_t* res);
 Status BitGet(const std::string &key, const std::int64_t offset, std::int64_t* res);
 Status BitCount(const std::string &key, std::int64_t* res);
 Status BitCount(const std::string &key, std::int64_t start_offset, std::int64_t end_offset, std::int64_t* res);
 Status BitPos(const std::string &key, const int64_t bit, std::int64_t* res);
 Status BitPos(const std::string &key, const int64_t bit, const std::int64_t start_offset, std::int64_t* res);
 Status BitPos(const std::string &key, const int64_t bit, const std::int64_t start_offset, const std::int64_t end_offset, std::int64_t* res);
 Status BitOp(BitOpType op, const std::string &dest_key, const std::vector<std::string>& src_keys, int64_t* result_length);
 // used only for bada_kv
 Status SetWithExpireAt(const std::string &key, const std::string &val, const int32_t timestamp = 0);

results matching ""

    No results matching ""