rocksdb/utilities/write_batch_with_index
Levi Tamasi 9794acb597 Add a new MultiGetEntity API (#11222)
Summary:
The new `MultiGetEntity` API can be used to get a consistent view of
a batch of keys, with the results presented as wide-column entities.
Similarly to `GetEntity` and the iterator's `columns` API, if the entry
corresponding to the key is a wide-column entity to start with, it is
returned as-is, and if it is a plain key-value, it is wrapped into an entity
with a single default column.

Implementation-wise, the new API shares the logic of the batched `MultiGet`
API (via the `MultiGetCommon` methods). Both single-CF and multi-CF
`MultiGetEntity` APIs are provided, and blobs are also supported.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11222

Test Plan: `make check`

Reviewed By: akankshamahajan15

Differential Revision: D43256950

Pulled By: ltamasi

fbshipit-source-id: 47fb2cb7e2d0470e3580f43fdb2fe9e51f0e7005
2023-02-15 09:34:17 -08:00
..
write_batch_with_index.cc Add a new MultiGetEntity API (#11222) 2023-02-15 09:34:17 -08:00
write_batch_with_index_internal.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
write_batch_with_index_internal.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
write_batch_with_index_test.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00