LevelFileNumIterator·
LevelFileNumIterator用于访问一个level中的file。
其中ke存放的是 指定要访问的file的最大key。 value为16字节数据,用于存放文件序列号和文件size。
原文注释
// An internal iterator. For a given version/level pair, yields
// information about the files in the level. For a given entry, key()
// is the largest key that occurs in the file, and value() is an
// 16-byte value containing the file number and file size, both
// encoded using EncodeFixed64.
LevelFileNumIterator代码很短,直接上所有代码吧。