Interface QueryPlanningContext.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QueryPlanningContext.Builder,
,QueryPlanningContext> SdkBuilder<QueryPlanningContext.Builder,
,QueryPlanningContext> SdkPojo
- Enclosing class:
QueryPlanningContext
@Mutable
@NotThreadSafe
public static interface QueryPlanningContext.Builder
extends SdkPojo, CopyableBuilder<QueryPlanningContext.Builder,QueryPlanningContext>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog where the partition in question resides.databaseName
(String databaseName) The database containing the table.queryAsOfTime
(Instant queryAsOfTime) The time as of when to read the table contents.queryParameters
(Map<String, String> queryParameters) A map consisting of key-value pairs.transactionId
(String transactionId) The transaction ID at which to read the table contents.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The database containing the table.
- Parameters:
databaseName
- The database containing the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
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 withTransactionId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryParameters
A map consisting of key-value pairs.
- Parameters:
queryParameters
- A map consisting of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
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 withQueryAsOfTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-