public class SelectRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
consistentRead
Determines whether or not strong consistency should be enforced when data
is read from SimpleDB.
|
private java.lang.String |
nextToken
A string informing Amazon SimpleDB where to start the next list of
ItemNames . |
private java.lang.String |
selectExpression
The expression used to query the domain.
|
NOOP
Constructor and Description |
---|
SelectRequest()
Default constructor for SelectRequest object.
|
SelectRequest(java.lang.String selectExpression)
Constructs a new SelectRequest object.
|
SelectRequest(java.lang.String selectExpression,
java.lang.Boolean consistentRead)
Constructs a new SelectRequest object.
|
Modifier and Type | Method and Description |
---|---|
SelectRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getConsistentRead()
Determines whether or not strong consistency should be enforced when data
is read from SimpleDB.
|
java.lang.String |
getNextToken()
A string informing Amazon SimpleDB where to start the next list of
ItemNames . |
java.lang.String |
getSelectExpression()
The expression used to query the domain.
|
int |
hashCode() |
java.lang.Boolean |
isConsistentRead()
Determines whether or not strong consistency should be enforced when data
is read from SimpleDB.
|
void |
setConsistentRead(java.lang.Boolean consistentRead)
Determines whether or not strong consistency should be enforced when data
is read from SimpleDB.
|
void |
setNextToken(java.lang.String nextToken)
A string informing Amazon SimpleDB where to start the next list of
ItemNames . |
void |
setSelectExpression(java.lang.String selectExpression)
The expression used to query the domain.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SelectRequest |
withConsistentRead(java.lang.Boolean consistentRead)
Determines whether or not strong consistency should be enforced when data
is read from SimpleDB.
|
SelectRequest |
withNextToken(java.lang.String nextToken)
A string informing Amazon SimpleDB where to start the next list of
ItemNames . |
SelectRequest |
withSelectExpression(java.lang.String selectExpression)
The expression used to query the domain.
|
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
private java.lang.String selectExpression
private java.lang.String nextToken
ItemNames
.private java.lang.Boolean consistentRead
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.public SelectRequest()
public SelectRequest(java.lang.String selectExpression)
selectExpression
- The expression used to query the domain.public SelectRequest(java.lang.String selectExpression, java.lang.Boolean consistentRead)
selectExpression
- The expression used to query the domain.consistentRead
- 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.public void setSelectExpression(java.lang.String selectExpression)
selectExpression
- The expression used to query the domain.public java.lang.String getSelectExpression()
public SelectRequest withSelectExpression(java.lang.String selectExpression)
selectExpression
- The expression used to query the domain.public void setNextToken(java.lang.String nextToken)
ItemNames
.nextToken
- A string informing Amazon SimpleDB where to start the next list of
ItemNames
.public java.lang.String getNextToken()
ItemNames
.ItemNames
.public SelectRequest withNextToken(java.lang.String nextToken)
ItemNames
.nextToken
- A string informing Amazon SimpleDB where to start the next list of
ItemNames
.public void setConsistentRead(java.lang.Boolean consistentRead)
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.consistentRead
- 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.public java.lang.Boolean getConsistentRead()
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.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.public SelectRequest withConsistentRead(java.lang.Boolean consistentRead)
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.consistentRead
- 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.public java.lang.Boolean isConsistentRead()
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.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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SelectRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()