Levi Tamasi f5e649453c Add convenience method GetFileMetaDataByNumber (#6940)
Summary:
The patch adds a convenience method `GetFileMetaDataByNumber` that
builds on the `FileLocation` functionality introduced recently (see
https://github.com/facebook/rocksdb/pull/6862). This method makes it possible to
retrieve the `FileMetaData` directly as opposed to having to go through
`LevelFiles` and friends.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6940

Test Plan: `make check`

Reviewed By: cheng-chang

Differential Revision: D21905946

Pulled By: ltamasi

fbshipit-source-id: af99e19de21242b2b4a87594a535c6028d16ee72
2020-06-08 16:01:59 -07:00
..
2020-05-28 10:40:03 -07:00
2020-05-28 10:40:03 -07:00
2020-05-28 10:40:03 -07:00
2020-04-20 13:24:25 -07:00
2020-04-20 11:39:31 -07:00
2020-05-28 10:40:03 -07:00
2020-03-02 16:01:00 -08:00
2020-05-28 10:40:03 -07:00