45 static void registerProvider(unique_ptr<LegacyFormatsProvider> provider);
62 unique_ptr<DataLayout> getLegacyDataLayout(
const ContentBlockId& blockId);
77 bool addLegacyRecordFormat(
80 uint32_t formatVersion,
82 const vector<const DataLayout*>& layouts);
86 void registerProviderInternal(unique_ptr<LegacyFormatsProvider> provider);
88 recursive_mutex mutex_;
89 vector<unique_ptr<LegacyFormatsProvider>> providers_;
90 map<RecordableTypeId, map<string, string>> legacyRecordFormats_;
Helper to identify a particular content block within a file.
Definition RecordFormat.h:644
map< pair< Record::Type, uint32_t >, RecordFormat > RecordFormatMap
Map a pair of record type/format version to a record format, for a particular stream.
Definition RecordFormat.h:634