|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.gora.dynamodb.store.DynamoDBMapping
public class DynamoDBMapping
| Nested Class Summary | |
|---|---|
static class |
DynamoDBMapping.DynamoDBMappingBuilder
A builder for creating the mapper. |
| Field Summary | |
|---|---|
static org.slf4j.Logger |
LOG
Helper to write useful information into the logs |
| Constructor Summary | |
|---|---|
DynamoDBMapping(Map<String,List<Map<String,String>>> tables,
Map<String,com.amazonaws.services.dynamodb.model.KeySchema> tablesToKeySchemas,
Map<String,com.amazonaws.services.dynamodb.model.ProvisionedThroughput> provisionedThroughput)
Constructor for DynamoDBMapping |
|
| Method Summary | |
|---|---|
List<Map<String,String>> |
getItems(String tableName)
Gets items or attributes from a specific table |
com.amazonaws.services.dynamodb.model.KeySchema |
getKeySchema(String tableName)
Gets the key schema from a specific table |
com.amazonaws.services.dynamodb.model.ProvisionedThroughput |
getProvisionedThroughput(String tableName)
Gets the provisioned throughput from a specific table |
Map<String,List<Map<String,String>>> |
getTables()
Gets the tables with their own items |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.slf4j.Logger LOG
| Constructor Detail |
|---|
public DynamoDBMapping(Map<String,List<Map<String,String>>> tables,
Map<String,com.amazonaws.services.dynamodb.model.KeySchema> tablesToKeySchemas,
Map<String,com.amazonaws.services.dynamodb.model.ProvisionedThroughput> provisionedThroughput)
tables - Tables mapped.tablesToKeySchemas - KeySchemas used within tables mapped.provisionedThroughput - Provisioned throughput used within tables mapped.| Method Detail |
|---|
public Map<String,List<Map<String,String>>> getTables()
public List<Map<String,String>> getItems(String tableName)
tableName - Table name to determine which attributes to get
public com.amazonaws.services.dynamodb.model.KeySchema getKeySchema(String tableName)
tableName - Table name to determine which key schema to get
public com.amazonaws.services.dynamodb.model.ProvisionedThroughput getProvisionedThroughput(String tableName)
tableName - Table name to determine which provisioned throughput to get
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||