public class SelectResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
SelectResult() |
| Modifier and Type | Method and Description |
|---|---|
SelectResult |
clone() |
boolean |
equals(Object obj) |
List<Item> |
getItems()
A list of items that match the select expression.
|
String |
getNextToken()
An opaque token indicating that more items than
MaxNumberOfItems were matched, the response size exceeded
1 megabyte, or the execution time exceeded 5 seconds. |
int |
hashCode() |
void |
setItems(Collection<Item> items)
A list of items that match the select expression.
|
void |
setNextToken(String nextToken)
An opaque token indicating that more items than
MaxNumberOfItems were matched, the response size exceeded
1 megabyte, or the execution time exceeded 5 seconds. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SelectResult |
withItems(Collection<Item> items)
A list of items that match the select expression.
|
SelectResult |
withItems(Item... items)
A list of items that match the select expression.
|
SelectResult |
withNextToken(String nextToken)
An opaque token indicating that more items than
MaxNumberOfItems were matched, the response size exceeded
1 megabyte, or the execution time exceeded 5 seconds. |
public List<Item> getItems()
public void setItems(Collection<Item> items)
items - A list of items that match the select expression.public SelectResult withItems(Item... items)
NOTE: This method appends the values to the existing list (if
any). Use setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
items - A list of items that match the select expression.public SelectResult withItems(Collection<Item> items)
Returns a reference to this object so that method calls can be chained together.
items - A list of items that match the select expression.public String getNextToken()
MaxNumberOfItems were matched, the response size exceeded
1 megabyte, or the execution time exceeded 5 seconds.MaxNumberOfItems were matched, the response size exceeded
1 megabyte, or the execution time exceeded 5 seconds.public void setNextToken(String nextToken)
MaxNumberOfItems were matched, the response size exceeded
1 megabyte, or the execution time exceeded 5 seconds.nextToken - An opaque token indicating that more items than
MaxNumberOfItems were matched, the response size exceeded
1 megabyte, or the execution time exceeded 5 seconds.public SelectResult withNextToken(String nextToken)
MaxNumberOfItems were matched, the response size exceeded
1 megabyte, or the execution time exceeded 5 seconds.
Returns a reference to this object so that method calls can be chained together.
nextToken - An opaque token indicating that more items than
MaxNumberOfItems were matched, the response size exceeded
1 megabyte, or the execution time exceeded 5 seconds.public String toString()
toString in class ObjectObject.toString()public SelectResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.