libZSservicesZSamazonka-athenaZSamazonka-athena
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Athena.Types.ResultSet

Description

 
Synopsis

Documentation

data ResultSet Source #

The metadata and rows that comprise a query result set. The metadata describes the column structure and data types. To return a ResultSet object, use GetQueryResults.

See: newResultSet smart constructor.

Constructors

ResultSet' 

Fields

Instances

Instances details
Eq ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Read ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Show ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Generic ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Associated Types

type Rep ResultSet :: Type -> Type #

NFData ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

Methods

rnf :: ResultSet -> () #

Hashable ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

FromJSON ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

type Rep ResultSet Source # 
Instance details

Defined in Amazonka.Athena.Types.ResultSet

type Rep ResultSet = D1 ('MetaData "ResultSet" "Amazonka.Athena.Types.ResultSet" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "ResultSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Row])) :*: S1 ('MetaSel ('Just "resultSetMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultSetMetadata))))

newResultSet :: ResultSet Source #

Create a value of ResultSet 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:rows:ResultSet', resultSet_rows - The rows in the table.

$sel:resultSetMetadata:ResultSet', resultSet_resultSetMetadata - The metadata that describes the column structure and data types of a table of query results.

resultSet_rows :: Lens' ResultSet (Maybe [Row]) Source #

The rows in the table.

resultSet_resultSetMetadata :: Lens' ResultSet (Maybe ResultSetMetadata) Source #

The metadata that describes the column structure and data types of a table of query results.