com.amazonaws.services.simpledb.model
Class SelectRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpledb.model.SelectRequest

public class SelectRequest
extends AmazonWebServiceRequest

Select Request


Constructor Summary
SelectRequest()
          Default constructor for a new SelectRequest object.
SelectRequest(String selectExpression)
          Constructs a new SelectRequest object and initializes the specified object members.
 
Method Summary
 Boolean getConsistentRead()
          True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned.
 String getNextToken()
          String that tells Amazon SimpleDB where to start the next list of Item Names.
 String getSelectExpression()
          The expression used to query the domain.
 Boolean isConsistentRead()
          True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned.
 void setConsistentRead(Boolean consistentRead)
          True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned.
 void setNextToken(String nextToken)
          String that tells Amazon SimpleDB where to start the next list of Item Names.
 void setSelectExpression(String selectExpression)
          The expression used to query the domain.
 String toString()
           
 SelectRequest withConsistentRead(Boolean consistentRead)
          True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned.
 SelectRequest withNextToken(String nextToken)
          String that tells Amazon SimpleDB where to start the next list of Item Names.
 SelectRequest withSelectExpression(String selectExpression)
          The expression used to query the domain.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectRequest

public SelectRequest()
Default constructor for a new SelectRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


SelectRequest

public SelectRequest(String selectExpression)
Constructs a new SelectRequest object and initializes the specified object members. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
selectExpression - The expression used to query the domain.
Method Detail

getSelectExpression

public String getSelectExpression()
The expression used to query the domain.

Returns:
The expression used to query the domain.

setSelectExpression

public void setSelectExpression(String selectExpression)
The expression used to query the domain.

Parameters:
selectExpression - The expression used to query the domain.

withSelectExpression

public SelectRequest withSelectExpression(String selectExpression)
The expression used to query the domain.

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

Parameters:
selectExpression - The expression used to query the domain.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
String that tells Amazon SimpleDB where to start the next list of Item Names.

Returns:
String that tells Amazon SimpleDB where to start the next list of Item Names.

setNextToken

public void setNextToken(String nextToken)
String that tells Amazon SimpleDB where to start the next list of Item Names.

Parameters:
nextToken - String that tells Amazon SimpleDB where to start the next list of Item Names.

withNextToken

public SelectRequest withNextToken(String nextToken)
String that tells Amazon SimpleDB where to start the next list of Item Names.

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

Parameters:
nextToken - String that tells Amazon SimpleDB where to start the next list of Item Names.
Returns:
A reference to this updated object so that method calls can be chained together.

isConsistentRead

public Boolean isConsistentRead()
True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned. Without specifying this parameter, results will be eventually consistent, and you may not see data that was written immediately before your read.

Returns:
True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned. Without specifying this parameter, results will be eventually consistent, and you may not see data that was written immediately before your read.

setConsistentRead

public void setConsistentRead(Boolean consistentRead)
True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned. Without specifying this parameter, results will be eventually consistent, and you may not see data that was written immediately before your read.

Parameters:
consistentRead - True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned. Without specifying this parameter, results will be eventually consistent, and you may not see data that was written immediately before your read.

withConsistentRead

public SelectRequest withConsistentRead(Boolean consistentRead)
True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned. Without specifying this parameter, results will be eventually consistent, and you may not see data that was written immediately before your read.

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

Parameters:
consistentRead - True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned. Without specifying this parameter, results will be eventually consistent, and you may not see data that was written immediately before your read.
Returns:
A reference to this updated object so that method calls can be chained together.

getConsistentRead

public Boolean getConsistentRead()
True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned. Without specifying this parameter, results will be eventually consistent, and you may not see data that was written immediately before your read.

Returns:
True if strong consistency should be enforced when data is read from SimpleDB, meaning that any data previously written to SimpleDB will be returned. Without specifying this parameter, results will be eventually consistent, and you may not see data that was written immediately before your read.

toString

public String toString()
Overrides:
toString in class Object


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