Interface QueryPlanningContext.Builder

  • Method Details

    • catalogId

      QueryPlanningContext.Builder catalogId(String 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

      QueryPlanningContext.Builder databaseName(String 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

      QueryPlanningContext.Builder queryAsOfTime(Instant 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 with TransactionId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryParameters

      QueryPlanningContext.Builder queryParameters(Map<String,String> 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

      QueryPlanningContext.Builder transactionId(String 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 with QueryAsOfTime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.