amazonka-timestream-query-2.0: Amazon Timestream Query SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.TimeStreamQuery.Types.Type

Description

 
Synopsis

Documentation

data Type Source #

Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, Boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.

See: newType smart constructor.

Constructors

Type' 

Fields

Instances

Instances details
FromJSON Type Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Type

Generic Type Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Type

Associated Types

type Rep Type :: Type -> Type #

Methods

from :: Type -> Rep Type x #

to :: Rep Type x -> Type #

Read Type Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Type

Show Type Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Type

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

NFData Type Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Type

Methods

rnf :: Type -> () #

Eq Type Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Type

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Hashable Type Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Type

Methods

hashWithSalt :: Int -> Type -> Int #

hash :: Type -> Int #

type Rep Type Source # 
Instance details

Defined in Amazonka.TimeStreamQuery.Types.Type

type Rep Type = D1 ('MetaData "Type" "Amazonka.TimeStreamQuery.Types.Type" "amazonka-timestream-query-2.0-HD7xx47Lw3eG6c52GyReXL" 'False) (C1 ('MetaCons "Type'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arrayColumnInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ColumnInfo)) :*: S1 ('MetaSel ('Just "rowColumnInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ColumnInfo]))) :*: (S1 ('MetaSel ('Just "scalarType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScalarType)) :*: S1 ('MetaSel ('Just "timeSeriesMeasureValueColumnInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ColumnInfo)))))

newType :: Type Source #

Create a value of Type 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:arrayColumnInfo:Type', type_arrayColumnInfo - Indicates if the column is an array.

$sel:rowColumnInfo:Type', type_rowColumnInfo - Indicates if the column is a row.

$sel:scalarType:Type', type_scalarType - Indicates if the column is of type string, integer, Boolean, double, timestamp, date, time.

$sel:timeSeriesMeasureValueColumnInfo:Type', type_timeSeriesMeasureValueColumnInfo - Indicates if the column is a timeseries data type.

type_arrayColumnInfo :: Lens' Type (Maybe ColumnInfo) Source #

Indicates if the column is an array.

type_rowColumnInfo :: Lens' Type (Maybe [ColumnInfo]) Source #

Indicates if the column is a row.

type_scalarType :: Lens' Type (Maybe ScalarType) Source #

Indicates if the column is of type string, integer, Boolean, double, timestamp, date, time.

type_timeSeriesMeasureValueColumnInfo :: Lens' Type (Maybe ColumnInfo) Source #

Indicates if the column is a timeseries data type.