pub struct IndexSet {
pub element_index: Arc<dyn ElementIndex>,
pub archive_index: Arc<dyn ElementArchiveIndex>,
pub result_index: Arc<dyn ResultIndex>,
pub future_queue: Arc<dyn FutureQueue>,
pub session_control: Arc<dyn SessionControl>,
}Expand description
Set of indexes for a query.
Groups the index types and session control needed for query evaluation into a single unit. This enables backends to create all indexes from a shared underlying resource (e.g., a single RocksDB instance or Redis connection).
Fields§
§element_index: Arc<dyn ElementIndex>Element index for storing graph elements
archive_index: Arc<dyn ElementArchiveIndex>Archive index for storing historical elements (for past() function)
result_index: Arc<dyn ResultIndex>Result index for storing query results
future_queue: Arc<dyn FutureQueue>Future queue for temporal queries
session_control: Arc<dyn SessionControl>Session control for atomic transaction lifecycle
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IndexSet
impl !RefUnwindSafe for IndexSet
impl Send for IndexSet
impl Sync for IndexSet
impl Unpin for IndexSet
impl UnsafeUnpin for IndexSet
impl !UnwindSafe for IndexSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more