59 explicit RootFile(std::shared_ptr<ByteSource>);
62 std::shared_ptr<ByteSource>
const&
sourcePtr()
const {
return mSource; }
64 const std::vector<KeyInfo>&
topKeys();
71 std::vector<KeyInfo>
keysOf(
const std::string& df);
81 KeyInfo parseKey(std::span<const uint8_t>
buf, uint64_t fileOffset);
84 std::optional<KeyInfo> findTopKey(std::string
const&
name);
85 std::vector<uint8_t> readStored(
const KeyInfo&);
87 std::shared_ptr<ByteSource> mSource;
90 std::optional<std::vector<KeyInfo>> mTopKeys;
92 std::map<uint64_t, std::vector<uint8_t>> mPrefetched;
93 std::map<std::string, std::vector<KeyInfo>> mKeysOf;
94 std::vector<std::string> mTreesToPrefetch;
95 std::map<std::string, std::map<std::string, std::string>> mStringMaps;