pub struct Services {
pub catalog: Catalog,
pub runtime_context: RuntimeContext,
pub compiler: Compiler,
pub routines: Routines,
pub transforms: Transforms,
pub operators: OperatorLibrary,
pub virtual_table_registry: UserVTableRegistry,
pub metrics_reader: MetricsReader<SingleStore>,
pub ioc: IocContainer,
pub auth_registry: Arc<AuthenticationRegistry>,
pub view_lineage: ViewLineage,
pub remote_registry: Option<RemoteRegistry>,
}Fields§
§catalog: Catalog§runtime_context: RuntimeContext§compiler: Compiler§routines: Routines§transforms: Transforms§operators: OperatorLibrary§virtual_table_registry: UserVTableRegistry§metrics_reader: MetricsReader<SingleStore>§ioc: IocContainer§auth_registry: Arc<AuthenticationRegistry>§view_lineage: ViewLineage§remote_registry: Option<RemoteRegistry>Implementations§
Source§impl Services
impl Services
pub fn new( catalog: Catalog, config: EngineConfig, operator_store: OperatorLibrary, metrics_reader: MetricsReader<SingleStore>, ) -> Self
pub fn get_handlers( &self, txn: &mut Transaction<'_>, variant: VariantRef, ) -> Vec<Arc<dyn Procedure>>
pub fn get_procedure(&self, name: &str) -> Option<Arc<dyn Procedure>>
Auto Trait Implementations§
impl !Freeze for Services
impl !RefUnwindSafe for Services
impl !UnwindSafe for Services
impl Send for Services
impl Sync for Services
impl Unpin for Services
impl UnsafeUnpin for Services
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