Class SelectResult
java.lang.Object
com.amazonaws.services.simpledb.model.SelectResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getItems()
A list of items that match the select expression.An opaque token indicating that more items thanMaxNumberOfItems
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 thanMaxNumberOfItems
were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.toString()
Returns a string representation of this object; useful for testing and debugging.A list of items that match the select expression.withItems
(Collection<Item> items) A list of items that match the select expression.withNextToken
(String nextToken) An opaque token indicating that more items thanMaxNumberOfItems
were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.
-
Constructor Details
-
SelectResult
public SelectResult()
-
-
Method Details
-
getItems
A list of items that match the select expression.- Returns:
- A list of items that match the select expression.
-
setItems
A list of items that match the select expression.- Parameters:
items
- A list of items that match the select expression.
-
withItems
A list of items that match the select expression.NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
orwithItems(java.util.Collection)
if you want to override the existing values.- Parameters:
items
- A list of items that match the select expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withItems
A list of items that match the select expression.- Parameters:
items
- A list of items that match the select expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
An opaque token indicating that more items thanMaxNumberOfItems
were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.- Parameters:
nextToken
- An opaque token indicating that more items thanMaxNumberOfItems
were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.
-
getNextToken
An opaque token indicating that more items thanMaxNumberOfItems
were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.- Returns:
- An opaque token indicating that more items than
MaxNumberOfItems
were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.
-
withNextToken
An opaque token indicating that more items thanMaxNumberOfItems
were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.- Parameters:
nextToken
- An opaque token indicating that more items thanMaxNumberOfItems
were matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-