MixedMeasureMapping
¶
Source code in docs_src/capo_timestream_query/types/mixed_measure_mapping.py
measure_name
instance-attribute
¶
measure_name: NotRequired[SchemaName]
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
measure_value_type
instance-attribute
¶
measure_value_type: MeasureValueType
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
multi_measure_attribute_mappings
instance-attribute
¶
multi_measure_attribute_mappings: NotRequired[MultiMeasureAttributeMappingList]
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
source_column
instance-attribute
¶
source_column: NotRequired[SchemaName]
This field refers to the source column from which measure-value is to be read for result materialization.
target_measure_name
instance-attribute
¶
target_measure_name: NotRequired[SchemaName]
Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.