Class DynamoDBClient


  • public final class DynamoDBClient
    extends Object
    • Constructor Detail

      • DynamoDBClient

        public DynamoDBClient​(com.amazonaws.services.dynamodbv2.AmazonDynamoDB ddb,
                              String journalTableName,
                              String lockTableName)
      • DynamoDBClient

        public DynamoDBClient​(com.amazonaws.services.dynamodbv2.AmazonDynamoDB ddb,
                              String journalTableName,
                              String lockTableName,
                              DynamoDBProvisioningData provisioningData)
    • Method Detail

      • getConfig

        public String getConfig()
      • getLockClientOptionsBuilder

        public com.amazonaws.services.dynamodbv2.AmazonDynamoDBLockClientOptions.AmazonDynamoDBLockClientOptionsBuilder getLockClientOptionsBuilder()
      • batchPutDocument

        public void batchPutDocument​(String fileName,
                                     List<String> lines)
      • batchPutDocumentItems

        public void batchPutDocumentItems​(String fileName,
                                          List<com.amazonaws.services.dynamodbv2.document.Item> items)
      • toItem

        public com.amazonaws.services.dynamodbv2.document.Item toItem​(String fileName,
                                                                      String line)