Trait engine_traits::range_properties::RangePropertiesExt[][src]

pub trait RangePropertiesExt {
    fn get_range_approximate_keys(
        &self,
        range: Range<'_>,
        large_threshold: u64
    ) -> Result<u64>;
fn get_range_approximate_keys_cf(
        &self,
        cfname: &str,
        range: Range<'_>,
        large_threshold: u64
    ) -> Result<u64>;
fn get_range_approximate_size(
        &self,
        range: Range<'_>,
        large_threshold: u64
    ) -> Result<u64>;
fn get_range_approximate_size_cf(
        &self,
        cfname: &str,
        range: Range<'_>,
        large_threshold: u64
    ) -> Result<u64>;
fn get_range_approximate_split_keys(
        &self,
        range: Range<'_>,
        key_count: usize
    ) -> Result<Vec<Vec<u8>>>;
fn get_range_approximate_split_keys_cf(
        &self,
        cfname: &str,
        range: Range<'_>,
        key_count: usize
    ) -> Result<Vec<Vec<u8>>>; }

Required methods

fn get_range_approximate_keys(
    &self,
    range: Range<'_>,
    large_threshold: u64
) -> Result<u64>
[src]

Gets the number of keys in a range.

fn get_range_approximate_keys_cf(
    &self,
    cfname: &str,
    range: Range<'_>,
    large_threshold: u64
) -> Result<u64>
[src]

fn get_range_approximate_size(
    &self,
    range: Range<'_>,
    large_threshold: u64
) -> Result<u64>
[src]

Get the approximate size of the range

fn get_range_approximate_size_cf(
    &self,
    cfname: &str,
    range: Range<'_>,
    large_threshold: u64
) -> Result<u64>
[src]

fn get_range_approximate_split_keys(
    &self,
    range: Range<'_>,
    key_count: usize
) -> Result<Vec<Vec<u8>>>
[src]

Get range approximate split keys to split range evenly into key_count + 1 parts .

fn get_range_approximate_split_keys_cf(
    &self,
    cfname: &str,
    range: Range<'_>,
    key_count: usize
) -> Result<Vec<Vec<u8>>>
[src]

Loading content...

Implementors

Loading content...