pub struct StreamResolver {Show 21 fields
pub fqn: String,
pub params: Vec<StreamResolverParam>,
pub outputs: Vec<ResolverOutput>,
pub explicit_schema: Option<ArrowType>,
pub keys: Vec<StreamKey>,
pub source: Option<StreamSourceReference>,
pub parse_info: Option<ParseInfo>,
pub mode: i32,
pub environments: Vec<String>,
pub timeout_duration: Option<Duration>,
pub timestamp_attribute_name: Option<String>,
pub owner: Option<String>,
pub doc: Option<String>,
pub machine_type: Option<String>,
pub function: Option<FunctionReference>,
pub source_v2: Option<StreamSourceReference>,
pub updates_materialized_aggregations: bool,
pub feature_expressions: HashMap<String, FeatureExpression>,
pub message_producer: Option<StreamResolverMessageProducerParsed>,
pub skip_online: bool,
pub skip_offline: bool,
}Fields§
§fqn: String§params: Vec<StreamResolverParam>§outputs: Vec<ResolverOutput>§explicit_schema: Option<ArrowType>§keys: Vec<StreamKey>§source: Option<StreamSourceReference>👎Deprecated
§parse_info: Option<ParseInfo>§mode: i32§environments: Vec<String>§timeout_duration: Option<Duration>§timestamp_attribute_name: Option<String>§owner: Option<String>§doc: Option<String>§machine_type: Option<String>§function: Option<FunctionReference>§source_v2: Option<StreamSourceReference>§updates_materialized_aggregations: bool§feature_expressions: HashMap<String, FeatureExpression>Represents features computed as static projection expressions on an input message.
message_producer: Option<StreamResolverMessageProducerParsed>§skip_online: boolSkip online persistence (no writes to Redis/DynamoDB/etc). Default: false Note: Only applies to native streaming (make_stream_resolver)
skip_offline: boolSkip offline persistence (no result bus publishing for offline storage). Default: false Note: Only applies to native streaming (make_stream_resolver)
Implementations§
Source§impl StreamResolver
impl StreamResolver
Sourcepub fn mode(&self) -> WindowMode
pub fn mode(&self) -> WindowMode
Returns the enum value of mode, or the default if the field is set to an invalid enum value.
Sourcepub fn set_mode(&mut self, value: WindowMode)
pub fn set_mode(&mut self, value: WindowMode)
Sets mode to the provided enum value.
Sourcepub fn timestamp_attribute_name(&self) -> &str
pub fn timestamp_attribute_name(&self) -> &str
Returns the value of timestamp_attribute_name, or the default value if timestamp_attribute_name is unset.
Sourcepub fn owner(&self) -> &str
pub fn owner(&self) -> &str
Returns the value of owner, or the default value if owner is unset.
Sourcepub fn machine_type(&self) -> &str
pub fn machine_type(&self) -> &str
Returns the value of machine_type, or the default value if machine_type is unset.
Trait Implementations§
Source§impl Clone for StreamResolver
impl Clone for StreamResolver
Source§fn clone(&self) -> StreamResolver
fn clone(&self) -> StreamResolver
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 StreamResolver
impl Debug for StreamResolver
Source§impl Default for StreamResolver
impl Default for StreamResolver
Source§impl Message for StreamResolver
impl Message for StreamResolver
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for StreamResolver
impl PartialEq for StreamResolver
impl StructuralPartialEq for StreamResolver
Auto Trait Implementations§
impl Freeze for StreamResolver
impl RefUnwindSafe for StreamResolver
impl Send for StreamResolver
impl Sync for StreamResolver
impl Unpin for StreamResolver
impl UnsafeUnpin for StreamResolver
impl UnwindSafe for StreamResolver
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<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