Enum mz_adapter::catalog::DataSourceDesc
source · pub enum DataSourceDesc {
Ingestion(IngestionDescription<(), ReferencedConnection>),
Source,
Introspection(IntrospectionType),
Progress,
Webhook {
validate_using: Option<WebhookValidation>,
headers: WebhookHeaders,
cluster_id: StorageInstanceId,
},
}
Variants§
Ingestion(IngestionDescription<(), ReferencedConnection>)
Receives data from an external system
Source
Receives data from some other source
Introspection(IntrospectionType)
Receives introspection data from an internal system
Progress
Receives data from the source’s reclocking/remapping operations.
Webhook
Fields
§
validate_using: Option<WebhookValidation>
Optional components used to validation a webhook request.
§
headers: WebhookHeaders
Describes whether or not to include headers and how to map them.
§
cluster_id: StorageInstanceId
The cluster which this source is associated with.
Receives data from HTTP requests.
Implementations§
source§impl DataSourceDesc
impl DataSourceDesc
sourcepub fn ingestion(
id: GlobalId,
ingestion: Ingestion,
instance_id: StorageInstanceId
) -> DataSourceDesc
pub fn ingestion( id: GlobalId, ingestion: Ingestion, instance_id: StorageInstanceId ) -> DataSourceDesc
Describes the ingestion to the adapter, which essentially just enriches the a higher-level
PlanIngestion
with a ClusterId
.
Trait Implementations§
source§impl Clone for DataSourceDesc
impl Clone for DataSourceDesc
source§fn clone(&self) -> DataSourceDesc
fn clone(&self) -> DataSourceDesc
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DataSourceDesc
impl Debug for DataSourceDesc
source§impl Serialize for DataSourceDesc
impl Serialize for DataSourceDesc
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DataSourceDesc
impl Send for DataSourceDesc
impl Sync for DataSourceDesc
impl Unpin for DataSourceDesc
impl UnwindSafe for DataSourceDesc
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> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> 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
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> PreferredContainer for Twhere
T: Clone,
impl<T> PreferredContainer for Twhere T: Clone,
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.