Trait tikv::storage::Store [−][src]
Associated Types
Required methods
fn get(&self, key: &Key, statistics: &mut Statistics) -> Result<Option<Value>>
[src][−]
Fetch the provided key.
fn incremental_get(&mut self, key: &Key) -> Result<Option<Value>>
[src][−]
Re-use last cursor to incrementally (if possible) fetch the provided key.
fn incremental_get_take_statistics(&mut self) -> Statistics
[src][−]
Take the statistics. Currently only available for incremental_get
.
fn incremental_get_met_newer_ts_data(&self) -> NewerTsCheckState
[src][−]
Whether there was data > ts during previous incremental gets.
fn batch_get(
&self,
keys: &[Key],
statistics: &mut Statistics
) -> Result<Vec<Result<Option<Value>>>>
[src][−]
&self,
keys: &[Key],
statistics: &mut Statistics
) -> Result<Vec<Result<Option<Value>>>>
Fetch the provided set of keys.
fn scanner(
&self,
desc: bool,
key_only: bool,
check_has_newer_ts_data: bool,
lower_bound: Option<Key>,
upper_bound: Option<Key>
) -> Result<Self::Scanner>
[src][−]
&self,
desc: bool,
key_only: bool,
check_has_newer_ts_data: bool,
lower_bound: Option<Key>,
upper_bound: Option<Key>
) -> Result<Self::Scanner>
Retrieve a scanner over the bounds.