pub struct InputStream {
    pub name: String,
    pub ty: Type,
    pub accessed_by: Vec<(StreamReference, Vec<StreamAccessKind>)>,
    pub aggregated_by: Vec<(StreamReference, WindowReference)>,
    pub layer: StreamLayers,
    pub memory_bound: MemorizationBound,
    pub reference: StreamReference,
}
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<StreamAccessKind>)>

The collection of streams that access the current stream non-transitively

§aggregated_by: Vec<(StreamReference, WindowReference)>

The collection of sliding windows that access this stream non-transitively. 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

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Serialize this value into the given Serde serializer. Read more
Reports the evaluation layer of the spawn condition of the stream.
Reports the evaluation layer of the stream.
Reports the name of the stream.
Returns the type of the stream.
Indicates whether or not the stream is an input stream.
Indicates whether or not the stream has parameters.
Indicates whether or not the stream spawned / dynamically created.
Indicates whether or not the stream is closed.
Indicates how many values of the stream’s Type need to be memorized.
Produces a stream references referring to the stream.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.