rocksdb/utilities/write_batch_with_index
Levi Tamasi 491c4fb0ed Add GetEntityFromBatchAndDB to WriteBatchWithIndex (#12533)
Summary:
Pull Request resolved: https://github.com/facebook/rocksdb/pull/12533

The PR extends `WriteBatchWithIndex` with a new wide-column point lookup API `GetEntityFromBatchAndDB`. Similarly to `GetFromBatchAndDB`, the new API can transparently combine data from the write batch with data from the underlying database as needed. Like `DB::GetEntity`, it returns any result in the form of a wide-column entity (i.e. plain key-values are wrapped into an entity with a single anonymous column).

Reviewed By: jaykorean

Differential Revision: D56069132

fbshipit-source-id: 4f19cdeea4ce136497ce79fc9d28c925de59e220
2024-04-15 09:20:47 -07:00
..
write_batch_with_index.cc Add GetEntityFromBatchAndDB to WriteBatchWithIndex (#12533) 2024-04-15 09:20:47 -07:00
write_batch_with_index_internal.cc Add GetEntityFromBatchAndDB to WriteBatchWithIndex (#12533) 2024-04-15 09:20:47 -07:00
write_batch_with_index_internal.h Deduplicate WriteBatchWithIndex::{Get,GetEntity}FromBatch (#12442) 2024-03-18 12:04:54 -07:00
write_batch_with_index_test.cc Add GetEntityFromBatchAndDB to WriteBatchWithIndex (#12533) 2024-04-15 09:20:47 -07:00