public class DeleteItemImpl extends Object implements DeleteItemApi
DeleteItemApi.| Constructor and Description |
|---|
DeleteItemImpl(AmazonDynamoDB client,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
DeleteItemOutcome |
deleteItem(DeleteItemSpec spec)
Deletes an item by specifying all the details.
|
DeleteItemOutcome |
deleteItem(KeyAttribute... primaryKeyComponents)
Deletes an item by primary key.
|
DeleteItemOutcome |
deleteItem(PrimaryKey primaryKey)
Deletes an item by primary key.
|
DeleteItemOutcome |
deleteItem(PrimaryKey primaryKeys,
Expected... expected)
Conditional delete with the specified primary key and expected
conditions.
|
DeleteItemOutcome |
deleteItem(PrimaryKey primaryKeys,
String conditionExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap)
Conditional delete with the specified primary key and condition
expression.
|
DeleteItemOutcome |
deleteItem(String hashKeyName,
Object hashKeyValue)
Deletes an item by hash-only primary key.
|
DeleteItemOutcome |
deleteItem(String hashKeyName,
Object hashKeyValue,
Expected... expected)
Conditional delete with the specified hash-only primary key and expected
conditions.
|
DeleteItemOutcome |
deleteItem(String hashKeyName,
Object hashKeyValue,
String conditionExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap)
Conditional delete with the specified hash-only primary key and condition
expression.
|
DeleteItemOutcome |
deleteItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue)
Deletes an item by hash key-and-range primary key.
|
DeleteItemOutcome |
deleteItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue,
Expected... expected)
Conditional delete with the specified hash-and-range primary key and
expected conditions.
|
DeleteItemOutcome |
deleteItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue,
String conditionExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap)
Conditional delete with the specified hash-and-range primary key and
condition expression.
|
Table |
getTable()
Returns the owning table.
|
public DeleteItemImpl(AmazonDynamoDB client, Table table)
public DeleteItemOutcome deleteItem(KeyAttribute... primaryKeyComponents)
DeleteItemApideleteItem in interface DeleteItemApipublic DeleteItemOutcome deleteItem(PrimaryKey primaryKey)
DeleteItemApideleteItem in interface DeleteItemApipublic DeleteItemOutcome deleteItem(PrimaryKey primaryKeys, Expected... expected)
DeleteItemApideleteItem in interface DeleteItemApipublic DeleteItemOutcome deleteItem(PrimaryKey primaryKeys, String conditionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
DeleteItemApideleteItem in interface DeleteItemApipublic DeleteItemOutcome deleteItem(DeleteItemSpec spec)
DeleteItemApideleteItem in interface DeleteItemApipublic DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue)
DeleteItemApideleteItem in interface DeleteItemApipublic DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue)
DeleteItemApideleteItem in interface DeleteItemApipublic DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue, Expected... expected)
DeleteItemApideleteItem in interface DeleteItemApipublic DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue, Expected... expected)
DeleteItemApideleteItem in interface DeleteItemApipublic DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue, String conditionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
DeleteItemApideleteItem in interface DeleteItemApipublic DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue, String conditionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
DeleteItemApideleteItem in interface DeleteItemApipublic final Table getTable()