public static interface MixedMeasureMapping.Builder extends SdkPojo, CopyableBuilder<MixedMeasureMapping.Builder,MixedMeasureMapping>
| Modifier and Type | Method and Description |
|---|---|
MixedMeasureMapping.Builder |
measureName(String measureName)
Refers to the value of measure_name in a result row.
|
MixedMeasureMapping.Builder |
measureValueType(MeasureValueType measureValueType)
Type of the value that is to be read from sourceColumn.
|
MixedMeasureMapping.Builder |
measureValueType(String measureValueType)
Type of the value that is to be read from sourceColumn.
|
MixedMeasureMapping.Builder |
multiMeasureAttributeMappings(Collection<MultiMeasureAttributeMapping> multiMeasureAttributeMappings)
Required when measureValueType is MULTI.
|
MixedMeasureMapping.Builder |
multiMeasureAttributeMappings(Consumer<MultiMeasureAttributeMapping.Builder>... multiMeasureAttributeMappings)
Required when measureValueType is MULTI.
|
MixedMeasureMapping.Builder |
multiMeasureAttributeMappings(MultiMeasureAttributeMapping... multiMeasureAttributeMappings)
Required when measureValueType is MULTI.
|
MixedMeasureMapping.Builder |
sourceColumn(String sourceColumn)
This field refers to the source column from which measure-value is to be read for result materialization.
|
MixedMeasureMapping.Builder |
targetMeasureName(String targetMeasureName)
Target measure name to be used.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMixedMeasureMapping.Builder measureName(String measureName)
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
measureName - Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is
provided.MixedMeasureMapping.Builder sourceColumn(String sourceColumn)
This field refers to the source column from which measure-value is to be read for result materialization.
sourceColumn - This field refers to the source column from which measure-value is to be read for result
materialization.MixedMeasureMapping.Builder targetMeasureName(String targetMeasureName)
Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.
targetMeasureName - Target measure name to be used. If not provided, the target measure name by default would be
measure-name if provided, or sourceColumn otherwise.MixedMeasureMapping.Builder measureValueType(String measureValueType)
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
measureValueType - Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use
MeasureValueType.MULTI.MeasureValueType,
MeasureValueTypeMixedMeasureMapping.Builder measureValueType(MeasureValueType measureValueType)
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
measureValueType - Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use
MeasureValueType.MULTI.MeasureValueType,
MeasureValueTypeMixedMeasureMapping.Builder multiMeasureAttributeMappings(Collection<MultiMeasureAttributeMapping> multiMeasureAttributeMappings)
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
multiMeasureAttributeMappings - Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.MixedMeasureMapping.Builder multiMeasureAttributeMappings(MultiMeasureAttributeMapping... multiMeasureAttributeMappings)
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
multiMeasureAttributeMappings - Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.MixedMeasureMapping.Builder multiMeasureAttributeMappings(Consumer<MultiMeasureAttributeMapping.Builder>... multiMeasureAttributeMappings)
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
This is a convenience method that creates an instance of theMultiMeasureAttributeMapping.Builder avoiding
the need to create one manually via
MultiMeasureAttributeMapping.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #multiMeasureAttributeMappings(List.
multiMeasureAttributeMappings - a consumer that will call methods on
MultiMeasureAttributeMapping.Builder#multiMeasureAttributeMappings(java.util.Collection) Copyright © 2023. All rights reserved.