public static class SearchPageResponse.Builder<T> extends Object
Modifier and Type | Field and Description |
---|---|
com.atlassian.fugue.Option<Integer> |
archivedResultCount |
String |
cqlQuery |
boolean |
hasMore |
PageRequest |
pageRequest |
com.google.common.collect.ImmutableList.Builder<T> |
results |
int |
searchDuration |
int |
totalSize |
Modifier and Type | Method and Description |
---|---|
SearchPageResponse.Builder<T> |
archivedResultCount(com.atlassian.fugue.Option<Integer> archivedResultCount) |
SearchPageResponse<T> |
build() |
SearchPageResponse.Builder<T> |
cqlQuery(String query) |
SearchPageResponse.Builder<T> |
hasMore(boolean hasMore) |
SearchPageResponse.Builder<T> |
pageRequest(PageRequest pageRequest) |
SearchPageResponse.Builder<T> |
result(Iterable<T> results) |
SearchPageResponse.Builder<T> |
searchDuration(int duration) |
SearchPageResponse.Builder<T> |
totalSize(int size) |
public com.google.common.collect.ImmutableList.Builder<T> results
public boolean hasMore
public String cqlQuery
public PageRequest pageRequest
public int totalSize
public int searchDuration
public com.atlassian.fugue.Option<Integer> archivedResultCount
public SearchPageResponse<T> build()
public SearchPageResponse.Builder<T> result(Iterable<T> results)
public SearchPageResponse.Builder<T> hasMore(boolean hasMore)
public SearchPageResponse.Builder<T> totalSize(int size)
public SearchPageResponse.Builder<T> cqlQuery(String query)
public SearchPageResponse.Builder<T> pageRequest(PageRequest pageRequest)
public SearchPageResponse.Builder<T> searchDuration(int duration)
public SearchPageResponse.Builder<T> archivedResultCount(com.atlassian.fugue.Option<Integer> archivedResultCount)
Copyright © 2003–2018 Atlassian. All rights reserved.