Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data MixedMeasureMapping = MixedMeasureMapping' {}
- newMixedMeasureMapping :: MeasureValueType -> MixedMeasureMapping
- mixedMeasureMapping_measureName :: Lens' MixedMeasureMapping (Maybe Text)
- mixedMeasureMapping_multiMeasureAttributeMappings :: Lens' MixedMeasureMapping (Maybe (NonEmpty MultiMeasureAttributeMapping))
- mixedMeasureMapping_sourceColumn :: Lens' MixedMeasureMapping (Maybe Text)
- mixedMeasureMapping_targetMeasureName :: Lens' MixedMeasureMapping (Maybe Text)
- mixedMeasureMapping_measureValueType :: Lens' MixedMeasureMapping MeasureValueType
Documentation
data MixedMeasureMapping Source #
MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.
See: newMixedMeasureMapping
smart constructor.
MixedMeasureMapping' | |
|
Instances
newMixedMeasureMapping Source #
Create a value of MixedMeasureMapping
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:measureName:MixedMeasureMapping'
, mixedMeasureMapping_measureName
- Refers to the value of measure_name in a result row. This field is
required if MeasureNameColumn is provided.
$sel:multiMeasureAttributeMappings:MixedMeasureMapping'
, mixedMeasureMapping_multiMeasureAttributeMappings
- Required when measureValueType is MULTI. Attribute mappings for MULTI
value measures.
MixedMeasureMapping
, mixedMeasureMapping_sourceColumn
- This field refers to the source column from which measure-value is to be
read for result materialization.
$sel:targetMeasureName:MixedMeasureMapping'
, mixedMeasureMapping_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
, mixedMeasureMapping_measureValueType
- Type of the value that is to be read from sourceColumn. If the mapping
is for MULTI, use MeasureValueType.MULTI.
mixedMeasureMapping_measureName :: Lens' MixedMeasureMapping (Maybe Text) Source #
Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.
mixedMeasureMapping_multiMeasureAttributeMappings :: Lens' MixedMeasureMapping (Maybe (NonEmpty MultiMeasureAttributeMapping)) Source #
Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.
mixedMeasureMapping_sourceColumn :: Lens' MixedMeasureMapping (Maybe Text) Source #
This field refers to the source column from which measure-value is to be read for result materialization.
mixedMeasureMapping_targetMeasureName :: Lens' MixedMeasureMapping (Maybe Text) Source #
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_measureValueType :: Lens' MixedMeasureMapping MeasureValueType Source #
Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.