JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.dynamodbv2.model

Class ExecuteStatementRequest

    • Constructor Detail

      • ExecuteStatementRequest

        public ExecuteStatementRequest()
    • Method Detail

      • setStatement

        public void setStatement(String statement)

        The PartiQL statement representing the operation to run.

        Parameters:
        statement - The PartiQL statement representing the operation to run.
      • getStatement

        public String getStatement()

        The PartiQL statement representing the operation to run.

        Returns:
        The PartiQL statement representing the operation to run.
      • withStatement

        public ExecuteStatementRequest withStatement(String statement)

        The PartiQL statement representing the operation to run.

        Parameters:
        statement - The PartiQL statement representing the operation to run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getParameters

        public List<AttributeValue> getParameters()

        The parameters for the PartiQL statement, if any.

        Returns:
        The parameters for the PartiQL statement, if any.
      • setParameters

        public void setParameters(Collection<AttributeValue> parameters)

        The parameters for the PartiQL statement, if any.

        Parameters:
        parameters - The parameters for the PartiQL statement, if any.
      • withParameters

        public ExecuteStatementRequest withParameters(Collection<AttributeValue> parameters)

        The parameters for the PartiQL statement, if any.

        Parameters:
        parameters - The parameters for the PartiQL statement, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConsistentRead

        public void setConsistentRead(Boolean consistentRead)

        The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.

        Parameters:
        consistentRead - The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.
      • getConsistentRead

        public Boolean getConsistentRead()

        The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.

        Returns:
        The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.
      • withConsistentRead

        public ExecuteStatementRequest withConsistentRead(Boolean consistentRead)

        The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.

        Parameters:
        consistentRead - The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isConsistentRead

        public Boolean isConsistentRead()

        The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.

        Returns:
        The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.
      • setNextToken

        public void setNextToken(String nextToken)

        Set this value to get remaining results, if NextToken was returned in the statement response.

        Parameters:
        nextToken - Set this value to get remaining results, if NextToken was returned in the statement response.
      • getNextToken

        public String getNextToken()

        Set this value to get remaining results, if NextToken was returned in the statement response.

        Returns:
        Set this value to get remaining results, if NextToken was returned in the statement response.
      • withNextToken

        public ExecuteStatementRequest withNextToken(String nextToken)

        Set this value to get remaining results, if NextToken was returned in the statement response.

        Parameters:
        nextToken - Set this value to get remaining results, if NextToken was returned in the statement response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReturnConsumedCapacity

        public void setReturnConsumedCapacity(String returnConsumedCapacity)
        Parameters:
        returnConsumedCapacity -
        See Also:
        ReturnConsumedCapacity
      • withReturnConsumedCapacity

        public ExecuteStatementRequest withReturnConsumedCapacity(String returnConsumedCapacity)
        Parameters:
        returnConsumedCapacity -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReturnConsumedCapacity
      • setLimit

        public void setLimit(Integer limit)

        The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, along with a key in LastEvaluatedKey to apply in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in LastEvaluatedKey to apply in a subsequent operation to continue the operation.

        Parameters:
        limit - The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, along with a key in LastEvaluatedKey to apply in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in LastEvaluatedKey to apply in a subsequent operation to continue the operation.
      • getLimit

        public Integer getLimit()

        The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, along with a key in LastEvaluatedKey to apply in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in LastEvaluatedKey to apply in a subsequent operation to continue the operation.

        Returns:
        The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, along with a key in LastEvaluatedKey to apply in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in LastEvaluatedKey to apply in a subsequent operation to continue the operation.
      • withLimit

        public ExecuteStatementRequest withLimit(Integer limit)

        The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, along with a key in LastEvaluatedKey to apply in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in LastEvaluatedKey to apply in a subsequent operation to continue the operation.

        Parameters:
        limit - The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, along with a key in LastEvaluatedKey to apply in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in LastEvaluatedKey to apply in a subsequent operation to continue the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReturnValuesOnConditionCheckFailure

        public void setReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)

        An optional parameter that returns the item attributes for an ExecuteStatement operation that failed a condition check.

        There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.

        Parameters:
        returnValuesOnConditionCheckFailure - An optional parameter that returns the item attributes for an ExecuteStatement operation that failed a condition check.

        There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.

        See Also:
        ReturnValuesOnConditionCheckFailure
      • getReturnValuesOnConditionCheckFailure

        public String getReturnValuesOnConditionCheckFailure()

        An optional parameter that returns the item attributes for an ExecuteStatement operation that failed a condition check.

        There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.

        Returns:
        An optional parameter that returns the item attributes for an ExecuteStatement operation that failed a condition check.

        There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.

        See Also:
        ReturnValuesOnConditionCheckFailure
      • withReturnValuesOnConditionCheckFailure

        public ExecuteStatementRequest withReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)

        An optional parameter that returns the item attributes for an ExecuteStatement operation that failed a condition check.

        There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.

        Parameters:
        returnValuesOnConditionCheckFailure - An optional parameter that returns the item attributes for an ExecuteStatement operation that failed a condition check.

        There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReturnValuesOnConditionCheckFailure
      • withReturnValuesOnConditionCheckFailure

        public ExecuteStatementRequest withReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)

        An optional parameter that returns the item attributes for an ExecuteStatement operation that failed a condition check.

        There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.

        Parameters:
        returnValuesOnConditionCheckFailure - An optional parameter that returns the item attributes for an ExecuteStatement operation that failed a condition check.

        There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReturnValuesOnConditionCheckFailure
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /