|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodb.model.ScanResult
public class ScanResult
Scan Result
Constructor Summary | |
---|---|
ScanResult()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Double |
getConsumedCapacityUnits()
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
Integer |
getCount()
Number of items in the response. |
List<Map<String,AttributeValue>> |
getItems()
Returns the value of the Items property for this object. |
Key |
getLastEvaluatedKey()
Primary key of the item where the scan operation stopped. |
Integer |
getScannedCount()
Number of items in the complete scan before any filters are applied. |
int |
hashCode()
|
void |
setConsumedCapacityUnits(Double consumedCapacityUnits)
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
void |
setCount(Integer count)
Number of items in the response. |
void |
setItems(Collection<Map<String,AttributeValue>> items)
Sets the value of the Items property for this object. |
void |
setLastEvaluatedKey(Key lastEvaluatedKey)
Primary key of the item where the scan operation stopped. |
void |
setScannedCount(Integer scannedCount)
Number of items in the complete scan before any filters are applied. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ScanResult |
withConsumedCapacityUnits(Double consumedCapacityUnits)
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
ScanResult |
withCount(Integer count)
Number of items in the response. |
ScanResult |
withItems(Collection<Map<String,AttributeValue>> items)
Sets the value of the Items property for this object. |
ScanResult |
withItems(Map<String,AttributeValue>... items)
Sets the value of the Items property for this object. |
ScanResult |
withLastEvaluatedKey(Key lastEvaluatedKey)
Primary key of the item where the scan operation stopped. |
ScanResult |
withScannedCount(Integer scannedCount)
Number of items in the complete scan before any filters are applied. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScanResult()
Method Detail |
---|
public List<Map<String,AttributeValue>> getItems()
public void setItems(Collection<Map<String,AttributeValue>> items)
items
- The new value for the Items property for this object.public ScanResult withItems(Map<String,AttributeValue>... items)
Returns a reference to this object so that method calls can be chained together.
items
- The new value for the Items property for this object.
public ScanResult withItems(Collection<Map<String,AttributeValue>> items)
Returns a reference to this object so that method calls can be chained together.
items
- The new value for the Items property for this object.
public Integer getCount()
public void setCount(Integer count)
count
- Number of items in the response.public ScanResult withCount(Integer count)
Returns a reference to this object so that method calls can be chained together.
count
- Number of items in the response.
public Integer getScannedCount()
public void setScannedCount(Integer scannedCount)
scannedCount
- Number of items in the complete scan before any filters are applied. A
high ScannedCount value with few, or no, Count results indicates an
inefficient Scan operation.public ScanResult withScannedCount(Integer scannedCount)
Returns a reference to this object so that method calls can be chained together.
scannedCount
- Number of items in the complete scan before any filters are applied. A
high ScannedCount value with few, or no, Count results indicates an
inefficient Scan operation.
public Key getLastEvaluatedKey()
public void setLastEvaluatedKey(Key lastEvaluatedKey)
lastEvaluatedKey
- Primary key of the item where the scan operation stopped. Provide this
value in a subsequent scan operation to continue the operation from
that point. The LastEvaluatedKey is null when the entire scan result
set is complete (i.e. the operation processed the "last page").public ScanResult withLastEvaluatedKey(Key lastEvaluatedKey)
Returns a reference to this object so that method calls can be chained together.
lastEvaluatedKey
- Primary key of the item where the scan operation stopped. Provide this
value in a subsequent scan operation to continue the operation from
that point. The LastEvaluatedKey is null when the entire scan result
set is complete (i.e. the operation processed the "last page").
public Double getConsumedCapacityUnits()
public void setConsumedCapacityUnits(Double consumedCapacityUnits)
consumedCapacityUnits
- The number of Capacity Units of the provisioned throughput of the
table consumed during the operation. GetItem, BatchGetItem, Query, and
Scan operations consume Read Capacity Units, while PutItem,
UpdateItem, and DeleteItem operations consume Write Capacity Units.public ScanResult withConsumedCapacityUnits(Double consumedCapacityUnits)
Returns a reference to this object so that method calls can be chained together.
consumedCapacityUnits
- The number of Capacity Units of the provisioned throughput of the
table consumed during the operation. GetItem, BatchGetItem, Query, and
Scan operations consume Read Capacity Units, while PutItem,
UpdateItem, and DeleteItem operations consume Write Capacity Units.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |