Modifier and Type | Method and Description |
---|---|
void |
delete(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> attributes)
Delete item from aws table.
|
Frame |
frame()
Make a new frame, in order to retrieve items.
|
String |
name()
Get real table name.
|
Item |
put(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> attributes)
Put new item there.
|
Region |
region()
Get back to the entire region.
|
public ReTable(Table table)
table
- Origin table@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Item put(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> attributes) throws IOException
Table
It is recommended to use Attributes
supplementary class,
instead of a raw Map
.
put
in interface Table
attributes
- Attributes to saveIOException
- In case of DynamoDB failureAttributes
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Frame frame()
Table
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Region region()
Table
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public String name()
Table
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public void delete(Map<String,com.amazonaws.services.dynamodbv2.model.AttributeValue> attributes) throws IOException
Table
It is recommended to use Attributes
supplementary class,
instead of a raw Map
.
delete
in interface Table
attributes
- Attributes containing item key and valueIOException
- In case of DynamoDB failureAttributes
Copyright © 2012–2016 jcabi.com. All rights reserved.