Modifier and Type | Method and Description |
---|---|
Collection<KeyAttribute> |
PrimaryKey.getComponents()
Returns all the key components of this primary key.
|
Modifier and Type | Method and Description |
---|---|
PrimaryKey |
PrimaryKey.addComponents(KeyAttribute... components)
Add one or multiple key components to this primary key.
|
DeleteItemOutcome |
Table.deleteItem(KeyAttribute... primaryKeyComponents) |
Item |
Table.getItem(KeyAttribute... primaryKeyComponents) |
GetItemOutcome |
Table.getItemOutcome(KeyAttribute... primaryKeyComponents) |
ItemCollection<QueryOutcome> |
Index.query(KeyAttribute hashKey) |
ItemCollection<QueryOutcome> |
Table.query(KeyAttribute hashKey) |
ItemCollection<QueryOutcome> |
Index.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition) |
ItemCollection<QueryOutcome> |
Table.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition) |
ItemCollection<QueryOutcome> |
Index.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
QueryExpressionSpec queryExpressions) |
ItemCollection<QueryOutcome> |
Index.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
QueryFilter... queryFilters) |
ItemCollection<QueryOutcome> |
Table.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
QueryFilter... queryFilters) |
ItemCollection<QueryOutcome> |
Index.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
String filterExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap) |
ItemCollection<QueryOutcome> |
Table.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
String filterExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap) |
ItemCollection<QueryOutcome> |
Index.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
String projectionExpression,
String filterExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap) |
ItemCollection<QueryOutcome> |
Table.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
String filterExpression,
String projectionExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap) |
static Map<String,AttributeValue> |
ItemUtils.toAttributeValueMap(KeyAttribute... primaryKey)
Converts the specified primary key into the low-level representation.
|
Item |
Item.withKeyComponents(KeyAttribute... components)
Convenient methods - sets the attributes of this item from the specified
key components.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,AttributeValue> |
ItemUtils.toAttributeValueMap(Collection<KeyAttribute> primaryKey)
Converts the specified primary key into the low-level representation.
|
Constructor and Description |
---|
PrimaryKey(KeyAttribute... components)
Constructs with the specified key components.
|
Modifier and Type | Method and Description |
---|---|
DeleteItemOutcome |
DeleteItemApi.deleteItem(KeyAttribute... primaryKeyComponents)
Deletes an item by primary key.
|
Item |
GetItemApi.getItem(KeyAttribute... primaryKeyComponents)
Retrieves an item by primary key.
|
GetItemOutcome |
GetItemApi.getItemOutcome(KeyAttribute... primaryKeyComponents)
Retrieves an item and the associated information by primary key when the
primary key is a hash-only key.
|
ItemCollection<QueryOutcome> |
QueryApi.query(KeyAttribute hashKey)
Retrieves items by the specified hash key.
|
ItemCollection<QueryOutcome> |
QueryApi.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition)
Retrieves items by the specified hash key and a range key condition.
|
ItemCollection<QueryOutcome> |
QueryApi.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
QueryFilter... queryFilters)
Retrieves items by the specified hash key, a range key condition
and a list of query filters.
|
ItemCollection<QueryOutcome> |
QueryApi.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
String filterExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap)
Retrieves items by the specified hash key, a range key condition, and
a filter expression string.
|
ItemCollection<QueryOutcome> |
QueryApi.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
String filterExpression,
String projectionExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap)
Retrieves items by the specified hash key, a range key condition,
a filter expression and a projection expression.
|
Modifier and Type | Method and Description |
---|---|
DeleteItemOutcome |
DeleteItemImpl.deleteItem(KeyAttribute... primaryKeyComponents) |
Item |
GetItemImpl.getItem(KeyAttribute... primaryKey) |
GetItemOutcome |
GetItemImpl.getItemOutcome(KeyAttribute... primaryKeyComponents) |
ItemCollection<QueryOutcome> |
QueryImpl.query(KeyAttribute hashKey) |
ItemCollection<QueryOutcome> |
QueryImpl.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition) |
ItemCollection<QueryOutcome> |
QueryImpl.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
QueryFilter... queryFilters) |
ItemCollection<QueryOutcome> |
QueryImpl.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
String filterExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap) |
ItemCollection<QueryOutcome> |
QueryImpl.query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
String filterExpression,
String projectionExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap) |
static Map<String,AttributeValue> |
InternalUtils.toAttributeValueMap(KeyAttribute... primaryKey)
Deprecated.
Converts the specified primary key into the low-level representation.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,AttributeValue> |
InternalUtils.toAttributeValueMap(Collection<KeyAttribute> primaryKey)
Deprecated.
Converts the specified primary key into the low-level representation.
|
Modifier and Type | Method and Description |
---|---|
KeyAttribute |
QuerySpec.getHashKey() |
Modifier and Type | Method and Description |
---|---|
Collection<KeyAttribute> |
ScanSpec.getExclusiveStartKey() |
Collection<KeyAttribute> |
QuerySpec.getExclusiveStartKey() |
Collection<KeyAttribute> |
AbstractSpecWithPrimaryKey.getKeyComponents()
Returns the primary key components that has been specified.
|
Modifier and Type | Method and Description |
---|---|
ScanSpec |
ScanSpec.withExclusiveStartKey(KeyAttribute... exclusiveStartKey) |
QuerySpec |
QuerySpec.withExclusiveStartKey(KeyAttribute... exclusiveStartKey) |
QuerySpec |
QuerySpec.withHashKey(KeyAttribute hashKey) |
DeleteItemSpec |
DeleteItemSpec.withPrimaryKey(KeyAttribute... components) |
UpdateItemSpec |
UpdateItemSpec.withPrimaryKey(KeyAttribute... components) |
AbstractSpecWithPrimaryKey<T> |
AbstractSpecWithPrimaryKey.withPrimaryKey(KeyAttribute... components)
Sets the primary key with the specified key components.
|
GetItemSpec |
GetItemSpec.withPrimaryKey(KeyAttribute... components) |
Copyright © 2023. All rights reserved.