Function tikv::storage::mvcc::reader::scanner::near_load_data_by_write [−][src]
fn near_load_data_by_write<I>(
default_cursor: &mut Cursor<I>,
user_key: &Key,
write_start_ts: TimeStamp,
statistics: &mut Statistics
) -> Result<Value> where
I: Iterator,
Reads user key’s value in default CF according to the given write CF value
(write
).
Internally, there will be a near_seek
operation.
Notice that the value may be already carried in the write
(short value). In this
case, you should not call this function.
Panics
Panics if there is a short value carried in the given write
.
Panics if key in default CF does not exist. This means there is a data corruption.