org.apache.camel.component.aws.ddb
Class AbstractDdbCommand
java.lang.Object
org.apache.camel.component.aws.ddb.AbstractDdbCommand
- Direct Known Subclasses:
- BatchGetItemsCommand, DeleteItemCommand, DeleteTableCommand, DescribeTableCommand, GetItemCommand, PutItemCommand, QueryCommand, ScanCommand, UpdateItemCommand, UpdateTableCommand
public abstract class AbstractDdbCommand
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
protected DdbConfiguration configuration
exchange
protected org.apache.camel.Exchange exchange
ddbClient
protected com.amazonaws.services.dynamodb.AmazonDynamoDB ddbClient
AbstractDdbCommand
public AbstractDdbCommand(com.amazonaws.services.dynamodb.AmazonDynamoDB ddbClient,
DdbConfiguration configuration,
org.apache.camel.Exchange exchange)
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,com.amazonaws.services.dynamodb.model.ExpectedAttributeValue> determineUpdateCondition()
determineItem
protected Map<String,com.amazonaws.services.dynamodb.model.AttributeValue> determineItem()
determineReturnValues
protected String determineReturnValues()
addAttributesToResult
protected void addAttributesToResult(Map<String,com.amazonaws.services.dynamodb.model.AttributeValue> attributes)
addToResult
protected void addToResult(String headerKey,
Object value)
determineKey
protected com.amazonaws.services.dynamodb.model.Key determineKey()
determineAttributeNames
protected Collection<String> determineAttributeNames()
determineConsistentRead
protected Boolean determineConsistentRead()
Apache Camel