Package | Description |
---|---|
com.amazonaws.services.dynamodbv2.document | |
com.amazonaws.services.dynamodbv2.document.api | |
com.amazonaws.services.dynamodbv2.document.spec |
Modifier and Type | Method and Description |
---|---|
Expected |
Expected.beginsWith(String val)
Creates and returns a condition of the range key with a value that begins
with the given value.
|
Expected |
Expected.between(Object low,
Object hi)
Creates and returns a condition of the range key that has a value between
the given values.
|
Expected |
Expected.contains(Object val) |
Expected |
Expected.eq(Object val)
Creates and returns a condition of the range key being equal to the given
value.
|
Expected |
Expected.exists()
Expects the attribute be an existing attribute.
|
Expected |
Expected.ge(Object val)
Creates and returns a condition of the range key being greater than or
equal to the given value.
|
Expected |
Expected.gt(Object val)
Creates and returns a condition of the range key being greater than the
given value.
|
Expected |
Expected.in(Object... values) |
Expected |
Expected.le(Object val)
Creates and returns a condition of the range key being less than or equal
to the given value.
|
Expected |
Expected.lt(Object val)
Creates and returns a condition of the range key being less than the
given value.
|
Expected |
Expected.ne(Object val) |
Expected |
Expected.notContains(Object val) |
Expected |
Expected.notExist()
Expects the attribute be non-existing.
|
Modifier and Type | Method and Description |
---|---|
DeleteItemOutcome |
Table.deleteItem(PrimaryKey primaryKey,
Expected... expected) |
DeleteItemOutcome |
Table.deleteItem(String hashKeyName,
Object hashKeyValue,
Expected... expected) |
DeleteItemOutcome |
Table.deleteItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue,
Expected... expected) |
PutItemOutcome |
Table.putItem(Item item,
Expected... expected) |
Modifier and Type | Method and Description |
---|---|
UpdateItemOutcome |
Table.updateItem(PrimaryKey primaryKey,
Collection<Expected> expected,
AttributeUpdate... attributeUpdates) |
UpdateItemOutcome |
Table.updateItem(String hashKeyName,
Object hashKeyValue,
Collection<Expected> expected,
AttributeUpdate... attributeUpdates) |
UpdateItemOutcome |
Table.updateItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue,
Collection<Expected> expected,
AttributeUpdate... attributeUpdates) |
Modifier and Type | Method and Description |
---|---|
DeleteItemOutcome |
DeleteItemApi.deleteItem(PrimaryKey primaryKey,
Expected... expected)
Conditional delete with the specified primary key and expected
conditions.
|
DeleteItemOutcome |
DeleteItemApi.deleteItem(String hashKeyName,
Object hashKeyValue,
Expected... expected)
Conditional delete with the specified hash-only primary key and expected
conditions.
|
DeleteItemOutcome |
DeleteItemApi.deleteItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue,
Expected... expected)
Conditional delete with the specified hash-and-range primary key and
expected conditions.
|
PutItemOutcome |
PutItemApi.putItem(Item item,
Expected... expected)
Conditional put.
|
Modifier and Type | Method and Description |
---|---|
UpdateItemOutcome |
UpdateItemApi.updateItem(PrimaryKey primaryKey,
Collection<Expected> expected,
AttributeUpdate... attributeUpdates)
Updates an item with the attributes specified.
|
UpdateItemOutcome |
UpdateItemApi.updateItem(String hashKeyName,
Object hashKeyValue,
Collection<Expected> expected,
AttributeUpdate... attributeUpdates)
Updates an item with the specified hash-only key and attributes.
|
UpdateItemOutcome |
UpdateItemApi.updateItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue,
Collection<Expected> expected,
AttributeUpdate... attributeUpdates)
Updates an item with the specified hash key, range key and attributes.
|
Modifier and Type | Method and Description |
---|---|
Collection<Expected> |
DeleteItemSpec.getExpected() |
Collection<Expected> |
UpdateItemSpec.getExpected() |
Collection<Expected> |
PutItemSpec.getExpected() |
Modifier and Type | Method and Description |
---|---|
DeleteItemSpec |
DeleteItemSpec.withExpected(Expected... expected) |
UpdateItemSpec |
UpdateItemSpec.withExpected(Expected... expected) |
PutItemSpec |
PutItemSpec.withExpected(Expected... expected) |
Modifier and Type | Method and Description |
---|---|
DeleteItemSpec |
DeleteItemSpec.withExpected(Collection<Expected> expected) |
UpdateItemSpec |
UpdateItemSpec.withExpected(Collection<Expected> expected) |
PutItemSpec |
PutItemSpec.withExpected(Collection<Expected> expected) |
Copyright © 2015. All rights reserved.