IndexManagerPort

Trait IndexManagerPort 

Source
pub trait IndexManagerPort: Send + Sync {
    // Required methods
    fn lookup_vertices<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        property: &'life1 str,
        value: &'life2 Value,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<VertexId>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn lookup_edges<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        property: &'life1 str,
        value: &'life2 Value,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<EdgeId>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn range_scan<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        property: &'life1 str,
        start: &'life2 Value,
        end: &'life3 Value,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<VertexId>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
    fn has_vertex_index<'life0, 'life1, 'async_trait>(
        &'life0 self,
        property: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn has_edge_index<'life0, 'life1, 'async_trait>(
        &'life0 self,
        property: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Index manager interface

Required Methods§

Source

fn lookup_vertices<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, property: &'life1 str, value: &'life2 Value, ) -> Pin<Box<dyn Future<Output = Result<Vec<VertexId>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn lookup_edges<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, property: &'life1 str, value: &'life2 Value, ) -> Pin<Box<dyn Future<Output = Result<Vec<EdgeId>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source

fn range_scan<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, property: &'life1 str, start: &'life2 Value, end: &'life3 Value, ) -> Pin<Box<dyn Future<Output = Result<Vec<VertexId>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source

fn has_vertex_index<'life0, 'life1, 'async_trait>( &'life0 self, property: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn has_edge_index<'life0, 'life1, 'async_trait>( &'life0 self, property: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§