pub struct ExperimentalGroupByWindowDataset { /* private fields */ }
Expand description
Builder for the ExperimentalGroupByWindowDataset
operation.
Implementations§
Source§impl ExperimentalGroupByWindowDataset
impl ExperimentalGroupByWindowDataset
Sourcepub fn key_func<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn key_func<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the key_func
attribute.
Sourcepub fn reduce_func<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn reduce_func<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the reduce_func
attribute.
Sourcepub fn window_size_func<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn window_size_func<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the window_size_func
attribute.
Sourcepub fn Tkey_func_other_arguments<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn Tkey_func_other_arguments<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the Tkey_func_other_arguments
attribute.
Sourcepub fn Treduce_func_other_arguments<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn Treduce_func_other_arguments<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the Treduce_func_other_arguments
attribute.
Sourcepub fn Twindow_size_func_other_arguments<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn Twindow_size_func_other_arguments<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the Twindow_size_func_other_arguments
attribute.
Sourcepub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the output_types
attribute.
Sourcepub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
pub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
Sets the output_shapes
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>(
&self,
input_dataset: O0,
key_func_other_arguments: O1,
reduce_func_other_arguments: O2,
window_size_func_other_arguments: O3,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, input_dataset: O0, key_func_other_arguments: O1, reduce_func_other_arguments: O2, window_size_func_other_arguments: O3, scope: &mut Scope, ) -> Result<Operation>
Builds the ExperimentalGroupByWindowDataset
operation.
Trait Implementations§
Source§impl Default for ExperimentalGroupByWindowDataset
impl Default for ExperimentalGroupByWindowDataset
Source§fn default() -> ExperimentalGroupByWindowDataset
fn default() -> ExperimentalGroupByWindowDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExperimentalGroupByWindowDataset
impl RefUnwindSafe for ExperimentalGroupByWindowDataset
impl Send for ExperimentalGroupByWindowDataset
impl Sync for ExperimentalGroupByWindowDataset
impl Unpin for ExperimentalGroupByWindowDataset
impl UnwindSafe for ExperimentalGroupByWindowDataset
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