public class DynamoDBMapping extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DynamoDBMapping.DynamoDBMappingBuilder
A builder for creating the mapper.
|
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG
Helper to write useful information into the logs
|
| Constructor and Description |
|---|
DynamoDBMapping(Map<String,Map<String,String>> tablesToItems2,
Map<String,ArrayList<com.amazonaws.services.dynamodbv2.model.KeySchemaElement>> tablesToKeySchemas,
Map<String,com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput> provisionedThroughput)
Constructor for DynamoDBMapping
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getItems(String tableName)
Gets items or attributes from a specific table
|
ArrayList<com.amazonaws.services.dynamodbv2.model.KeySchemaElement> |
getKeySchema(String tableName)
Gets the key schema from a specific table
|
com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput |
getProvisionedThroughput(String tableName)
Gets the provisioned throughput from a specific table
|
Map<String,Map<String,String>> |
getTables()
Gets the tables with their own items
|
public static final org.slf4j.Logger LOG
public DynamoDBMapping(Map<String,Map<String,String>> tablesToItems2, Map<String,ArrayList<com.amazonaws.services.dynamodbv2.model.KeySchemaElement>> tablesToKeySchemas, Map<String,com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput> provisionedThroughput)
tablesToItems2 - Tables mapped.tablesToKeySchemas - KeySchemas used within tables mapped.provisionedThroughput - Provisioned throughput used within tables mapped.public Map<String,Map<String,String>> getTables()
public Map<String,String> getItems(String tableName)
tableName - table name to determine which attributes to getpublic ArrayList<com.amazonaws.services.dynamodbv2.model.KeySchemaElement> getKeySchema(String tableName)
tableName - Table name to determine which key schema to getpublic com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput getProvisionedThroughput(String tableName)
tableName - Table name to determine which provisioned throughput to getCopyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.