amazonka-athena-2.0: Amazon Athena 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.Athena.Types.Column

Description

 
Synopsis

Documentation

data Column Source #

Contains metadata for a column in a table.

See: newColumn smart constructor.

Constructors

Column' 

Fields

Instances

Instances details
FromJSON Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Generic Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Associated Types

type Rep Column :: Type -> Type #

Methods

from :: Column -> Rep Column x #

to :: Rep Column x -> Column #

Read Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Show Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

NFData Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Methods

rnf :: Column -> () #

Eq Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Methods

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

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

Hashable Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

Methods

hashWithSalt :: Int -> Column -> Int #

hash :: Column -> Int #

type Rep Column Source # 
Instance details

Defined in Amazonka.Athena.Types.Column

type Rep Column = D1 ('MetaData "Column" "Amazonka.Athena.Types.Column" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "Column'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newColumn Source #

Create a value of Column 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:comment:Column', column_comment - Optional information about the column.

$sel:type':Column', column_type - The data type of the column.

$sel:name:Column', column_name - The name of the column.

column_comment :: Lens' Column (Maybe Text) Source #

Optional information about the column.

column_type :: Lens' Column (Maybe Text) Source #

The data type of the column.

column_name :: Lens' Column Text Source #

The name of the column.