public class Search
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Search.SearchType
The type of search operation.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Search() |
protected |
Search(Search.SearchType searchType) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Document> |
getAllResults() |
int |
getCount()
Gets the count of the search result.
|
java.util.List<Document> |
getNextResultSet() |
protected Search |
withAttributesToGet(java.util.List<java.lang.String> attributesToGet) |
protected Search |
withCollectResults(boolean collectResults) |
protected Search |
withConditionalOperator(com.amazonaws.services.dynamodbv2.model.ConditionalOperator conditionalOperator) |
protected Search |
withFilter(Filter filter) |
protected Search |
withFilterExpression(Expression filterExpression) |
protected Search |
withIndexName(java.lang.String indexName) |
protected Search |
withIsBackwardSearch(boolean isBackwardSearch) |
protected Search |
withIsConsistentRead(boolean isConsistentRead) |
protected Search |
withKeyExpression(Expression keyExpression) |
protected Search |
withLimit(int limit) |
protected Search |
withNextKey(java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue> nextKey) |
protected Search |
withSegment(int segment) |
protected Search |
withSelect(com.amazonaws.services.dynamodbv2.model.Select select) |
protected Search |
withTable(Table table) |
protected Search |
withTableName(java.lang.String tableName) |
protected Search |
withTotalSegments(int totalSegments) |
protected Search(Search.SearchType searchType)
protected Search()
protected Search withTableName(java.lang.String tableName)
protected Search withCollectResults(boolean collectResults)
protected Search withLimit(int limit)
protected Search withKeyExpression(Expression keyExpression)
protected Search withFilterExpression(Expression filterExpression)
protected Search withConditionalOperator(com.amazonaws.services.dynamodbv2.model.ConditionalOperator conditionalOperator)
protected Search withAttributesToGet(java.util.List<java.lang.String> attributesToGet)
protected Search withIsConsistentRead(boolean isConsistentRead)
protected Search withIsBackwardSearch(boolean isBackwardSearch)
protected Search withNextKey(java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue> nextKey)
protected Search withTotalSegments(int totalSegments)
protected Search withSegment(int segment)
protected Search withIndexName(java.lang.String indexName)
protected Search withSelect(com.amazonaws.services.dynamodbv2.model.Select select)
public java.util.List<Document> getNextResultSet()
Documentpublic int getCount()