pub struct CatalogUseCases<'a, P: ?Sized> { /* private fields */ }Implementations§
Source§impl<'a, P: RuntimeCatalogPort + ?Sized> CatalogUseCases<'a, P>
impl<'a, P: RuntimeCatalogPort + ?Sized> CatalogUseCases<'a, P>
pub fn new(runtime: &'a P) -> Self
pub fn collections(&self) -> Vec<String>
pub fn snapshot(&self) -> CatalogModelSnapshot
pub fn consistency_report(&self) -> CatalogConsistencyReport
pub fn attention_summary(&self) -> CatalogAttentionSummary
pub fn collection_attention(&self) -> Vec<CollectionDescriptor>
pub fn indexes(&self) -> Vec<PhysicalIndexState>
pub fn declared_indexes(&self) -> Vec<PhysicalIndexState>
pub fn indexes_for_collection( &self, collection: &str, ) -> Vec<PhysicalIndexState>
pub fn declared_indexes_for_collection( &self, collection: &str, ) -> Vec<PhysicalIndexState>
pub fn index_statuses(&self) -> Vec<CatalogIndexStatus>
pub fn index_attention(&self) -> Vec<CatalogIndexStatus>
pub fn graph_projections(&self) -> RedDBResult<Vec<PhysicalGraphProjection>>
pub fn operational_graph_projections(&self) -> Vec<PhysicalGraphProjection>
pub fn graph_projection_statuses(&self) -> Vec<CatalogGraphProjectionStatus>
pub fn graph_projection_attention(&self) -> Vec<CatalogGraphProjectionStatus>
pub fn analytics_jobs(&self) -> RedDBResult<Vec<PhysicalAnalyticsJob>>
pub fn operational_analytics_jobs(&self) -> Vec<PhysicalAnalyticsJob>
pub fn analytics_job_statuses(&self) -> Vec<CatalogAnalyticsJobStatus>
pub fn analytics_job_attention(&self) -> Vec<CatalogAnalyticsJobStatus>
pub fn stats(&self) -> RuntimeStats
Auto Trait Implementations§
impl<'a, P> Freeze for CatalogUseCases<'a, P>where
P: ?Sized,
impl<'a, P> RefUnwindSafe for CatalogUseCases<'a, P>where
P: RefUnwindSafe + ?Sized,
impl<'a, P> Send for CatalogUseCases<'a, P>
impl<'a, P> Sync for CatalogUseCases<'a, P>
impl<'a, P> Unpin for CatalogUseCases<'a, P>where
P: ?Sized,
impl<'a, P> UnsafeUnpin for CatalogUseCases<'a, P>where
P: ?Sized,
impl<'a, P> UnwindSafe for CatalogUseCases<'a, P>where
P: RefUnwindSafe + ?Sized,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request