risingwave_hummock_sdk::prost_key_range

Trait KeyRangeExt

source
pub trait KeyRangeExt {
    // Required methods
    fn inf() -> Self;
    fn new(left: Vec<u8>, right: Vec<u8>) -> Self;
    fn compare(&self, other: &Self) -> Ordering;
    fn start_bound_inf(&self) -> bool;
    fn end_bound_inf(&self) -> bool;
}

Required Methods§

source

fn inf() -> Self

source

fn new(left: Vec<u8>, right: Vec<u8>) -> Self

source

fn compare(&self, other: &Self) -> Ordering

source

fn start_bound_inf(&self) -> bool

source

fn end_bound_inf(&self) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl KeyRangeExt for KeyRange

source§

fn inf() -> Self

source§

fn new(left: Vec<u8>, right: Vec<u8>) -> Self

source§

fn compare(&self, other: &Self) -> Ordering

source§

fn start_bound_inf(&self) -> bool

source§

fn end_bound_inf(&self) -> bool

Implementors§