Interface MixedMeasureMapping.Builder

    • Method Detail

      • measureName

        MixedMeasureMapping.Builder measureName​(String measureName)

        Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.

        Parameters:
        measureName - Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceColumn

        MixedMeasureMapping.Builder sourceColumn​(String sourceColumn)

        This field refers to the source column from which measure-value is to be read for result materialization.

        Parameters:
        sourceColumn - This field refers to the source column from which measure-value is to be read for result materialization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetMeasureName

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • measureValueType

        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.

        Parameters:
        measureValueType - Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MeasureValueType, MeasureValueType
      • measureValueType

        MixedMeasureMapping.Builder measureValueType​(MeasureValueType measureValueType)

        Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.

        Parameters:
        measureValueType - Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MeasureValueType, MeasureValueType
      • multiMeasureAttributeMappings

        MixedMeasureMapping.Builder multiMeasureAttributeMappings​(Collection<MultiMeasureAttributeMapping> multiMeasureAttributeMappings)

        Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.

        Parameters:
        multiMeasureAttributeMappings - Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • multiMeasureAttributeMappings

        MixedMeasureMapping.Builder multiMeasureAttributeMappings​(MultiMeasureAttributeMapping... multiMeasureAttributeMappings)

        Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.

        Parameters:
        multiMeasureAttributeMappings - Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
        Returns:
        Returns a reference to this object so that method calls can be chained together.