pub struct OutputCollectionHandles {
pub key_schema: Option<Relation>,
pub value_schema: Relation,
pub index_of: Option<SqlIdentifier>,
pub alias_as_index: Option<SqlIdentifier>,
pub integrate_handle: Option<Arc<dyn SerBatchReaderHandle>>,
pub delta_handle: Box<dyn SerBatchReaderHandle>,
pub enable_count: Arc<AtomicUsize>,
}Expand description
A set of stream handles associated with each output collection.
Fields§
§key_schema: Option<Relation>Schema of the keys in the stream.
Only set for indexed Z-sets.
value_schema: RelationSchema of the values in the stream.
If the stream is an indexed Z-set, this is the schema of the values in the stream; if it is a Z-set, this is the schema of the keys in the stream.
index_of: Option<SqlIdentifier>Set when this stream is an index of another stream.
alias_as_index: Option<SqlIdentifier>Set when the same stream is used to represent a view and its index.
integrate_handle: Option<Arc<dyn SerBatchReaderHandle>>A handle to a snapshot of a materialized table/view.
delta_handle: Box<dyn SerBatchReaderHandle>A stream of changes to the collection.
enable_count: Arc<AtomicUsize>Reference to the enable count of the accumulator used to collect updates to this stream. Incremented every time an output connector is attached to this stream; decremented when the output connector is detached.
Implementations§
Source§impl OutputCollectionHandles
impl OutputCollectionHandles
Sourcepub fn is_indexed(&self) -> bool
pub fn is_indexed(&self) -> bool
Stream is an indexed Z-set.
Trait Implementations§
Source§impl Clone for OutputCollectionHandles
impl Clone for OutputCollectionHandles
Source§fn clone(&self) -> OutputCollectionHandles
fn clone(&self) -> OutputCollectionHandles
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for OutputCollectionHandles
impl !UnwindSafe for OutputCollectionHandles
impl Freeze for OutputCollectionHandles
impl Send for OutputCollectionHandles
impl Sync for OutputCollectionHandles
impl Unpin for OutputCollectionHandles
impl UnsafeUnpin for OutputCollectionHandles
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Data for Twhere
T: Clone + 'static,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<T> ErasedDestructor for Twhere
T: 'static,
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>
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>
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 more