| 232 | } |
| 233 | |
| 234 | InternalKey BuildInternalKey(const std::string& row_key, const std::string& cf, |
| 235 | const std::string& qu, int64_t ts, TeraKeyType type) { |
| 236 | const leveldb::RawKeyOperator* opt = tera::GetRawKeyOperatorFromSchema(table_schema); |
| 237 | std::string begin_key; |
| 238 | opt->EncodeTeraKey(row_key, cf, qu, ts, type, &begin_key); |
| 239 | InternalKey smallest(begin_key, 1, kTypeValue); |
| 240 | return smallest; |
| 241 | } |
| 242 | |
| 243 | std::string GetInternalKeyStr0(const Slice& user_key, SequenceNumber s, ValueType t) { |
| 244 | InternalKey ikey(user_key, s, t); |
nothing calls this directly
no test coverage detected