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

Method PutNamespace

src/search/search_encoding.h:131–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 SearchKey(std::string_view ns, std::string_view index, std::string_view field) : ns(ns), index(index), field(field) {}
130
131 void PutNamespace(std::string *dst) const {
132 PutFixed8(dst, ns.size());
133 dst->append(ns);
134 }
135
136 static void PutType(std::string *dst, SearchSubkeyType type) { PutFixed8(dst, uint8_t(type)); }
137

Callers 1

TagValuesMethod · 0.80

Calls 1

PutFixed8Function · 0.85

Tested by

no test coverage detected