pub struct InputStream {
pub name: String,
pub ty: Type,
pub accessed_by: Vec<(StreamReference, Vec<(Origin, StreamAccessKind)>)>,
pub aggregated_by: Vec<(StreamReference, Origin, WindowReference)>,
pub aggregates: Vec<(StreamReference, Origin, WindowReference)>,
pub layer: StreamLayers,
pub memory_bound: MemorizationBound,
pub reference: StreamReference,
pub tags: HashMap<String, Option<String>>,
}
Expand description
Contains all information inherent to an input stream.
Fields§
§name: String
The name of the stream
ty: Type
The value type of the stream. Note that its pacing is always pre-determined.
accessed_by: Vec<(StreamReference, Vec<(Origin, StreamAccessKind)>)>
The collection of streams that access the current stream non-transitively
aggregated_by: Vec<(StreamReference, Origin, WindowReference)>
The collection of sliding windows that access this stream non-transitively. This includes both sliding and discrete windows.
aggregates: Vec<(StreamReference, Origin, WindowReference)>
The collection of windows that is accessed by this stream. This includes both sliding and discrete windows.
layer: StreamLayers
Provides the evaluation of layer of this stream.
memory_bound: MemorizationBound
Provides the number of values of this stream’s type that need to be memorized. Refer to Type::size to get a type’s byte-size.
reference: StreamReference
The reference referring to this stream
The tags annotated to this stream.
Trait Implementations§
Source§impl Clone for InputStream
impl Clone for InputStream
Source§fn clone(&self) -> InputStream
fn clone(&self) -> InputStream
Returns a duplicate 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 InputStream
impl Debug for InputStream
Source§impl<'de> Deserialize<'de> for InputStream
impl<'de> Deserialize<'de> for InputStream
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InputStream
impl Display for InputStream
Source§impl PartialEq for InputStream
impl PartialEq for InputStream
Source§impl Serialize for InputStream
impl Serialize for InputStream
Source§impl Stream for InputStream
impl Stream for InputStream
Source§fn spawn_layer(&self) -> Layer
fn spawn_layer(&self) -> Layer
Reports the evaluation layer of the spawn condition of the stream.
Source§fn eval_layer(&self) -> Layer
fn eval_layer(&self) -> Layer
Reports the evaluation layer of the stream.
Source§fn is_parameterized(&self) -> bool
fn is_parameterized(&self) -> bool
Indicates whether or not the stream has parameters.
Source§fn is_spawned(&self) -> bool
fn is_spawned(&self) -> bool
Indicates whether or not the stream spawned / dynamically created.
Source§fn is_eval_filtered(&self) -> bool
fn is_eval_filtered(&self) -> bool
Indicated whether or not the stream is filtered.
Source§fn values_to_memorize(&self) -> MemorizationBound
fn values_to_memorize(&self) -> MemorizationBound
Indicates how many values of the stream’s Type need to be memorized.
Source§fn as_stream_ref(&self) -> StreamReference
fn as_stream_ref(&self) -> StreamReference
Produces a stream references referring to the stream.
Source§fn accessed_by(
&self,
) -> &Vec<(StreamReference, Vec<(Origin, StreamAccessKind)>)>
fn accessed_by( &self, ) -> &Vec<(StreamReference, Vec<(Origin, StreamAccessKind)>)>
Returns the collection of streams that access the stream non-transitively.
Source§fn aggregated_by(&self) -> &[(StreamReference, Origin, WindowReference)]
fn aggregated_by(&self) -> &[(StreamReference, Origin, WindowReference)]
Returns the collection of sliding windows that access the stream non-transitively.
This includes both sliding and discrete windows.
Source§fn aggregates(&self) -> &[(StreamReference, Origin, WindowReference)]
fn aggregates(&self) -> &[(StreamReference, Origin, WindowReference)]
Returns the collection of sliding windows that are accessed by the stream non-transitively.
This includes both sliding and discrete windows.
Returns the tags annotated to this stream.
impl Eq for InputStream
impl StructuralPartialEq for InputStream
Auto Trait Implementations§
impl Freeze for InputStream
impl RefUnwindSafe for InputStream
impl Send for InputStream
impl Sync for InputStream
impl Unpin for InputStream
impl UnwindSafe for InputStream
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> 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 more