com.amazonaws.services.simpledb.model
Class SelectResult

java.lang.Object
  extended by com.amazonaws.services.simpledb.model.SelectResult

public class SelectResult
extends Object

Select Result


Constructor Summary
SelectResult()
           
 
Method Summary
 List<Item> getItems()
          Items that match the select expression.
 String getNextToken()
          An opaque token indicating that more than MaxNumberOfItems matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.
 void setItems(Collection<Item> items)
          Items that match the select expression.
 void setNextToken(String nextToken)
          An opaque token indicating that more than MaxNumberOfItems matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.
 String toString()
           
 SelectResult withItems(Collection<Item> items)
          Items that match the select expression.
 SelectResult withItems(Item... items)
          Items that match the select expression.
 SelectResult withNextToken(String nextToken)
          An opaque token indicating that more than MaxNumberOfItems matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectResult

public SelectResult()
Method Detail

getItems

public List<Item> getItems()
Items that match the select expression.

Returns:
Items that match the select expression.

setItems

public void setItems(Collection<Item> items)
Items that match the select expression.

Parameters:
items - Items that match the select expression.

withItems

public SelectResult withItems(Item... items)
Items that match the select expression.

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

Parameters:
items - 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(Collection<Item> items)
Items that match the select expression.

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

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

getNextToken

public String getNextToken()
An opaque token indicating that more than MaxNumberOfItems matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.

Returns:
An opaque token indicating that more than MaxNumberOfItems matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.

setNextToken

public void setNextToken(String nextToken)
An opaque token indicating that more than MaxNumberOfItems matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.

Parameters:
nextToken - An opaque token indicating that more than MaxNumberOfItems matched, the response size exceeded 1 megabyte, or the execution time exceeded 5 seconds.

withNextToken

public SelectResult withNextToken(String nextToken)
An opaque token indicating that more than MaxNumberOfItems 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 than MaxNumberOfItems 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 String toString()
Overrides:
toString in class Object


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