| 67 | static const SequenceNumber kMaxSequenceNumber = ((0x1ull << 56) - 1); |
| 68 | |
| 69 | struct ParsedInternalKey { |
| 70 | Slice user_key; |
| 71 | SequenceNumber sequence; |
| 72 | ValueType type; |
| 73 | |
| 74 | ParsedInternalKey() {} // Intentionally left uninitialized (for speed) |
| 75 | ParsedInternalKey(const Slice& u, const SequenceNumber& seq, ValueType t) |
| 76 | : user_key(u), sequence(seq), type(t) {} |
| 77 | std::string DebugString() const; |
| 78 | }; |
| 79 | |
| 80 | // Return the length of the encoding of "key". |
| 81 | inline size_t InternalKeyEncodingLength(const ParsedInternalKey& key) { |
no outgoing calls