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 QueryPlanningContext = QueryPlanningContext' {}
- newQueryPlanningContext :: Text -> QueryPlanningContext
- queryPlanningContext_catalogId :: Lens' QueryPlanningContext (Maybe Text)
- queryPlanningContext_queryAsOfTime :: Lens' QueryPlanningContext (Maybe UTCTime)
- queryPlanningContext_queryParameters :: Lens' QueryPlanningContext (Maybe (HashMap Text Text))
- queryPlanningContext_transactionId :: Lens' QueryPlanningContext (Maybe Text)
- queryPlanningContext_databaseName :: Lens' QueryPlanningContext Text
Documentation
data QueryPlanningContext Source #
A structure containing information about the query plan.
See: newQueryPlanningContext
smart constructor.
QueryPlanningContext' | |
|
Instances
newQueryPlanningContext Source #
Create a value of QueryPlanningContext
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:catalogId:QueryPlanningContext'
, queryPlanningContext_catalogId
- The ID of the Data Catalog where the partition in question resides. If
none is provided, the Amazon Web Services account ID is used by default.
$sel:queryAsOfTime:QueryPlanningContext'
, queryPlanningContext_queryAsOfTime
- The time as of when to read the table contents. If not set, the most
recent transaction commit time will be used. Cannot be specified along
with TransactionId
.
$sel:queryParameters:QueryPlanningContext'
, queryPlanningContext_queryParameters
- A map consisting of key-value pairs.
$sel:transactionId:QueryPlanningContext'
, queryPlanningContext_transactionId
- The transaction ID at which to read the table contents. If this
transaction is not committed, the read will be treated as part of that
transaction and will see its writes. If this transaction has aborted, an
error will be returned. If not set, defaults to the most recent
committed transaction. Cannot be specified along with QueryAsOfTime
.
$sel:databaseName:QueryPlanningContext'
, queryPlanningContext_databaseName
- The database containing the table.
queryPlanningContext_catalogId :: Lens' QueryPlanningContext (Maybe Text) Source #
The ID of the Data Catalog where the partition in question resides. If none is provided, the Amazon Web Services account ID is used by default.
queryPlanningContext_queryAsOfTime :: Lens' QueryPlanningContext (Maybe UTCTime) Source #
The time as of when to read the table contents. If not set, the most
recent transaction commit time will be used. Cannot be specified along
with TransactionId
.
queryPlanningContext_queryParameters :: Lens' QueryPlanningContext (Maybe (HashMap Text Text)) Source #
A map consisting of key-value pairs.
queryPlanningContext_transactionId :: Lens' QueryPlanningContext (Maybe Text) Source #
The transaction ID at which to read the table contents. If this
transaction is not committed, the read will be treated as part of that
transaction and will see its writes. If this transaction has aborted, an
error will be returned. If not set, defaults to the most recent
committed transaction. Cannot be specified along with QueryAsOfTime
.
queryPlanningContext_databaseName :: Lens' QueryPlanningContext Text Source #
The database containing the table.