#[non_exhaustive]pub struct MixedMeasureMappingBuilder { /* private fields */ }
Expand description
A builder for MixedMeasureMapping
.
Implementations§
source§impl MixedMeasureMappingBuilder
impl MixedMeasureMappingBuilder
sourcepub fn measure_name(self, input: impl Into<String>) -> Self
pub fn measure_name(self, input: impl Into<String>) -> Self
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
sourcepub fn set_measure_name(self, input: Option<String>) -> Self
pub fn set_measure_name(self, input: Option<String>) -> Self
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
sourcepub fn get_measure_name(&self) -> &Option<String>
pub fn get_measure_name(&self) -> &Option<String>
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
sourcepub fn source_column(self, input: impl Into<String>) -> Self
pub fn source_column(self, input: impl Into<String>) -> Self
This field refers to the source column from which measure-value is to be read for result materialization.
sourcepub fn set_source_column(self, input: Option<String>) -> Self
pub fn set_source_column(self, input: Option<String>) -> Self
This field refers to the source column from which measure-value is to be read for result materialization.
sourcepub fn get_source_column(&self) -> &Option<String>
pub fn get_source_column(&self) -> &Option<String>
This field refers to the source column from which measure-value is to be read for result materialization.
sourcepub fn target_measure_name(self, input: impl Into<String>) -> Self
pub fn target_measure_name(self, input: impl Into<String>) -> Self
Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.
sourcepub fn set_target_measure_name(self, input: Option<String>) -> Self
pub fn set_target_measure_name(self, input: Option<String>) -> Self
Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.
sourcepub fn get_target_measure_name(&self) -> &Option<String>
pub fn get_target_measure_name(&self) -> &Option<String>
Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.
sourcepub fn measure_value_type(self, input: MeasureValueType) -> Self
pub fn measure_value_type(self, input: MeasureValueType) -> Self
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
sourcepub fn set_measure_value_type(self, input: Option<MeasureValueType>) -> Self
pub fn set_measure_value_type(self, input: Option<MeasureValueType>) -> Self
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
sourcepub fn get_measure_value_type(&self) -> &Option<MeasureValueType>
pub fn get_measure_value_type(&self) -> &Option<MeasureValueType>
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
sourcepub fn multi_measure_attribute_mappings(
self,
input: MultiMeasureAttributeMapping
) -> Self
pub fn multi_measure_attribute_mappings( self, input: MultiMeasureAttributeMapping ) -> Self
Appends an item to multi_measure_attribute_mappings
.
To override the contents of this collection use set_multi_measure_attribute_mappings
.
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
sourcepub fn set_multi_measure_attribute_mappings(
self,
input: Option<Vec<MultiMeasureAttributeMapping>>
) -> Self
pub fn set_multi_measure_attribute_mappings( self, input: Option<Vec<MultiMeasureAttributeMapping>> ) -> Self
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
sourcepub fn get_multi_measure_attribute_mappings(
&self
) -> &Option<Vec<MultiMeasureAttributeMapping>>
pub fn get_multi_measure_attribute_mappings( &self ) -> &Option<Vec<MultiMeasureAttributeMapping>>
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
sourcepub fn build(self) -> MixedMeasureMapping
pub fn build(self) -> MixedMeasureMapping
Consumes the builder and constructs a MixedMeasureMapping
.
Trait Implementations§
source§impl Clone for MixedMeasureMappingBuilder
impl Clone for MixedMeasureMappingBuilder
source§fn clone(&self) -> MixedMeasureMappingBuilder
fn clone(&self) -> MixedMeasureMappingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MixedMeasureMappingBuilder
impl Debug for MixedMeasureMappingBuilder
source§impl Default for MixedMeasureMappingBuilder
impl Default for MixedMeasureMappingBuilder
source§fn default() -> MixedMeasureMappingBuilder
fn default() -> MixedMeasureMappingBuilder
source§impl PartialEq<MixedMeasureMappingBuilder> for MixedMeasureMappingBuilder
impl PartialEq<MixedMeasureMappingBuilder> for MixedMeasureMappingBuilder
source§fn eq(&self, other: &MixedMeasureMappingBuilder) -> bool
fn eq(&self, other: &MixedMeasureMappingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.