pub enum StreamAccessKind {
Sync,
DiscreteWindow(WindowReference),
SlidingWindow(WindowReference),
InstanceAggregation(WindowReference),
Hold,
Offset(Offset),
Get,
Fresh,
}
Expand description
Representation of the different stream accesses
Variants§
Sync
Represents the synchronous access
DiscreteWindow(WindowReference)
Represents the access to a (discrete window)DiscreteWindow
The argument contains the reference to the (discrete window)DiscreteWindow whose value is used in the Expression.
SlidingWindow(WindowReference)
Represents the access to a (sliding window)SlidingWindow
The argument contains the reference to the (sliding window)SlidingWindow whose value is used in the Expression.
InstanceAggregation(WindowReference)
Represents the access to a (instance aggregation)InstanceAggregation
The argument contains the reference to the (instance aggregation)InstanceAggregation whose value is used in the Expression.
Hold
Representation of sample and hold accesses
Offset(Offset)
Representation of offset accesses
The argument contains the Offset of the stream access.
Get
Represents the optional get
access.
Fresh
Represents the update check of a stream, if the target received a new value at this timestamp.
Trait Implementations§
Source§impl Clone for StreamAccessKind
impl Clone for StreamAccessKind
Source§fn clone(&self) -> StreamAccessKind
fn clone(&self) -> StreamAccessKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for StreamAccessKind
impl Debug for StreamAccessKind
Source§impl<'de> Deserialize<'de> for StreamAccessKind
impl<'de> Deserialize<'de> for StreamAccessKind
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>,
Source§impl Hash for StreamAccessKind
impl Hash for StreamAccessKind
Source§impl PartialEq for StreamAccessKind
impl PartialEq for StreamAccessKind
Source§impl Serialize for StreamAccessKind
impl Serialize for StreamAccessKind
impl Copy for StreamAccessKind
impl Eq for StreamAccessKind
impl StructuralPartialEq for StreamAccessKind
Auto Trait Implementations§
impl Freeze for StreamAccessKind
impl RefUnwindSafe for StreamAccessKind
impl Send for StreamAccessKind
impl Sync for StreamAccessKind
impl Unpin for StreamAccessKind
impl UnwindSafe for StreamAccessKind
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
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
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>
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