pub struct GroupMap {
pub input: Option<Box<Relation>>,
pub grouping_expressions: Vec<Expression>,
pub func: Option<CommonInlineUserDefinedFunction>,
pub sorting_expressions: Vec<Expression>,
pub initial_input: Option<Box<Relation>>,
pub initial_grouping_expressions: Vec<Expression>,
pub is_map_groups_with_state: Option<bool>,
pub output_mode: Option<String>,
pub timeout_conf: Option<String>,
}
Fields§
§input: Option<Box<Relation>>
(Required) Input relation for Group Map API: apply, applyInPandas.
grouping_expressions: Vec<Expression>
(Required) Expressions for grouping keys.
func: Option<CommonInlineUserDefinedFunction>
(Required) Input user-defined function.
sorting_expressions: Vec<Expression>
(Optional) Expressions for sorting. Only used by Scala Sorted Group Map API.
initial_input: Option<Box<Relation>>
Below fields are only used by (Flat)MapGroupsWithState (Optional) Input relation for initial State.
initial_grouping_expressions: Vec<Expression>
(Optional) Expressions for grouping keys of the initial state input relation.
is_map_groups_with_state: Option<bool>
(Optional) True if MapGroupsWithState, false if FlatMapGroupsWithState.
output_mode: Option<String>
(Optional) The output mode of the function.
timeout_conf: Option<String>
(Optional) Timeout configuration for groups that do not receive data for a while.
Implementations§
Source§impl GroupMap
impl GroupMap
Sourcepub fn is_map_groups_with_state(&self) -> bool
pub fn is_map_groups_with_state(&self) -> bool
Returns the value of is_map_groups_with_state
, or the default value if is_map_groups_with_state
is unset.
Sourcepub fn output_mode(&self) -> &str
pub fn output_mode(&self) -> &str
Returns the value of output_mode
, or the default value if output_mode
is unset.
Sourcepub fn timeout_conf(&self) -> &str
pub fn timeout_conf(&self) -> &str
Returns the value of timeout_conf
, or the default value if timeout_conf
is unset.
Trait Implementations§
Source§impl Message for GroupMap
impl Message for GroupMap
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.impl StructuralPartialEq for GroupMap
Auto Trait Implementations§
impl Freeze for GroupMap
impl RefUnwindSafe for GroupMap
impl Send for GroupMap
impl Sync for GroupMap
impl Unpin for GroupMap
impl UnwindSafe for GroupMap
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<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>
T
in a tonic::Request