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 Datum = Datum' {
- arrayValue :: Maybe [Datum]
- nullValue :: Maybe Bool
- rowValue :: Maybe Row
- scalarValue :: Maybe Text
- timeSeriesValue :: Maybe [TimeSeriesDataPoint]
- newDatum :: Datum
- datum_arrayValue :: Lens' Datum (Maybe [Datum])
- datum_nullValue :: Lens' Datum (Maybe Bool)
- datum_rowValue :: Lens' Datum (Maybe Row)
- datum_scalarValue :: Lens' Datum (Maybe Text)
- datum_timeSeriesValue :: Lens' Datum (Maybe [TimeSeriesDataPoint])
Documentation
Datum represents a single data point in a query result.
See: newDatum
smart constructor.
Datum' | |
|
Instances
Create a value of Datum
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:arrayValue:Datum'
, datum_arrayValue
- Indicates if the data point is an array.
$sel:nullValue:Datum'
, datum_nullValue
- Indicates if the data point is null.
$sel:rowValue:Datum'
, datum_rowValue
- Indicates if the data point is a row.
$sel:scalarValue:Datum'
, datum_scalarValue
- Indicates if the data point is a scalar value such as integer, string,
double, or Boolean.
$sel:timeSeriesValue:Datum'
, datum_timeSeriesValue
- Indicates if the data point is a timeseries data type.
datum_scalarValue :: Lens' Datum (Maybe Text) Source #
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
datum_timeSeriesValue :: Lens' Datum (Maybe [TimeSeriesDataPoint]) Source #
Indicates if the data point is a timeseries data type.