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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Ddb2Configurationprotected software.amazon.awssdk.services.dynamodb.DynamoDbClientprotected org.apache.camel.Exchange -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDdbCommand(software.amazon.awssdk.services.dynamodb.DynamoDbClient ddbClient, Ddb2Configuration configuration, org.apache.camel.Exchange exchange) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAttributesToResult(Map<String, software.amazon.awssdk.services.dynamodb.model.AttributeValue> attributes) protected voidaddToResults(Map<Object, Object> map) protected Collection<String>protected Booleanprotected Integerprotected Stringprotected Stringabstract voidexecute()protected org.apache.camel.MessagegetMessageForResponse(org.apache.camel.Exchange exchange)
-
Field Details
-
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
-
determineUpdateCondition
-
determineItem
-
determineReturnValues
-
addAttributesToResult
-
addToResults
-
determineKey
-
determineAttributeNames
-
determineConsistentRead
-
determineExclusiveStartKey
-
determineLimit
-