Class AbstractDdbCommand

java.lang.Object
org.apache.camel.component.aws2.ddb.AbstractDdbCommand
Direct Known Subclasses:
BatchGetItemsCommand, DeleteItemCommand, DeleteTableCommand, DescribeTableCommand, GetItemCommand, PutItemCommand, QueryCommand, ScanCommand, UpdateItemCommand, UpdateTableCommand

public abstract class AbstractDdbCommand extends Object
  • Field Details

    • configuration

      protected Ddb2Configuration configuration
    • exchange

      protected org.apache.camel.Exchange exchange
    • ddbClient

      protected software.amazon.awssdk.services.dynamodb.DynamoDbClient ddbClient
  • Constructor Details

    • AbstractDdbCommand

      protected AbstractDdbCommand(software.amazon.awssdk.services.dynamodb.DynamoDbClient ddbClient, Ddb2Configuration configuration, org.apache.camel.Exchange exchange)
  • Method Details

    • execute

      public abstract void execute()
    • getMessageForResponse

      protected org.apache.camel.Message getMessageForResponse(org.apache.camel.Exchange exchange)
    • determineTableName

      protected String determineTableName()
    • determineUpdateCondition

      protected Map<String,software.amazon.awssdk.services.dynamodb.model.ExpectedAttributeValue> determineUpdateCondition()
    • determineItem

      protected Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> determineItem()
    • determineReturnValues

      protected String determineReturnValues()
    • addAttributesToResult

      protected void addAttributesToResult(Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> attributes)
    • addToResults

      protected void addToResults(Map<Object,Object> map)
    • determineKey

      protected Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> determineKey()
    • determineAttributeNames

      protected Collection<String> determineAttributeNames()
    • determineConsistentRead

      protected Boolean determineConsistentRead()
    • determineExclusiveStartKey

      protected Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> determineExclusiveStartKey()
    • determineLimit

      protected Integer determineLimit()