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)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public DeleteItemOutcome deleteItem(PrimaryKey primaryKey)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public DeleteItemOutcome deleteItem(PrimaryKey primaryKeys, Expected... expected)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public DeleteItemOutcome deleteItem(PrimaryKey primaryKeys, String conditionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public DeleteItemOutcome deleteItem(DeleteItemSpec spec)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue, Expected... expected)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue, Expected... expected)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue, String conditionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public DeleteItemOutcome deleteItem(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue, String conditionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
DeleteItemApi
deleteItem
in interface DeleteItemApi
public final Table getTable()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.