2018-10-05 11:45:46 -04:00
|
|
|
--
|
|
|
|
:api: get-overall-buckets
|
|
|
|
:request: GetOverallBucketsRequest
|
|
|
|
:response: GetOverallBucketsResponse
|
|
|
|
--
|
|
|
|
[id="{upid}-{api}"]
|
2018-09-03 08:34:36 -04:00
|
|
|
=== Get Overall Buckets API
|
|
|
|
|
|
|
|
The Get Overall Buckets API retrieves overall bucket results that
|
|
|
|
summarize the bucket results of multiple jobs.
|
2018-10-05 11:45:46 -04:00
|
|
|
It accepts a +{request}+ object and responds
|
|
|
|
with a +{response}+ object.
|
2018-09-03 08:34:36 -04:00
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
[id="{upid}-{api}-request"]
|
2018-09-03 08:34:36 -04:00
|
|
|
==== Get Overall Buckets Request
|
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
A +{request}+ object gets created with one or more `jobId`.
|
2018-09-03 08:34:36 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
2018-09-03 08:34:36 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> Constructing a new request referencing job IDs `jobId1` and `jobId2`.
|
|
|
|
|
|
|
|
==== Optional Arguments
|
|
|
|
The following arguments are optional:
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-bucket-span]
|
2018-09-03 08:34:36 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> The span of the overall buckets. Must be greater or equal to the jobs' largest `bucket_span`.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-end]
|
2018-09-03 08:34:36 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> Overall buckets with timestamps earlier than this time will be returned.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-exclude-interim]
|
2018-09-03 08:34:36 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> If `true`, interim results will be excluded. Overall buckets are interim if any of the job buckets
|
|
|
|
within the overall bucket interval are interim. Defaults to `false`.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-overall-score]
|
2018-09-03 08:34:36 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> Overall buckets with overall scores greater or equal than this value will be returned.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-start]
|
2018-09-03 08:34:36 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> Overall buckets with timestamps on or after this time will be returned.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-top-n]
|
2018-09-03 08:34:36 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> The number of top job bucket scores to be used in the `overall_score` calculation. Defaults to `1`.
|
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
include::../execution.asciidoc[]
|
2018-09-03 08:34:36 -04:00
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
[id="{upid}-{api}-response"]
|
2018-09-03 08:34:36 -04:00
|
|
|
==== Get Overall Buckets Response
|
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
The returned +{response}+ contains the requested buckets:
|
2018-09-03 08:34:36 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
2018-09-03 08:34:36 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
<1> The count of overall buckets that were matched
|
|
|
|
<2> The overall buckets retrieved
|