public abstract class AbstractDdbCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Ddb2Configuration |
configuration |
protected software.amazon.awssdk.services.dynamodb.DynamoDbClient |
ddbClient |
protected org.apache.camel.Exchange |
exchange |
| Constructor and Description |
|---|
AbstractDdbCommand(software.amazon.awssdk.services.dynamodb.DynamoDbClient ddbClient,
Ddb2Configuration configuration,
org.apache.camel.Exchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAttributesToResult(Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> attributes) |
protected void |
addToResults(Map<Object,Object> map) |
protected Collection<String> |
determineAttributeNames() |
protected Boolean |
determineConsistentRead() |
protected Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> |
determineExclusiveStartKey() |
protected Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> |
determineItem() |
protected Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> |
determineKey() |
protected Integer |
determineLimit() |
protected String |
determineReturnValues() |
protected String |
determineTableName() |
protected Map<String,software.amazon.awssdk.services.dynamodb.model.ExpectedAttributeValue> |
determineUpdateCondition() |
abstract void |
execute() |
protected org.apache.camel.Message |
getMessageForResponse(org.apache.camel.Exchange exchange) |
protected Ddb2Configuration configuration
protected org.apache.camel.Exchange exchange
protected software.amazon.awssdk.services.dynamodb.DynamoDbClient ddbClient
public AbstractDdbCommand(software.amazon.awssdk.services.dynamodb.DynamoDbClient ddbClient,
Ddb2Configuration configuration,
org.apache.camel.Exchange exchange)
public abstract void execute()
protected org.apache.camel.Message getMessageForResponse(org.apache.camel.Exchange exchange)
protected String determineTableName()
protected Map<String,software.amazon.awssdk.services.dynamodb.model.ExpectedAttributeValue> determineUpdateCondition()
protected Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> determineItem()
protected String determineReturnValues()
protected void addAttributesToResult(Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> attributes)
protected Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> determineKey()
protected Collection<String> determineAttributeNames()
protected Boolean determineConsistentRead()
protected Map<String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> determineExclusiveStartKey()
protected Integer determineLimit()
Apache Camel