@@ -46,30 +46,24 @@ class SstFileReader {
4646
4747 std::unique_ptr<SstFileIterator> CreateIterator ();
4848
49- /* *
50- * Lookup the specified key in the file.
51- *
52- * @param key serialized key
53- * @return corresponding serialized value, nullptr if not found.
54- */
49+ // / Lookup the specified key in the file.
50+ // /
51+ // / @param key serialized key
52+ // / @return corresponding serialized value, nullptr if not found.
5553 Result<std::shared_ptr<Bytes>> Lookup (const std::shared_ptr<Bytes>& key);
5654
5755 Result<std::unique_ptr<BlockIterator>> GetNextBlock (
5856 std::unique_ptr<BlockIterator>& index_iterator);
5957
60- /* *
61- * @param handle The block handle.
62- * @param index Whether read the block as an index.
63- * @return The reader of the target block.
64- */
58+ // / @param handle The block handle.
59+ // / @param index Whether read the block as an index.
60+ // / @return The reader of the target block.
6561 Result<std::shared_ptr<BlockReader>> ReadBlock (std::shared_ptr<BlockHandle>&& handle,
6662 bool index);
6763
68- /* *
69- * @param handle The block handle.
70- * @param index Whether read the block as an index.
71- * @return The reader of the target block.
72- */
64+ // / @param handle The block handle.
65+ // / @param index Whether read the block as an index.
66+ // / @return The reader of the target block.
7367 Result<std::shared_ptr<BlockReader>> ReadBlock (const std::shared_ptr<BlockHandle>& handle,
7468 bool index);
7569
@@ -98,10 +92,8 @@ class SstFileIterator {
9892 public:
9993 SstFileIterator (SstFileReader* reader, std::unique_ptr<BlockIterator> index_iterator);
10094
101- /* *
102- * Seek to the position of the record whose key is exactly equal to or greater than the
103- * specified key.
104- */
95+ // / Seek to the position of the record whose key is exactly equal to or greater than the
96+ // / specified key.
10597 Status SeekTo (const std::shared_ptr<Bytes>& key);
10698
10799 private:
0 commit comments