Class SelectRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpledb.model.SelectRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for SelectRequest object.SelectRequest
(String selectExpression) Constructs a new SelectRequest object.SelectRequest
(String selectExpression, Boolean consistentRead) Constructs a new SelectRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Determines whether or not strong consistency should be enforced when data is read from SimpleDB.A string informing Amazon SimpleDB where to start the next list ofItemNames
.The expression used to query the domain.int
hashCode()
Determines whether or not strong consistency should be enforced when data is read from SimpleDB.void
setConsistentRead
(Boolean consistentRead) Determines whether or not strong consistency should be enforced when data is read from SimpleDB.void
setNextToken
(String nextToken) A string informing Amazon SimpleDB where to start the next list ofItemNames
.void
setSelectExpression
(String selectExpression) The expression used to query the domain.toString()
Returns a string representation of this object; useful for testing and debugging.withConsistentRead
(Boolean consistentRead) Determines whether or not strong consistency should be enforced when data is read from SimpleDB.withNextToken
(String nextToken) A string informing Amazon SimpleDB where to start the next list ofItemNames
.withSelectExpression
(String selectExpression) The expression used to query the domain.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
SelectRequest
public SelectRequest()Default constructor for SelectRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
SelectRequest
Constructs a new SelectRequest object. 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.
-
SelectRequest
Constructs a new SelectRequest object. 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.consistentRead
- Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue
, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
-
-
Method Details
-
setSelectExpression
The expression used to query the domain.- Parameters:
selectExpression
- The expression used to query the domain.
-
getSelectExpression
The expression used to query the domain.- Returns:
- The expression used to query the domain.
-
withSelectExpression
The expression used to query the domain.- Parameters:
selectExpression
- The expression used to query the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
A string informing Amazon SimpleDB where to start the next list ofItemNames
.- Parameters:
nextToken
- A string informing Amazon SimpleDB where to start the next list ofItemNames
.
-
getNextToken
A string informing Amazon SimpleDB where to start the next list ofItemNames
.- Returns:
- A string informing Amazon SimpleDB where to start the next list
of
ItemNames
.
-
withNextToken
A string informing Amazon SimpleDB where to start the next list ofItemNames
.- Parameters:
nextToken
- A string informing Amazon SimpleDB where to start the next list ofItemNames
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConsistentRead
Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue
, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.- Parameters:
consistentRead
- Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue
, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
-
getConsistentRead
Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue
, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.- Returns:
- Determines whether or not strong consistency should be enforced
when data is read from SimpleDB. If
true
, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
-
withConsistentRead
Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue
, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.- Parameters:
consistentRead
- Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue
, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isConsistentRead
Determines whether or not strong consistency should be enforced when data is read from SimpleDB. Iftrue
, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.- Returns:
- Determines whether or not strong consistency should be enforced
when data is read from SimpleDB. If
true
, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-