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

Function HashSubkeyEncodingModeName

src/commands/cmd_key.cc:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33namespace {
34
35std::string HashSubkeyEncodingModeName(HashSubkeyEncodingMode mode) {
36 switch (mode) {
37 case HashSubkeyEncodingMode::kLegacy:
38 return "legacy";
39 case HashSubkeyEncodingMode::kFieldExpiration:
40 return "field-expiration";
41 }
42 return "unknown";
43}
44
45std::string JsonStorageFormatName(JsonStorageFormat format) {
46 switch (format) {

Callers 1

ExecuteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected