Add missing `NewIterator` API (#28)
Override `Iterator* NewIterator(const ReadOptions& opts)`, otherwise, due to implicit casting, calling `db.NewIterator(TitanReadOptions::new())` will lead to a Rocksdb's iterator instead of Titan's.
Signed-off-by:
Connor1996 <zbk602423539@gmail.com>
Showing
Please
register
or
sign in
to comment