rocksdb/db/wide
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
..
db_wide_basic_test.cc Add a new MultiGetEntity API (#11222) 2023-02-15 09:34:17 -08:00
wide_column_serialization.cc Support providing the default column separately when serializing columns (#10839) 2022-10-20 16:00:58 -07:00
wide_column_serialization.h Support providing the default column separately when serializing columns (#10839) 2022-10-20 16:00:58 -07:00
wide_column_serialization_test.cc Support providing the default column separately when serializing columns (#10839) 2022-10-20 16:00:58 -07:00
wide_columns.cc Verify columns in NonBatchedOpsStressTest::VerifyDb (#10783) 2022-10-06 15:07:16 -07:00