/** * The expression used to query the domain. * * @param selectExpression * The expression used to query the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public SelectRequest withSelectExpression(String selectExpression) { setSelectExpression(selectExpression); return this; }
/** * Constructs a new SelectRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param selectExpression * The expression used to query the domain. */ public SelectRequest(String selectExpression) { setSelectExpression(selectExpression); }
public SelectRequest withSelectExpression(String selectExpression) { setSelectExpression(selectExpression); return this; } }
public SelectRequest(String selectExpression) { setSelectExpression(selectExpression); }
public SelectRequest(String selectExpression, Boolean consistentRead) { setSelectExpression(selectExpression); }
/** * Constructs a new SelectRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param selectExpression * The expression used to query the domain. * @param consistentRead * Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If * <code>true</code>, 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(String selectExpression, Boolean consistentRead) { setSelectExpression(selectExpression); setConsistentRead(consistentRead); }
/** * Constructs a new SelectRequest object. * Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param selectExpression The expression used to query the domain. */ public SelectRequest(String selectExpression) { setSelectExpression(selectExpression); }
/** * Constructs a new SelectRequest object. * Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param selectExpression The expression used to query the domain. * @param consistentRead Determines whether or not strong consistency * should be enforced when data is read from SimpleDB. If * <code>true</code>, 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(String selectExpression, Boolean consistentRead) { setSelectExpression(selectExpression); setConsistentRead(consistentRead); }
public SelectRequest withSelectExpression(String selectExpression) { setSelectExpression(selectExpression); return this; } }
/** * Constructs a new SelectRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param selectExpression * The expression used to query the domain. */ public SelectRequest(String selectExpression) { setSelectExpression(selectExpression); }
/** * The expression used to query the domain. * * @param selectExpression * The expression used to query the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public SelectRequest withSelectExpression(String selectExpression) { setSelectExpression(selectExpression); return this; }
public SelectRequest(String selectExpression) { setSelectExpression(selectExpression); }
public SelectRequest(String selectExpression, Boolean consistentRead) { setSelectExpression(selectExpression); }
/** * Constructs a new SelectRequest object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param selectExpression * The expression used to query the domain. * @param consistentRead * Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If * <code>true</code>, 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(String selectExpression, Boolean consistentRead) { setSelectExpression(selectExpression); setConsistentRead(consistentRead); }
public List<Item> getItems(){ AmazonSimpleDBClient client = new AmazonSimpleDBClient(...); List<Item> items = new ArrayList<>(); String nextToken = null; do { final SelectRequest request = new SelectRequest(); request.setSelectExpression("MY SELECT QUERY"); // SimpleDB can paginate the result. For paginated result NextToken value will be not null request.setNextToken(nextToken); nextToken = null; SelectResult result = client.select(request); if (result != null) { nextToken = (result.getNextToken() != null) ? result.getNextToken() : null; items.addAll(result.getItems()); } } while (nextToken != null); return items; }