| 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 |
Amazonka.Athena.Types.ResultSet
Description
Synopsis
Documentation
The metadata and rows that make up 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
| FromJSON ResultSet Source # | |
| Generic ResultSet Source # | |
| Read ResultSet Source # | |
| Show ResultSet Source # | |
| NFData ResultSet Source # | |
Defined in Amazonka.Athena.Types.ResultSet | |
| Eq ResultSet Source # | |
| Hashable ResultSet Source # | |
Defined in Amazonka.Athena.Types.ResultSet | |
| type Rep ResultSet Source # | |
Defined in Amazonka.Athena.Types.ResultSet type Rep ResultSet = D1 ('MetaData "ResultSet" "Amazonka.Athena.Types.ResultSet" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "ResultSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resultSetMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResultSetMetadata)) :*: S1 ('MetaSel ('Just "rows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Row])))) | |
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:resultSetMetadata:ResultSet', resultSet_resultSetMetadata - The metadata that describes the column structure and data types of a
table of query results.
$sel:rows:ResultSet', resultSet_rows - 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.