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 |
---|---|
static Map<String,ExpectedAttributeValue> |
ItemUtils.toExpectedAttributeValueMap(Collection<Expected> expectedSet)
Returns the low level representation of a collection of
Expected . |
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 |
---|---|
DeleteItemOutcome |
DeleteItemImpl.deleteItem(PrimaryKey primaryKeys,
Expected... expected) |
DeleteItemOutcome |
DeleteItemImpl.deleteItem(String hashKeyName,
Object hashKeyValue,
Expected... expected) |
DeleteItemOutcome |
DeleteItemImpl.deleteItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue,
Expected... expected) |
PutItemOutcome |
PutItemImpl.putItem(Item item,
Expected... expected) |
Modifier and Type | Method and Description |
---|---|
static Map<String,ExpectedAttributeValue> |
InternalUtils.toExpectedAttributeValueMap(Collection<Expected> expectedSet)
Deprecated.
Returns the low level representation of a collection of
Expected . |
UpdateItemOutcome |
UpdateItemImpl.updateItem(PrimaryKey primaryKey,
Collection<Expected> expected,
AttributeUpdate... attributeUpdates) |
UpdateItemOutcome |
UpdateItemImpl.updateItem(String hashKeyName,
Object hashKeyValue,
Collection<Expected> expected,
AttributeUpdate... attributeUpdates) |
UpdateItemOutcome |
UpdateItemImpl.updateItem(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue,
Collection<Expected> expected,
AttributeUpdate... attributeUpdates) |
Modifier and Type | Method and Description |
---|---|
Collection<Expected> |
PutItemSpec.getExpected() |
Collection<Expected> |
DeleteItemSpec.getExpected() |
Collection<Expected> |
UpdateItemSpec.getExpected() |
Modifier and Type | Method and Description |
---|---|
PutItemSpec |
PutItemSpec.withExpected(Expected... expected) |
DeleteItemSpec |
DeleteItemSpec.withExpected(Expected... expected) |
UpdateItemSpec |
UpdateItemSpec.withExpected(Expected... expected) |
Modifier and Type | Method and Description |
---|---|
PutItemSpec |
PutItemSpec.withExpected(Collection<Expected> expected) |
DeleteItemSpec |
DeleteItemSpec.withExpected(Collection<Expected> expected) |
UpdateItemSpec |
UpdateItemSpec.withExpected(Collection<Expected> expected) |
Copyright © 2020. All rights reserved.