com.amazonaws.services.simpledb.model
Class SelectResult

java.lang.Object
  extended by com.amazonaws.services.simpledb.model.SelectResult
All Implemented Interfaces:
java.io.Serializable

public class SelectResult
extends java.lang.Object
implements java.io.Serializable

Select Result

See Also:
Serialized Form

Constructor Summary
SelectResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<Item> getItems()
          A list of items that match the select expression.
 java.lang.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(java.util.Collection<Item> items)
          A list of items that match the select expression.
 void setNextToken(java.lang.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.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SelectResult withItems(java.util.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(java.lang.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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectResult

public SelectResult()
Method Detail

getItems

public java.util.List<Item> getItems()
A list of items that match the select expression.

Returns:
A list of items that match the select expression.

setItems

public void setItems(java.util.Collection<Item> items)
A list of items that match the select expression.

Parameters:
items - A list of items that match the select expression.

withItems

public SelectResult withItems(Item... items)
A list of items that match the select expression.

Returns a reference to this object so that method calls can be chained together.

Parameters:
items - A list of items that match the select expression.
Returns:
A reference to this updated object so that method calls can be chained together.

withItems

public SelectResult withItems(java.util.Collection<Item> items)
A list of items that match the select expression.

Returns a reference to this object so that method calls can be chained together.

Parameters:
items - A list of items that match the select expression.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public java.lang.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.

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.

setNextToken

public void setNextToken(java.lang.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.

Parameters:
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.

withNextToken

public SelectResult withNextToken(java.lang.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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.