| 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 |