public static class SearchPageResponse.Builder<T> extends Object
Modifier and Type | Field and Description |
---|---|
com.atlassian.fugue.Option<Integer> |
archivedResultCount
Deprecated.
since 7.0.1. Use getters and setters.
|
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)
Deprecated.
since 7.0.1. Use
withArchivedResultCount(Optional) |
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) |
SearchPageResponse.Builder<T> |
withArchivedResultCount(Optional<Integer> archivedResultCount) |
public com.google.common.collect.ImmutableList.Builder<T> results
public boolean hasMore
public String cqlQuery
public PageRequest pageRequest
public int totalSize
public int searchDuration
@Deprecated 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)
@Deprecated public SearchPageResponse.Builder<T> archivedResultCount(com.atlassian.fugue.Option<Integer> archivedResultCount)
withArchivedResultCount(Optional)
public SearchPageResponse.Builder<T> withArchivedResultCount(Optional<Integer> archivedResultCount)
Copyright © 2003–2020 Atlassian. All rights reserved.