pub struct CollectionDescription<T> {
pub desc: RelationDesc,
pub data_source: DataSource,
pub since: Option<Antichain<T>>,
pub status_collection_id: Option<GlobalId>,
}
Expand description
Describes a request to create a source.
Fields§
§desc: RelationDesc
The schema of this collection
data_source: DataSource
The source of this collection’s data.
since: Option<Antichain<T>>
An optional frontier to which the collection’s since
should be advanced.
status_collection_id: Option<GlobalId>
A GlobalId to use for this collection to use for the status collection. Used to keep track of source status/error information.
Implementations§
source§impl<T> CollectionDescription<T>
impl<T> CollectionDescription<T>
sourcefn get_storage_dependencies(&self) -> Vec<GlobalId> ⓘ
fn get_storage_dependencies(&self) -> Vec<GlobalId> ⓘ
Returns IDs for all storage objects that this CollectionDescription
depends on.
TODO: @sean: This is where the remap shard would slot in.
Trait Implementations§
source§impl<T: Clone> Clone for CollectionDescription<T>
impl<T: Clone> Clone for CollectionDescription<T>
source§fn clone(&self) -> CollectionDescription<T>
fn clone(&self) -> CollectionDescription<T>
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<T: Debug> Debug for CollectionDescription<T>
impl<T: Debug> Debug for CollectionDescription<T>
source§impl<T> From<RelationDesc> for CollectionDescription<T>
impl<T> From<RelationDesc> for CollectionDescription<T>
source§fn from(desc: RelationDesc) -> Self
fn from(desc: RelationDesc) -> Self
Converts to this type from the input type.
source§impl<T: PartialEq> PartialEq<CollectionDescription<T>> for CollectionDescription<T>
impl<T: PartialEq> PartialEq<CollectionDescription<T>> for CollectionDescription<T>
source§fn eq(&self, other: &CollectionDescription<T>) -> bool
fn eq(&self, other: &CollectionDescription<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Eq> Eq for CollectionDescription<T>
impl<T> StructuralEq for CollectionDescription<T>
impl<T> StructuralPartialEq for CollectionDescription<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for CollectionDescription<T>where
T: RefUnwindSafe,
impl<T> Send for CollectionDescription<T>where
T: Send,
impl<T> Sync for CollectionDescription<T>where
T: Sync,
impl<T> Unpin for CollectionDescription<T>where
T: Unpin,
impl<T> UnwindSafe for CollectionDescription<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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<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
.