|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodbv2.model.ScanResult
public class ScanResult
Represents the output of a Scan operation.
Constructor Summary | |
---|---|
ScanResult()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
ConsumedCapacity |
getConsumedCapacity()
The table name that consumed provisioned throughput, and the number of capacity units consumed by it. |
java.lang.Integer |
getCount()
The number of items in the response. |
java.util.List<java.util.Map<java.lang.String,AttributeValue>> |
getItems()
An array of item attributes that match the scan criteria. |
java.util.Map<java.lang.String,AttributeValue> |
getLastEvaluatedKey()
The primary key of the item where the operation stopped, inclusive of the previous result set. |
java.lang.Integer |
getScannedCount()
The number of items in the complete scan, before any filters are applied. |
int |
hashCode()
|
void |
setConsumedCapacity(ConsumedCapacity consumedCapacity)
The table name that consumed provisioned throughput, and the number of capacity units consumed by it. |
void |
setCount(java.lang.Integer count)
The number of items in the response. |
void |
setItems(java.util.Collection<java.util.Map<java.lang.String,AttributeValue>> items)
An array of item attributes that match the scan criteria. |
void |
setLastEvaluatedKey(java.util.Map<java.lang.String,AttributeValue> lastEvaluatedKey)
The primary key of the item where the operation stopped, inclusive of the previous result set. |
void |
setScannedCount(java.lang.Integer scannedCount)
The number of items in the complete scan, before any filters are applied. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ScanResult |
withConsumedCapacity(ConsumedCapacity consumedCapacity)
The table name that consumed provisioned throughput, and the number of capacity units consumed by it. |
ScanResult |
withCount(java.lang.Integer count)
The number of items in the response. |
ScanResult |
withItems(java.util.Collection<java.util.Map<java.lang.String,AttributeValue>> items)
An array of item attributes that match the scan criteria. |
ScanResult |
withItems(java.util.Map<java.lang.String,AttributeValue>... items)
An array of item attributes that match the scan criteria. |
ScanResult |
withLastEvaluatedKey(java.util.Map<java.lang.String,AttributeValue> lastEvaluatedKey)
The primary key of the item where the operation stopped, inclusive of the previous result set. |
ScanResult |
withScannedCount(java.lang.Integer scannedCount)
The 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 java.util.List<java.util.Map<java.lang.String,AttributeValue>> getItems()
public void setItems(java.util.Collection<java.util.Map<java.lang.String,AttributeValue>> items)
items
- An array of item attributes that match the scan criteria. Each element
in this array consists of an attribute name and the value for that
attribute.public ScanResult withItems(java.util.Map<java.lang.String,AttributeValue>... items)
Returns a reference to this object so that method calls can be chained together.
items
- An array of item attributes that match the scan criteria. Each element
in this array consists of an attribute name and the value for that
attribute.
public ScanResult withItems(java.util.Collection<java.util.Map<java.lang.String,AttributeValue>> items)
Returns a reference to this object so that method calls can be chained together.
items
- An array of item attributes that match the scan criteria. Each element
in this array consists of an attribute name and the value for that
attribute.
public java.lang.Integer getCount()
public void setCount(java.lang.Integer count)
count
- The number of items in the response.public ScanResult withCount(java.lang.Integer count)
Returns a reference to this object so that method calls can be chained together.
count
- The number of items in the response.
public java.lang.Integer getScannedCount()
public void setScannedCount(java.lang.Integer scannedCount)
scannedCount
- The 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.
For more information, see Count
and ScannedCount of the Amazon DynamoDB Developer Guide.public ScanResult withScannedCount(java.lang.Integer scannedCount)
Returns a reference to this object so that method calls can be chained together.
scannedCount
- The 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.
For more information, see Count
and ScannedCount of the Amazon DynamoDB Developer Guide.
public java.util.Map<java.lang.String,AttributeValue> getLastEvaluatedKey()
LastEvaluatedKey is null when the entire result set is complete (in other words, when the operation processed the "last page" of results).
LastEvaluatedKey is null when the entire result set is complete (in other words, when the operation processed the "last page" of results).
public void setLastEvaluatedKey(java.util.Map<java.lang.String,AttributeValue> lastEvaluatedKey)
LastEvaluatedKey is null when the entire result set is complete (in other words, when the operation processed the "last page" of results).
lastEvaluatedKey
- The primary key of the item where the operation stopped, inclusive of
the previous result set. Use this value to start a new operation,
excluding this value in the new request. LastEvaluatedKey is null when the entire result set is complete (in other words, when the operation processed the "last page" of results).
public ScanResult withLastEvaluatedKey(java.util.Map<java.lang.String,AttributeValue> lastEvaluatedKey)
LastEvaluatedKey is null when the entire result set is complete (in other words, when the operation processed the "last page" of results).
Returns a reference to this object so that method calls can be chained together.
lastEvaluatedKey
- The primary key of the item where the operation stopped, inclusive of
the previous result set. Use this value to start a new operation,
excluding this value in the new request. LastEvaluatedKey is null when the entire result set is complete (in other words, when the operation processed the "last page" of results).
public ConsumedCapacity getConsumedCapacity()
public void setConsumedCapacity(ConsumedCapacity consumedCapacity)
consumedCapacity
- The table name that consumed provisioned throughput, and the number of
capacity units consumed by it. ConsumedCapacity is only
returned if it was asked for in the request. For more information, see
Provisioned
Throughput of the Amazon DynamoDB Developer Guide.public ScanResult withConsumedCapacity(ConsumedCapacity consumedCapacity)
Returns a reference to this object so that method calls can be chained together.
consumedCapacity
- The table name that consumed provisioned throughput, and the number of
capacity units consumed by it. ConsumedCapacity is only
returned if it was asked for in the request. For more information, see
Provisioned
Throughput of the Amazon DynamoDB Developer Guide.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |