public static class QueryAggregation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
QueryAggregation.Builder |
arePartialResults(Boolean arePartialResults)
True if query did not complete processing all data.
|
QueryAggregation |
build() |
QueryAggregation.Builder |
columns(List<AbstractColumn> columns)
Query result columns
|
QueryAggregation.Builder |
copy(QueryAggregation model) |
QueryAggregation.Builder |
fields(List<AbstractColumn> fields)
Query result fields
|
QueryAggregation.Builder |
isContentHidden(Boolean isContentHidden)
True if the data returned by query is hidden.
|
QueryAggregation.Builder |
items(List<Map<String,Object>> items)
Query result data
|
QueryAggregation.Builder |
partialResultReason(String partialResultReason)
Explanation of why results may be partial.
|
QueryAggregation.Builder |
percentComplete(Integer percentComplete)
Percentage progress completion of the query.
|
QueryAggregation.Builder |
queryExecutionTimeInMs(Long queryExecutionTimeInMs)
Time ellapsed executing query in milli-seconds.
|
QueryAggregation.Builder |
totalCount(Integer totalCount)
Number of rows query retrieved.
|
QueryAggregation.Builder |
totalMatchedCount(Long totalMatchedCount)
Number of rows matched by query.
|
public QueryAggregation.Builder totalCount(Integer totalCount)
Number of rows query retrieved. Up to maxTotalCount limit.
totalCount
- the value to setpublic QueryAggregation.Builder totalMatchedCount(Long totalMatchedCount)
Number of rows matched by query.
totalMatchedCount
- the value to setpublic QueryAggregation.Builder arePartialResults(Boolean arePartialResults)
True if query did not complete processing all data.
arePartialResults
- the value to setpublic QueryAggregation.Builder partialResultReason(String partialResultReason)
Explanation of why results may be partial. Only set if arePartialResults is true.
partialResultReason
- the value to setpublic QueryAggregation.Builder isContentHidden(Boolean isContentHidden)
True if the data returned by query is hidden.
isContentHidden
- the value to setpublic QueryAggregation.Builder columns(List<AbstractColumn> columns)
Query result columns
columns
- the value to setpublic QueryAggregation.Builder fields(List<AbstractColumn> fields)
Query result fields
fields
- the value to setpublic QueryAggregation.Builder items(List<Map<String,Object>> items)
Query result data
items
- the value to setpublic QueryAggregation.Builder queryExecutionTimeInMs(Long queryExecutionTimeInMs)
Time ellapsed executing query in milli-seconds.
queryExecutionTimeInMs
- the value to setpublic QueryAggregation.Builder percentComplete(Integer percentComplete)
Percentage progress completion of the query.
percentComplete
- the value to setpublic QueryAggregation build()
public QueryAggregation.Builder copy(QueryAggregation model)
Copyright © 2016–2024. All rights reserved.