From ce5a1a980d03eede1d02f3cf86a6f2284202ca81 Mon Sep 17 00:00:00 2001 From: debadair Date: Tue, 8 Dec 2020 13:04:32 -0800 Subject: [PATCH 01/35] [DOCS] Qualified Watcher topics to distinguish from Kib Alerting (#65908) * [DOCS] Qualified Watcher topics to distinguish from Kib Alerting * Reverted actions anchor due to client links. * Updated redirects. * Fixed links. * Roll back anchor changes * Apply suggestions from code review Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> * Incorporated review comments. --- x-pack/docs/en/watcher/actions.asciidoc | 51 +-- x-pack/docs/en/watcher/actions/email.asciidoc | 5 +- x-pack/docs/en/watcher/actions/index.asciidoc | 5 +- x-pack/docs/en/watcher/actions/jira.asciidoc | 5 +- .../docs/en/watcher/actions/logging.asciidoc | 5 +- .../en/watcher/actions/pagerduty.asciidoc | 5 +- x-pack/docs/en/watcher/actions/slack.asciidoc | 5 +- .../docs/en/watcher/actions/webhook.asciidoc | 5 +- x-pack/docs/en/watcher/condition.asciidoc | 5 +- .../docs/en/watcher/condition/always.asciidoc | 5 +- .../watcher/condition/array-compare.asciidoc | 5 +- .../en/watcher/condition/compare.asciidoc | 5 +- .../docs/en/watcher/condition/never.asciidoc | 5 +- .../docs/en/watcher/condition/script.asciidoc | 5 +- x-pack/docs/en/watcher/gs-index.asciidoc | 68 ---- x-pack/docs/en/watcher/index.asciidoc | 11 +- x-pack/docs/en/watcher/input.asciidoc | 5 +- x-pack/docs/en/watcher/input/chain.asciidoc | 5 +- x-pack/docs/en/watcher/input/http.asciidoc | 5 +- x-pack/docs/en/watcher/input/search.asciidoc | 5 +- x-pack/docs/en/watcher/input/simple.asciidoc | 5 +- x-pack/docs/en/watcher/java/service.asciidoc | 2 +- x-pack/docs/en/watcher/java/stats.asciidoc | 2 +- x-pack/docs/en/watcher/limitations.asciidoc | 2 +- x-pack/docs/en/watcher/release-notes.asciidoc | 313 ------------------ x-pack/docs/en/watcher/transform.asciidoc | 10 +- .../docs/en/watcher/transform/chain.asciidoc | 5 +- .../docs/en/watcher/transform/script.asciidoc | 5 +- .../docs/en/watcher/transform/search.asciidoc | 5 +- x-pack/docs/en/watcher/trigger.asciidoc | 5 +- .../docs/en/watcher/trigger/schedule.asciidoc | 5 +- .../en/watcher/trigger/schedule/cron.asciidoc | 5 +- .../watcher/trigger/schedule/daily.asciidoc | 5 +- .../watcher/trigger/schedule/hourly.asciidoc | 5 +- .../trigger/schedule/interval.asciidoc | 5 +- .../watcher/trigger/schedule/monthly.asciidoc | 5 +- .../watcher/trigger/schedule/weekly.asciidoc | 5 +- .../watcher/trigger/schedule/yearly.asciidoc | 5 +- 38 files changed, 171 insertions(+), 438 deletions(-) delete mode 100644 x-pack/docs/en/watcher/gs-index.asciidoc delete mode 100644 x-pack/docs/en/watcher/release-notes.asciidoc diff --git a/x-pack/docs/en/watcher/actions.asciidoc b/x-pack/docs/en/watcher/actions.asciidoc index 589d87c1cd26..fecf712800bd 100644 --- a/x-pack/docs/en/watcher/actions.asciidoc +++ b/x-pack/docs/en/watcher/actions.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[actions]] -== Actions +== {watcher} actions +++++ +Actions +++++ When a watch's condition is met, its actions are executed unless it is being <>. A watch can perform multiple actions. @@ -15,10 +18,14 @@ Actions have access to the payload in the execution context. They can use it to support their execution in any way they need. For example, the payload might serve as a model for a templated email body. -{watcher} supports the following types of actions: -<>, <>, <>, -<>, <>, -and <>. +{watcher} supports the following actions: + +* <> +* <> +* <> +* <> +* <> +* <> [discrete] [[actions-ack-throttle]] @@ -189,6 +196,21 @@ of a watch during its execution: image::images/action-throttling.jpg[align="center"] +[discrete] +[[actions-ssl-openjdk]] +=== Using SSL/TLS with OpenJDK + +As each distributor is free to choose how to package OpenJDK, it may happen, +that even despite the exact same version, an OpenJDK distribution contains +different parts under different Linux distributions. + +This can lead to issues with any action or input that uses TLS, like the `jira`, +`pagerduty`, `slack`, or `webhook` one, because of missing CA certs. +If you encounter TLS errors, when writing watches that connect to TLS endpoints, +you should try to upgrade to the latest available OpenJDK distribution for your +platform and if that does not help, try to upgrade to Oracle JDK. + + [role="xpack"] [[action-foreach]] === Running an action for each element in an array @@ -237,7 +259,10 @@ PUT _watcher/watch/log_event_watch [role="xpack"] [[action-conditions]] -=== Adding conditions to actions +=== Adding conditions to {watcher} actions +++++ +Adding conditions to actions +++++ When a watch is triggered, its condition determines whether or not to execute the watch actions. Within each action, you can also add a condition per action. These @@ -302,6 +327,7 @@ PUT _watcher/watch/log_event_watch <1> A `condition` that only applies to the `notify_pager` action, which restricts its execution to when the condition succeeds (at least 5 hits in this case). + include::actions/email.asciidoc[] include::actions/webhook.asciidoc[] @@ -316,16 +342,3 @@ include::actions/pagerduty.asciidoc[] include::actions/jira.asciidoc[] -[discrete] -[[actions-ssl-openjdk]] -=== Using SSL/TLS with OpenJDK - -As each distributor is free to choose how to package OpenJDK, it may happen, -that even despite the exact same version, an OpenJDK distribution contains -different parts under different Linux distributions. - -This can lead to issues with any action or input that uses TLS, like the `jira`, -`pagerduty`, `slack`, or `webhook` one, because of missing CA certs. -If you encounter TLS errors, when writing watches that connect to TLS endpoints, -you should try to upgrade to the latest available OpenJDK distribution for your -platform and if that does not help, try to upgrade to Oracle JDK. diff --git a/x-pack/docs/en/watcher/actions/email.asciidoc b/x-pack/docs/en/watcher/actions/email.asciidoc index 06df69419857..c6edc79a7122 100644 --- a/x-pack/docs/en/watcher/actions/email.asciidoc +++ b/x-pack/docs/en/watcher/actions/email.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[actions-email]] -=== Email action +=== Watcher email action +++++ +Email action +++++ Use the `email` action to send email notifications. To send email, you must <> in diff --git a/x-pack/docs/en/watcher/actions/index.asciidoc b/x-pack/docs/en/watcher/actions/index.asciidoc index e967cfa0af77..78c99a9797cb 100644 --- a/x-pack/docs/en/watcher/actions/index.asciidoc +++ b/x-pack/docs/en/watcher/actions/index.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[actions-index]] -=== Index action +=== {watcher} index action +++++ +Index action +++++ Use the `index` action to index data into Elasticsearch. See <> for the supported attributes. diff --git a/x-pack/docs/en/watcher/actions/jira.asciidoc b/x-pack/docs/en/watcher/actions/jira.asciidoc index 0819f5033562..318eb3c251bd 100644 --- a/x-pack/docs/en/watcher/actions/jira.asciidoc +++ b/x-pack/docs/en/watcher/actions/jira.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[actions-jira]] -=== Jira action +=== {watcher} Jira action +++++ +Jira action +++++ Use the `jira` action to create issues in https://www.atlassian.com/software/jira[Atlassian's Jira Software]. To create issues you need to <> in `elasticsearch.yml`. diff --git a/x-pack/docs/en/watcher/actions/logging.asciidoc b/x-pack/docs/en/watcher/actions/logging.asciidoc index a279c83c2088..837aaf64ae18 100644 --- a/x-pack/docs/en/watcher/actions/logging.asciidoc +++ b/x-pack/docs/en/watcher/actions/logging.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[actions-logging]] -=== Logging Action +=== {watcher} logging Action +++++ +Logging action +++++ Use the `logging` action to log text to the standard Elasticsearch logs. See <> for the supported attributes. diff --git a/x-pack/docs/en/watcher/actions/pagerduty.asciidoc b/x-pack/docs/en/watcher/actions/pagerduty.asciidoc index 67d559495f03..82cd22386fc1 100644 --- a/x-pack/docs/en/watcher/actions/pagerduty.asciidoc +++ b/x-pack/docs/en/watcher/actions/pagerduty.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[actions-pagerduty]] -=== PagerDuty action +=== {watcher} PagerDuty action +++++ +PagerDuty action +++++ Use the PagerDuty action to create events in https://pagerduty.com/[ PagerDuty]. To create PagerDuty events, you must <Slack action +++++ Use the `slack` action to send messages to a https://slack.com/[Slack] team's channels or users. To send Slack messages, you need to diff --git a/x-pack/docs/en/watcher/actions/webhook.asciidoc b/x-pack/docs/en/watcher/actions/webhook.asciidoc index 65e88425c8a7..73ec2bee16c5 100644 --- a/x-pack/docs/en/watcher/actions/webhook.asciidoc +++ b/x-pack/docs/en/watcher/actions/webhook.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[actions-webhook]] -=== Webhook action +=== {watcher} webhook action +++++ +Webhook action +++++ Use the `webhook` action to send a request to any web service. The webhook action supports both HTTP and HTTPS connections. See diff --git a/x-pack/docs/en/watcher/condition.asciidoc b/x-pack/docs/en/watcher/condition.asciidoc index 6995d88a2f68..c38d95733d39 100644 --- a/x-pack/docs/en/watcher/condition.asciidoc +++ b/x-pack/docs/en/watcher/condition.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[condition]] -== Conditions +== {watcher} conditions +++++ +Conditions +++++ When a watch is triggered, its condition determines whether or not to execute the watch actions. {watcher} supports the following condition types: diff --git a/x-pack/docs/en/watcher/condition/always.asciidoc b/x-pack/docs/en/watcher/condition/always.asciidoc index bba7b1696e6f..0cc922ba8863 100644 --- a/x-pack/docs/en/watcher/condition/always.asciidoc +++ b/x-pack/docs/en/watcher/condition/always.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[condition-always]] -=== Always condition +=== {watcher} always condition +++++ +Always condition +++++ Use the `always` condition to set the condition to `true`. This forces the watch actions to be executed unless they are <>. diff --git a/x-pack/docs/en/watcher/condition/array-compare.asciidoc b/x-pack/docs/en/watcher/condition/array-compare.asciidoc index 1e8ae5d9cbf9..2c74a40e1e97 100644 --- a/x-pack/docs/en/watcher/condition/array-compare.asciidoc +++ b/x-pack/docs/en/watcher/condition/array-compare.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[condition-array-compare]] -=== Array compare condition +=== {watcher} array compare condition +++++ +Array compare condition +++++ Use `array_compare` to compare an array of values in the execution context to a given value. See <> diff --git a/x-pack/docs/en/watcher/condition/compare.asciidoc b/x-pack/docs/en/watcher/condition/compare.asciidoc index 466cbe05ef65..fa0399e40384 100644 --- a/x-pack/docs/en/watcher/condition/compare.asciidoc +++ b/x-pack/docs/en/watcher/condition/compare.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[condition-compare]] -=== Compare condition +=== {watcher} compare condition +++++ +Compare condition +++++ Use the `compare` condition to perform a simple comparison against a value in the watch payload. You can use the `compare` condition without enabling diff --git a/x-pack/docs/en/watcher/condition/never.asciidoc b/x-pack/docs/en/watcher/condition/never.asciidoc index 0328601f00e2..d4e36323e57f 100644 --- a/x-pack/docs/en/watcher/condition/never.asciidoc +++ b/x-pack/docs/en/watcher/condition/never.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[condition-never]] -=== Never condition +=== {watcher} never condition +++++ +Never condition +++++ Use the `never` condition to set the condition to `false`. This means the watch actions are never executed when the watch is triggered. The watch input is diff --git a/x-pack/docs/en/watcher/condition/script.asciidoc b/x-pack/docs/en/watcher/condition/script.asciidoc index 4dcc23ff25f7..9fb9193d811b 100644 --- a/x-pack/docs/en/watcher/condition/script.asciidoc +++ b/x-pack/docs/en/watcher/condition/script.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[condition-script]] -=== Script condition +=== {watcher} script condition +++++ +Script condition +++++ A watch <> that evaluates a script. The default scripting language is `painless`. You can use any of the scripting languages supported by diff --git a/x-pack/docs/en/watcher/gs-index.asciidoc b/x-pack/docs/en/watcher/gs-index.asciidoc deleted file mode 100644 index 0e9163b571fc..000000000000 --- a/x-pack/docs/en/watcher/gs-index.asciidoc +++ /dev/null @@ -1,68 +0,0 @@ -[role="xpack"] -[[xpack-alerting]] -= Alerting on cluster and index events - -[partintro] --- -You can watch for changes or anomalies in your data and perform the necessary -actions in response. For example, you might want to: - -* Monitor social media as another way to detect failures in user-facing - automated systems like ATMs or ticketing systems. When the number of tweets - and posts in an area exceeds a threshold of significance, notify a service - technician. - -* Monitor your infrastructure, tracking disk usage over time. Open a helpdesk - ticket when any servers are likely to run out of free space in the next few - days. - -* Track network activity to detect malicious activity, and proactively change - firewall configuration to reject the malicious user. - -* Monitor Elasticsearch, and send immediate notification to the system - administrator if nodes leave the cluster or query throughput exceeds an - expected range. - -* Track application response times and if page-load time exceeds SLAs for more - than 5 minutes, open a helpdesk ticket. If SLAs are exceeded for an hour, - page the administrator on duty. - -All of these use-cases share a few key properties: - -* The relevant data or changes in data can be identified with a periodic - Elasticsearch query. - -* The results of the query can be checked against a condition. - -* One or more actions are taken if the condition is true -- an email is sent, a - 3rd party system is notified, or the query results are stored. - -[discrete] -=== How watches work - -The {alert-features} provide an API for creating, managing and testing _watches_. -A watch describes a single alert and can contain multiple notification actions. - -A watch is constructed from four simple building blocks: - -Schedule:: A schedule for running a query and checking the condition. - -Query:: The query to run as input to the condition. Watches - support the full Elasticsearch query language, including - aggregations. - -Condition:: A condition that determines whether or not to execute the actions. - You can use simple conditions (always true), or use scripting for - more sophisticated scenarios. - -Actions:: One or more actions, such as sending email, pushing data to - 3rd party systems through a webhook, or indexing the results of - the query. - -A full history of all watches is maintained in an Elasticsearch index. This -history keeps track of each time a watch is triggered and records the results -from the query, whether the condition was met, and what actions were taken. - --- - -include::getting-started.asciidoc[] diff --git a/x-pack/docs/en/watcher/index.asciidoc b/x-pack/docs/en/watcher/index.asciidoc index 3da0252bba3e..f69e6acd423a 100644 --- a/x-pack/docs/en/watcher/index.asciidoc +++ b/x-pack/docs/en/watcher/index.asciidoc @@ -1,11 +1,16 @@ [role="xpack"] [[xpack-alerting]] -= Alerting on cluster and index events += Watch for cluster and index events [partintro] -- -The {alert-features} enable you to watch -for changes or anomalies in your data and perform the necessary actions in +TIP: {kib} Alerting provides a set of built-in actions and alerts +that are integrated with applications such as APM, Metrics, Security, and Uptime. +You can use {kib} Alerting to detect complex conditions within different {kib} apps +and trigger actions when those conditions are met. +For more information, see {kibana-ref}/alerting-getting-started.html[Alerting and actions]. + +You can watch for changes or anomalies in your data and perform the necessary actions in response. For example, you might want to: * Monitor social media as another way to detect failures in user-facing diff --git a/x-pack/docs/en/watcher/input.asciidoc b/x-pack/docs/en/watcher/input.asciidoc index 45a33379a8e3..c7e1d1707cf6 100644 --- a/x-pack/docs/en/watcher/input.asciidoc +++ b/x-pack/docs/en/watcher/input.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[input]] -== Inputs +== {watcher} inputs +++++ +Inputs +++++ When a watch is triggered, its _input_ loads data into the execution context. This payload is accessible during the subsequent watch execution diff --git a/x-pack/docs/en/watcher/input/chain.asciidoc b/x-pack/docs/en/watcher/input/chain.asciidoc index 69afe3104636..1b49a44e658f 100644 --- a/x-pack/docs/en/watcher/input/chain.asciidoc +++ b/x-pack/docs/en/watcher/input/chain.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[input-chain]] -=== Chain input +=== {watcher} chain input +++++ +Chain input +++++ Use the `chain` input to load data from multiple sources into the watch execution context when the watch is triggered. The inputs in a chain diff --git a/x-pack/docs/en/watcher/input/http.asciidoc b/x-pack/docs/en/watcher/input/http.asciidoc index bd48d339d64b..00c8d7b14b26 100644 --- a/x-pack/docs/en/watcher/input/http.asciidoc +++ b/x-pack/docs/en/watcher/input/http.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[input-http]] -=== HTTP input +=== {watcher} HTTP input +++++ +HTTP input +++++ Use the `http` input to submit a request to an HTTP endpoint and load the response into the watch execution context when the watch is triggered. See diff --git a/x-pack/docs/en/watcher/input/search.asciidoc b/x-pack/docs/en/watcher/input/search.asciidoc index 3dbf59e35b9f..94dffbb42545 100644 --- a/x-pack/docs/en/watcher/input/search.asciidoc +++ b/x-pack/docs/en/watcher/input/search.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[input-search]] -=== Search input +=== {watcher} search input +++++ +Search input +++++ Use the `search` input to load the results of an Elasticsearch search request into the execution context when the watch is triggered. See diff --git a/x-pack/docs/en/watcher/input/simple.asciidoc b/x-pack/docs/en/watcher/input/simple.asciidoc index e69c79f53e1b..3e2cafc6d95e 100644 --- a/x-pack/docs/en/watcher/input/simple.asciidoc +++ b/x-pack/docs/en/watcher/input/simple.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[input-simple]] -=== Simple input +=== {watcher} simple input +++++ +Simple input +++++ Use the `simple` input to load static data into the execution context when the watch is triggered. This enables you to store the data diff --git a/x-pack/docs/en/watcher/java/service.asciidoc b/x-pack/docs/en/watcher/java/service.asciidoc index 9e18c880075f..1a6cd6c520ef 100644 --- a/x-pack/docs/en/watcher/java/service.asciidoc +++ b/x-pack/docs/en/watcher/java/service.asciidoc @@ -1,6 +1,6 @@ [discrete] [[api-java-service]] -=== Service API +=== {watcher} service API The {watcher} `service` API allows the control the lifecycle of the {watcher} service. The following example starts the watcher service: diff --git a/x-pack/docs/en/watcher/java/stats.asciidoc b/x-pack/docs/en/watcher/java/stats.asciidoc index ee7afe854b31..b66000855f17 100644 --- a/x-pack/docs/en/watcher/java/stats.asciidoc +++ b/x-pack/docs/en/watcher/java/stats.asciidoc @@ -1,6 +1,6 @@ [discrete] [[api-java-stats]] -=== Stats API +=== {watcher} stats API The `stats` API returns the current {watcher} metrics. You can control what metrics this API returns using the `metric` parameter. diff --git a/x-pack/docs/en/watcher/limitations.asciidoc b/x-pack/docs/en/watcher/limitations.asciidoc index 6b5c47886a40..213403e0f687 100644 --- a/x-pack/docs/en/watcher/limitations.asciidoc +++ b/x-pack/docs/en/watcher/limitations.asciidoc @@ -1,6 +1,6 @@ [role="xpack"] [[watcher-limitations]] -== Watcher limitations +== {watcher} limitations [subs="attributes"] ++++ Limitations diff --git a/x-pack/docs/en/watcher/release-notes.asciidoc b/x-pack/docs/en/watcher/release-notes.asciidoc deleted file mode 100644 index 175941368631..000000000000 --- a/x-pack/docs/en/watcher/release-notes.asciidoc +++ /dev/null @@ -1,313 +0,0 @@ -[role="xpack"] -[[watcher-release-notes]] -== Watcher Release Notes (Pre-5.0) - -[discrete] -[[watcher-change-list]] -=== Change List - -[discrete] -==== 2.4.2 -November 22, 2016 - -.Bug Fixes -* Deleting a watch now is independent from its current execution state in -order to prevent failed deletions with watches having small intervals -* Chain input: Parsing now throws an exception if a data structure is added, that cannot keep its order - -[discrete] -==== 2.4.1 -September 28, 2016 - -.Bug Fixes -* Fixed a serialization error that resulted in the watch history not being -written when a proxy is specified in a watch. -* Triggered watches are now correctly deleted from the `.triggered-watches` -index if they are rejected due to a full thread pool. -* Deleting or closing the `.watches` index now correctly cleans up the -in-memory watch store so the watches are no longer executed. -* If the HTTP request for an attachment fails, the error message is included -in the watch history. -* Fixed a possible exception when chained inputs don't execute successfully. - -.Enhancements -* Hostname verification can be disabled for Watcher -HTTP actions. -* Running watches can be updated and deleted. - -[discrete] -==== 2.4.0 -August 31, 2016 - -.Enhancements -* The HTTP headers of a response are now part of the payload and can be accessed via `ctx.payload._headers` - - -[discrete] -==== 2.3.5 -August 3, 2016 - -.Bug Fixes -* The watch history was not written, if one of the chained inputs resulted in a failure as well as an input containing a field name with dots -* Status of an acked watch, whose condition evaluates to false again is now properly persisted and not lost in case of a master node switch -* Fixed the watch history template so payloads and request bodies are handled -correctly. To update an existing installation, delete the existing watch history -template by running `DELETE /_template/watch_history` and the correct template -will be autocreated. To verify the template is recreated, call `GET -/_template/watch_history`. Note that this just updates the template, so you -need to wait one day for this update to take effect when a new history index is -created. -* The `watcher.http.proxy.port` setting for global proxy configuration was not applied correctly. - -[discrete] -==== 2.3.4 -July 7, 2016 - -.Bug Fixes -* Putting a new watch with state `active=false` now stores that state correctly -on a multi node cluster. -* Fixed the watch history template so nested request bodies are handled -correctly. To update an existing installation, delete the existing watch history -template by running `DELETE /_template/watch_history` and the correct template -will be autocreated. To verify the template is recreated, call `GET -/_template/watch_history`. Note that this just updates the template, so you -need to wait one day for this update to take effect when a new history index is -created. -* The HTML sanitizer now supports border and cellpadding attributes on table -elements and the colspan and rowspan attributes on and elements. -* Fixed the Watcher/Marvel examples in the documentation. - -[discrete] -==== 2.3.3 -May 18, 2016 - -.Enhancements -* Adds support for Elasticsearch 2.3.3 - -[discrete] -==== 2.3.2 -April 26, 2016 - -.Bug Fixes -* All SMTP connection timeouts are now set to two minutes by default to prevent -a watch from getting stuck. -* HTTP headers from responses that contained dots led to exceptions when the -HTTP response was stored in the watch history. All dots in any header names -are now replaced with underscores. For example, a header called `foo.bar` -becomes `foo_bar` -* Hipchat action: Fall back to the default Hipchat color and format if they -are not specified at the account level or within the action itself, instead -of failing. - -[discrete] -==== 2.3.1 -April 4, 2016 - -.Enhancements -* Adds support for Elasticsearch 2.3.1 - -[discrete] -==== 2.3.0 -March 30, 2016 - -.Bug fixes -* The http client does not do any URL escaping by itself anymore, preventing - potential wrong double escapes. - -.Enhancement -* Support `url` in http requests as a shortcut for `path`, `scheme`, `port`, `params` -* Support `ignore_condition` and `record_execution` as parameters in the - {ref}/watcher-api-execute-watch.html[Execute Watch API] - -.New Features -* Added <> -* Added support for adding <> - via HTTP requests and superseding and deprecating the usage of `attach_data` - in order to use this feature - -[discrete] -==== 2.2.1 -March 10, 2016 - -.Bug Fixes -* The `croneval` CLI tool sets the correct environment to run - -[discrete] -==== 2.2.0 -February 2, 2016 - -.Enhancements -* Adds support for Elasticsearch 2.2.0. - -[discrete] -==== 2.1.2 -February 2, 2016 - -.Enhancements -* Adds support for Elasticsearch 2.1.2 - -[discrete] -==== 2.1.1 -December 17, 2015 - -.Bug Fixes -* Fixed an issue that prevented sending of emails - -[discrete] -==== 2.1.0 -November 24, 2015 - -.New Features -* Adds support for <> - -.Enhancements -* Adds support for Elasticsearch 2.1.0. -* Adds support for configuring a proxy in the webhook action, http input and - configuring a default proxy (which is also used by the slack action), using the - `watcher.http.proxy.host` and `watcher.http.proxy.port` settings. - -.Bug Fixes -* Fixed an issue where the scheduler may get stuck during Watcher startup. This - caused no watches to ever fire. -* Fixed an issue where under specific conditions Watcher would not start if there - are not finished watch executions from the previous time that watcher was - running and those watch execution are unable the execute during the current - start process. - -[discrete] -==== 2.0.1 -November 24, 2015 - -.Enhancement -* Adds support for Elasticsearch 2.0.1. - -.Bug fixes -* Fixed an issue where under specific conditions Watcher would not start if - there are not finished watch executions from the previous time that watcher - was running and those watch execution are unable the execute during the current - start process. - -[discrete] -==== 2.0.0 -October 28, 2015 - -.Breaking Changes -* The dynamic index names support has been removed and Elasticsearch's date math - index names support should be used instead. The only difference between Watcher's - dynamic index names support and Elasticsearch's date math index names support is - how timezones are expressed. In Watcher this is done via node settings, in - Elasticsearch the timezone is part of the date math index names support. Only - if you're using dynamic index names with timezones in Watcher then you need to - upgrade your watches after the upgrade, otherwise your watches will work as - they did before the upgrade. For example if `watcher.dynamic_indices.time_zone` - setting was set to `+01:00` and a watch has the following index name - `` then after the upgrade you need to update this watch to - use the following index name ``. - -.New Features -* Added new <> -* Added new <> -* Watches now have an <>. In addition, a new - API was added to {ref}/watcher-api-activate-watch.html[activate] - /{ref}watcher-api-deactivate-watch.html[deactivate] registered watches. -* Added new <>, that can compare an array - of values in the <> - to a given value. - -.Enhancements -* Watcher continuously checks if the index templates for `.watches`, - `.triggered_watches` and `.watch_history-*` exist. Whereas before the existence - of these index templates was only checked at Watcher startup time. The absence - of these index templates leads to watcher data being indexed incorrectly, which - then can cause Watcher to behave incorrectly. -* If Watcher was stopped via the stop Watcher api and after that a master - election took place then Watcher would then unexpectedly start. -* During Watcher start up only wait for the shards of the `.watches` and - `.triggered_watches` indices to be available. Before Watcher also waited for - the shards of the `.watch_history-*` indices, which wasn't needed. This - improved time it takes for Watcher to startup. -* If `action.auto_create_index` setting has been configured then Watcher will - check if the setting is too restrictive. If the `action.auto_create_index` is - too restrictive then Watcher will fail during startup with a descriptive error - message. - -.Bug Fixes -* If Watcher was installed with Security then the Watcher index templates couldn't - be stored and could lead to Watcher behaving incorrectly. This was caused by - Watcher not detecting correctly if Security was installed. -* Update `croneval` command line utility to properly handle whitespaces in the - elasticsearch home path. -* Fixed an issue where the scheduler may get stuck during Watcher startup. This - caused no watches to ever fire. -* Fixed url encoding issue in http input and webhook output. The url params were - url encoded twice. - -[discrete] -==== 1.0.1 -July 29, 2015 - -.Enhancements -* Dynamic index names now support specifying a time zone to be used when - computing the names of the indices. The default is UTC. Previously, the - computation was fixed to always use UTC when computing the names of the - indices. - -.Bug Fixes -* Fixed a compatibility issue with Elasticsearch 1.6.1 and 1.7.2, which were - released earlier today. - -[discrete] -==== 1.0.0 -June 25, 2015 - -.Enhancements -* Added execution time aware dynamic index names support to `index` - action, `search` input, and `search` transform. -* You must now explicitly specify the unit when configuring any time value. - (Numeric-only values are no longer supported.) -* Cleaned up the {ref}/watcher-api-get-watch.html[Get Watch API] response. -* Cleaned up the <> response. - - -[discrete] -==== 1.0.0-rc1 -June 19, 2015 - -.New Features -* Added <> support to the Execute API - -.Enhancements -* Added execution context <> support. -* Email html body sanitization is now <>. -* It is now possible to configure timeouts for http requests in - <> and <>. - -[discrete] -==== 1.0.0-Beta2 -June 10, 2015 - -.New Features -* <> are now applied at the action - level rather than the watch level. -* Added support for <> - indexing to the index action. -* Added a queued watches metric that's accessible via the <>. -* Added a currently-executing watches metric that's accessible via the - <>. - -.Enhancements -* The <> result now includes the value of - each field that was referenced in the comparison. -* The <> now supports a default trigger - event (**breaking change**). -* The `watch_record` document structure in the `.watch_history-*` indices has - changed significantly (**breaking change**). -* A new internal index was introduced - `.triggered_watches` -* Added support for headers in the <> result - and the <> result. -* Add plain text response body support for the <>. - -.Bug Fixes -* Disallow negative time value settings for <> -* Added support for separate keystore and truststore in <> - and <>. diff --git a/x-pack/docs/en/watcher/transform.asciidoc b/x-pack/docs/en/watcher/transform.asciidoc index 0948fadb40c5..c5929d7cadc1 100644 --- a/x-pack/docs/en/watcher/transform.asciidoc +++ b/x-pack/docs/en/watcher/transform.asciidoc @@ -1,11 +1,17 @@ [role="xpack"] [[transform]] == {watcher-transforms-cap} +++++ +Transforms +++++ A _{watcher-transform}_ processes and changes the payload in the watch execution context to prepare it for the watch actions. {watcher} supports three types of -{watcher-transforms}: <>, -<> and <>. +{watcher-transforms}: + +* <> +* <> +* <> NOTE: {watcher-transforms-cap} are optional. When none are defined, the actions diff --git a/x-pack/docs/en/watcher/transform/chain.asciidoc b/x-pack/docs/en/watcher/transform/chain.asciidoc index a99458512a91..ed43a85faee3 100644 --- a/x-pack/docs/en/watcher/transform/chain.asciidoc +++ b/x-pack/docs/en/watcher/transform/chain.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[transform-chain]] -=== Chain {watcher-transform} +=== {watcher} chain {watcher-transform} +++++ +Chain {watcher-transform} +++++ A <> that executes an ordered list of configured {watcher-transforms} in a chain, where the output of one transform serves as the diff --git a/x-pack/docs/en/watcher/transform/script.asciidoc b/x-pack/docs/en/watcher/transform/script.asciidoc index 2a41cec2e07d..8bcaa4af9d27 100644 --- a/x-pack/docs/en/watcher/transform/script.asciidoc +++ b/x-pack/docs/en/watcher/transform/script.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[transform-script]] -=== Script {watcher-transform} +=== {watcher} script {watcher-transform} +++++ +Script {watcher-transform} +++++ A <> that executes a script on the current payload in the watch execution context and replaces it with a newly generated diff --git a/x-pack/docs/en/watcher/transform/search.asciidoc b/x-pack/docs/en/watcher/transform/search.asciidoc index 7b4e9c727739..66ba502ea4b1 100644 --- a/x-pack/docs/en/watcher/transform/search.asciidoc +++ b/x-pack/docs/en/watcher/transform/search.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[transform-search]] -=== Search {watcher-transform} +=== {watcher} search {watcher-transform} +++++ +Search {watcher-transform} +++++ A <> that executes a search on the cluster and replaces the current payload in the watch execution context with the returned diff --git a/x-pack/docs/en/watcher/trigger.asciidoc b/x-pack/docs/en/watcher/trigger.asciidoc index a0852b0470e9..d8e37ae37323 100644 --- a/x-pack/docs/en/watcher/trigger.asciidoc +++ b/x-pack/docs/en/watcher/trigger.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[trigger]] -== Triggers +== {watcher} triggers +++++ +Triggers +++++ Every watch must have a `trigger` that defines when the watch execution process should start. When you create a watch, its trigger is registered with the diff --git a/x-pack/docs/en/watcher/trigger/schedule.asciidoc b/x-pack/docs/en/watcher/trigger/schedule.asciidoc index 0c9bffb9359c..fa389409d15c 100644 --- a/x-pack/docs/en/watcher/trigger/schedule.asciidoc +++ b/x-pack/docs/en/watcher/trigger/schedule.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[trigger-schedule]] -=== Schedule trigger +=== {watcher} schedule trigger +++++ +Schedule trigger +++++ Schedule <> define when the watch execution should start based on date and time. All times are specified in UTC time. diff --git a/x-pack/docs/en/watcher/trigger/schedule/cron.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/cron.asciidoc index 6c5d801bee1e..7304293abb19 100644 --- a/x-pack/docs/en/watcher/trigger/schedule/cron.asciidoc +++ b/x-pack/docs/en/watcher/trigger/schedule/cron.asciidoc @@ -1,5 +1,8 @@ [[schedule-cron]] -==== Cron schedule +==== {watcher} cron schedule +++++ +Cron schedule +++++ Defines a <> using a <> that specifiues when to execute a watch. diff --git a/x-pack/docs/en/watcher/trigger/schedule/daily.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/daily.asciidoc index 2f8129f8e386..cea2b8316e02 100644 --- a/x-pack/docs/en/watcher/trigger/schedule/daily.asciidoc +++ b/x-pack/docs/en/watcher/trigger/schedule/daily.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[schedule-daily]] -==== Daily schedule +==== {watcher} Daily schedule +++++ +Daily schedule +++++ A <> that triggers at a particular time every day. To use the `daily` schedule, you specify the time of day (or times) diff --git a/x-pack/docs/en/watcher/trigger/schedule/hourly.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/hourly.asciidoc index 17939096a461..9cb3bd3c0609 100644 --- a/x-pack/docs/en/watcher/trigger/schedule/hourly.asciidoc +++ b/x-pack/docs/en/watcher/trigger/schedule/hourly.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[schedule-hourly]] -==== Hourly schedule +==== {watcher} hourly schedule +++++ +Hourly schedule +++++ A <> that triggers at a particular minute every hour of the day. To use the `hourly` schedule, you specify the minute (or minutes) diff --git a/x-pack/docs/en/watcher/trigger/schedule/interval.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/interval.asciidoc index f4f8b4efd5a6..069a4a0d3614 100644 --- a/x-pack/docs/en/watcher/trigger/schedule/interval.asciidoc +++ b/x-pack/docs/en/watcher/trigger/schedule/interval.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[schedule-interval]] -==== Interval schedule +==== {watcher} interval schedule +++++ +Interval schedule +++++ A <> that triggers at a fixed time interval. The interval can be set in seconds, minutes, hours, days, or weeks: diff --git a/x-pack/docs/en/watcher/trigger/schedule/monthly.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/monthly.asciidoc index b8703ccdd292..7d13262ed2fa 100644 --- a/x-pack/docs/en/watcher/trigger/schedule/monthly.asciidoc +++ b/x-pack/docs/en/watcher/trigger/schedule/monthly.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[schedule-monthly]] -==== Monthly schedule +==== {watcher} monthly schedule +++++ +Monthly schedule +++++ A <> that triggers at a specific day and time every month. To use the `monthly` schedule, you specify the day of the month and diff --git a/x-pack/docs/en/watcher/trigger/schedule/weekly.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/weekly.asciidoc index 1408489d8d4b..5b43de019ad2 100644 --- a/x-pack/docs/en/watcher/trigger/schedule/weekly.asciidoc +++ b/x-pack/docs/en/watcher/trigger/schedule/weekly.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[schedule-weekly]] -==== Weekly schedule +==== {watcher} weekly schedule +++++ +Weekly schedule +++++ A <> that triggers at a specific day and time every week. To use the `weekly` schedule, you specify the day and time (or days diff --git a/x-pack/docs/en/watcher/trigger/schedule/yearly.asciidoc b/x-pack/docs/en/watcher/trigger/schedule/yearly.asciidoc index e25d5561c86f..8fce024bf9f4 100644 --- a/x-pack/docs/en/watcher/trigger/schedule/yearly.asciidoc +++ b/x-pack/docs/en/watcher/trigger/schedule/yearly.asciidoc @@ -1,6 +1,9 @@ [role="xpack"] [[schedule-yearly]] -==== Yearly schedule +==== {watcher} yearly schedule +++++ +Yearly schedule +++++ A <> that triggers at a specific day and time every year. To use the `yearly` schedule, you specify the month, day, and time From 8ac30f9a22caa88a48cb90e2b8f740547fb5d8fa Mon Sep 17 00:00:00 2001 From: bellengao Date: Wed, 9 Dec 2020 06:55:31 +0800 Subject: [PATCH 02/35] Create AllocationDeciders in the main method of the ILM step (#65037) Relates to #64529. Currently the cluster filter variables `clusterRequireFilters` , `clusterIncludeFilters` and `clusterExcludeFilters` are non-static, so the new instance of `FilterAllocationDecider` inited in `SetSingleNodeAllocateStep ` in ILM cannot see the changes when updating the `cluster.routing.allocation.exclude._x` settings, and finally ILM will stuck in the shrink action if one excluded node has been selected in the `SetSingleNodeAllocateStep`. `AllocationRoutedStep` has the same issue. This main changes are: 1. Create `AllocationDeciders ` in the main method of `SetSingleNodeAllocateStep ` and `AllocationRoutedStep`, and the `FilterAllocationDecider ` is constructed using the cluster settings in the cluster metadata, so the cluster level filters can be seen when executing the steps. 2. Add some tests for the change. --- .../decider/FilterAllocationDecider.java | 2 +- .../xpack/core/ilm/AllocationRoutedStep.java | 9 ++-- .../core/ilm/SetSingleNodeAllocateStep.java | 24 +++++----- .../core/ilm/AllocationRoutedStepTests.java | 36 +++++++++++++++ .../ilm/SetSingleNodeAllocateStepTests.java | 45 +++++++++++++++++++ 5 files changed, 99 insertions(+), 17 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/FilterAllocationDecider.java b/server/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/FilterAllocationDecider.java index 9aff987d88c5..4dfb0d18314e 100644 --- a/server/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/FilterAllocationDecider.java +++ b/server/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/FilterAllocationDecider.java @@ -77,7 +77,7 @@ public class FilterAllocationDecider extends AllocationDecider { public static final Setting.AffixSetting CLUSTER_ROUTING_INCLUDE_GROUP_SETTING = Setting.prefixKeySetting(CLUSTER_ROUTING_INCLUDE_GROUP_PREFIX + ".", key -> Setting.simpleString(key, value -> IP_VALIDATOR.accept(key, value), Property.Dynamic, Property.NodeScope)); - public static final Setting.AffixSettingCLUSTER_ROUTING_EXCLUDE_GROUP_SETTING = + public static final Setting.AffixSetting CLUSTER_ROUTING_EXCLUDE_GROUP_SETTING = Setting.prefixKeySetting(CLUSTER_ROUTING_EXCLUDE_GROUP_PREFIX + ".", key -> Setting.simpleString(key, value -> IP_VALIDATOR.accept(key, value), Property.Dynamic, Property.NodeScope)); diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStep.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStep.java index 461932dcacbf..347de3705b90 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStep.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStep.java @@ -35,9 +35,6 @@ public class AllocationRoutedStep extends ClusterStateWaitStep { private static final Logger logger = LogManager.getLogger(AllocationRoutedStep.class); - private static final AllocationDeciders ALLOCATION_DECIDERS = new AllocationDeciders(Collections.singletonList( - new FilterAllocationDecider(Settings.EMPTY, new ClusterSettings(Settings.EMPTY, ClusterSettings.BUILT_IN_CLUSTER_SETTINGS)))); - AllocationRoutedStep(StepKey key, StepKey nextStepKey) { super(key, nextStepKey); } @@ -55,7 +52,11 @@ public Result isConditionMet(Index index, ClusterState clusterState) { getKey().getAction(), index.getName()); return new Result(false, waitingForActiveShardsAllocationInfo(idxMeta.getNumberOfReplicas())); } - int allocationPendingAllShards = getPendingAllocations(index, ALLOCATION_DECIDERS, clusterState); + + AllocationDeciders allocationDeciders = new AllocationDeciders(Collections.singletonList( + new FilterAllocationDecider(clusterState.getMetadata().settings(), + new ClusterSettings(Settings.EMPTY, ClusterSettings.BUILT_IN_CLUSTER_SETTINGS)))); + int allocationPendingAllShards = getPendingAllocations(index, allocationDeciders, clusterState); if (allocationPendingAllShards > 0) { logger.debug("{} lifecycle action [{}] waiting for [{}] shards to be allocated to nodes matching the given filters", diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/SetSingleNodeAllocateStep.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/SetSingleNodeAllocateStep.java index f75c79ff637f..d576f82e9855 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/SetSingleNodeAllocateStep.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/SetSingleNodeAllocateStep.java @@ -56,16 +56,6 @@ public class SetSingleNodeAllocateStep extends AsyncActionStep { ALL_CLUSTER_SETTINGS = allSettings; } - // These allocation deciders were chosen because these are the conditions that can prevent - // allocation long-term, and that we can inspect in advance. Most other allocation deciders - // will either only delay relocation (e.g. ThrottlingAllocationDecider), or don't work very - // well when reallocating potentially many shards at once (e.g. DiskThresholdDecider) - private static final AllocationDeciders ALLOCATION_DECIDERS = new AllocationDeciders(List.of( - new FilterAllocationDecider(Settings.EMPTY, new ClusterSettings(Settings.EMPTY, ClusterSettings.BUILT_IN_CLUSTER_SETTINGS)), - new DataTierAllocationDecider(new ClusterSettings(Settings.EMPTY, ALL_CLUSTER_SETTINGS)), - new NodeVersionAllocationDecider() - )); - public SetSingleNodeAllocateStep(StepKey key, StepKey nextStepKey, Client client) { super(key, nextStepKey, client); } @@ -77,8 +67,18 @@ public boolean isRetryable() { @Override public void performAction(IndexMetadata indexMetadata, ClusterState clusterState, ClusterStateObserver observer, Listener listener) { + // These allocation deciders were chosen because these are the conditions that can prevent + // allocation long-term, and that we can inspect in advance. Most other allocation deciders + // will either only delay relocation (e.g. ThrottlingAllocationDecider), or don't work very + // well when reallocating potentially many shards at once (e.g. DiskThresholdDecider) + AllocationDeciders allocationDeciders = new AllocationDeciders(List.of( + new FilterAllocationDecider(clusterState.getMetadata().settings(), + new ClusterSettings(Settings.EMPTY, ClusterSettings.BUILT_IN_CLUSTER_SETTINGS)), + new DataTierAllocationDecider(new ClusterSettings(Settings.EMPTY, ALL_CLUSTER_SETTINGS)), + new NodeVersionAllocationDecider() + )); final RoutingNodes routingNodes = clusterState.getRoutingNodes(); - RoutingAllocation allocation = new RoutingAllocation(ALLOCATION_DECIDERS, routingNodes, clusterState, null, + RoutingAllocation allocation = new RoutingAllocation(allocationDeciders, routingNodes, clusterState, null, null, System.nanoTime()); List validNodeIds = new ArrayList<>(); String indexName = indexMetadata.getIndex().getName(); @@ -91,7 +91,7 @@ public void performAction(IndexMetadata indexMetadata, ClusterState clusterState for (RoutingNode node : routingNodes) { boolean canAllocateOneCopyOfEachShard = routingsByShardId.values().stream() // For each shard .allMatch(shardRoutings -> shardRoutings.stream() // Can we allocate at least one shard copy to this node? - .map(shardRouting -> ALLOCATION_DECIDERS.canAllocate(shardRouting, node, allocation).type()) + .map(shardRouting -> allocationDeciders.canAllocate(shardRouting, node, allocation).type()) .anyMatch(Decision.Type.YES::equals)); if (canAllocateOneCopyOfEachShard) { validNodeIds.add(node.node().getId()); diff --git a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStepTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStepTests.java index 87198f9266d6..cb5cd1887b28 100644 --- a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStepTests.java +++ b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStepTests.java @@ -121,6 +121,42 @@ public void testRequireConditionMetOnlyOneCopyAllocated() { new ClusterStateWaitStep.Result(false, allShardsActiveAllocationInfo(0, 1))); } + public void testClusterExcludeFiltersConditionMetOnlyOneCopyAllocated() { + Index index = new Index(randomAlphaOfLengthBetween(1, 20), randomAlphaOfLengthBetween(1, 20)); + Settings.Builder existingSettings = Settings.builder().put(IndexMetadata.SETTING_VERSION_CREATED, Version.CURRENT.id) + .put(IndexMetadata.SETTING_INDEX_UUID, index.getUUID()); + + boolean primaryOnNode1 = randomBoolean(); + IndexRoutingTable.Builder indexRoutingTable = IndexRoutingTable.builder(index) + .addShard(TestShardRouting.newShardRouting(new ShardId(index, 0), "node1", primaryOnNode1, ShardRoutingState.STARTED)) + .addShard(TestShardRouting.newShardRouting(new ShardId(index, 0), "node2", primaryOnNode1 == false, + ShardRoutingState.STARTED)); + + AllocationRoutedStep step = new AllocationRoutedStep(randomStepKey(), randomStepKey()); + IndexMetadata indexMetadata = IndexMetadata.builder(index.getName()).settings(existingSettings).numberOfShards(1) + .numberOfReplicas(1).build(); + ImmutableOpenMap.Builder indices = ImmutableOpenMap.builder().fPut(index.getName(), + indexMetadata); + + Settings clusterSettings = Settings.builder() + .put("cluster.routing.allocation.exclude._id", "node1") + .build(); + Settings.Builder nodeSettingsBuilder = Settings.builder(); + ClusterState clusterState = ClusterState.builder(ClusterState.EMPTY_STATE) + .metadata(Metadata.builder().indices(indices.build()).transientSettings(clusterSettings)) + .nodes(DiscoveryNodes.builder() + .add(DiscoveryNode.createLocal(nodeSettingsBuilder.build(), new TransportAddress(TransportAddress.META_ADDRESS, 9200), + "node1")) + .add(DiscoveryNode.createLocal(nodeSettingsBuilder.build(), new TransportAddress(TransportAddress.META_ADDRESS, 9201), + "node2"))) + .routingTable(RoutingTable.builder().add(indexRoutingTable).build()).build(); + Result actualResult = step.isConditionMet(index, clusterState); + + Result expectedResult = new ClusterStateWaitStep.Result(false, allShardsActiveAllocationInfo(1, 1)); + assertEquals(expectedResult.isComplete(), actualResult.isComplete()); + assertEquals(expectedResult.getInfomationContext(), actualResult.getInfomationContext()); + } + public void testExcludeConditionMetOnlyOneCopyAllocated() { Index index = new Index(randomAlphaOfLengthBetween(1, 20), randomAlphaOfLengthBetween(1, 20)); Map excludes = Collections.singletonMap(IndexMetadata.INDEX_ROUTING_EXCLUDE_GROUP_SETTING.getKey() + "foo", "bar"); diff --git a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/SetSingleNodeAllocateStepTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/SetSingleNodeAllocateStepTests.java index 2d59e0ab3b4b..4820a66d5599 100644 --- a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/SetSingleNodeAllocateStepTests.java +++ b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/SetSingleNodeAllocateStepTests.java @@ -175,6 +175,51 @@ public void testPerformActionAttrsSomeNodesValid() throws IOException { assertNodeSelected(indexMetadata, index, validNodeIds, nodes); } + public void testPerformActionWithClusterExcludeFilters() throws IOException { + Settings.Builder indexSettings = settings(Version.CURRENT); + IndexMetadata indexMetadata = IndexMetadata.builder(randomAlphaOfLength(10)).settings(indexSettings) + .numberOfShards(randomIntBetween(1, 5)).numberOfReplicas(randomIntBetween(0, 1)).build(); + Index index = indexMetadata.getIndex(); + + DiscoveryNodes.Builder nodes = DiscoveryNodes.builder(); + String nodeId = "node_id_0"; + int nodePort = 9300; + Builder nodeSettingsBuilder = Settings.builder(); + nodes.add(DiscoveryNode.createLocal(nodeSettingsBuilder.build(), new TransportAddress(TransportAddress.META_ADDRESS, nodePort), + nodeId)); + + Settings clusterSettings = Settings.builder() + .put("cluster.routing.allocation.exclude._id", "node_id_0") + .build(); + ImmutableOpenMap.Builder indices = ImmutableOpenMap.builder().fPut(index.getName(), + indexMetadata); + IndexRoutingTable.Builder indexRoutingTable = IndexRoutingTable.builder(index) + .addShard(TestShardRouting.newShardRouting(new ShardId(index, 0), "node_id_0", true, ShardRoutingState.STARTED)); + ClusterState clusterState = ClusterState.builder(ClusterState.EMPTY_STATE) + .metadata(Metadata.builder().indices(indices.build()).transientSettings(clusterSettings)) + .nodes(nodes).routingTable(RoutingTable.builder().add(indexRoutingTable).build()).build(); + + SetSingleNodeAllocateStep step = createRandomInstance(); + SetOnce actionCompleted = new SetOnce<>(); + step.performAction(indexMetadata, clusterState, null, new Listener() { + + @Override + public void onResponse(boolean complete) { + throw new AssertionError("Unexpected method call"); + } + + @Override + public void onFailure(Exception e) { + actionCompleted.set(e); + } + }); + + Exception failure = actionCompleted.get(); + assertThat(failure, instanceOf(NoNodeAvailableException.class)); + + Mockito.verifyZeroInteractions(client); + } + public void testPerformActionAttrsNoNodesValid() { final int numNodes = randomIntBetween(1, 20); String[] validAttr = new String[] { "box_type", "valid" }; From 07aec1b7d60388e533bb7644a4ba738f621bfcaa Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Wed, 9 Dec 2020 10:23:48 +0800 Subject: [PATCH 03/35] [Monitoring] add field mappings for beats cgroups (#65997) Add field mappings for the cgroups metrics added to beats monitoring in https://github.com/elastic/beats/pull/21113, and required by https://github.com/elastic/kibana/issues/79050. --- .../src/main/resources/monitoring-beats.json | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/x-pack/plugin/core/src/main/resources/monitoring-beats.json b/x-pack/plugin/core/src/main/resources/monitoring-beats.json index a39507ec8a4d..6f89f036fb52 100644 --- a/x-pack/plugin/core/src/main/resources/monitoring-beats.json +++ b/x-pack/plugin/core/src/main/resources/monitoring-beats.json @@ -146,6 +146,91 @@ "properties": { "beat": { "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "id": { + "type": "keyword" + }, + "cfs": { + "properties": { + "period": { + "properties": { + "us": { + "type": "long" + } + } + }, + "quota": { + "properties": { + "us": { + "type": "long" + } + } + } + } + }, + "stats": { + "properties": { + "periods": { + "type": "long" + }, + "throttled": { + "properties": { + "periods": { + "type": "long" + }, + "ns": { + "type": "long" + } + } + } + } + } + } + }, + "cpuacct": { + "properties": { + "id": { + "type": "keyword" + }, + "total": { + "properties": { + "ns": { + "type": "long" + } + } + } + } + }, + "memory": { + "properties": { + "id": { + "type": "keyword" + }, + "mem": { + "properties": { + "limit": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "usage": { + "properties": { + "bytes": { + "type": "long" + } + } + } + } + } + } + } + } + }, "cpu": { "properties": { "system": { From b56ca1220ca823be32516c57478a1037690d6ea9 Mon Sep 17 00:00:00 2001 From: Tim Vernum Date: Wed, 9 Dec 2020 16:21:51 +1100 Subject: [PATCH 04/35] Move TokenService to Standard license (#66074) The token service was part of the Gold license, but due to its use as part of Cloud SSO, we are moving it down to Standard instead. --- .../main/java/org/elasticsearch/license/XPackLicenseState.java | 2 +- .../java/org/elasticsearch/license/XPackLicenseStateTests.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/license/XPackLicenseState.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/XPackLicenseState.java index 556889e7f396..3d63e8c0f772 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/license/XPackLicenseState.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/license/XPackLicenseState.java @@ -54,7 +54,7 @@ public enum Feature { SECURITY_ALL_REALMS(OperationMode.PLATINUM, false), SECURITY_STANDARD_REALMS(OperationMode.GOLD, false), SECURITY_CUSTOM_ROLE_PROVIDERS(OperationMode.PLATINUM, true), - SECURITY_TOKEN_SERVICE(OperationMode.GOLD, false), + SECURITY_TOKEN_SERVICE(OperationMode.STANDARD, false), SECURITY_API_KEY_SERVICE(OperationMode.MISSING, false), SECURITY_AUTHORIZATION_REALM(OperationMode.PLATINUM, true), SECURITY_AUTHORIZATION_ENGINE(OperationMode.PLATINUM, true), diff --git a/x-pack/plugin/core/src/test/java/org/elasticsearch/license/XPackLicenseStateTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/XPackLicenseStateTests.java index c1c0b9e54155..a95dfb9bf3f3 100644 --- a/x-pack/plugin/core/src/test/java/org/elasticsearch/license/XPackLicenseStateTests.java +++ b/x-pack/plugin/core/src/test/java/org/elasticsearch/license/XPackLicenseStateTests.java @@ -176,6 +176,7 @@ public void testSecurityStandard() { assertThat(licenseState.checkFeature(Feature.SECURITY_STATS_AND_HEALTH), is(true)); assertThat(licenseState.checkFeature(Feature.SECURITY_DLS_FLS), is(false)); assertThat(licenseState.checkFeature(Feature.SECURITY_CUSTOM_ROLE_PROVIDERS), is(false)); + assertThat(licenseState.checkFeature(Feature.SECURITY_TOKEN_SERVICE), is(true)); } public void testSecurityStandardExpired() { @@ -190,6 +191,7 @@ public void testSecurityStandardExpired() { assertThat(licenseState.checkFeature(Feature.SECURITY_STATS_AND_HEALTH), is(false)); assertThat(licenseState.checkFeature(Feature.SECURITY_DLS_FLS), is(false)); assertThat(licenseState.checkFeature(Feature.SECURITY_CUSTOM_ROLE_PROVIDERS), is(false)); + assertThat(licenseState.checkFeature(Feature.SECURITY_TOKEN_SERVICE), is(true)); } public void testSecurityGold() { From de17a4a3a23c3f712f13352fc262b2c962e46d39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Witek?= Date: Wed, 9 Dec 2020 07:38:16 +0100 Subject: [PATCH 05/35] Always apply range query in continuous mode. (#65928) --- .../transforms/TransformIndexer.java | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/transforms/TransformIndexer.java b/x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/transforms/TransformIndexer.java index 117a733abecb..d6f6ab4722c2 100644 --- a/x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/transforms/TransformIndexer.java +++ b/x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/transforms/TransformIndexer.java @@ -871,30 +871,30 @@ private SearchSourceBuilder buildUpdateQuery(SearchSourceBuilder sourceBuilder) TransformIndexerPosition position = getPosition(); TransformConfig config = getConfig(); - QueryBuilder queryBuilder = config.getSource().getQueryConfig().getQuery(); function.buildSearchQuery(sourceBuilder, position != null ? position.getIndexerPosition() : null, pageSize); - // if its either the 1st run or not continuous, do not apply extra filters - if (nextCheckpoint.getCheckpoint() == 1 || isContinuous() == false) { - sourceBuilder.query(queryBuilder); - logger.debug(() -> new ParameterizedMessage("[{}] Querying for data: {}", getJobId(), sourceBuilder)); - - return sourceBuilder; - } - - BoolQueryBuilder filteredQuery = new BoolQueryBuilder().filter(queryBuilder) - .filter(config.getSyncConfig().getRangeQuery(nextCheckpoint)); + QueryBuilder queryBuilder = config.getSource().getQueryConfig().getQuery(); - QueryBuilder filter = changeCollector != null - ? changeCollector.buildFilterQuery(lastCheckpoint.getTimeUpperBound(), nextCheckpoint.getTimeUpperBound()) - : null; + if (isContinuous()) { + BoolQueryBuilder filteredQuery = + new BoolQueryBuilder() + .filter(queryBuilder) + .filter(config.getSyncConfig().getRangeQuery(nextCheckpoint)); + + // Only apply extra filter if it is the subsequent run of the continuous transform + if (nextCheckpoint.getCheckpoint() > 1 && changeCollector != null) { + QueryBuilder filter = + changeCollector.buildFilterQuery(lastCheckpoint.getTimeUpperBound(), nextCheckpoint.getTimeUpperBound()); + if (filter != null) { + filteredQuery.filter(filter); + } + } - if (filter != null) { - filteredQuery.filter(filter); + queryBuilder = filteredQuery; } - sourceBuilder.query(filteredQuery); + sourceBuilder.query(queryBuilder); logger.debug(() -> new ParameterizedMessage("[{}] Querying for data: {}", getJobId(), sourceBuilder)); return sourceBuilder; From 9ae3af85e90ea8233d4ee6a3928f30d6e4c9c666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Witek?= Date: Wed, 9 Dec 2020 08:58:20 +0100 Subject: [PATCH 06/35] [Transform] disable bwc for backporting "latest" (#66080) --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 4a7952374e44..95a139c4fef0 100644 --- a/build.gradle +++ b/build.gradle @@ -175,8 +175,8 @@ tasks.register("verifyVersions") { * after the backport of the backcompat code is complete. */ -boolean bwc_tests_enabled = true -final String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */ +boolean bwc_tests_enabled = false +final String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/66017" /* place a PR link here when committing bwc changes */ if (bwc_tests_enabled == false) { if (bwc_tests_disabled_issue.isEmpty()) { throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false") From e1d594b3976a9be0f09080d8437f0f9e95759124 Mon Sep 17 00:00:00 2001 From: Henning Andersen <33268011+henningandersen@users.noreply.github.com> Date: Wed, 9 Dec 2020 08:59:11 +0100 Subject: [PATCH 07/35] Autoscaling default deciders (#65558) Autoscaling policies now have default deciders depending on which roles the policy governs. --- .../AutoscalingCalculateCapacityService.java | 41 +++++++++++-- .../capacity/AutoscalingDeciderService.java | 27 +++++++++ .../FixedAutoscalingDeciderService.java | 21 ++++++- ...oscalingCalculateCapacityServiceTests.java | 57 +++++++++++++++++++ .../MlAutoscalingDeciderService.java | 6 ++ 5 files changed, 146 insertions(+), 6 deletions(-) diff --git a/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingCalculateCapacityService.java b/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingCalculateCapacityService.java index 55b532154c36..09557bbcb7b6 100644 --- a/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingCalculateCapacityService.java +++ b/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingCalculateCapacityService.java @@ -35,6 +35,8 @@ import java.util.stream.Collectors; import java.util.stream.StreamSupport; +import static org.elasticsearch.xpack.autoscaling.capacity.AutoscalingDeciderService.EMPTY_ROLES; + public class AutoscalingCalculateCapacityService implements PolicyValidator { private final Map deciderByName; @@ -44,18 +46,22 @@ public AutoscalingCalculateCapacityService(Set decide } public void validate(AutoscalingPolicy policy) { - policy.deciders().forEach(this::validate); + policy.deciders().forEach((name, configuration) -> validate(name, configuration, policy.roles())); } - private void validate(final String deciderName, final Settings configuration) { + private void validate(final String deciderName, final Settings configuration, SortedSet roles) { AutoscalingDeciderService deciderService = deciderByName.get(deciderName); if (deciderService == null) { throw new IllegalArgumentException("unknown decider [" + deciderName + "]"); } + if (appliesToPolicy(deciderService, roles) == false) { + throw new IllegalArgumentException("decider [" + deciderName + "] not applicable to policy with roles [ " + roles + "]"); + } + Map> deciderSettings = deciderService.deciderSettings() .stream() - .collect(Collectors.toMap(s -> s.getKey(), Function.identity())); + .collect(Collectors.toMap(Setting::getKey, Function.identity())); configuration.keySet().forEach(key -> validateSetting(key, configuration, deciderSettings, deciderName)); } @@ -113,15 +119,40 @@ private AutoscalingDeciderResults calculateForPolicy(AutoscalingPolicy policy, C new TreeMap<>(Map.of("_unknown_role", new AutoscalingDeciderResult(null, null))) ); } + SortedMap deciders = addDefaultDeciders(policy); DefaultAutoscalingDeciderContext context = new DefaultAutoscalingDeciderContext(policy.roles(), state, clusterInfo); - SortedMap results = policy.deciders() - .entrySet() + SortedMap results = deciders.entrySet() .stream() .map(entry -> Tuple.tuple(entry.getKey(), calculateForDecider(entry.getKey(), entry.getValue(), context))) .collect(Collectors.toMap(Tuple::v1, Tuple::v2, (a, b) -> { throw new UnsupportedOperationException(); }, TreeMap::new)); return new AutoscalingDeciderResults(context.currentCapacity, context.currentNodes, results); } + private SortedMap addDefaultDeciders(AutoscalingPolicy policy) { + SortedMap deciders = new TreeMap<>(policy.deciders()); + deciderByName.entrySet() + .stream() + .filter(e -> defaultForPolicy(e.getValue(), policy.roles())) + .forEach(e -> deciders.putIfAbsent(e.getKey(), Settings.EMPTY)); + return deciders; + } + + private boolean defaultForPolicy(AutoscalingDeciderService deciderService, SortedSet roles) { + if (deciderService.defaultOn()) { + return appliesToPolicy(deciderService, roles); + } else { + return false; + } + } + + private boolean appliesToPolicy(AutoscalingDeciderService deciderService, SortedSet roles) { + if (roles.isEmpty()) { + return deciderService.roles().contains(EMPTY_ROLES); + } else { + return deciderService.roles().stream().map(DiscoveryNodeRole::roleName).anyMatch(roles::contains); + } + } + /** * Check if the policy has unknown roles. This can only happen in mixed clusters, where one master can accept a policy but if it fails * over to an older master before it is also upgraded, one of the roles might not be known. diff --git a/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingDeciderService.java b/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingDeciderService.java index 38f8176b8976..466f2087047e 100644 --- a/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingDeciderService.java +++ b/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingDeciderService.java @@ -6,6 +6,7 @@ package org.elasticsearch.xpack.autoscaling.capacity; +import org.elasticsearch.cluster.node.DiscoveryNodeRole; import org.elasticsearch.common.settings.Setting; import org.elasticsearch.common.settings.Settings; @@ -16,6 +17,16 @@ */ public interface AutoscalingDeciderService { + /** + * A marker role to use to also match policies having an empty set of roles. + */ + DiscoveryNodeRole EMPTY_ROLES = new DiscoveryNodeRole("_empty", "_empty") { + @Override + public Setting legacySetting() { + return null; + } + }; + /** * The name of the autoscaling decider. * @@ -33,4 +44,20 @@ public interface AutoscalingDeciderService { AutoscalingDeciderResult scale(Settings configuration, AutoscalingDeciderContext context); List> deciderSettings(); + + /** + * The roles that this decider applies to. The decider will automatically be applied to policies that has any of the roles returned, + * using the default values for settings if not overridden on the policy. + * + * Returning the empty list signals a special case of a decider that require explicit configuration to be enabled for a policy and + * has no restrictions on the roles it applies to. This is intended only for supplying deciders useful for testing. + */ + List roles(); + + /** + * Is the decider default on for policies matching the roles() of this decider service? + */ + default boolean defaultOn() { + return true; + } } diff --git a/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/FixedAutoscalingDeciderService.java b/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/FixedAutoscalingDeciderService.java index 077931fd2f0f..b035ac01aec3 100644 --- a/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/FixedAutoscalingDeciderService.java +++ b/x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/capacity/FixedAutoscalingDeciderService.java @@ -6,6 +6,8 @@ package org.elasticsearch.xpack.autoscaling.capacity; +import org.elasticsearch.cluster.node.DiscoveryNode; +import org.elasticsearch.cluster.node.DiscoveryNodeRole; import org.elasticsearch.common.inject.Inject; import org.elasticsearch.common.io.stream.StreamInput; import org.elasticsearch.common.io.stream.StreamOutput; @@ -15,6 +17,8 @@ import org.elasticsearch.common.xcontent.XContentBuilder; import java.io.IOException; +import java.util.ArrayList; +import java.util.Collections; import java.util.List; import java.util.Objects; @@ -25,9 +29,14 @@ public class FixedAutoscalingDeciderService implements AutoscalingDeciderService public static final Setting STORAGE = Setting.byteSizeSetting("storage", ByteSizeValue.ofBytes(-1)); public static final Setting MEMORY = Setting.byteSizeSetting("memory", ByteSizeValue.ofBytes(-1)); public static final Setting NODES = Setting.intSetting("nodes", 1, 0); + private final List appliesToRoles; @Inject - public FixedAutoscalingDeciderService() {} + public FixedAutoscalingDeciderService() { + ArrayList appliesToRoles = new ArrayList<>(DiscoveryNode.getPossibleRoles()); + appliesToRoles.add(EMPTY_ROLES); + this.appliesToRoles = Collections.unmodifiableList(appliesToRoles); + } @Override public String name() { @@ -65,6 +74,16 @@ public List> deciderSettings() { return List.of(STORAGE, MEMORY, NODES); } + @Override + public List roles() { + return appliesToRoles; + } + + @Override + public boolean defaultOn() { + return false; + } + public static class FixedReason implements AutoscalingDeciderResult.Reason { private final ByteSizeValue storage; diff --git a/x-pack/plugin/autoscaling/src/test/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingCalculateCapacityServiceTests.java b/x-pack/plugin/autoscaling/src/test/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingCalculateCapacityServiceTests.java index 17721f618cf4..bcf48b8372e4 100644 --- a/x-pack/plugin/autoscaling/src/test/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingCalculateCapacityServiceTests.java +++ b/x-pack/plugin/autoscaling/src/test/java/org/elasticsearch/xpack/autoscaling/capacity/AutoscalingCalculateCapacityServiceTests.java @@ -26,11 +26,13 @@ import java.util.Collections; import java.util.HashSet; +import java.util.List; import java.util.Map; import java.util.Set; import java.util.SortedMap; import java.util.SortedSet; import java.util.TreeMap; +import java.util.TreeSet; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.StreamSupport; @@ -82,6 +84,39 @@ public void testMultiplePoliciesFixedCapacity() { } } + public void testDefaultDeciders() { + FixedAutoscalingDeciderService defaultOn = new FixedAutoscalingDeciderService() { + @Override + public boolean defaultOn() { + return true; + } + + @Override + public String name() { + return "default_on"; + } + }; + + FixedAutoscalingDeciderService defaultOff = new FixedAutoscalingDeciderService(); + + AutoscalingCalculateCapacityService service = new AutoscalingCalculateCapacityService(Set.of(defaultOn, defaultOff)); + ClusterState state = ClusterState.builder(ClusterName.DEFAULT) + .metadata( + Metadata.builder() + .putCustom( + AutoscalingMetadata.NAME, + new AutoscalingMetadata( + new TreeMap<>( + Map.of("test", new AutoscalingPolicyMetadata(new AutoscalingPolicy("test", randomRoles(), new TreeMap<>()))) + ) + ) + ) + ) + .build(); + + assertThat(service.calculate(state, ClusterInfo.EMPTY).get("test").results().keySet(), equalTo(Set.of(defaultOn.name()))); + } + private SortedMap randomFixedDeciders() { Settings.Builder settings = Settings.builder(); if (randomBoolean()) { @@ -192,6 +227,28 @@ public void testValidateDeciderName() { assertThat(exception.getMessage(), equalTo("unknown decider [" + badDeciderName + "]")); } + public void testValidateDeciderRoles() { + Set roles = randomRoles(); + AutoscalingCalculateCapacityService service = new AutoscalingCalculateCapacityService(Set.of(new FixedAutoscalingDeciderService() { + @Override + public List roles() { + return roles.stream().map(DiscoveryNode::getRoleFromRoleName).collect(Collectors.toList()); + } + })); + SortedSet badRoles = new TreeSet<>(randomRoles()); + badRoles.removeAll(roles); + AutoscalingPolicy policy = new AutoscalingPolicy( + FixedAutoscalingDeciderService.NAME, + badRoles, + new TreeMap<>(Map.of(FixedAutoscalingDeciderService.NAME, Settings.EMPTY)) + ); + IllegalArgumentException exception = expectThrows(IllegalArgumentException.class, () -> service.validate(policy)); + assertThat( + exception.getMessage(), + equalTo("decider [" + FixedAutoscalingDeciderService.NAME + "] not applicable to policy with roles [ " + badRoles + "]") + ); + } + public void testValidateSettingName() { AutoscalingCalculateCapacityService service = new AutoscalingCalculateCapacityService(Set.of(new FixedAutoscalingDeciderService())); Set legalNames = Set.of( diff --git a/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/autoscaling/MlAutoscalingDeciderService.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/autoscaling/MlAutoscalingDeciderService.java index e62ed0eacaeb..4f093e976c01 100644 --- a/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/autoscaling/MlAutoscalingDeciderService.java +++ b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/autoscaling/MlAutoscalingDeciderService.java @@ -11,6 +11,7 @@ import org.elasticsearch.cluster.ClusterState; import org.elasticsearch.cluster.LocalNodeMasterListener; import org.elasticsearch.cluster.node.DiscoveryNode; +import org.elasticsearch.cluster.node.DiscoveryNodeRole; import org.elasticsearch.cluster.service.ClusterService; import org.elasticsearch.common.Nullable; import org.elasticsearch.common.component.LifecycleListener; @@ -605,5 +606,10 @@ public String name() { public List> deciderSettings() { return List.of(NUM_ANALYTICS_JOBS_IN_QUEUE, NUM_ANOMALY_JOBS_IN_QUEUE, DOWN_SCALE_DELAY); } + + @Override + public List roles() { + return List.of(MachineLearning.ML_ROLE); + } } From 652b78f2b48869f5d77c2469443dec8d0308adae Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Wed, 9 Dec 2020 08:40:26 +0000 Subject: [PATCH 08/35] Wraps timestamp values in quotes in preview_transforms YAML test (#66046) --- .../test/transform/preview_transforms.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/preview_transforms.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/preview_transforms.yml index 6615aa0fc667..e82dbcfadd7c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/preview_transforms.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/transform/preview_transforms.yml @@ -84,17 +84,17 @@ setup: } } - match: { preview.0.airline: foo } - - match: { preview.0.by-hour: 2017-02-18T00:00:00.000Z } + - match: { preview.0.by-hour: "2017-02-18T00:00:00.000Z" } - match: { preview.0.avg_response: 1.0 } - match: { preview.0.time.max: "2017-02-18T00:30:00.000Z" } - match: { preview.0.time.min: "2017-02-18T00:00:00.000Z" } - match: { preview.1.airline: bar } - - match: { preview.1.by-hour: 2017-02-18T01:00:00.000Z } + - match: { preview.1.by-hour: "2017-02-18T01:00:00.000Z" } - match: { preview.1.avg_response: 42.0 } - match: { preview.1.time.max: "2017-02-18T01:00:00.000Z" } - match: { preview.1.time.min: "2017-02-18T01:00:00.000Z" } - match: { preview.2.airline: foo } - - match: { preview.2.by-hour: 2017-02-18T01:00:00.000Z } + - match: { preview.2.by-hour: "2017-02-18T01:00:00.000Z" } - match: { preview.2.avg_response: 42.0 } - match: { preview.2.time.max: "2017-02-18T01:01:00.000Z" } - match: { preview.2.time.min: "2017-02-18T01:01:00.000Z" } @@ -135,15 +135,15 @@ setup: } } - match: { preview.0.airline: foo } - - match: { preview.0.by-hour: 2017-02-18T00:00:00.000Z } + - match: { preview.0.by-hour: "2017-02-18T00:00:00.000Z" } - match: { preview.0.avg_response: 1.0 } - match: { preview.0.my_field: 42 } - match: { preview.1.airline: bar } - - match: { preview.1.by-hour: 2017-02-18T01:00:00.000Z } + - match: { preview.1.by-hour: "2017-02-18T01:00:00.000Z" } - match: { preview.1.avg_response: 42.0 } - match: { preview.1.my_field: 42 } - match: { preview.2.airline: foo } - - match: { preview.2.by-hour: 2017-02-18T01:00:00.000Z } + - match: { preview.2.by-hour: "2017-02-18T01:00:00.000Z" } - match: { preview.2.avg_response: 42.0 } - match: { preview.2.my_field: 42 } - match: { generated_dest_index.mappings.properties.airline.type: "keyword" } From f6f42600243d4aaa36539bdb5108fe191a6e9353 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 9 Dec 2020 08:41:34 +0000 Subject: [PATCH 09/35] Clarify network interface setting (#66013) Today we document the use of `_[networkInterface]_` to specify the addresses of a network interface but do not spell out which parts of this syntax should be taken literally and which are part of the placeholder for the interface name. If you get it wrong then the exception message is confusing too since it uses the results of `NetworkInterface#toString()` which contains much more than just the name of the interface. This commit clarifies the docs and the exception message. Closes #65978. --- docs/reference/modules/network.asciidoc | 8 ++++--- .../common/network/NetworkService.java | 22 +++++++++---------- .../common/network/NetworkUtils.java | 15 ++++++++----- .../common/network/NetworkUtilsTests.java | 12 ++++++---- 4 files changed, 34 insertions(+), 23 deletions(-) diff --git a/docs/reference/modules/network.asciidoc b/docs/reference/modules/network.asciidoc index 5c8312bbf6e8..b093ec242324 100644 --- a/docs/reference/modules/network.asciidoc +++ b/docs/reference/modules/network.asciidoc @@ -65,9 +65,6 @@ Defaults to `9300-9400`. The following special values may be passed to `network.host`: -`_[networkInterface]_`:: - Addresses of a network interface, for example `_en0_`. - `_local_`:: Any loopback addresses on the system, for example `127.0.0.1`. @@ -77,6 +74,11 @@ The following special values may be passed to `network.host`: `_global_`:: Any globally-scoped addresses on the system, for example `8.8.8.8`. +`_[networkInterface]_`:: + Use the addresses of the network interface called `[networkInterface]`. For + example if you wish to use the addresses of an interface called `en0` then + set `network.host: _en0_`. + [[network-interface-values-ipv4-vs-ipv6]] ===== IPv4 vs IPv6 diff --git a/server/src/main/java/org/elasticsearch/common/network/NetworkService.java b/server/src/main/java/org/elasticsearch/common/network/NetworkService.java index 210f2a518cd7..9feaf93b7f3c 100644 --- a/server/src/main/java/org/elasticsearch/common/network/NetworkService.java +++ b/server/src/main/java/org/elasticsearch/common/network/NetworkService.java @@ -196,19 +196,19 @@ private InetAddress[] resolveInetAddresses(String hosts[]) throws IOException { } /** resolves a single host specification */ - private InetAddress[] resolveInternal(String host) throws IOException { + private InetAddress[] resolveInternal(final String host) throws IOException { if ((host.startsWith("#") && host.endsWith("#")) || (host.startsWith("_") && host.endsWith("_"))) { - host = host.substring(1, host.length() - 1); + final String interfaceSpec = host.substring(1, host.length() - 1); // next check any registered custom resolvers if any if (customNameResolvers != null) { for (CustomNameResolver customNameResolver : customNameResolvers) { - InetAddress addresses[] = customNameResolver.resolveIfPossible(host); + InetAddress addresses[] = customNameResolver.resolveIfPossible(interfaceSpec); if (addresses != null) { return addresses; } } } - switch (host) { + switch (interfaceSpec) { case "local": return NetworkUtils.getLoopbackAddresses(); case "local:ipv4": @@ -229,14 +229,14 @@ private InetAddress[] resolveInternal(String host) throws IOException { return NetworkUtils.filterIPV6(NetworkUtils.getGlobalAddresses()); default: /* an interface specification */ - if (host.endsWith(":ipv4")) { - host = host.substring(0, host.length() - 5); - return NetworkUtils.filterIPV4(NetworkUtils.getAddressesForInterface(host)); - } else if (host.endsWith(":ipv6")) { - host = host.substring(0, host.length() - 5); - return NetworkUtils.filterIPV6(NetworkUtils.getAddressesForInterface(host)); + if (interfaceSpec.endsWith(":ipv4")) { + return NetworkUtils.filterIPV4(NetworkUtils.getAddressesForInterface(host, ":ipv4", + interfaceSpec.substring(0, interfaceSpec.length() - 5))); + } else if (interfaceSpec.endsWith(":ipv6")) { + return NetworkUtils.filterIPV6(NetworkUtils.getAddressesForInterface(host, ":ipv6", + interfaceSpec.substring(0, interfaceSpec.length() - 5))); } else { - return NetworkUtils.getAddressesForInterface(host); + return NetworkUtils.getAddressesForInterface(host, "", interfaceSpec); } } } diff --git a/server/src/main/java/org/elasticsearch/common/network/NetworkUtils.java b/server/src/main/java/org/elasticsearch/common/network/NetworkUtils.java index c3e820946348..681e05601f0d 100644 --- a/server/src/main/java/org/elasticsearch/common/network/NetworkUtils.java +++ b/server/src/main/java/org/elasticsearch/common/network/NetworkUtils.java @@ -35,6 +35,7 @@ import java.util.List; import java.util.Optional; import java.util.function.Predicate; +import java.util.stream.Collectors; /** * Utilities for network interfaces / addresses binding and publishing. @@ -210,18 +211,22 @@ static Optional maybeGetInterfaceByName(List } /** Returns addresses for the given interface (it must be marked up) */ - static InetAddress[] getAddressesForInterface(String name) throws SocketException { - Optional networkInterface = maybeGetInterfaceByName(getInterfaces(), name); + static InetAddress[] getAddressesForInterface(String settingValue, String suffix, String interfaceName) throws SocketException { + Optional networkInterface = maybeGetInterfaceByName(getInterfaces(), interfaceName); if (networkInterface.isPresent() == false) { - throw new IllegalArgumentException("No interface named '" + name + "' found, got " + getInterfaces()); + throw new IllegalArgumentException("setting [" + settingValue + "] matched no network interfaces; valid values include [" + + getInterfaces().stream().map(otherInterface -> "_" + otherInterface.getName() + suffix + "_") + .collect(Collectors.joining(", ")) + "]"); } if (!networkInterface.get().isUp()) { - throw new IllegalArgumentException("Interface '" + name + "' is not up and running"); + throw new IllegalArgumentException("setting [" + settingValue + "] matched network interface [" + + networkInterface.get().getName() + "] but this interface is not up and running"); } List list = Collections.list(networkInterface.get().getInetAddresses()); if (list.isEmpty()) { - throw new IllegalArgumentException("Interface '" + name + "' has no internet addresses"); + throw new IllegalArgumentException("setting [" + settingValue + "] matched network interface [" + + networkInterface.get().getName() + "] but this interface has no internet addresses"); } return list.toArray(new InetAddress[list.size()]); } diff --git a/server/src/test/java/org/elasticsearch/common/network/NetworkUtilsTests.java b/server/src/test/java/org/elasticsearch/common/network/NetworkUtilsTests.java index 48fc767cf998..dce5a362602c 100644 --- a/server/src/test/java/org/elasticsearch/common/network/NetworkUtilsTests.java +++ b/server/src/test/java/org/elasticsearch/common/network/NetworkUtilsTests.java @@ -27,6 +27,7 @@ import java.util.List; import java.util.Optional; +import static org.elasticsearch.common.network.NetworkUtils.getInterfaces; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.equalTo; @@ -84,7 +85,7 @@ public void testFilter() throws Exception { // test that selecting by name is possible public void testMaybeGetInterfaceByName() throws Exception { - final List networkInterfaces = NetworkUtils.getInterfaces(); + final List networkInterfaces = getInterfaces(); for (NetworkInterface netIf : networkInterfaces) { final Optional maybeNetworkInterface = NetworkUtils.maybeGetInterfaceByName(networkInterfaces, netIf.getName()); @@ -94,8 +95,11 @@ public void testMaybeGetInterfaceByName() throws Exception { } public void testNonExistingInterface() throws Exception { - IllegalArgumentException exception = expectThrows(IllegalArgumentException.class, - () -> NetworkUtils.getAddressesForInterface("non-existing")); - assertThat(exception.getMessage(), containsString("No interface named 'non-existing' found")); + final IllegalArgumentException exception = expectThrows(IllegalArgumentException.class, + () -> NetworkUtils.getAddressesForInterface("settingValue", ":suffix" , "non-existing")); + assertThat(exception.getMessage(), containsString("setting [settingValue] matched no network interfaces; valid values include")); + for (NetworkInterface anInterface : getInterfaces()) { + assertThat(exception.getMessage(), containsString(anInterface.getName() + ":suffix")); + } } } From 789a8f1b9ccfea71b24f5f446298aa6e2e5759d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Witek?= Date: Wed, 9 Dec 2020 09:49:38 +0100 Subject: [PATCH 10/35] [Transform] finish backport: adapt versions to 7.11 (#66081) --- build.gradle | 4 ++-- .../core/transform/transforms/TransformConfig.java | 10 ++-------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 95a139c4fef0..4a7952374e44 100644 --- a/build.gradle +++ b/build.gradle @@ -175,8 +175,8 @@ tasks.register("verifyVersions") { * after the backport of the backcompat code is complete. */ -boolean bwc_tests_enabled = false -final String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/66017" /* place a PR link here when committing bwc changes */ +boolean bwc_tests_enabled = true +final String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */ if (bwc_tests_enabled == false) { if (bwc_tests_disabled_issue.isEmpty()) { throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false") diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/transform/transforms/TransformConfig.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/transform/transforms/TransformConfig.java index 6014cf28daef..7908a6f2984f 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/transform/transforms/TransformConfig.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/transform/transforms/TransformConfig.java @@ -208,11 +208,7 @@ public TransformConfig(final StreamInput in) throws IOException { } setHeaders(in.readMap(StreamInput::readString, StreamInput::readString)); pivotConfig = in.readOptionalWriteable(PivotConfig::new); - if (in.getVersion().onOrAfter(Version.V_8_0_0)) { // todo 7.11.0 - latestConfig = in.readOptionalWriteable(LatestConfig::new); - } else { - latestConfig = null; - } + latestConfig = in.readOptionalWriteable(LatestConfig::new); description = in.readOptionalString(); if (in.getVersion().onOrAfter(Version.V_7_3_0)) { syncConfig = in.readOptionalNamedWriteable(SyncConfig.class); @@ -332,9 +328,7 @@ public void writeTo(final StreamOutput out) throws IOException { } out.writeMap(headers, StreamOutput::writeString, StreamOutput::writeString); out.writeOptionalWriteable(pivotConfig); - if (out.getVersion().onOrAfter(Version.V_8_0_0)) { // todo 7.11.0 - out.writeOptionalWriteable(latestConfig); - } + out.writeOptionalWriteable(latestConfig); out.writeOptionalString(description); if (out.getVersion().onOrAfter(Version.V_7_3_0)) { out.writeOptionalNamedWriteable(syncConfig); From b90f612dd360bd9497dcb0a13c5addb2dcbdcf01 Mon Sep 17 00:00:00 2001 From: Hendrik Muhs Date: Wed, 9 Dec 2020 09:50:06 +0100 Subject: [PATCH 11/35] [Transform] move IT to multi-node runner (#66083) move integration tests to multi node tests to cover node to node communication --- .../transform/integration/continuous/ContinuousTestCase.java | 0 .../transform/integration/continuous/DateHistogramGroupByIT.java | 0 .../continuous/DateHistogramGroupByOtherTimeFieldIT.java | 0 .../transform/integration/continuous/HistogramGroupByIT.java | 0 .../transform/integration/continuous/LatestContinuousIT.java | 0 .../xpack/transform/integration/continuous/TermsGroupByIT.java | 0 .../transform/integration/continuous/TermsOnDateGroupByIT.java | 0 .../transform/integration/continuous/TransformContinuousIT.java | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename x-pack/plugin/transform/qa/{single-node-tests => multi-node-tests}/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/ContinuousTestCase.java (100%) rename x-pack/plugin/transform/qa/{single-node-tests => multi-node-tests}/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/DateHistogramGroupByIT.java (100%) rename x-pack/plugin/transform/qa/{single-node-tests => multi-node-tests}/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/DateHistogramGroupByOtherTimeFieldIT.java (100%) rename x-pack/plugin/transform/qa/{single-node-tests => multi-node-tests}/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/HistogramGroupByIT.java (100%) rename x-pack/plugin/transform/qa/{single-node-tests => multi-node-tests}/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/LatestContinuousIT.java (100%) rename x-pack/plugin/transform/qa/{single-node-tests => multi-node-tests}/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TermsGroupByIT.java (100%) rename x-pack/plugin/transform/qa/{single-node-tests => multi-node-tests}/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TermsOnDateGroupByIT.java (100%) rename x-pack/plugin/transform/qa/{single-node-tests => multi-node-tests}/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TransformContinuousIT.java (100%) diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/ContinuousTestCase.java b/x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/ContinuousTestCase.java similarity index 100% rename from x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/ContinuousTestCase.java rename to x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/ContinuousTestCase.java diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/DateHistogramGroupByIT.java b/x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/DateHistogramGroupByIT.java similarity index 100% rename from x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/DateHistogramGroupByIT.java rename to x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/DateHistogramGroupByIT.java diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/DateHistogramGroupByOtherTimeFieldIT.java b/x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/DateHistogramGroupByOtherTimeFieldIT.java similarity index 100% rename from x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/DateHistogramGroupByOtherTimeFieldIT.java rename to x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/DateHistogramGroupByOtherTimeFieldIT.java diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/HistogramGroupByIT.java b/x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/HistogramGroupByIT.java similarity index 100% rename from x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/HistogramGroupByIT.java rename to x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/HistogramGroupByIT.java diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/LatestContinuousIT.java b/x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/LatestContinuousIT.java similarity index 100% rename from x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/LatestContinuousIT.java rename to x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/LatestContinuousIT.java diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TermsGroupByIT.java b/x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TermsGroupByIT.java similarity index 100% rename from x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TermsGroupByIT.java rename to x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TermsGroupByIT.java diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TermsOnDateGroupByIT.java b/x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TermsOnDateGroupByIT.java similarity index 100% rename from x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TermsOnDateGroupByIT.java rename to x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TermsOnDateGroupByIT.java diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TransformContinuousIT.java b/x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TransformContinuousIT.java similarity index 100% rename from x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TransformContinuousIT.java rename to x-pack/plugin/transform/qa/multi-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/continuous/TransformContinuousIT.java From 3081cf4944ce964fc674e27cc66782deaeea2670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Wed, 9 Dec 2020 10:01:26 +0100 Subject: [PATCH 12/35] [DOCS] Adds empty snapshot_id description to revert snapshot API docs (#66036) --- .../ml/anomaly-detection/apis/get-snapshot.asciidoc | 3 +++ .../ml/anomaly-detection/apis/revert-snapshot.asciidoc | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/docs/reference/ml/anomaly-detection/apis/get-snapshot.asciidoc b/docs/reference/ml/anomaly-detection/apis/get-snapshot.asciidoc index 6bb4176b2860..6de796511455 100644 --- a/docs/reference/ml/anomaly-detection/apis/get-snapshot.asciidoc +++ b/docs/reference/ml/anomaly-detection/apis/get-snapshot.asciidoc @@ -15,6 +15,7 @@ Retrieves information about model snapshots. `GET _ml/anomaly_detectors//model_snapshots/` + [[ml-get-snapshot-prereqs]] == {api-prereq-title} @@ -22,6 +23,7 @@ Retrieves information about model snapshots. `monitor`, `manage_ml`, or `manage` cluster privileges to use this API. See <> and {ml-docs-setup-privileges}. + [[ml-get-snapshot-path-parms]] == {api-path-parms-title} @@ -40,6 +42,7 @@ You can get all snapshots for all calendars by using `_all`, by specifying `*` as the ``, or by omitting the ``. -- + [[ml-get-snapshot-request-body]] == {api-request-body-title} diff --git a/docs/reference/ml/anomaly-detection/apis/revert-snapshot.asciidoc b/docs/reference/ml/anomaly-detection/apis/revert-snapshot.asciidoc index 0fc11ecb965d..6d80e73f78fe 100644 --- a/docs/reference/ml/anomaly-detection/apis/revert-snapshot.asciidoc +++ b/docs/reference/ml/anomaly-detection/apis/revert-snapshot.asciidoc @@ -42,6 +42,12 @@ include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=job-id-anomaly-detection] ``:: (Required, string) include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=snapshot-id] ++ +-- +You can specify `empty` as the . Reverting to the `empty` snapshot +means the {anomaly-job} starts learning a new model from scratch when it is +started. +-- [[ml-revert-snapshot-request-body]] == {api-request-body-title} From bc989e4a86e52fb4677aefc5b093884ccc4631d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Wed, 9 Dec 2020 10:47:51 +0100 Subject: [PATCH 13/35] [DOCS] Adds note about data_counts values to Revert snapshot API docs. (#66085) --- .../anomaly-detection/apis/revert-snapshot.asciidoc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/reference/ml/anomaly-detection/apis/revert-snapshot.asciidoc b/docs/reference/ml/anomaly-detection/apis/revert-snapshot.asciidoc index 6d80e73f78fe..cc2ddf8f5f56 100644 --- a/docs/reference/ml/anomaly-detection/apis/revert-snapshot.asciidoc +++ b/docs/reference/ml/anomaly-detection/apis/revert-snapshot.asciidoc @@ -21,6 +21,7 @@ Reverts to a specific snapshot. `manage` cluster privileges to use this API. See <> and {ml-docs-setup-privileges}. + [[ml-revert-snapshot-desc]] == {api-description-title} @@ -32,6 +33,10 @@ then it might be appropriate to reset the model state to a time before this event. For example, you might consider reverting to a saved snapshot after Black Friday or a critical system failure. +NOTE: Reverting to a snapshot does not change the `data_counts` values of the +{anomaly-job}, these values are not reverted to the earlier state. + + [[ml-revert-snapshot-path-parms]] == {api-path-parms-title} @@ -49,6 +54,7 @@ means the {anomaly-job} starts learning a new model from scratch when it is started. -- + [[ml-revert-snapshot-request-body]] == {api-request-body-title} @@ -61,6 +67,7 @@ NOTE: If you choose not to delete intervening results when reverting a snapshot, the job will not accept input data that is older than the current time. If you want to resend data, then delete the intervening results. + [[ml-revert-snapshot-example]] == {api-examples-title} @@ -73,6 +80,7 @@ POST _ml/anomaly_detectors/high_sum_total_sales/model_snapshots/1575402237/_reve -------------------------------------------------- // TEST[skip:todo] + When the operation is complete, you receive the following results: [source,js] ---- @@ -112,4 +120,5 @@ When the operation is complete, you receive the following results: } ---- -For a description of these properties, see the <>. +For a description of these properties, see the +<>. From e189a206d68def06369eb9d9801122617bc6f29a Mon Sep 17 00:00:00 2001 From: Armin Braun Date: Wed, 9 Dec 2020 11:45:40 +0100 Subject: [PATCH 14/35] Wait for Prewarm when Relocating Searchable Snapshot Shards (#65531) Add hooks to enable waiting for a condition before completing the clean files step for relocating searchable snapshot shards and use them to wait for pre-warm before responding to the clean files request. --- .../indices/recovery/IndexRecoveryIT.java | 42 ++---- .../elasticsearch/index/shard/IndexShard.java | 56 +++++++- .../recovery/PeerRecoveryTargetService.java | 9 +- .../indices/recovery/RecoveryTarget.java | 24 +++- .../recovery/RemoteRecoveryTargetHandler.java | 3 +- ...archableSnapshotsRelocationIntegTests.java | 125 ++++++++++++++++++ .../store/SearchableSnapshotDirectory.java | 19 +-- .../SearchableSnapshotIndexEventListener.java | 26 +++- ...SearchableSnapshotDirectoryStatsTests.java | 5 +- .../SearchableSnapshotDirectoryTests.java | 14 +- .../CachedBlobContainerIndexInputTests.java | 18 ++- 11 files changed, 289 insertions(+), 52 deletions(-) create mode 100644 x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsRelocationIntegTests.java diff --git a/server/src/internalClusterTest/java/org/elasticsearch/indices/recovery/IndexRecoveryIT.java b/server/src/internalClusterTest/java/org/elasticsearch/indices/recovery/IndexRecoveryIT.java index d11258c3c310..64a5bed8194f 100644 --- a/server/src/internalClusterTest/java/org/elasticsearch/indices/recovery/IndexRecoveryIT.java +++ b/server/src/internalClusterTest/java/org/elasticsearch/indices/recovery/IndexRecoveryIT.java @@ -974,11 +974,17 @@ public void testDisconnectsWhileRecovering() throws Exception { final CountDownLatch requestFailed = new CountDownLatch(1); if (randomBoolean()) { + final StubbableTransport.SendRequestBehavior sendRequestBehavior = (connection, requestId, action, request, options) -> { + if (recoveryActionToBlock.equals(action) || requestFailed.getCount() == 0) { + requestFailed.countDown(); + logger.info("--> preventing {} request by throwing ConnectTransportException", action); + throw new ConnectTransportException(connection.getNode(), "DISCONNECT: prevented " + action + " request"); + } + connection.sendRequest(requestId, action, request, options); + }; // Fail on the sending side - blueMockTransportService.addSendBehavior(redTransportService, - new RecoveryActionBlocker(dropRequests, recoveryActionToBlock, requestFailed)); - redMockTransportService.addSendBehavior(blueTransportService, - new RecoveryActionBlocker(dropRequests, recoveryActionToBlock, requestFailed)); + blueMockTransportService.addSendBehavior(redTransportService, sendRequestBehavior); + redMockTransportService.addSendBehavior(blueTransportService, sendRequestBehavior); } else { // Fail on the receiving side. blueMockTransportService.addRequestHandlingBehavior(recoveryActionToBlock, (handler, request, channel, task) -> { @@ -1013,34 +1019,6 @@ public void testDisconnectsWhileRecovering() throws Exception { assertHitCount(searchResponse, numDocs); } - private class RecoveryActionBlocker implements StubbableTransport.SendRequestBehavior { - private final boolean dropRequests; - private final String recoveryActionToBlock; - private final CountDownLatch requestBlocked; - - RecoveryActionBlocker(boolean dropRequests, String recoveryActionToBlock, CountDownLatch requestBlocked) { - this.dropRequests = dropRequests; - this.recoveryActionToBlock = recoveryActionToBlock; - this.requestBlocked = requestBlocked; - } - - @Override - public void sendRequest(Transport.Connection connection, long requestId, String action, TransportRequest request, - TransportRequestOptions options) throws IOException { - if (recoveryActionToBlock.equals(action) || requestBlocked.getCount() == 0) { - requestBlocked.countDown(); - if (dropRequests) { - logger.info("--> preventing {} request by dropping request", action); - return; - } else { - logger.info("--> preventing {} request by throwing ConnectTransportException", action); - throw new ConnectTransportException(connection.getNode(), "DISCONNECT: prevented " + action + " request"); - } - } - connection.sendRequest(requestId, action, request, options); - } - } - /** * Tests scenario where recovery target successfully sends recovery request to source but then the channel gets closed while * the source is working on the recovery process. diff --git a/server/src/main/java/org/elasticsearch/index/shard/IndexShard.java b/server/src/main/java/org/elasticsearch/index/shard/IndexShard.java index 286788749b5f..dc7fb0ed6654 100644 --- a/server/src/main/java/org/elasticsearch/index/shard/IndexShard.java +++ b/server/src/main/java/org/elasticsearch/index/shard/IndexShard.java @@ -164,8 +164,10 @@ import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Collections; +import java.util.Deque; import java.util.EnumSet; import java.util.HashSet; +import java.util.LinkedList; import java.util.List; import java.util.Locale; import java.util.Map; @@ -174,9 +176,11 @@ import java.util.Set; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.CountDownLatch; +import java.util.concurrent.Executor; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.atomic.AtomicBoolean; +import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.atomic.AtomicReference; import java.util.function.BiConsumer; @@ -462,7 +466,6 @@ public QueryCachingPolicy getQueryCachingPolicy() { return cachingPolicy; } - @Override public void updateShardState(final ShardRouting newRouting, final long newPrimaryTerm, @@ -2449,6 +2452,57 @@ assert state() != IndexShardState.POST_RECOVERY && state() != IndexShardState.ST replicationTracker.updateGlobalCheckpointOnReplica(globalCheckpoint, reason); } + private final AtomicInteger outstandingCleanFilesConditions = new AtomicInteger(0); + + private final Deque afterCleanFilesActions = new LinkedList<>(); + + /** + * Creates a {@link Runnable} that must be executed before the clean files step in peer recovery can complete. + * + * @return runnable that must be executed during the clean files step in peer recovery + */ + public Runnable addCleanFilesDependency() { + logger.trace("adding clean files dependency for [{}]", shardRouting); + outstandingCleanFilesConditions.incrementAndGet(); + return () -> { + if (outstandingCleanFilesConditions.decrementAndGet() == 0) { + runAfterCleanFilesActions(); + } + }; + } + + /** + * Execute a {@link Runnable} on the generic pool once all dependencies added via {@link #addCleanFilesDependency()} have finished. + * If there are no dependencies to wait for then the {@code Runnable} will be executed on the calling thread. + */ + public void afterCleanFiles(Runnable runnable) { + if (outstandingCleanFilesConditions.get() == 0) { + runnable.run(); + } else { + synchronized (afterCleanFilesActions) { + afterCleanFilesActions.add(runnable); + } + if (outstandingCleanFilesConditions.get() == 0) { + runAfterCleanFilesActions(); + } + } + } + + // for tests + public int outstandingCleanFilesConditions() { + return outstandingCleanFilesConditions.get(); + } + + private void runAfterCleanFilesActions() { + synchronized (afterCleanFilesActions) { + final Executor executor = threadPool.generic(); + Runnable afterCleanFilesAction; + while ((afterCleanFilesAction = afterCleanFilesActions.poll()) != null) { + executor.execute(afterCleanFilesAction); + } + } + } + /** * Updates the known allocation IDs and the local checkpoints for the corresponding allocations from a primary relocation source. * diff --git a/server/src/main/java/org/elasticsearch/indices/recovery/PeerRecoveryTargetService.java b/server/src/main/java/org/elasticsearch/indices/recovery/PeerRecoveryTargetService.java index 013595ef762a..52e444182812 100644 --- a/server/src/main/java/org/elasticsearch/indices/recovery/PeerRecoveryTargetService.java +++ b/server/src/main/java/org/elasticsearch/indices/recovery/PeerRecoveryTargetService.java @@ -38,6 +38,7 @@ import org.elasticsearch.common.CheckedFunction; import org.elasticsearch.common.Nullable; import org.elasticsearch.common.io.stream.StreamInput; +import org.elasticsearch.common.lease.Releasable; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.unit.ByteSizeValue; import org.elasticsearch.common.unit.TimeValue; @@ -432,7 +433,13 @@ public void messageReceived(RecoveryCleanFilesRequest request, TransportChannel } recoveryRef.target().cleanFiles(request.totalTranslogOps(), request.getGlobalCheckpoint(), request.sourceMetaSnapshot(), - listener); + ActionListener.delegateFailure(listener, (r, l) -> { + Releasable reenableMonitor = recoveryRef.target().disableRecoveryMonitor(); + recoveryRef.target().indexShard().afterCleanFiles(() -> { + reenableMonitor.close(); + listener.onResponse(null); + }); + })); } } } diff --git a/server/src/main/java/org/elasticsearch/indices/recovery/RecoveryTarget.java b/server/src/main/java/org/elasticsearch/indices/recovery/RecoveryTarget.java index 18f589148abd..cb5033c14185 100644 --- a/server/src/main/java/org/elasticsearch/indices/recovery/RecoveryTarget.java +++ b/server/src/main/java/org/elasticsearch/indices/recovery/RecoveryTarget.java @@ -32,6 +32,7 @@ import org.elasticsearch.common.Nullable; import org.elasticsearch.common.UUIDs; import org.elasticsearch.common.bytes.BytesReference; +import org.elasticsearch.common.lease.Releasable; import org.elasticsearch.common.logging.Loggers; import org.elasticsearch.common.lucene.Lucene; import org.elasticsearch.common.util.CancellableThreads; @@ -84,6 +85,8 @@ public class RecoveryTarget extends AbstractRefCounted implements RecoveryTarget // last time this status was accessed private volatile long lastAccessTime = System.nanoTime(); + private volatile boolean recoveryMonitorEnabled = true; + // latch that can be used to blockingly wait for RecoveryTarget to be closed private final CountDownLatch closedLatch = new CountDownLatch(1); @@ -153,7 +156,10 @@ public CancellableThreads cancellableThreads() { /** return the last time this RecoveryStatus was used (based on System.nanoTime() */ public long lastAccessTime() { - return lastAccessTime; + if (recoveryMonitorEnabled) { + return lastAccessTime; + } + return System.nanoTime(); } /** sets the lasAccessTime flag to now */ @@ -161,6 +167,22 @@ public void setLastAccessTime() { lastAccessTime = System.nanoTime(); } + /** + * Set flag to signal to {@link org.elasticsearch.indices.recovery.RecoveriesCollection.RecoveryMonitor} that it must not cancel this + * recovery temporarily. This is used by the recovery clean files step to avoid recovery failure in case a long running condition was + * added to the shard via {@link IndexShard#addCleanFilesDependency()}. + * + * @return releasable that once closed will re-enable liveness checks by the recovery monitor + */ + public Releasable disableRecoveryMonitor() { + assert recoveryMonitorEnabled : "recovery monitor already disabled"; + recoveryMonitorEnabled = false; + return () -> { + setLastAccessTime(); + recoveryMonitorEnabled = true; + }; + } + public Store store() { ensureRefCount(); return store; diff --git a/server/src/main/java/org/elasticsearch/indices/recovery/RemoteRecoveryTargetHandler.java b/server/src/main/java/org/elasticsearch/indices/recovery/RemoteRecoveryTargetHandler.java index 6f5fb4b32ec7..bdb2ae3cf470 100644 --- a/server/src/main/java/org/elasticsearch/indices/recovery/RemoteRecoveryTargetHandler.java +++ b/server/src/main/java/org/elasticsearch/indices/recovery/RemoteRecoveryTargetHandler.java @@ -175,7 +175,8 @@ public void cleanFiles(int totalTranslogOps, long globalCheckpoint, Store.Metada final RecoveryCleanFilesRequest request = new RecoveryCleanFilesRequest(recoveryId, requestSeqNo, shardId, sourceMetadata, totalTranslogOps, globalCheckpoint); final Writeable.Reader reader = in -> TransportResponse.Empty.INSTANCE; - executeRetryableAction(action, request, standardTimeoutRequestOptions, listener.map(r -> null), reader); + final ActionListener responseListener = listener.map(r -> null); + executeRetryableAction(action, request, TransportRequestOptions.EMPTY, responseListener, reader); } @Override diff --git a/x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsRelocationIntegTests.java b/x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsRelocationIntegTests.java new file mode 100644 index 000000000000..ce5f07bbd3ca --- /dev/null +++ b/x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsRelocationIntegTests.java @@ -0,0 +1,125 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License; + * you may not use this file except in compliance with the Elastic License. + */ +package org.elasticsearch.xpack.searchablesnapshots; + +import org.elasticsearch.cluster.ClusterState; +import org.elasticsearch.cluster.metadata.IndexMetadata; +import org.elasticsearch.cluster.node.DiscoveryNode; +import org.elasticsearch.common.Priority; +import org.elasticsearch.common.settings.Settings; +import org.elasticsearch.index.Index; +import org.elasticsearch.indices.IndicesService; +import org.elasticsearch.indices.recovery.RecoveryState; +import org.elasticsearch.plugins.Plugin; +import org.elasticsearch.snapshots.mockstore.MockRepository; +import org.elasticsearch.test.ESIntegTestCase; +import org.elasticsearch.threadpool.ThreadPool; +import org.hamcrest.Matchers; + +import java.util.Collection; +import java.util.List; +import java.util.concurrent.CountDownLatch; +import java.util.concurrent.CyclicBarrier; +import java.util.concurrent.Executor; + +import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked; + +@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.TEST, numDataNodes = 0) +public class SearchableSnapshotsRelocationIntegTests extends BaseSearchableSnapshotsIntegTestCase { + + @Override + protected Collection> nodePlugins() { + return List.of(LocalStateSearchableSnapshots.class, MockRepository.Plugin.class); + } + + public void testRelocationWaitsForPreWarm() throws Exception { + internalCluster().startMasterOnlyNode(); + final String firstDataNode = internalCluster().startDataOnlyNode(); + final String index = "test-idx"; + createIndexWithContent(index, indexSettingsNoReplicas(1).build()); + final String repoName = "test-repo"; + createRepository(repoName, "mock"); + final String snapshotName = "test-snapshot"; + createSnapshot(repoName, snapshotName, List.of(index)); + assertAcked(client().admin().indices().prepareDelete(index)); + final String restoredIndex = mountSnapshot(repoName, snapshotName, index, Settings.EMPTY); + ensureGreen(restoredIndex); + final String secondDataNode = internalCluster().startDataOnlyNode(); + + final ThreadPool threadPool = internalCluster().getInstance(ThreadPool.class, secondDataNode); + final int preWarmThreads = threadPool.info(SearchableSnapshotsConstants.CACHE_PREWARMING_THREAD_POOL_NAME).getMax(); + final Executor executor = threadPool.executor(SearchableSnapshotsConstants.CACHE_PREWARMING_THREAD_POOL_NAME); + final CyclicBarrier barrier = new CyclicBarrier(preWarmThreads + 1); + final CountDownLatch latch = new CountDownLatch(1); + for (int i = 0; i < preWarmThreads; i++) { + executor.execute(() -> { + try { + barrier.await(); + latch.await(); + } catch (Exception e) { + throw new AssertionError(e); + } + }); + } + logger.info("--> waiting for prewarm threads to all become blocked"); + barrier.await(); + + logger.info("--> force index [{}] to relocate to [{}]", index, secondDataNode); + assertAcked( + client().admin() + .indices() + .prepareUpdateSettings(restoredIndex) + .setSettings( + Settings.builder() + .put( + IndexMetadata.INDEX_ROUTING_REQUIRE_GROUP_SETTING.getConcreteSettingForNamespace("_name").getKey(), + secondDataNode + ) + ) + ); + assertBusy(() -> { + final List recoveryStates = getActiveRestores(restoredIndex); + assertThat(recoveryStates, Matchers.hasSize(1)); + final RecoveryState shardRecoveryState = recoveryStates.get(0); + assertEquals(firstDataNode, shardRecoveryState.getSourceNode().getName()); + assertEquals(secondDataNode, shardRecoveryState.getTargetNode().getName()); + }); + + assertBusy(() -> assertSame(RecoveryState.Stage.TRANSLOG, getActiveRestores(restoredIndex).get(0).getStage())); + final Index restoredIdx = clusterAdmin().prepareState().get().getState().metadata().index(restoredIndex).getIndex(); + final IndicesService indicesService = internalCluster().getInstance(IndicesService.class, secondDataNode); + assertEquals(1, indicesService.indexService(restoredIdx).getShard(0).outstandingCleanFilesConditions()); + final ClusterState state = client().admin().cluster().prepareState().get().getState(); + final String primaryNodeId = state.routingTable().index(restoredIndex).shard(0).primaryShard().currentNodeId(); + final DiscoveryNode primaryNode = state.nodes().resolveNode(primaryNodeId); + assertEquals(firstDataNode, primaryNode.getName()); + + logger.info("--> unblocking prewarm threads"); + latch.countDown(); + + assertFalse( + client().admin() + .cluster() + .prepareHealth(restoredIndex) + .setWaitForNoRelocatingShards(true) + .setWaitForEvents(Priority.LANGUID) + .get() + .isTimedOut() + ); + assertBusy(() -> assertThat(getActiveRestores(restoredIndex), Matchers.empty())); + } + + private static List getActiveRestores(String restoredIndex) { + return client().admin() + .indices() + .prepareRecoveries(restoredIndex) + .setDetailed(true) + .setActiveOnly(true) + .get() + .shardRecoveryStates() + .get(restoredIndex); + } +} diff --git a/x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/index/store/SearchableSnapshotDirectory.java b/x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/index/store/SearchableSnapshotDirectory.java index 06f7a89e228e..044c5f0d6a79 100644 --- a/x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/index/store/SearchableSnapshotDirectory.java +++ b/x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/index/store/SearchableSnapshotDirectory.java @@ -194,7 +194,7 @@ protected final boolean assertCurrentThreadMayLoadSnapshot() { * * @return true if the snapshot was loaded by executing this method, false otherwise */ - public boolean loadSnapshot(RecoveryState recoveryState) { + public boolean loadSnapshot(RecoveryState recoveryState, ActionListener preWarmListener) { assert recoveryState != null; assert recoveryState instanceof SearchableSnapshotRecoveryState; assert recoveryState.getRecoverySource().getType() == RecoverySource.Type.SNAPSHOT @@ -214,7 +214,7 @@ public boolean loadSnapshot(RecoveryState recoveryState) { this.loaded = true; cleanExistingRegularShardFiles(); this.recoveryState = (SearchableSnapshotRecoveryState) recoveryState; - prewarmCache(); + prewarmCache(preWarmListener); } } } @@ -416,19 +416,20 @@ private void cleanExistingRegularShardFiles() { } } - private void prewarmCache() { + private void prewarmCache(ActionListener listener) { if (prewarmCache == false) { recoveryState.setPreWarmComplete(); + listener.onResponse(null); return; } final BlockingQueue, CheckedRunnable>> queue = new LinkedBlockingQueue<>(); final Executor executor = prewarmExecutor(); - final GroupedActionListener completionListener = new GroupedActionListener<>( - ActionListener.wrap(voids -> recoveryState.setPreWarmComplete(), e -> {}), // Ignore pre-warm errors - snapshot().totalFileCount() - ); + final GroupedActionListener completionListener = new GroupedActionListener<>(ActionListener.wrap(voids -> { + recoveryState.setPreWarmComplete(); + listener.onResponse(null); + }, listener::onFailure), snapshot().totalFileCount()); for (BlobStoreIndexShardSnapshot.FileInfo file : snapshot().indexFiles()) { if (file.metadata().hashEqualsContents() || isExcludedFromCache(file.physicalName())) { @@ -450,11 +451,11 @@ private void prewarmCache() { fileCompletionListener.whenComplete(voids -> input.close(), e -> IOUtils.closeWhileHandlingException(input)); fileCompletionListener.whenComplete(voids -> completionListener.onResponse(null), completionListener::onFailure); - final GroupedActionListener listener = new GroupedActionListener<>(fileCompletionListener, numberOfParts); + final GroupedActionListener partsListener = new GroupedActionListener<>(fileCompletionListener, numberOfParts); for (int p = 0; p < numberOfParts; p++) { final int part = p; - queue.add(Tuple.tuple(listener, () -> { + queue.add(Tuple.tuple(partsListener, () -> { ensureOpen(); logger.trace("{} warming cache for [{}] part [{}/{}]", shardId, file.physicalName(), part + 1, numberOfParts); diff --git a/x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotIndexEventListener.java b/x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotIndexEventListener.java index 2e4e96b929d4..1ad219f33941 100644 --- a/x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotIndexEventListener.java +++ b/x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotIndexEventListener.java @@ -5,8 +5,13 @@ */ package org.elasticsearch.xpack.searchablesnapshots; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import org.apache.logging.log4j.message.ParameterizedMessage; import org.apache.lucene.index.SegmentInfos; +import org.elasticsearch.action.StepListener; import org.elasticsearch.cluster.routing.RecoverySource; +import org.elasticsearch.cluster.routing.ShardRouting; import org.elasticsearch.index.IndexSettings; import org.elasticsearch.index.seqno.SequenceNumbers; import org.elasticsearch.index.shard.IndexEventListener; @@ -23,6 +28,8 @@ public class SearchableSnapshotIndexEventListener implements IndexEventListener { + private static final Logger logger = LogManager.getLogger(SearchableSnapshotIndexEventListener.class); + @Override public void beforeIndexShardRecovery(IndexShard indexShard, IndexSettings indexSettings) { assert Thread.currentThread().getName().contains(ThreadPool.Names.GENERIC); @@ -33,8 +40,23 @@ public void beforeIndexShardRecovery(IndexShard indexShard, IndexSettings indexS private static void ensureSnapshotIsLoaded(IndexShard indexShard) { final SearchableSnapshotDirectory directory = SearchableSnapshotDirectory.unwrapDirectory(indexShard.store().directory()); assert directory != null; - - final boolean success = directory.loadSnapshot(indexShard.recoveryState()); + final StepListener preWarmListener = new StepListener<>(); + final boolean success = directory.loadSnapshot(indexShard.recoveryState(), preWarmListener); + final ShardRouting shardRouting = indexShard.routingEntry(); + if (success && shardRouting.isRelocationTarget()) { + final Runnable preWarmCondition = indexShard.addCleanFilesDependency(); + preWarmListener.whenComplete(v -> preWarmCondition.run(), e -> { + logger.warn( + new ParameterizedMessage( + "pre-warm operation failed for [{}] while it was the target of primary relocation [{}]", + shardRouting.shardId(), + shardRouting + ), + e + ); + preWarmCondition.run(); + }); + } assert directory.listAll().length > 0 : "expecting directory listing to be non-empty"; assert success || indexShard.routingEntry() diff --git a/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/SearchableSnapshotDirectoryStatsTests.java b/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/SearchableSnapshotDirectoryStatsTests.java index 412d72a55df9..1d45ccd3f0d0 100644 --- a/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/SearchableSnapshotDirectoryStatsTests.java +++ b/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/SearchableSnapshotDirectoryStatsTests.java @@ -9,6 +9,7 @@ import org.apache.lucene.store.IOContext; import org.apache.lucene.store.IndexInput; import org.elasticsearch.Version; +import org.elasticsearch.action.support.PlainActionFuture; import org.elasticsearch.cluster.node.DiscoveryNode; import org.elasticsearch.cluster.routing.RecoverySource; import org.elasticsearch.cluster.routing.ShardRouting; @@ -654,7 +655,9 @@ protected IndexInputStats createIndexInputStats(long fileLength) { ); DiscoveryNode targetNode = new DiscoveryNode("local", buildNewFakeTransportAddress(), Version.CURRENT); RecoveryState recoveryState = new SearchableSnapshotRecoveryState(shardRouting, targetNode, null); - final boolean loaded = directory.loadSnapshot(recoveryState); + final PlainActionFuture future = PlainActionFuture.newFuture(); + final boolean loaded = directory.loadSnapshot(recoveryState, future); + future.get(); assertThat("Failed to load snapshot", loaded, is(true)); assertThat("Snapshot should be loaded", directory.snapshot(), notNullValue()); assertThat("BlobContainer should be loaded", directory.blobContainer(), notNullValue()); diff --git a/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/SearchableSnapshotDirectoryTests.java b/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/SearchableSnapshotDirectoryTests.java index aeb5001d0b03..462f741edf85 100644 --- a/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/SearchableSnapshotDirectoryTests.java +++ b/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/SearchableSnapshotDirectoryTests.java @@ -36,6 +36,7 @@ import org.apache.lucene.store.IOContext; import org.apache.lucene.store.IndexInput; import org.apache.lucene.util.BytesRef; +import org.elasticsearch.ExceptionsHelper; import org.elasticsearch.Version; import org.elasticsearch.action.support.PlainActionFuture; import org.elasticsearch.cluster.metadata.IndexMetadata; @@ -111,6 +112,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.concurrent.ExecutionException; import java.util.stream.Collectors; import static java.util.Collections.emptyMap; @@ -607,7 +609,13 @@ protected void assertSnapshotOrGenericThread() { threadPool ) ) { - final boolean loaded = snapshotDirectory.loadSnapshot(recoveryState); + final PlainActionFuture f = PlainActionFuture.newFuture(); + final boolean loaded = snapshotDirectory.loadSnapshot(recoveryState, f); + try { + f.get(); + } catch (ExecutionException e) { + assertNotNull(ExceptionsHelper.unwrap(e, IOException.class)); + } assertThat("Failed to load snapshot", loaded, is(true)); assertThat("Snapshot should be loaded", snapshotDirectory.snapshot(), sameInstance(snapshot)); assertThat("BlobContainer should be loaded", snapshotDirectory.blobContainer(), sameInstance(blobContainer)); @@ -707,7 +715,9 @@ public void testClearCache() throws Exception { ) ) { final RecoveryState recoveryState = createRecoveryState(); - final boolean loaded = directory.loadSnapshot(recoveryState); + final PlainActionFuture f = PlainActionFuture.newFuture(); + final boolean loaded = directory.loadSnapshot(recoveryState, f); + f.get(); assertThat("Failed to load snapshot", loaded, is(true)); assertThat("Snapshot should be loaded", directory.snapshot(), sameInstance(snapshot)); assertThat("BlobContainer should be loaded", directory.blobContainer(), sameInstance(blobContainer)); diff --git a/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/cache/CachedBlobContainerIndexInputTests.java b/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/cache/CachedBlobContainerIndexInputTests.java index 9ff1f9cba0b0..e7d3cde07d9f 100644 --- a/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/cache/CachedBlobContainerIndexInputTests.java +++ b/x-pack/plugin/searchable-snapshots/src/test/java/org/elasticsearch/index/store/cache/CachedBlobContainerIndexInputTests.java @@ -6,7 +6,9 @@ package org.elasticsearch.index.store.cache; import org.apache.lucene.store.IndexInput; +import org.elasticsearch.ExceptionsHelper; import org.elasticsearch.Version; +import org.elasticsearch.action.support.PlainActionFuture; import org.elasticsearch.common.blobstore.BlobContainer; import org.elasticsearch.common.blobstore.support.FilterBlobContainer; import org.elasticsearch.common.settings.Settings; @@ -34,6 +36,7 @@ import java.util.HashSet; import java.util.List; import java.util.Objects; +import java.util.concurrent.ExecutionException; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.LongAdder; @@ -114,7 +117,12 @@ public void testRandomReads() throws Exception { ) ) { RecoveryState recoveryState = createRecoveryState(); - final boolean loaded = directory.loadSnapshot(recoveryState); + final PlainActionFuture future = PlainActionFuture.newFuture(); + final boolean loaded = directory.loadSnapshot(recoveryState, future); + if (randomBoolean()) { + // randomly wait for pre-warm before running the below reads + future.get(); + } assertThat("Failed to load snapshot", loaded, is(true)); assertThat("Snapshot should be loaded", directory.snapshot(), notNullValue()); assertThat("BlobContainer should be loaded", directory.blobContainer(), notNullValue()); @@ -204,7 +212,13 @@ public void testThrowsEOFException() throws Exception { ) ) { RecoveryState recoveryState = createRecoveryState(); - final boolean loaded = searchableSnapshotDirectory.loadSnapshot(recoveryState); + final PlainActionFuture f = PlainActionFuture.newFuture(); + final boolean loaded = searchableSnapshotDirectory.loadSnapshot(recoveryState, f); + try { + f.get(); + } catch (ExecutionException e) { + assertNotNull(ExceptionsHelper.unwrap(e, IOException.class)); + } assertThat("Failed to load snapshot", loaded, is(true)); assertThat("Snapshot should be loaded", searchableSnapshotDirectory.snapshot(), notNullValue()); assertThat("BlobContainer should be loaded", searchableSnapshotDirectory.blobContainer(), notNullValue()); From 4016b1cf520aedf88498bf352aeab7de401ee5cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Wed, 9 Dec 2020 13:30:21 +0100 Subject: [PATCH 15/35] All DateFormatters should be able to print Long.MAX_VALUE (#65945) All date formats should allow all possible long date values to be formatted. Currently some of the printers used by some formats are too restrictive here (e.g. for 'basic_date_time_no_millis'), only allowing up to four digits for the year. This PR changes this for the formatters that are otherwise failing the added tests that tries to format Long.MAX_VALUE and Long.MIN_VALUE respectively, as these are values we for example implicitely use when sorting missing fields. Closes #65639 --- .../common/time/DateFormatters.java | 19 +++++++++++++++---- .../common/time/DateFormattersTests.java | 13 +++++++++++++ 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/common/time/DateFormatters.java b/server/src/main/java/org/elasticsearch/common/time/DateFormatters.java index 03800e318748..ce15ba777081 100644 --- a/server/src/main/java/org/elasticsearch/common/time/DateFormatters.java +++ b/server/src/main/java/org/elasticsearch/common/time/DateFormatters.java @@ -344,6 +344,13 @@ public class DateFormatters { .withResolverStyle(ResolverStyle.STRICT) ); + private static final DateTimeFormatter BASIC_YEAR_MONTH_DAY_PRINTER = new DateTimeFormatterBuilder() + .appendValue(ChronoField.YEAR, 4, 10, SignStyle.NORMAL) + .appendValue(MONTH_OF_YEAR, 2, 2, SignStyle.NOT_NEGATIVE) + .appendValue(DAY_OF_MONTH, 2, 2, SignStyle.NOT_NEGATIVE) + .toFormatter(Locale.ROOT) + .withResolverStyle(ResolverStyle.STRICT); + private static final DateTimeFormatter BASIC_YEAR_MONTH_DAY_FORMATTER = new DateTimeFormatterBuilder() .appendValue(ChronoField.YEAR, 4, 4, SignStyle.NORMAL) .appendValue(MONTH_OF_YEAR, 2, 2, SignStyle.NOT_NEGATIVE) @@ -358,7 +365,7 @@ public class DateFormatters { .withResolverStyle(ResolverStyle.STRICT); private static final DateTimeFormatter BASIC_DATE_TIME_PRINTER = new DateTimeFormatterBuilder() - .append(BASIC_YEAR_MONTH_DAY_FORMATTER) + .append(BASIC_YEAR_MONTH_DAY_PRINTER) .append(BASIC_T_TIME_PRINTER) .toFormatter(Locale.ROOT) .withResolverStyle(ResolverStyle.STRICT); @@ -380,12 +387,16 @@ public class DateFormatters { new DateTimeFormatterBuilder().append(BASIC_YEAR_MONTH_DAY_FORMATTER).appendLiteral("T").toFormatter(Locale.ROOT) .withResolverStyle(ResolverStyle.STRICT); + private static final DateTimeFormatter BASIC_DATE_T_PRINTER = + new DateTimeFormatterBuilder().append(BASIC_YEAR_MONTH_DAY_PRINTER).appendLiteral("T").toFormatter(Locale.ROOT) + .withResolverStyle(ResolverStyle.STRICT); + /* * Returns a basic formatter that combines a basic date and time without millis, * separated by a 'T' (uuuuMMdd'T'HHmmssZ). */ private static final DateFormatter BASIC_DATE_TIME_NO_MILLIS = new JavaDateFormatter("basic_date_time_no_millis", - new DateTimeFormatterBuilder().append(BASIC_DATE_T).append(BASIC_TIME_NO_MILLIS_BASE) + new DateTimeFormatterBuilder().append(BASIC_DATE_T_PRINTER).append(BASIC_TIME_NO_MILLIS_BASE) .appendOffset("+HH:MM", "Z").toFormatter(Locale.ROOT) .withResolverStyle(ResolverStyle.STRICT), new DateTimeFormatterBuilder().append(BASIC_DATE_T).append(BASIC_TIME_NO_MILLIS_BASE) @@ -466,7 +477,7 @@ public class DateFormatters { private static final DateTimeFormatter STRICT_BASIC_WEEK_DATE_PRINTER = new DateTimeFormatterBuilder() .parseStrict() - .appendValue(IsoFields.WEEK_BASED_YEAR, 4) + .appendValue(IsoFields.WEEK_BASED_YEAR, 4, 10, SignStyle.NORMAL) .appendLiteral("W") .appendValue(IsoFields.WEEK_OF_WEEK_BASED_YEAR, 2, 2, SignStyle.NEVER) .appendValue(ChronoField.DAY_OF_WEEK) @@ -999,7 +1010,7 @@ public class DateFormatters { */ private static final DateFormatter BASIC_DATE = new JavaDateFormatter("basic_date", new DateTimeFormatterBuilder() - .appendValue(ChronoField.YEAR, 4, 4, SignStyle.NORMAL) + .appendValue(ChronoField.YEAR, 4, 10, SignStyle.NORMAL) .appendValue(MONTH_OF_YEAR, 2, 2, SignStyle.NOT_NEGATIVE) .appendValue(DAY_OF_MONTH, 2, 2, SignStyle.NOT_NEGATIVE) .toFormatter(Locale.ROOT) diff --git a/server/src/test/java/org/elasticsearch/common/time/DateFormattersTests.java b/server/src/test/java/org/elasticsearch/common/time/DateFormattersTests.java index 3d12dba67481..de725793421a 100644 --- a/server/src/test/java/org/elasticsearch/common/time/DateFormattersTests.java +++ b/server/src/test/java/org/elasticsearch/common/time/DateFormattersTests.java @@ -19,6 +19,7 @@ package org.elasticsearch.common.time; +import org.elasticsearch.index.mapper.DateFieldMapper; import org.elasticsearch.test.ESTestCase; import java.time.Clock; @@ -87,6 +88,18 @@ public void testEpochMillisParser() { } } + /** + * test that formatting a date with Long.MAX_VALUE or Long.MIN_VALUE doesn throw errors since we use these + * e.g. for sorting documents with `null` values first or last + */ + public void testPrintersLongMinMaxValue() { + for (FormatNames format : FormatNames.values()) { + DateFormatter formatter = DateFormatters.forPattern(format.getName()); + formatter.format(DateFieldMapper.Resolution.MILLISECONDS.toInstant(Long.MIN_VALUE)); + formatter.format(DateFieldMapper.Resolution.MILLISECONDS.toInstant(Long.MAX_VALUE)); + } + } + public void testInvalidEpochMilliParser() { DateFormatter formatter = DateFormatters.forPattern("epoch_millis"); IllegalArgumentException e = expectThrows(IllegalArgumentException.class, () -> formatter.parse("invalid")); From 8d3def3e1f55c3fdbfb8fe8853e3306bfeaa1471 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Wed, 9 Dec 2020 14:43:05 +0100 Subject: [PATCH 16/35] Add Accept & Content-Type headers to rest api spec (#53979) Co-authored-by: Russ Cam --- .../api/scripts_painless_context.json | 3 ++ .../rest-api-spec/api/cat.example.json | 3 ++ .../resources/rest-api-spec/api/bulk.json | 4 ++ .../rest-api-spec/api/cat.aliases.json | 3 ++ .../rest-api-spec/api/cat.allocation.json | 3 ++ .../rest-api-spec/api/cat.count.json | 3 ++ .../rest-api-spec/api/cat.fielddata.json | 3 ++ .../rest-api-spec/api/cat.health.json | 3 ++ .../resources/rest-api-spec/api/cat.help.json | 3 ++ .../rest-api-spec/api/cat.indices.json | 3 ++ .../rest-api-spec/api/cat.master.json | 3 ++ .../rest-api-spec/api/cat.nodeattrs.json | 3 ++ .../rest-api-spec/api/cat.nodes.json | 3 ++ .../rest-api-spec/api/cat.pending_tasks.json | 3 ++ .../rest-api-spec/api/cat.plugins.json | 3 ++ .../rest-api-spec/api/cat.recovery.json | 3 ++ .../rest-api-spec/api/cat.repositories.json | 3 ++ .../rest-api-spec/api/cat.segments.json | 3 ++ .../rest-api-spec/api/cat.shards.json | 3 ++ .../rest-api-spec/api/cat.snapshots.json | 3 ++ .../rest-api-spec/api/cat.tasks.json | 3 ++ .../rest-api-spec/api/cat.templates.json | 3 ++ .../rest-api-spec/api/cat.thread_pool.json | 3 ++ .../rest-api-spec/api/clear_scroll.json | 4 ++ .../api/cluster.allocation_explain.json | 4 ++ .../cluster.delete_component_template.json | 3 ++ ...uster.delete_voting_config_exclusions.json | 3 ++ .../cluster.exists_component_template.json | 3 ++ .../api/cluster.get_component_template.json | 3 ++ .../api/cluster.get_settings.json | 3 ++ .../rest-api-spec/api/cluster.health.json | 3 ++ .../api/cluster.pending_tasks.json | 3 ++ ...cluster.post_voting_config_exclusions.json | 3 ++ .../api/cluster.put_component_template.json | 4 ++ .../api/cluster.put_settings.json | 4 ++ .../api/cluster.remote_info.json | 3 ++ .../rest-api-spec/api/cluster.reroute.json | 4 ++ .../rest-api-spec/api/cluster.state.json | 3 ++ .../rest-api-spec/api/cluster.stats.json | 3 ++ .../resources/rest-api-spec/api/count.json | 4 ++ .../resources/rest-api-spec/api/create.json | 4 ++ ...angling_indices.delete_dangling_index.json | 3 ++ ...angling_indices.import_dangling_index.json | 3 ++ ...angling_indices.list_dangling_indices.json | 3 ++ .../resources/rest-api-spec/api/delete.json | 3 ++ .../rest-api-spec/api/delete_by_query.json | 4 ++ .../api/delete_by_query_rethrottle.json | 3 ++ .../rest-api-spec/api/delete_script.json | 3 ++ .../resources/rest-api-spec/api/exists.json | 3 ++ .../rest-api-spec/api/exists_source.json | 3 ++ .../resources/rest-api-spec/api/explain.json | 4 ++ .../rest-api-spec/api/field_caps.json | 3 ++ .../main/resources/rest-api-spec/api/get.json | 3 ++ .../rest-api-spec/api/get_script.json | 3 ++ .../rest-api-spec/api/get_script_context.json | 3 ++ .../api/get_script_languages.json | 3 ++ .../rest-api-spec/api/get_source.json | 3 ++ .../resources/rest-api-spec/api/index.json | 4 ++ .../rest-api-spec/api/indices.add_block.json | 3 ++ .../rest-api-spec/api/indices.analyze.json | 4 ++ .../api/indices.clear_cache.json | 3 ++ .../rest-api-spec/api/indices.clone.json | 4 ++ .../rest-api-spec/api/indices.close.json | 3 ++ .../rest-api-spec/api/indices.create.json | 4 ++ .../rest-api-spec/api/indices.delete.json | 3 ++ .../api/indices.delete_alias.json | 3 ++ .../api/indices.delete_index_template.json | 3 ++ .../api/indices.delete_template.json | 3 ++ .../rest-api-spec/api/indices.exists.json | 3 ++ .../api/indices.exists_alias.json | 3 ++ .../api/indices.exists_index_template.json | 3 ++ .../api/indices.exists_template.json | 3 ++ .../api/indices.exists_type.json | 3 ++ .../rest-api-spec/api/indices.flush.json | 3 ++ .../rest-api-spec/api/indices.forcemerge.json | 3 ++ .../rest-api-spec/api/indices.get.json | 3 ++ .../rest-api-spec/api/indices.get_alias.json | 3 ++ .../api/indices.get_field_mapping.json | 3 ++ .../api/indices.get_index_template.json | 3 ++ .../api/indices.get_mapping.json | 3 ++ .../api/indices.get_settings.json | 3 ++ .../api/indices.get_template.json | 3 ++ .../rest-api-spec/api/indices.open.json | 3 ++ .../rest-api-spec/api/indices.put_alias.json | 4 ++ .../api/indices.put_index_template.json | 4 ++ .../api/indices.put_mapping.json | 4 ++ .../api/indices.put_settings.json | 4 ++ .../api/indices.put_template.json | 4 ++ .../rest-api-spec/api/indices.recovery.json | 3 ++ .../rest-api-spec/api/indices.refresh.json | 3 ++ .../api/indices.resolve_index.json | 3 ++ .../rest-api-spec/api/indices.rollover.json | 4 ++ .../rest-api-spec/api/indices.segments.json | 3 ++ .../api/indices.shard_stores.json | 3 ++ .../rest-api-spec/api/indices.shrink.json | 4 ++ .../api/indices.simulate_index_template.json | 4 ++ .../api/indices.simulate_template.json | 4 ++ .../rest-api-spec/api/indices.split.json | 4 ++ .../rest-api-spec/api/indices.stats.json | 3 ++ .../api/indices.update_aliases.json | 4 ++ .../api/indices.validate_query.json | 4 ++ .../resources/rest-api-spec/api/info.json | 3 ++ .../api/ingest.delete_pipeline.json | 3 ++ .../api/ingest.get_pipeline.json | 3 ++ .../api/ingest.processor_grok.json | 3 ++ .../api/ingest.put_pipeline.json | 4 ++ .../rest-api-spec/api/ingest.simulate.json | 4 ++ .../resources/rest-api-spec/api/mget.json | 4 ++ .../resources/rest-api-spec/api/msearch.json | 4 ++ .../rest-api-spec/api/msearch_template.json | 4 ++ .../rest-api-spec/api/mtermvectors.json | 4 ++ .../rest-api-spec/api/nodes.hot_threads.json | 3 ++ .../rest-api-spec/api/nodes.info.json | 3 ++ .../api/nodes.reload_secure_settings.json | 4 ++ .../rest-api-spec/api/nodes.stats.json | 3 ++ .../rest-api-spec/api/nodes.usage.json | 3 ++ .../resources/rest-api-spec/api/ping.json | 3 ++ .../rest-api-spec/api/put_script.json | 4 ++ .../rest-api-spec/api/rank_eval.json | 4 ++ .../resources/rest-api-spec/api/reindex.json | 4 ++ .../rest-api-spec/api/reindex_rethrottle.json | 3 ++ .../api/render_search_template.json | 4 ++ .../api/scripts_painless_execute.json | 4 ++ .../resources/rest-api-spec/api/scroll.json | 4 ++ .../resources/rest-api-spec/api/search.json | 4 ++ .../rest-api-spec/api/search_shards.json | 3 ++ .../rest-api-spec/api/search_template.json | 6 ++- .../api/snapshot.cleanup_repository.json | 3 ++ .../rest-api-spec/api/snapshot.clone.json | 4 ++ .../rest-api-spec/api/snapshot.create.json | 4 ++ .../api/snapshot.create_repository.json | 4 ++ .../rest-api-spec/api/snapshot.delete.json | 3 ++ .../api/snapshot.delete_repository.json | 3 ++ .../rest-api-spec/api/snapshot.get.json | 3 ++ .../api/snapshot.get_repository.json | 3 ++ .../rest-api-spec/api/snapshot.restore.json | 4 ++ .../rest-api-spec/api/snapshot.status.json | 3 ++ .../api/snapshot.verify_repository.json | 3 ++ .../rest-api-spec/api/tasks.cancel.json | 3 ++ .../rest-api-spec/api/tasks.get.json | 3 ++ .../rest-api-spec/api/tasks.list.json | 3 ++ .../rest-api-spec/api/termvectors.json | 4 ++ .../resources/rest-api-spec/api/update.json | 4 ++ .../rest-api-spec/api/update_by_query.json | 4 ++ .../api/update_by_query_rethrottle.json | 3 ++ rest-api-spec/src/main/resources/schema.json | 27 ++++++++++++ .../yaml/restspec/ClientYamlSuiteRestApi.java | 15 +++++++ .../ClientYamlSuiteRestApiParser.java | 41 +++++++++++++++++++ .../ClientYamlSuiteRestApiParserTests.java | 15 ++++++- .../restspec/ClientYamlSuiteRestApiTests.java | 1 + .../api/async_search.delete.json | 3 ++ .../rest-api-spec/api/async_search.get.json | 3 ++ .../api/async_search.status.json | 3 ++ .../api/async_search.submit.json | 4 ++ ...autoscaling.delete_autoscaling_policy.json | 3 ++ .../autoscaling.get_autoscaling_capacity.json | 3 ++ .../autoscaling.get_autoscaling_policy.json | 3 ++ .../autoscaling.put_autoscaling_policy.json | 4 ++ .../api/cat.ml_data_frame_analytics.json | 3 ++ .../rest-api-spec/api/cat.ml_datafeeds.json | 3 ++ .../rest-api-spec/api/cat.ml_jobs.json | 3 ++ .../api/cat.ml_trained_models.json | 3 ++ .../rest-api-spec/api/cat.transforms.json | 3 ++ .../api/ccr.delete_auto_follow_pattern.json | 3 ++ .../rest-api-spec/api/ccr.follow.json | 4 ++ .../rest-api-spec/api/ccr.follow_info.json | 3 ++ .../rest-api-spec/api/ccr.follow_stats.json | 3 ++ .../api/ccr.forget_follower.json | 4 ++ .../api/ccr.get_auto_follow_pattern.json | 3 ++ .../api/ccr.pause_auto_follow_pattern.json | 3 ++ .../rest-api-spec/api/ccr.pause_follow.json | 3 ++ .../api/ccr.put_auto_follow_pattern.json | 4 ++ .../api/ccr.resume_auto_follow_pattern.json | 3 ++ .../rest-api-spec/api/ccr.resume_follow.json | 4 ++ .../rest-api-spec/api/ccr.stats.json | 3 ++ .../rest-api-spec/api/ccr.unfollow.json | 3 ++ .../api/close_point_in_time.json | 3 ++ ...transform_deprecated.delete_transform.json | 3 ++ ...me_transform_deprecated.get_transform.json | 3 ++ ...nsform_deprecated.get_transform_stats.json | 3 ++ ...ransform_deprecated.preview_transform.json | 4 ++ ...me_transform_deprecated.put_transform.json | 4 ++ ..._transform_deprecated.start_transform.json | 3 ++ ...e_transform_deprecated.stop_transform.json | 3 ++ ...transform_deprecated.update_transform.json | 6 ++- .../api/enrich.delete_policy.json | 3 ++ .../api/enrich.execute_policy.json | 3 ++ .../rest-api-spec/api/enrich.get_policy.json | 3 ++ .../rest-api-spec/api/enrich.put_policy.json | 4 ++ .../rest-api-spec/api/enrich.stats.json | 3 ++ .../rest-api-spec/api/eql.delete.json | 3 ++ .../resources/rest-api-spec/api/eql.get.json | 3 ++ .../rest-api-spec/api/eql.search.json | 4 ++ .../rest-api-spec/api/graph.explore.json | 4 ++ .../api/ilm.delete_lifecycle.json | 3 ++ .../api/ilm.explain_lifecycle.json | 3 ++ .../rest-api-spec/api/ilm.get_lifecycle.json | 3 ++ .../rest-api-spec/api/ilm.get_status.json | 3 ++ .../rest-api-spec/api/ilm.move_to_step.json | 4 ++ .../rest-api-spec/api/ilm.put_lifecycle.json | 4 ++ .../rest-api-spec/api/ilm.remove_policy.json | 3 ++ .../rest-api-spec/api/ilm.retry.json | 3 ++ .../rest-api-spec/api/ilm.start.json | 3 ++ .../resources/rest-api-spec/api/ilm.stop.json | 3 ++ .../api/indices.create_data_stream.json | 3 ++ .../api/indices.data_streams_stats.json | 3 ++ .../api/indices.delete_data_stream.json | 3 ++ .../rest-api-spec/api/indices.freeze.json | 3 ++ .../api/indices.get_data_stream.json | 3 ++ .../api/indices.migrate_to_data_stream.json | 3 ++ .../api/indices.reload_search_analyzers.json | 3 ++ .../rest-api-spec/api/indices.unfreeze.json | 3 ++ .../rest-api-spec/api/license.delete.json | 3 ++ .../rest-api-spec/api/license.get.json | 3 ++ .../api/license.get_basic_status.json | 3 ++ .../api/license.get_trial_status.json | 3 ++ .../rest-api-spec/api/license.post.json | 4 ++ .../api/license.post_start_basic.json | 3 ++ .../api/license.post_start_trial.json | 3 ++ .../api/migration.deprecations.json | 3 ++ .../rest-api-spec/api/ml.close_job.json | 4 ++ .../rest-api-spec/api/ml.delete_calendar.json | 3 ++ .../api/ml.delete_calendar_event.json | 3 ++ .../api/ml.delete_calendar_job.json | 3 ++ .../api/ml.delete_data_frame_analytics.json | 3 ++ .../rest-api-spec/api/ml.delete_datafeed.json | 3 ++ .../api/ml.delete_expired_data.json | 3 ++ .../rest-api-spec/api/ml.delete_filter.json | 3 ++ .../rest-api-spec/api/ml.delete_forecast.json | 3 ++ .../rest-api-spec/api/ml.delete_job.json | 3 ++ .../api/ml.delete_model_snapshot.json | 3 ++ .../api/ml.delete_trained_model.json | 3 ++ .../api/ml.estimate_model_memory.json | 4 ++ .../api/ml.evaluate_data_frame.json | 4 ++ .../api/ml.explain_data_frame_analytics.json | 4 ++ .../api/ml.find_file_structure.json | 4 ++ .../rest-api-spec/api/ml.flush_job.json | 4 ++ .../rest-api-spec/api/ml.forecast.json | 3 ++ .../rest-api-spec/api/ml.get_buckets.json | 4 ++ .../api/ml.get_calendar_events.json | 3 ++ .../rest-api-spec/api/ml.get_calendars.json | 4 ++ .../rest-api-spec/api/ml.get_categories.json | 4 ++ .../api/ml.get_data_frame_analytics.json | 3 ++ .../ml.get_data_frame_analytics_stats.json | 3 ++ .../api/ml.get_datafeed_stats.json | 3 ++ .../rest-api-spec/api/ml.get_datafeeds.json | 3 ++ .../rest-api-spec/api/ml.get_filters.json | 3 ++ .../rest-api-spec/api/ml.get_influencers.json | 4 ++ .../rest-api-spec/api/ml.get_job_stats.json | 3 ++ .../rest-api-spec/api/ml.get_jobs.json | 3 ++ .../api/ml.get_model_snapshots.json | 4 ++ .../api/ml.get_overall_buckets.json | 4 ++ .../rest-api-spec/api/ml.get_records.json | 4 ++ .../api/ml.get_trained_models.json | 3 ++ .../api/ml.get_trained_models_stats.json | 3 ++ .../resources/rest-api-spec/api/ml.info.json | 3 ++ .../rest-api-spec/api/ml.open_job.json | 3 ++ .../api/ml.post_calendar_events.json | 4 ++ .../rest-api-spec/api/ml.post_data.json | 4 ++ .../api/ml.preview_datafeed.json | 3 ++ .../rest-api-spec/api/ml.put_calendar.json | 4 ++ .../api/ml.put_calendar_job.json | 3 ++ .../api/ml.put_data_frame_analytics.json | 4 ++ .../rest-api-spec/api/ml.put_datafeed.json | 4 ++ .../rest-api-spec/api/ml.put_filter.json | 4 ++ .../rest-api-spec/api/ml.put_job.json | 4 ++ .../api/ml.put_trained_model.json | 4 ++ .../api/ml.revert_model_snapshot.json | 4 ++ .../api/ml.set_upgrade_mode.json | 3 ++ .../api/ml.start_data_frame_analytics.json | 4 ++ .../rest-api-spec/api/ml.start_datafeed.json | 4 ++ .../api/ml.stop_data_frame_analytics.json | 4 ++ .../rest-api-spec/api/ml.stop_datafeed.json | 3 ++ .../api/ml.update_data_frame_analytics.json | 4 ++ .../rest-api-spec/api/ml.update_datafeed.json | 4 ++ .../rest-api-spec/api/ml.update_filter.json | 4 ++ .../rest-api-spec/api/ml.update_job.json | 4 ++ .../api/ml.update_model_snapshot.json | 4 ++ .../api/ml.upgrade_job_snapshot.json | 3 ++ .../rest-api-spec/api/ml.validate.json | 4 ++ .../api/ml.validate_detector.json | 4 ++ .../rest-api-spec/api/monitoring.bulk.json | 4 ++ .../rest-api-spec/api/open_point_in_time.json | 3 ++ .../rest-api-spec/api/rollup.delete_job.json | 3 ++ .../rest-api-spec/api/rollup.get_jobs.json | 3 ++ .../api/rollup.get_rollup_caps.json | 3 ++ .../api/rollup.get_rollup_index_caps.json | 3 ++ .../rest-api-spec/api/rollup.put_job.json | 4 ++ .../rest-api-spec/api/rollup.rollup.json | 4 ++ .../api/rollup.rollup_search.json | 4 ++ .../rest-api-spec/api/rollup.start_job.json | 3 ++ .../rest-api-spec/api/rollup.stop_job.json | 3 ++ .../api/searchable_snapshots.clear_cache.json | 3 ++ .../api/searchable_snapshots.mount.json | 4 ++ .../api/searchable_snapshots.stats.json | 3 ++ .../api/security.authenticate.json | 3 ++ .../api/security.change_password.json | 4 ++ .../api/security.clear_api_key_cache.json | 3 ++ .../api/security.clear_cached_privileges.json | 3 ++ .../api/security.clear_cached_realms.json | 3 ++ .../api/security.clear_cached_roles.json | 3 ++ .../api/security.create_api_key.json | 4 ++ .../api/security.delete_privileges.json | 3 ++ .../api/security.delete_role.json | 3 ++ .../api/security.delete_role_mapping.json | 3 ++ .../api/security.delete_user.json | 3 ++ .../api/security.disable_user.json | 3 ++ .../api/security.enable_user.json | 3 ++ .../api/security.get_api_key.json | 3 ++ .../api/security.get_builtin_privileges.json | 3 ++ .../api/security.get_privileges.json | 3 ++ .../rest-api-spec/api/security.get_role.json | 3 ++ .../api/security.get_role_mapping.json | 3 ++ .../rest-api-spec/api/security.get_token.json | 4 ++ .../rest-api-spec/api/security.get_user.json | 3 ++ .../api/security.get_user_privileges.json | 3 ++ .../api/security.grant_api_key.json | 4 ++ .../api/security.has_privileges.json | 4 ++ .../api/security.invalidate_api_key.json | 4 ++ .../api/security.invalidate_token.json | 4 ++ .../api/security.put_privileges.json | 4 ++ .../rest-api-spec/api/security.put_role.json | 4 ++ .../api/security.put_role_mapping.json | 4 ++ .../rest-api-spec/api/security.put_user.json | 4 ++ .../api/slm.delete_lifecycle.json | 3 ++ .../api/slm.execute_lifecycle.json | 3 ++ .../api/slm.execute_retention.json | 3 ++ .../rest-api-spec/api/slm.get_lifecycle.json | 3 ++ .../rest-api-spec/api/slm.get_stats.json | 3 ++ .../rest-api-spec/api/slm.get_status.json | 3 ++ .../rest-api-spec/api/slm.put_lifecycle.json | 4 ++ .../rest-api-spec/api/slm.start.json | 3 ++ .../resources/rest-api-spec/api/slm.stop.json | 3 ++ .../rest-api-spec/api/sql.clear_cursor.json | 4 ++ .../rest-api-spec/api/sql.query.json | 4 ++ .../rest-api-spec/api/sql.translate.json | 4 ++ .../rest-api-spec/api/ssl.certificates.json | 3 ++ .../api/transform.delete_transform.json | 3 ++ .../api/transform.get_transform.json | 3 ++ .../api/transform.get_transform_stats.json | 3 ++ .../api/transform.preview_transform.json | 4 ++ .../api/transform.put_transform.json | 4 ++ .../api/transform.start_transform.json | 3 ++ .../api/transform.stop_transform.json | 3 ++ .../api/transform.update_transform.json | 4 ++ .../rest-api-spec/api/watcher.ack_watch.json | 3 ++ .../api/watcher.activate_watch.json | 3 ++ .../api/watcher.deactivate_watch.json | 3 ++ .../api/watcher.delete_watch.json | 3 ++ .../api/watcher.execute_watch.json | 4 ++ .../rest-api-spec/api/watcher.get_watch.json | 3 ++ .../rest-api-spec/api/watcher.put_watch.json | 4 ++ .../api/watcher.query_watches.json | 4 ++ .../rest-api-spec/api/watcher.start.json | 3 ++ .../rest-api-spec/api/watcher.stats.json | 3 ++ .../rest-api-spec/api/watcher.stop.json | 3 ++ .../rest-api-spec/api/xpack.info.json | 3 ++ .../rest-api-spec/api/xpack.usage.json | 3 ++ .../xpack/restart/funny-timeout-watch.json | 2 +- 359 files changed, 1281 insertions(+), 4 deletions(-) diff --git a/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/api/scripts_painless_context.json b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/api/scripts_painless_context.json index 6b16705c5e20..5f66ce1b4c30 100644 --- a/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/api/scripts_painless_context.json +++ b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/api/scripts_painless_context.json @@ -5,6 +5,9 @@ "url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html", "description": "Returns the painless contexts" }, + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json b/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json index ee4e540be4e2..51f88784a7bd 100644 --- a/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json +++ b/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json @@ -5,6 +5,9 @@ "description": "Example" }, "stability" : "stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url": { "paths": [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json b/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json index f7c0d69805ca..c1771144590d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json @@ -5,6 +5,10 @@ "description":"Allows to perform multiple index/update/delete operations in a single request." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/x-ndjson"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json index 1ba12b00c817..c75d0dcf6086 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json @@ -5,6 +5,9 @@ "description":"Shows information about currently configured aliases to indices including filter and routing infos." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json index 7b3dc70b03c3..d23b49275150 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json @@ -5,6 +5,9 @@ "description":"Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json index 8cfaddf8db83..42fd20222591 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json @@ -5,6 +5,9 @@ "description":"Provides quick access to the document count of the entire cluster, or individual indices." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json index 9fbde4736b5e..f214a589dd24 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json @@ -5,6 +5,9 @@ "description":"Shows how much heap memory is currently being used by fielddata on every data node in the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json index bd7454b8046b..5eda981dd72b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json @@ -5,6 +5,9 @@ "description":"Returns a concise representation of the cluster health." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json index 54ab6d6e5168..38a44b9fe412 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json @@ -5,6 +5,9 @@ "description":"Returns help for the Cat APIs." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain" ] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json index 5d79baf371bd..6ea62a6572f5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json @@ -5,6 +5,9 @@ "description":"Returns information about indices: number of primaries and replicas, document counts, disk size, ..." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json index 63fe159ee56b..3f48ee71b652 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json @@ -5,6 +5,9 @@ "description":"Returns information about the master node." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json index e688e23cab08..e14139301a77 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json @@ -5,6 +5,9 @@ "description":"Returns information about custom node attributes." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json index 849d6f243315..24fb0c549814 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json @@ -5,6 +5,9 @@ "description":"Returns basic statistics about performance of cluster nodes." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json index 36fa33be495c..6b7885f12bf5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json @@ -5,6 +5,9 @@ "description":"Returns a concise representation of the cluster pending tasks." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json index d5346c6d9e7b..6ccfcf019b45 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json @@ -5,6 +5,9 @@ "description":"Returns information about installed plugins across nodes node." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json index 7baf0b8ded60..1503eb35b4c3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json @@ -5,6 +5,9 @@ "description":"Returns information about index shard recoveries, both on-going completed." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json index 84d9965907ff..aef622fbb761 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json @@ -5,6 +5,9 @@ "description":"Returns information about snapshot repositories registered in the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json index 472ef7fd22ee..f63dd40fa8bd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json @@ -5,6 +5,9 @@ "description":"Provides low-level information about the segments in the shards of an index." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json index 565be0e730d3..44ccb0ec38d3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json @@ -5,6 +5,9 @@ "description":"Provides a detailed view of shard allocation on nodes." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json index 757c2cfbe7dc..d62a251cb959 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json @@ -5,6 +5,9 @@ "description":"Returns all snapshots in a specific repository." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json index ae25ab10c013..129598fb649c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json @@ -5,6 +5,9 @@ "description":"Returns information about the tasks currently executing on one or more nodes in the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json index 53fc872b5dae..24c93cdf3f35 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json @@ -5,6 +5,9 @@ "description":"Returns information about existing templates." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json index 65ffd9643d81..9282ec432cd0 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json @@ -5,6 +5,9 @@ "description":"Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json b/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json index b0e50045cd7c..457448e66d6e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json @@ -5,6 +5,10 @@ "description":"Explicitly clears the search context for a scroll." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json","text/plain"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json index e46218a781e1..55f39002b32f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json @@ -5,6 +5,10 @@ "description":"Provides explanations for shard allocations in the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json index 25ed4d18a978..62045d57e112 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json @@ -5,6 +5,9 @@ "description":"Deletes a component template" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_voting_config_exclusions.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_voting_config_exclusions.json index d3db7dedd6ca..fa0131f0c7cf 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_voting_config_exclusions.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_voting_config_exclusions.json @@ -5,6 +5,9 @@ "description":"Clears cluster voting config exclusions." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.exists_component_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.exists_component_template.json index e7dc28fc5727..585d8cd11fe8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.exists_component_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.exists_component_template.json @@ -5,6 +5,9 @@ "description":"Returns information about whether a particular component template exist" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json index 402bbdef44ef..514f9c8ff89a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json @@ -5,6 +5,9 @@ "description":"Returns one or more component templates" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json index 6f91fbbedf5d..e9698a48f66b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json @@ -5,6 +5,9 @@ "description":"Returns cluster settings." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json index 894b141f2f3b..62bce4c0ebe5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json @@ -5,6 +5,9 @@ "description":"Returns basic information about the health of the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json index d940adf9aef5..185924a28375 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json @@ -5,6 +5,9 @@ "description":"Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.post_voting_config_exclusions.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.post_voting_config_exclusions.json index 4dbaf80c33b8..37603309b434 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.post_voting_config_exclusions.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.post_voting_config_exclusions.json @@ -5,6 +5,9 @@ "description":"Updates the cluster voting config exclusions by node ids or node names." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json index 780939cbde54..f91a923a649c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json @@ -5,6 +5,10 @@ "description":"Creates or updates a component template" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json index f6b9a0863380..e368b79274c8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json @@ -5,6 +5,10 @@ "description":"Updates the cluster settings." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json index 4eac0b55ce6f..8944df88519c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json @@ -5,6 +5,9 @@ "description":"Returns the information about configured remote clusters." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json index b0e8054fc9e5..7bdca2e6f707 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json @@ -5,6 +5,10 @@ "description":"Allows to manually change the allocation of individual shards in the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json index 017705082d18..9978eb64d59d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json @@ -5,6 +5,9 @@ "description":"Returns a comprehensive information about the state of the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json index f36db0979f4f..1e890f9842f1 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json @@ -5,6 +5,9 @@ "description":"Returns high-level overview of cluster statistics." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/count.json b/rest-api-spec/src/main/resources/rest-api-spec/api/count.json index 93a450afff88..6b7a317cfb7d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/count.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/count.json @@ -5,6 +5,10 @@ "description":"Returns number of documents matching a query." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/create.json index 171f3da44d36..6332274ee942 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/create.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/create.json @@ -5,6 +5,10 @@ "description":"Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.delete_dangling_index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.delete_dangling_index.json index 1e3d74784591..8439bff7ec23 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.delete_dangling_index.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.delete_dangling_index.json @@ -5,6 +5,9 @@ "description": "Deletes the specified dangling index" }, "stability": "stable", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.import_dangling_index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.import_dangling_index.json index e9dce01a7672..3030ad87f640 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.import_dangling_index.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.import_dangling_index.json @@ -5,6 +5,9 @@ "description": "Imports the specified dangling index" }, "stability": "stable", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.list_dangling_indices.json b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.list_dangling_indices.json index dfc21f56ddfa..d17c7620db06 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.list_dangling_indices.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/dangling_indices.list_dangling_indices.json @@ -5,6 +5,9 @@ "description": "Returns all dangling indices." }, "stability": "stable", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json index 52ab302c6e5a..2aade10753fd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json @@ -5,6 +5,9 @@ "description":"Removes a document from the index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json index 8641c18382df..32ee84bf6452 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json @@ -5,6 +5,10 @@ "description":"Deletes documents matching the provided query." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json index 112bfc8a7d2e..94140587dd16 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query_rethrottle.json @@ -5,6 +5,9 @@ "description":"Changes the number of requests per second for a particular Delete By Query operation." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json index b38b97ae57c2..a52334c9ea88 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json @@ -5,6 +5,9 @@ "description":"Deletes a script." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json b/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json index a8e6b6786ca9..f63f5ae24975 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json @@ -5,6 +5,9 @@ "description":"Returns information about whether a document exists in an index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json b/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json index 3ae8d60ee6ed..8fff1923b533 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/exists_source.json @@ -5,6 +5,9 @@ "description":"Returns information about whether a document source exists in an index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json b/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json index 7f630f7666f3..5a92dab6d3b9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json @@ -5,6 +5,10 @@ "description":"Returns information about why a specific matches (or doesn't match) a query." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json b/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json index 20a87c7da888..5679fd793ceb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/field_caps.json @@ -5,6 +5,9 @@ "description":"Returns the information about the capabilities of fields among multiple indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get.json index 36d08c0313bd..5c7f92d2ab28 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get.json @@ -5,6 +5,9 @@ "description":"Returns a document." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json index 14307bea2ef0..78722ee4d34a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json @@ -5,6 +5,9 @@ "description":"Returns a script." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_context.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_context.json index aa770ee9d9f2..9b0a41e5e0c7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_context.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_context.json @@ -5,6 +5,9 @@ "description":"Returns all script contexts." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_languages.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_languages.json index a5e06cb88901..2ad01021625b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_languages.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_languages.json @@ -5,6 +5,9 @@ "description":"Returns available script types, languages and contexts" }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json index d99a18824248..9215f9885b8f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json @@ -5,6 +5,9 @@ "description":"Returns the source of a document." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/index.json index b4865403331b..ee127c427739 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/index.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/index.json @@ -5,6 +5,10 @@ "description":"Creates or updates a document in an index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.add_block.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.add_block.json index 7389fb132282..e417deae5147 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.add_block.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.add_block.json @@ -5,6 +5,9 @@ "description":"Adds a block to an index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json index aa8e84c1985d..98452114aaf7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json @@ -5,6 +5,10 @@ "description":"Performs the analysis process on a text and return the tokens breakdown of the text." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json index 64c10a520c7c..1a5b2e7337e8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json @@ -5,6 +5,9 @@ "description":"Clears all or specific caches for one or more indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clone.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clone.json index d3a249583bd8..3838d9c39997 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clone.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clone.json @@ -5,6 +5,10 @@ "description": "Clones an index" }, "stability": "stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url": { "paths": [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json index f26c8e77a06a..720a0a17b07e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json @@ -5,6 +5,9 @@ "description":"Closes an index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json index 922183d628ac..f48d90953747 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json @@ -5,6 +5,10 @@ "description":"Creates an index with optional settings and mappings." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json index 53fdf44bb36a..030d6f305651 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json @@ -5,6 +5,9 @@ "description":"Deletes an index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json index 13abf70ca739..e8901e728f49 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json @@ -5,6 +5,9 @@ "description":"Deletes an alias." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_index_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_index_template.json index 60225667d378..c92b44c4a228 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_index_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_index_template.json @@ -5,6 +5,9 @@ "description":"Deletes an index template." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json index ca484a73e99f..dff8a607ff3d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json @@ -5,6 +5,9 @@ "description":"Deletes an index template." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json index 7539f44a81ee..6bfc4fd12295 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json @@ -5,6 +5,9 @@ "description":"Returns information about whether a particular index exists." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json index 66e5ce92cbbe..6bfb9fa73628 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json @@ -5,6 +5,9 @@ "description":"Returns information about whether a particular alias exists." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_index_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_index_template.json index 99471c50deef..204baa0cda3a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_index_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_index_template.json @@ -5,6 +5,9 @@ "description":"Returns information about whether a particular index template exists." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json index 9796bdd9d21f..99f0f8445e5e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json @@ -5,6 +5,9 @@ "description":"Returns information about whether a particular index template exists." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json index c854d0e8fd84..f779900a7c6c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json @@ -5,6 +5,9 @@ "description":"Returns information about whether a particular document type exists. (DEPRECATED)" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json index 35138b920466..450255bc51bd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json @@ -5,6 +5,9 @@ "description":"Performs the flush operation on one or more indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json index 6036b75bb83e..6d504a31a9a5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.forcemerge.json @@ -5,6 +5,9 @@ "description":"Performs the force merge operation on one or more indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json index 90a1274ecb05..9c06a644afda 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json @@ -5,6 +5,9 @@ "description":"Returns information about one or more indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json index 5bfdd985a0a8..42c086d56332 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json @@ -5,6 +5,9 @@ "description":"Returns an alias." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json index 0e71b6d39577..1cb1e155796e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json @@ -5,6 +5,9 @@ "description":"Returns mapping for one or more fields." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_index_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_index_template.json index 870eeaea0859..b2ed1e3a05bb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_index_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_index_template.json @@ -5,6 +5,9 @@ "description":"Returns an index template." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json index 24fd66806969..659f00b462fe 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json @@ -5,6 +5,9 @@ "description":"Returns mappings for one or more indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json index 68e325446d3d..7f2342a1f3ce 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json @@ -5,6 +5,9 @@ "description":"Returns settings for one or more indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json index 337016763ad0..f01536a9d371 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json @@ -5,6 +5,9 @@ "description":"Returns an index template." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json index 1dab468ce4ff..a8c10b5f1d2f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json @@ -5,6 +5,9 @@ "description":"Opens an index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json index 603f24b665eb..8aed8191ab92 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json @@ -5,6 +5,10 @@ "description":"Creates or updates an alias." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_index_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_index_template.json index b06df4733a57..a4b9d153c7f1 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_index_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_index_template.json @@ -5,6 +5,10 @@ "description":"Creates or updates an index template." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json index 451cbccd8d32..9f0fa4bb4b4c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json @@ -5,6 +5,10 @@ "description":"Updates the index mappings." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json index 66fe23bab8ba..f152cf9d7989 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json @@ -5,6 +5,10 @@ "description":"Updates the index settings." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json index 75a328af929e..afefc2d5f17d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json @@ -5,6 +5,10 @@ "description":"Creates or updates an index template." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json index 8b134bbe2413..03ac164f13c9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json @@ -5,6 +5,9 @@ "description":"Returns information about ongoing index shard recoveries." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json index 950e0a62489f..615e861166d7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json @@ -5,6 +5,9 @@ "description":"Performs the refresh operation in one or more indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.resolve_index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.resolve_index.json index 41d609818dbc..7624e7b6d5ac 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.resolve_index.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.resolve_index.json @@ -5,6 +5,9 @@ "description":"Returns information about any matching indices, aliases, and data streams" }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json index fef1f03d1c9a..9755faefd978 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.rollover.json @@ -5,6 +5,10 @@ "description":"Updates an alias to point to a new index when the existing index\nis considered to be too large or too old." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json index 83430a9a8560..d09126902aa6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json @@ -5,6 +5,9 @@ "description":"Provides low-level information about segments in a Lucene index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json index 7e48e9991617..0d40428a4be5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shard_stores.json @@ -5,6 +5,9 @@ "description":"Provides store information for shard copies of indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json index b4a489d23030..d1dd77c17fbd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.shrink.json @@ -5,6 +5,10 @@ "description":"Allow to shrink an existing index into a new index with fewer primary shards." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_index_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_index_template.json index 889310e97714..4c4131b55d8c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_index_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_index_template.json @@ -5,6 +5,10 @@ "description": "Simulate matching the given index name against the index templates in the system" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_template.json index 2511ca637e6c..81992a198bd5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.simulate_template.json @@ -5,6 +5,10 @@ "description": "Simulate resolving the given template name or body" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json index 96517918defe..9f578aaea81a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.split.json @@ -5,6 +5,10 @@ "description":"Allows you to split an existing index into a new index with more primary shards." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json index 2a3659dfb892..66f1f399e224 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json @@ -5,6 +5,9 @@ "description":"Provides statistics on operations happening in an index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json index d4a222f2061c..74d46e4c0784 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json @@ -5,6 +5,10 @@ "description":"Updates index aliases." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json index 3becec003a9e..8fcadaa7707c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json @@ -5,6 +5,10 @@ "description":"Allows a user to validate a potentially expensive query without executing it." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/info.json index 1c48f05d02e9..1ce6f1f1c45a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/info.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/info.json @@ -5,6 +5,9 @@ "description":"Returns basic information about the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json index 29b4219038cd..475fbf6f8e7e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.delete_pipeline.json @@ -5,6 +5,9 @@ "description":"Deletes a pipeline." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json index 65fc4f91b2b4..b3a99ae05bde 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.get_pipeline.json @@ -5,6 +5,9 @@ "description":"Returns a pipeline." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json index ac8ad6e6d066..b76eb94cfd61 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.processor_grok.json @@ -5,6 +5,9 @@ "description":"Returns a list of the built-in patterns." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json index 4d2105866791..b2519972c261 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.put_pipeline.json @@ -5,6 +5,10 @@ "description":"Creates or updates a pipeline." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json index 8122f7a0ffa1..adfcbdb21b55 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ingest.simulate.json @@ -5,6 +5,10 @@ "description":"Allows to simulate a pipeline with example documents." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json b/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json index 12496718e714..cc1067c8ea68 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json @@ -5,6 +5,10 @@ "description":"Allows to get multiple documents in one request." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json index 968ccfd8e718..5671e7ba627f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json @@ -5,6 +5,10 @@ "description":"Allows to execute several search operations in one request." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/x-ndjson"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json index 2d8be2f1cf40..d1b8f1345218 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch_template.json @@ -5,6 +5,10 @@ "description":"Allows to execute several search template operations in one request." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/x-ndjson"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json b/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json index 0afe5a316b28..e578b4a260a3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json @@ -5,6 +5,10 @@ "description":"Returns multiple termvectors in one request." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json index e69b6acd21c8..088b138278d6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json @@ -5,6 +5,9 @@ "description":"Returns information about hot threads on each node in the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json index 37279edd3106..7fe975cd97e4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json @@ -5,6 +5,9 @@ "description":"Returns information about nodes in the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json index fd5420d02888..58429ea94b03 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.reload_secure_settings.json @@ -5,6 +5,10 @@ "description":"Reloads secure settings." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": [ "application/json" ] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json index fcc0f1d14da2..ef24b9ebb127 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json @@ -5,6 +5,9 @@ "description":"Returns statistical information about nodes in the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json index 5acbf7a51116..98c72ddf824b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.usage.json @@ -5,6 +5,9 @@ "description":"Returns low-level information about REST actions usage on nodes." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json index 0e787e039d09..61e02a9f3289 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json @@ -5,6 +5,9 @@ "description":"Returns whether the cluster is running." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json index 750f7fdf4eb6..f699d84fdb2e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json @@ -5,6 +5,10 @@ "description":"Creates or updates a script." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json b/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json index eadf24019239..a757323d3b4e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/rank_eval.json @@ -5,6 +5,10 @@ "description":"Allows to evaluate the quality of ranked search results over a set of typical search queries" }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json index 2fbaf86cab61..0506c29065f9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json @@ -5,6 +5,10 @@ "description":"Allows to copy documents from one index to another, optionally filtering the source\ndocuments by a query, changing the destination index settings, or fetching the\ndocuments from a remote cluster." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json index d91365b3c49a..884d83040ad1 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex_rethrottle.json @@ -5,6 +5,9 @@ "description":"Changes the number of requests per second for a particular Reindex operation." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json index c2c474edd985..24ab051e52ea 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/render_search_template.json @@ -5,6 +5,10 @@ "description":"Allows to use the Mustache language to pre-render a search definition." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json b/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json index 9f761fb452ba..e5456ffdec7d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/scripts_painless_execute.json @@ -5,6 +5,10 @@ "description":"Allows an arbitrary script to be executed and a result to be returned" }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json b/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json index ea0cbe267532..057d873e3cdb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json @@ -5,6 +5,10 @@ "description":"Allows to retrieve a large numbers of results from a single search request." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/search.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search.json index 03ca18705817..44d692b8d7dd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/search.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/search.json @@ -5,6 +5,10 @@ "description":"Returns results matching a query." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json index 74b7055b4c4b..b0e66fd1e939 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json @@ -5,6 +5,9 @@ "description":"Returns information about the indices and shards that a search request would be executed against." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json index 1d239376b3fe..892d6b73d3cd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json @@ -5,6 +5,10 @@ "description":"Allows to use the Mustache language to pre-render a search definition." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { @@ -101,7 +105,7 @@ }, "body":{ "description":"The search definition template and its params", - "required":true + "required": true } } } diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.cleanup_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.cleanup_repository.json index 727fe7917679..bab0b3967e87 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.cleanup_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.cleanup_repository.json @@ -5,6 +5,9 @@ "description": "Removes stale data from repository." }, "stability": "stable", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.clone.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.clone.json index 18122bc209b0..ea7c6fc0802e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.clone.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.clone.json @@ -5,6 +5,10 @@ "description":"Clones indices from one snapshot into another snapshot in the same repository." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json index da8cb9916f58..c212c7001a04 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json @@ -5,6 +5,10 @@ "description":"Creates a snapshot in a repository." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json index 431ac3c68c0b..5cb936682368 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json @@ -5,6 +5,10 @@ "description":"Creates a repository." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json index 0f3bb0918ac6..7be565619617 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json @@ -5,6 +5,9 @@ "description":"Deletes one or more snapshots." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json index b60aeba83a32..1dc811d5ac60 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json @@ -5,6 +5,9 @@ "description":"Deletes a repository." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json index 20006f6f499b..3843d55c5fe2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json @@ -5,6 +5,9 @@ "description":"Returns information about a snapshot." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json index 8c91caa4fe81..2a96787caba6 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json @@ -5,6 +5,9 @@ "description":"Returns information about a repository." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json index 697ea395dcc2..0cabeaabb680 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json @@ -5,6 +5,10 @@ "description":"Restores a snapshot." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json index 70a7ba23ef50..d6e577f3fe58 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json @@ -5,6 +5,9 @@ "description":"Returns information about the status of a snapshot." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json index de638c19d4a0..116117b6e78e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json @@ -5,6 +5,9 @@ "description":"Verifies a repository." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json index 32f90abab60f..97fd36c698b3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.cancel.json @@ -5,6 +5,9 @@ "description":"Cancels a task, if it can be cancelled through an API." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json index 63646ae539de..fd8f7b9420f5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.get.json @@ -5,6 +5,9 @@ "description":"Returns information about a task." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json index 7137114c96bf..565ca66c0851 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/tasks.list.json @@ -5,6 +5,9 @@ "description":"Returns a list of tasks." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json b/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json index d9ba7c0b36cc..163c227a2c21 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json @@ -5,6 +5,10 @@ "description":"Returns information and statistics about terms in the fields of a particular document." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json index 81bc101600ae..9cd75666a4ed 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json @@ -5,6 +5,10 @@ "description":"Updates a document with a script or partial document." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json index 86fa8a60db43..4d4f996460ae 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json @@ -5,6 +5,10 @@ "description":"Performs an update on every document in the index without changing the source,\nfor example to pick up a mapping change." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json index bd70f6e1231c..770121223d76 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query_rethrottle.json @@ -5,6 +5,9 @@ "description":"Changes the number of requests per second for a particular Update By Query operation." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/rest-api-spec/src/main/resources/schema.json b/rest-api-spec/src/main/resources/schema.json index 6ae10164ee7b..f4263300c9c8 100644 --- a/rest-api-spec/src/main/resources/schema.json +++ b/rest-api-spec/src/main/resources/schema.json @@ -33,6 +33,9 @@ "type": "string", "enum": ["stable", "beta", "experimental", "private"] }, + "headers": { + "$ref": "#/definitions/Headers" + }, "url": { "$ref": "#/definitions/Url" }, @@ -77,6 +80,7 @@ "required": [ "documentation", "stability", + "headers", "url" ], "title": "API components", @@ -174,6 +178,29 @@ "title": "Documentation", "description": "API documentation including a link to the public reference and a short description" }, + "Headers": { + "type": "object", + "additionalProperties": false, + "properties": { + "accept": { + "type": "array", + "items": { + "type": "string", + "minItems": 1 + } + }, + "content_type": { + "type": "array", + "items": { + "type": "string", + "minItems": 1 + } + } + }, + "required": ["accept"], + "title": "Headers the API understands", + "description": "Documents the headers the API supports, at a minimum this must document the Accept header. The Content-Type header should be documented if the API supports a body" + }, "Parts": { "type": "object", "additionalProperties": true, diff --git a/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApi.java b/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApi.java index ce8de1635699..ab1c070cfd25 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApi.java +++ b/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApi.java @@ -43,6 +43,8 @@ public class ClientYamlSuiteRestApi { private Map params = new HashMap<>(); private Body body = Body.NOT_SUPPORTED; private Stability stability; + private List responseMimeTypes; + private List requestMimeTypes; public enum Stability { EXPERIMENTAL, BETA, STABLE @@ -121,6 +123,19 @@ public void setStability(String stability) { public Stability getStability() { return this.stability; } + public void setResponseMimeTypes(List mimeTypes) { + this.responseMimeTypes = mimeTypes; + } + + public List getResponseMimeTypes() { return this.responseMimeTypes; } + + public void setRequestMimeTypes(List mimeTypes) { + this.requestMimeTypes = mimeTypes; + } + + public List getRequestMimeTypes() { return this.requestMimeTypes; } + + /** * Returns the best matching paths based on the provided parameters, which may include either path parts or query_string parameters. * The best path is the one that has exactly the same number of placeholders to replace diff --git a/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParser.java b/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParser.java index 92e17c911b4b..116f9dfca1e8 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParser.java +++ b/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParser.java @@ -21,11 +21,15 @@ import org.elasticsearch.common.ParseField; import org.elasticsearch.common.ParsingException; import org.elasticsearch.common.xcontent.ObjectParser; +import org.elasticsearch.common.xcontent.XContentParseException; import org.elasticsearch.common.xcontent.XContentParser; import java.io.IOException; import java.util.HashSet; +import java.util.List; +import java.util.Objects; import java.util.Set; +import java.util.stream.Collectors; /** * Parser for a {@link ClientYamlSuiteRestApi}. @@ -60,6 +64,29 @@ public ClientYamlSuiteRestApi parse(String location, XContentParser parser) thro if ("documentation".equals(parser.currentName())) { parser.nextToken(); parser.skipChildren(); + } else if ("headers".equals(parser.currentName())) { + assert parser.nextToken() == XContentParser.Token.START_OBJECT; + String headerName = null; + while(parser.nextToken() != XContentParser.Token.END_OBJECT) { + if (parser.currentToken() == XContentParser.Token.FIELD_NAME) { + headerName = parser.currentName(); + } + if (headerName.equals("accept")) { + if (parser.nextToken() != XContentParser.Token.START_ARRAY) { + throw new ParsingException(parser.getTokenLocation(), + apiName + " API: [headers.accept] must be an array"); + } + List acceptMimeTypes = getStringsFromArray(parser, "accept"); + restApi.setResponseMimeTypes(acceptMimeTypes); + } else if (headerName.equals("content_type")) { + if (parser.nextToken() != XContentParser.Token.START_ARRAY) { + throw new ParsingException(parser.getTokenLocation(), + apiName + " API: [headers.content_type] must be an array"); + } + List requestMimeTypes = getStringsFromArray(parser, "content_type"); + restApi.setRequestMimeTypes(requestMimeTypes); + } + } } else if ("stability".equals(parser.currentName())) { parser.nextToken(); restApi.setStability(parser.textOrNull()); @@ -193,6 +220,20 @@ public ClientYamlSuiteRestApi parse(String location, XContentParser parser) thro return restApi; } + private List getStringsFromArray(XContentParser parser, String key) throws IOException { + return parser + .list().stream() + .filter(Objects::nonNull) + .map(o -> { + if (o instanceof String) { + return (String) o; + } else { + throw new XContentParseException( + key + " array may only contain strings but found [" + o.getClass().getName() + "] [" + o + "]"); + } + }).collect(Collectors.toList()); + } + private static class Parameter { private boolean required; public boolean isRequired() { diff --git a/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserTests.java index 2d7673751bc5..60eae68cb519 100644 --- a/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserTests.java +++ b/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiParserTests.java @@ -28,6 +28,7 @@ import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.hasEntry; import static org.hamcrest.Matchers.notNullValue; +import static org.hamcrest.Matchers.nullValue; public class ClientYamlSuiteRestApiParserTests extends AbstractClientYamlTestFragmentParserTestCase { public void testParseRestSpecIndexApi() throws Exception { @@ -59,6 +60,8 @@ public void testParseRestSpecIndexApi() throws Exception { restApi.getParams().forEach((key, value) -> assertThat(value, equalTo(false))); assertThat(restApi.isBodySupported(), equalTo(true)); assertThat(restApi.isBodyRequired(), equalTo(true)); + assertThat(restApi.getRequestMimeTypes(), containsInAnyOrder("application/json", "a/mime-type")); + assertThat(restApi.getResponseMimeTypes(), containsInAnyOrder("application/json")); } public void testParseRestSpecGetTemplateApi() throws Exception { @@ -86,6 +89,8 @@ public void testParseRestSpecGetTemplateApi() throws Exception { assertThat(restApi.getParams().size(), equalTo(0)); assertThat(restApi.isBodySupported(), equalTo(false)); assertThat(restApi.isBodyRequired(), equalTo(false)); + assertThat(restApi.getRequestMimeTypes(), nullValue()); + assertThat(restApi.getResponseMimeTypes(), containsInAnyOrder("application/json")); } public void testParseRestSpecCountApi() throws Exception { @@ -167,6 +172,7 @@ public void testRequiredBodyWithoutUrlParts() throws Exception { " \"description\":\"Returns number of documents matching a query.\"\n" + " },\n" + " \"stability\": \"stable\",\n" + + " \"headers\": { \"accept\": [\"application/json\"] },\n" + " \"url\":{\n" + " \"paths\":[\n" + " {\n" + @@ -216,7 +222,8 @@ public void testRequiredBodyWithoutUrlParts() throws Exception { " }\n" + " },\n" + " \"body\":{\n" + - " \"description\":\"A query to restrict the results specified with the Query DSL (optional)\"\n" + + " \"description\":\"A query to restrict the results specified with the Query DSL (optional)\",\n" + + " \"content_type\": [\"application/json\"]\n" + " }\n" + " }\n" + "}\n\n"; @@ -227,6 +234,7 @@ public void testRequiredBodyWithoutUrlParts() throws Exception { " \"url\":\"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html\",\n" + " \"description\":\"Returns an index template.\"\n" + " },\n" + + " \"headers\": { \"accept\": [\"application/json\"] },\n" + " \"stability\": \"stable\",\n" + " \"url\":{\n" + " \"paths\":[\n" + @@ -260,6 +268,10 @@ public void testRequiredBodyWithoutUrlParts() throws Exception { " \"description\":\"Creates or updates a document in an index.\"\n" + " },\n" + " \"stability\": \"stable\",\n" + + " \"headers\": { " + + " \"accept\": [\"application/json\"],\n " + + " \"content_type\": [\"application/json\", \"a/mime-type\"]\n " + + " },\n" + " \"url\":{\n" + " \"paths\":[\n" + " {\n" + @@ -336,6 +348,7 @@ public void testRequiredBodyWithoutUrlParts() throws Exception { " },\n" + " \"body\":{\n" + " \"description\":\"The document\",\n" + + " \"content_type\": [\"application/json\"],\n" + " \"required\":true\n" + " }\n" + " }\n" + diff --git a/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiTests.java b/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiTests.java index 934092ba76fb..a57b13d48104 100644 --- a/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiTests.java +++ b/test/framework/src/test/java/org/elasticsearch/test/rest/yaml/restspec/ClientYamlSuiteRestApiTests.java @@ -118,6 +118,7 @@ public void testPathMatching() throws IOException { " \"description\":\"Creates or updates a document in an index.\"\n" + " },\n" + " \"stability\":\"stable\",\n" + + " \"headers\": { \"accept\": [\"application/json\"] },\n" + " \"url\":{\n" + " \"paths\":[\n" + " {\n" + diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.delete.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.delete.json index 70794f4a8b76..edc2c39ef5cf 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.delete.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.delete.json @@ -5,6 +5,9 @@ "description": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.get.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.get.json index 76c4650ab079..eed5c7a1481a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.get.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.get.json @@ -5,6 +5,9 @@ "description": "Retrieves the results of a previously submitted async search request given its ID." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.status.json index 54d56282513c..1268da06e4cc 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.status.json @@ -5,6 +5,9 @@ "description": "Retrieves the status of a previously submitted async search request given its ID." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.submit.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.submit.json index 70a7e6ee43d2..2c83abe295d9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.submit.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/async_search.submit.json @@ -5,6 +5,10 @@ "description": "Executes a search request asynchronously." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json index aeab848247dd..f360ec097591 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json @@ -5,6 +5,9 @@ "description":"Deletes an autoscaling policy." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json index 8e5654025b58..343d20dddad4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json @@ -5,6 +5,9 @@ "description": "Gets the current autoscaling capacity based on the configured autoscaling policy." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json index 309f9a9a559b..e00bc2f41085 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json @@ -5,6 +5,9 @@ "description": "Retrieves an autoscaling policy." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json index 6d1fe4b63127..aaceb1a713eb 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json @@ -5,6 +5,10 @@ "description": "Creates a new autoscaling policy." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json index ec041788fffc..a22acf8acfb2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json @@ -5,6 +5,9 @@ "description": "Gets configuration and usage information about data frame analytics jobs." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_datafeeds.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_datafeeds.json index dac54c52f831..e155be6b86e3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_datafeeds.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_datafeeds.json @@ -5,6 +5,9 @@ "description": "Gets configuration and usage information about datafeeds." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_jobs.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_jobs.json index 2552b1c21937..12b78c286452 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_jobs.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_jobs.json @@ -5,6 +5,9 @@ "description": "Gets configuration and usage information about anomaly detection jobs." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_trained_models.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_trained_models.json index e129d3201abe..f2d8f52460ac 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_trained_models.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.ml_trained_models.json @@ -5,6 +5,9 @@ "description": "Gets configuration and usage information about inference trained models." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json index ad22e646f21b..37b278224149 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/cat.transforms.json @@ -5,6 +5,9 @@ "description": "Gets configuration and usage information about transforms." }, "stability":"stable", + "headers":{ + "accept": [ "text/plain", "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json index f9e70a1f6ac9..aa7dbf6721c7 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json @@ -5,6 +5,9 @@ "description": "Deletes auto-follow patterns." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json index be3dfc752175..342ccc910674 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow.json @@ -5,6 +5,10 @@ "description": "Creates a new follower index configured to follow the referenced leader index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json index 858eab0b9180..8e6d2305cb95 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_info.json @@ -5,6 +5,9 @@ "description": "Retrieves information about all follower indices, including parameters and status for each follower index" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json index 1abe53bd21c2..1ac31585a2b5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.follow_stats.json @@ -5,6 +5,9 @@ "description": "Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json index d0df2f164feb..79c3fee5f72e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.forget_follower.json @@ -5,6 +5,10 @@ "description": "Removes the follower retention leases from the leader." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json index b89587d2611f..0fa16aedec3d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json @@ -5,6 +5,9 @@ "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_auto_follow_pattern.json index 711e3deb3193..cc0146ebbae1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_auto_follow_pattern.json @@ -5,6 +5,9 @@ "description": "Pauses an auto-follow pattern" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json index f45947b1a872..60fd378593c4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.pause_follow.json @@ -5,6 +5,9 @@ "description": "Pauses a follower index. The follower index will not fetch any additional operations from the leader index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json index 79a498da16dc..fe14c46d6ad2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json @@ -5,6 +5,10 @@ "description": "Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_auto_follow_pattern.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_auto_follow_pattern.json index e6c3d268b164..22855428a3b2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_auto_follow_pattern.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_auto_follow_pattern.json @@ -5,6 +5,9 @@ "description": "Resumes an auto-follow pattern that has been paused" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json index de1945f347b6..d19dca5075b4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.resume_follow.json @@ -5,6 +5,10 @@ "description": "Resumes a follower index that has been paused" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json index dc70f1a3971d..67267ff8863f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.stats.json @@ -5,6 +5,9 @@ "description": "Gets all stats related to cross-cluster replication." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json index c5db9219a395..6fa1dbea4c61 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ccr.unfollow.json @@ -5,6 +5,9 @@ "description": "Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/close_point_in_time.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/close_point_in_time.json index 16a4aabd5bf0..a5b1f34ea6aa 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/close_point_in_time.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/close_point_in_time.json @@ -5,6 +5,9 @@ "description":"Close a point in time" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.delete_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.delete_transform.json index 28c90b604f68..c03d4a33288e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.delete_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.delete_transform.json @@ -5,6 +5,9 @@ "description":"Deletes an existing transform." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform.json index 22726a959633..276a673cd5ac 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform.json @@ -5,6 +5,9 @@ "description":"Retrieves configuration information for transforms." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform_stats.json index 7822f3ce5c04..0082e09d5bd8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.get_transform_stats.json @@ -5,6 +5,9 @@ "description":"Retrieves usage information for transforms." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.preview_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.preview_transform.json index 90b9b9173aaa..43fe1cf04c0b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.preview_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.preview_transform.json @@ -5,6 +5,10 @@ "description":"Previews a transform." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.put_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.put_transform.json index ce86e733ba51..0a11b609c02b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.put_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.put_transform.json @@ -5,6 +5,10 @@ "description":"Instantiates a transform." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.start_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.start_transform.json index fd9e25619d76..1508e5b349f4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.start_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.start_transform.json @@ -5,6 +5,9 @@ "description":"Starts one or more transforms." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.stop_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.stop_transform.json index 8938ec5bc8e1..4b907e0b945e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.stop_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.stop_transform.json @@ -5,6 +5,9 @@ "description":"Stops one or more transforms." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.update_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.update_transform.json index 97e1821b53c2..75ae1619dfb9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.update_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/data_frame_transform_deprecated.update_transform.json @@ -5,6 +5,10 @@ "description":"Updates certain properties of a transform." }, "stability":"beta", + "headers":{ + "accept":[ "application/json"], + "content_type":["application/json"] + }, "url":{ "paths":[ { @@ -34,7 +38,7 @@ } }, "body":{ - "description":"The update transform definition", + "description" :"The update transform definition", "required":true } } diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.delete_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.delete_policy.json index f7a183025108..4402637abfff 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.delete_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.delete_policy.json @@ -5,6 +5,9 @@ "description": "Deletes an existing enrich policy and its enrich index." }, "stability" : "stable", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json index a448d91062cc..7d1007ecd2d0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.execute_policy.json @@ -5,6 +5,9 @@ "description": "Creates the enrich index for an existing enrich policy." }, "stability" : "stable", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json index 32bdf01f3400..db4a584abf7a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.get_policy.json @@ -5,6 +5,9 @@ "description": "Gets information about an enrich policy." }, "stability" : "stable", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.put_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.put_policy.json index 107871584436..17acfb8fc6cd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.put_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.put_policy.json @@ -5,6 +5,10 @@ "description": "Creates a new enrich policy." }, "stability" : "stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url": { "paths": [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.stats.json index 153ee42b7a7b..149039b55ee3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/enrich.stats.json @@ -5,6 +5,9 @@ "description": "Gets enrich coordinator statistics and information about enrich policies that are currently executing." }, "stability" : "stable", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.delete.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.delete.json index 47b3990adcb0..9fb41fb1e487 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.delete.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.delete.json @@ -5,6 +5,9 @@ "description": "Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.get.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.get.json index 9271f43edf73..a2cbfa78a117 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.get.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.get.json @@ -5,6 +5,9 @@ "description": "Returns async results from previously executed Event Query Language (EQL) search" }, "stability": "beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.search.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.search.json index c371851deeb5..5b6a93f39fbd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.search.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/eql.search.json @@ -5,6 +5,10 @@ "description": "Returns results matching a query expressed in Event Query Language (EQL)" }, "stability": "beta", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json index 575ba9c690c9..39cf045eeb19 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/graph.explore.json @@ -5,6 +5,10 @@ "description": "Explore extracted and summarized information about the documents and terms in an index." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json index 59c14b3c9e2b..cfd7efa5a783 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.delete_lifecycle.json @@ -5,6 +5,9 @@ "description": "Deletes the specified lifecycle policy definition. A currently used policy cannot be deleted." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json index 9a8f11ae5bc0..08f1c2df7707 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.explain_lifecycle.json @@ -5,6 +5,9 @@ "description": "Retrieves information about the index's current lifecycle state, such as the currently executing phase, action, and step." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json index 6846d92b97e0..ce30c7ae08e4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_lifecycle.json @@ -5,6 +5,9 @@ "description": "Returns the specified policy definition. Includes the policy version and last modified date." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json index 1808e903a68f..4eeaf67c45a3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.get_status.json @@ -5,6 +5,9 @@ "description":"Retrieves the current index lifecycle management (ILM) status." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json index c3b397ba8a8e..21720d951d71 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.move_to_step.json @@ -5,6 +5,10 @@ "description":"Manually moves an index into the specified step and executes that step." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json index 260292118a7b..544bf6f7500b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.put_lifecycle.json @@ -5,6 +5,10 @@ "description":"Creates a lifecycle policy" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json index e39c95f68d7e..07bb24f5571b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.remove_policy.json @@ -5,6 +5,9 @@ "description":"Removes the assigned lifecycle policy and stops managing the specified index" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json index ab957713db01..dee75607881f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.retry.json @@ -5,6 +5,9 @@ "description":"Retries executing the policy for an index that is in the ERROR step." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json index 56ca5a4ad4c4..3f07499f7495 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.start.json @@ -5,6 +5,9 @@ "description":"Start the index lifecycle management (ILM) plugin." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json index 9604499cecaf..1e2ada7b7ac6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ilm.stop.json @@ -5,6 +5,9 @@ "description":"Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.create_data_stream.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.create_data_stream.json index 693f91a561de..398092ddeeea 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.create_data_stream.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.create_data_stream.json @@ -5,6 +5,9 @@ "description":"Creates a data stream" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.data_streams_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.data_streams_stats.json index 75922e30a9ae..153ba42c5ea1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.data_streams_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.data_streams_stats.json @@ -5,6 +5,9 @@ "description":"Provides statistics on operations happening in a data stream." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.delete_data_stream.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.delete_data_stream.json index c9e7f995c3a0..871e9bdcf439 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.delete_data_stream.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.delete_data_stream.json @@ -5,6 +5,9 @@ "description":"Deletes a data stream." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json index 2966db1d015b..5546c79d9d20 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.freeze.json @@ -5,6 +5,9 @@ "description":"Freezes an index. A frozen index has almost no overhead on the cluster (except for maintaining its metadata in memory) and is read-only." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.get_data_stream.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.get_data_stream.json index ab0d4de8bb77..66ae95ae5d2e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.get_data_stream.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.get_data_stream.json @@ -5,6 +5,9 @@ "description":"Returns data streams." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.migrate_to_data_stream.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.migrate_to_data_stream.json index 493b4b314f2f..0ae9d4310ea7 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.migrate_to_data_stream.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.migrate_to_data_stream.json @@ -5,6 +5,9 @@ "description":"Migrates an alias to a data stream" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.reload_search_analyzers.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.reload_search_analyzers.json index 2c0214976b30..46aab6916656 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.reload_search_analyzers.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.reload_search_analyzers.json @@ -5,6 +5,9 @@ "description":"Reloads an index's search analyzers and their resources." }, "stability" : "stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json index bc527f6f1958..738958324fec 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.unfreeze.json @@ -5,6 +5,9 @@ "description":"Unfreezes an index. When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json index 153f38b264ff..c810c0f36eaa 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.delete.json @@ -5,6 +5,9 @@ "description":"Deletes licensing information for the cluster" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json index 1820affbcf90..be1d79d4c441 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get.json @@ -5,6 +5,9 @@ "description":"Retrieves licensing information for the cluster" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json index d29bc9ffba6c..b2d6c8b86d56 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_basic_status.json @@ -5,6 +5,9 @@ "description":"Retrieves information about the status of the basic license." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json index 71c854b4f5d9..0d3a20dfd7dd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.get_trial_status.json @@ -5,6 +5,9 @@ "description":"Retrieves information about the status of the trial license." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json index 2b637f8577b4..cbd6d232eddc 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post.json @@ -5,6 +5,10 @@ "description":"Updates the license for the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json index 855a90cfe2a7..b21b919eb3d4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_basic.json @@ -5,6 +5,9 @@ "description":"Starts an indefinite basic license." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json index ebf5f7188011..b53c5d562096 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/license.post_start_trial.json @@ -5,6 +5,9 @@ "description":"starts a limited time trial license." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json index ca19147c0525..537c0c47126e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/migration.deprecations.json @@ -5,6 +5,9 @@ "description":"Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json index 5d738298c095..e98764e746ca 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.close_job.json @@ -5,6 +5,10 @@ "description":"Closes one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json index 7cf3501b2655..55152696e41a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar.json @@ -5,6 +5,9 @@ "description":"Deletes a calendar." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json index aa6e2d310a5f..7bfd397d8bbf 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_event.json @@ -5,6 +5,9 @@ "description":"Deletes scheduled events from a calendar." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json index 075ddcac10f5..492a7c84c6de 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_calendar_job.json @@ -5,6 +5,9 @@ "description":"Deletes anomaly detection jobs from a calendar." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_data_frame_analytics.json index 69f7cc9ffd6b..126fc763324f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_data_frame_analytics.json @@ -5,6 +5,9 @@ "description":"Deletes an existing data frame analytics job." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json index d3abeaa6c120..dc2640dad256 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_datafeed.json @@ -5,6 +5,9 @@ "description":"Deletes an existing datafeed." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json index 6b6a1ec03e80..7df1704ce01f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_expired_data.json @@ -5,6 +5,9 @@ "description":"Deletes expired and unused machine learning data." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json index 9556a0fe472b..dfdd9b977c6c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_filter.json @@ -5,6 +5,9 @@ "description":"Deletes a filter." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json index 08f4a79e0f86..054aac65e927 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_forecast.json @@ -5,6 +5,9 @@ "description":"Deletes forecasts from a machine learning job." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json index eb820441fddf..47d157f3639f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_job.json @@ -5,6 +5,9 @@ "description":"Deletes an existing anomaly detection job." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json index b6caa438acd1..0dd69d64ca19 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_model_snapshot.json @@ -5,6 +5,9 @@ "description":"Deletes an existing model snapshot." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_trained_model.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_trained_model.json index 2a86509643bc..20c40e6207e9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_trained_model.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.delete_trained_model.json @@ -5,6 +5,9 @@ "description":"Deletes an existing trained inference model that is currently not referenced by an ingest pipeline." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.estimate_model_memory.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.estimate_model_memory.json index 4a024f937225..1c44af173a20 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.estimate_model_memory.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.estimate_model_memory.json @@ -5,6 +5,10 @@ "description":"Estimates the model memory" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.evaluate_data_frame.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.evaluate_data_frame.json index fcabe43337f5..19815d966e6e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.evaluate_data_frame.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.evaluate_data_frame.json @@ -5,6 +5,10 @@ "description":"Evaluates the data frame analytics for an annotated index." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.explain_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.explain_data_frame_analytics.json index 895c868c31e1..3b2a35a33e2f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.explain_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.explain_data_frame_analytics.json @@ -5,6 +5,10 @@ "description":"Explains a data frame analytics config." }, "stability":"beta", + "headers":{ + "accept":[ "application/json"], + "content_type":["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json index 13594031fc60..dfb5c5da1723 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.find_file_structure.json @@ -5,6 +5,10 @@ "description":"Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/x-ndjson"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json index 3e2f7f365bab..17074b2d5098 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.flush_job.json @@ -5,6 +5,10 @@ "description":"Forces any buffered data to be processed by the job." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json index 28ba5132fba7..21a5f93bbedd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.forecast.json @@ -5,6 +5,9 @@ "description":"Predicts the future behavior of a time series by using its historical behavior." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json index 90f7cedea540..abb50a678188 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_buckets.json @@ -5,6 +5,10 @@ "description":"Retrieves anomaly detection job results for one or more buckets." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json index 0bb10780d1df..91d8872c60f7 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendar_events.json @@ -5,6 +5,9 @@ "description":"Retrieves information about the scheduled events in calendars." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json index ec6268acb49e..10da1004cebd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_calendars.json @@ -5,6 +5,10 @@ "description":"Retrieves configuration information for calendars." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json index 654a9635d53c..571c61d24716 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_categories.json @@ -5,6 +5,10 @@ "description":"Retrieves anomaly detection job results for one or more categories." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics.json index f81f52d6ae44..27de00ce47f4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics.json @@ -5,6 +5,9 @@ "description":"Retrieves configuration information for data frame analytics jobs." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics_stats.json index b40472b34985..b708cc1aa6f3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_data_frame_analytics_stats.json @@ -5,6 +5,9 @@ "description":"Retrieves usage information for data frame analytics jobs." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json index fda166f2b8f0..7e3f731e31d5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeed_stats.json @@ -5,6 +5,9 @@ "description":"Retrieves usage information for datafeeds." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json index 90dc0b72b1c7..56b63b4e9b40 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_datafeeds.json @@ -5,6 +5,9 @@ "description":"Retrieves configuration information for datafeeds." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json index b56518c524e6..75d94683ff4a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_filters.json @@ -5,6 +5,9 @@ "description":"Retrieves filters." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json index 25f68ab014af..819b8e8133ee 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_influencers.json @@ -5,6 +5,10 @@ "description":"Retrieves anomaly detection job results for one or more influencers." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json index cdabc22a2d0f..bbb69b0dfcc9 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_job_stats.json @@ -5,6 +5,9 @@ "description":"Retrieves usage information for anomaly detection jobs." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json index fce317332c97..68af13b97853 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_jobs.json @@ -5,6 +5,9 @@ "description":"Retrieves configuration information for anomaly detection jobs." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json index 5dafaa43d8e3..d39b952ed6a4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_model_snapshots.json @@ -5,6 +5,10 @@ "description":"Retrieves information about model snapshots." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json index 7bfa7e8eb30f..76506f114839 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_overall_buckets.json @@ -5,6 +5,10 @@ "description":"Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json index 9d8658972e6e..5a3e36e85c06 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_records.json @@ -5,6 +5,10 @@ "description":"Retrieves anomaly records for an anomaly detection job." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models.json index 045f84834727..1d41b08f906c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models.json @@ -5,6 +5,9 @@ "description":"Retrieves configuration information for a trained inference model." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models_stats.json index e335a9f0da9e..af59dcb1bb0d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.get_trained_models_stats.json @@ -5,6 +5,9 @@ "description":"Retrieves usage information for trained inference models." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json index 22c15971eb91..02e842bb65de 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.info.json @@ -5,6 +5,9 @@ "description":"Returns defaults and limits used by machine learning." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json index 436d45418062..3fe46ced8837 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.open_job.json @@ -5,6 +5,9 @@ "description":"Opens one or more anomaly detection jobs." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json index 42dcb38f66a1..1b695b8d69f0 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_calendar_events.json @@ -5,6 +5,10 @@ "description":"Posts scheduled events in a calendar." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json index 52b8f15805ba..e52d91b71e1f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.post_data.json @@ -5,6 +5,10 @@ "description":"Sends data to an anomaly detection job for analysis." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/x-ndjson", "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json index 30926f4abab5..3b1360b62375 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.preview_datafeed.json @@ -5,6 +5,9 @@ "description":"Previews a datafeed." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json index 88b747a7aeae..e7389c34223c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar.json @@ -5,6 +5,10 @@ "description":"Instantiates a calendar." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json index 3f478243b12b..66d097690529 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_calendar_job.json @@ -5,6 +5,9 @@ "description":"Adds an anomaly detection job to a calendar." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_data_frame_analytics.json index 193e08df8d49..e63c8603176b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_data_frame_analytics.json @@ -5,6 +5,10 @@ "description":"Instantiates a data frame analytics job." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json index 29d5bbb2b180..cda8b11f61fb 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_datafeed.json @@ -5,6 +5,10 @@ "description":"Instantiates a datafeed." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json index 647e9963a3c9..2f75bf766910 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_filter.json @@ -5,6 +5,10 @@ "description":"Instantiates a filter." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json index 4a15a7554629..a93d4db5841a 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_job.json @@ -5,6 +5,10 @@ "description":"Instantiates an anomaly detection job." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_trained_model.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_trained_model.json index 1e8afc312266..50ff644ccc65 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_trained_model.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.put_trained_model.json @@ -5,6 +5,10 @@ "description":"Creates an inference trained model." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json index 3c0ae924aa44..12e1d5709c23 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.revert_model_snapshot.json @@ -5,6 +5,10 @@ "description":"Reverts to a specific snapshot." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json index 3092b48be2a5..d6b44e4f56f3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.set_upgrade_mode.json @@ -5,6 +5,9 @@ "description":"Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_data_frame_analytics.json index 0081bf03b63a..8ea9f553cb2b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_data_frame_analytics.json @@ -5,6 +5,10 @@ "description":"Starts a data frame analytics job." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json index 1348478c32f1..03b727e8e693 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.start_datafeed.json @@ -5,6 +5,10 @@ "description":"Starts one or more datafeeds." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_data_frame_analytics.json index 0b02af103845..0f42ee4c5160 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_data_frame_analytics.json @@ -5,6 +5,10 @@ "description":"Stops one or more data frame analytics jobs." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json index a93af8f1b3b9..4b39fd945714 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.stop_datafeed.json @@ -5,6 +5,9 @@ "description":"Stops one or more datafeeds." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_data_frame_analytics.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_data_frame_analytics.json index a3615c78ae5c..a2818bb78d9c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_data_frame_analytics.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_data_frame_analytics.json @@ -5,6 +5,10 @@ "description":"Updates certain properties of a data frame analytics job." }, "stability":"beta", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json index 29397cedef42..959bb8792d9e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_datafeed.json @@ -5,6 +5,10 @@ "description":"Updates certain properties of a datafeed." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json index b945940f21cf..aa7b7b7a65b4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_filter.json @@ -5,6 +5,10 @@ "description":"Updates the description of a filter, adds items, or removes items." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json index ddc391138272..1f69590b4056 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_job.json @@ -5,6 +5,10 @@ "description":"Updates certain properties of an anomaly detection job." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json index 08e17529f5a1..bdd10f346859 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.update_model_snapshot.json @@ -5,6 +5,10 @@ "description":"Updates certain properties of a snapshot." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.upgrade_job_snapshot.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.upgrade_job_snapshot.json index d8b7bfdada2d..c53dbfac239e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.upgrade_job_snapshot.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.upgrade_job_snapshot.json @@ -5,6 +5,9 @@ "description":"Upgrades a given job snapshot to the current major version." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json index 46f6e8337efd..f2550fcecaf1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate.json @@ -5,6 +5,10 @@ "description":"Validates an anomaly detection job." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json index 336b81aaaaf8..6358c7f61932 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ml.validate_detector.json @@ -5,6 +5,10 @@ "description":"Validates an anomaly detection detector." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json index ff48044cc9d1..f54593304a8e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/monitoring.bulk.json @@ -5,6 +5,10 @@ "description":"Used by the monitoring features to send monitoring data." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/open_point_in_time.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/open_point_in_time.json index c388235df9e2..6d0f94f9e3db 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/open_point_in_time.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/open_point_in_time.json @@ -5,6 +5,9 @@ "description":"Open a point in time that can be used in subsequent searches" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json index 574ae3df385f..471f89b79da1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.delete_job.json @@ -5,6 +5,9 @@ "description":"Deletes an existing rollup job." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json index f585edfdef8c..afd485bc1898 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_jobs.json @@ -5,6 +5,9 @@ "description":"Retrieves the configuration, stats, and status of rollup jobs." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json index d139899ae497..5dc79a84c07e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_caps.json @@ -5,6 +5,9 @@ "description":"Returns the capabilities of any rollup jobs that have been configured for a specific index or index pattern." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json index 33bb81f9a1d6..46b555826a36 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.get_rollup_index_caps.json @@ -5,6 +5,9 @@ "description":"Returns the rollup capabilities of all jobs inside of a rollup index (e.g. the index where rollup data is stored)." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json index 8fb10631573e..883d4f9ae838 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.put_job.json @@ -5,6 +5,10 @@ "description":"Creates a rollup job." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup.json index 0e53cb0820ac..5ba93229eb01 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup.json @@ -5,6 +5,10 @@ "description":"Rollup an index" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url": { "paths": [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json index 2ca1b53fb25d..7a27da088c96 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.rollup_search.json @@ -5,6 +5,10 @@ "description":"Enables searching rolled-up data using the standard query DSL." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json index b42924d08e44..59b29a65ad09 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.start_job.json @@ -5,6 +5,9 @@ "description":"Starts an existing, stopped rollup job." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json index d2b65fb84a29..4b0535cdde37 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/rollup.stop_job.json @@ -5,6 +5,9 @@ "description":"Stops an existing, started rollup job." }, "stability":"experimental", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.clear_cache.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.clear_cache.json index 1f204ccfad23..4f52a8cac017 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.clear_cache.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.clear_cache.json @@ -5,6 +5,9 @@ "description" : "Clear the cache of searchable snapshots." }, "stability": "experimental", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.mount.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.mount.json index 71db967a7f46..cac32d12e150 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.mount.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.mount.json @@ -5,6 +5,10 @@ "description": "Mount a snapshot as a searchable index." }, "stability": "experimental", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url": { "paths": [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.stats.json index 2407146fd956..42a08b9e8b4e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/searchable_snapshots.stats.json @@ -5,6 +5,9 @@ "description": "Retrieve various statistics about searchable snapshots." }, "stability": "experimental", + "headers":{ + "accept": [ "application/json"] + }, "url": { "paths": [ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json index 35455c78151d..712d78e92b84 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.authenticate.json @@ -5,6 +5,9 @@ "description":"Enables authentication as a user and retrieve information about the authenticated user." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json index 1195d82b6889..a51dd6058ad8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.change_password.json @@ -5,6 +5,10 @@ "description":"Changes the passwords of users in the native realm and built-in users." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_api_key_cache.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_api_key_cache.json index e87e265edcb7..a2234e3c1978 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_api_key_cache.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_api_key_cache.json @@ -5,6 +5,9 @@ "description":"Clear a subset or all entries from the API key cache." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_privileges.json index e2c66a32fa27..09b633a67f4d 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_privileges.json @@ -5,6 +5,9 @@ "description":"Evicts application privileges from the native application privileges cache." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json index 1e0119af5121..e89a929e7445 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_realms.json @@ -5,6 +5,9 @@ "description":"Evicts users from the user cache. Can completely clear the cache or evict specific users." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json index 72c8ac212498..63e48635dec5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.clear_cached_roles.json @@ -5,6 +5,9 @@ "description":"Evicts roles from the native role cache." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json index e6da65981a31..f64b2f80599c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.create_api_key.json @@ -5,6 +5,10 @@ "description":"Creates an API key for access without requiring basic authentication." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json index 8069ed790fa9..d2813907928c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_privileges.json @@ -5,6 +5,9 @@ "description":"Removes application privileges." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json index d718ec777a47..4a2657f839c2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role.json @@ -5,6 +5,9 @@ "description":"Removes roles in the native realm." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json index ee0bc3ad641f..ac1ee8c516cf 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_role_mapping.json @@ -5,6 +5,9 @@ "description":"Removes role mappings." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json index 7c10cd3fd1be..6107cc2f4c3f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.delete_user.json @@ -5,6 +5,9 @@ "description":"Deletes users from the native realm." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json index 4877870bcd41..57a2bc9377f3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.disable_user.json @@ -5,6 +5,9 @@ "description":"Disables users in the native realm." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json index 58d7f64f1142..4045f7cd9da6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.enable_user.json @@ -5,6 +5,9 @@ "description":"Enables users in the native realm." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json index 8c508f25d32f..0f4038f4c582 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_api_key.json @@ -5,6 +5,9 @@ "description":"Retrieves information for one or more API keys." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_builtin_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_builtin_privileges.json index cd20a32be633..49fecf9e5167 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_builtin_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_builtin_privileges.json @@ -5,6 +5,9 @@ "description":"Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json index b216ac98c749..712b11f5cbac 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_privileges.json @@ -5,6 +5,9 @@ "description":"Retrieves application privileges." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json index 530bcfb28f03..b54f94b83906 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role.json @@ -5,6 +5,9 @@ "description":"Retrieves roles in the native realm." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json index 06818b03735a..1ed20851d75e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_role_mapping.json @@ -5,6 +5,9 @@ "description":"Retrieves role mappings." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json index 84a87a75d62f..721334d2129e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_token.json @@ -5,6 +5,10 @@ "description":"Creates a bearer token for access without requiring basic authentication." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json index cb1c64ce8983..26240cf1dc50 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user.json @@ -5,6 +5,9 @@ "description":"Retrieves information about users in the native realm and built-in users." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json index 7dacebae2d63..b208189cae64 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.get_user_privileges.json @@ -5,6 +5,9 @@ "description":"Retrieves application privileges." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.grant_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.grant_api_key.json index a64f0366a54b..4707a0817935 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.grant_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.grant_api_key.json @@ -5,6 +5,10 @@ "description":"Creates an API key on behalf of another user." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json index d19f4158f911..f0959873bd81 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.has_privileges.json @@ -5,6 +5,10 @@ "description":"Determines whether the specified user has a specified list of privileges." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json index 15a7e5437e1b..ce8909345b78 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_api_key.json @@ -5,6 +5,10 @@ "description":"Invalidates one or more API keys." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json index 75a3283c1e68..17a371d58467 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.invalidate_token.json @@ -5,6 +5,10 @@ "description":"Invalidates one or more access tokens or refresh tokens." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json index 36f5bfa2f8d0..99b1882c674e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_privileges.json @@ -5,6 +5,10 @@ "description":"Adds or updates application privileges." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json index 61aeca519c9d..e7d977db6ed5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role.json @@ -5,6 +5,10 @@ "description":"Adds and updates roles in the native realm." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json index 167c13c93671..1ab7b2953942 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_role_mapping.json @@ -5,6 +5,10 @@ "description":"Creates and updates role mappings." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json index 70dff7aba4a7..0ffcf7fff1e6 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/security.put_user.json @@ -5,6 +5,10 @@ "description":"Adds and updates users in the native realm. These users are commonly referred to as native users." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json index 07b21da6c7a3..34e6cd33bc6f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.delete_lifecycle.json @@ -5,6 +5,9 @@ "description":"Deletes an existing snapshot lifecycle policy." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json index 74f574928679..4daeb68d70c3 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json @@ -5,6 +5,9 @@ "description":"Immediately creates a snapshot according to the lifecycle policy, without waiting for the scheduled time." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_retention.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_retention.json index 6448a1d20c61..e6b922fff134 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_retention.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_retention.json @@ -5,6 +5,9 @@ "description":"Deletes any snapshots that are expired according to the policy's retention rules." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json index 4a208ebb2a7e..eab49e0968ee 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json @@ -5,6 +5,9 @@ "description":"Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_stats.json index b4fe2f23a7e6..01171fec311c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_stats.json @@ -5,6 +5,9 @@ "description":"Returns global and policy-level statistics about actions taken by snapshot lifecycle management." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_status.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_status.json index 382402432136..24f25e1c3c1b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_status.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_status.json @@ -5,6 +5,9 @@ "description":"Retrieves the status of snapshot lifecycle management (SLM)." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json index 9f2b8fe1b237..194503f679dd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.put_lifecycle.json @@ -5,6 +5,10 @@ "description":"Creates or updates a snapshot lifecycle policy." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.start.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.start.json index 8d06c51d3e89..4a58b328d659 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.start.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.start.json @@ -5,6 +5,9 @@ "description":"Turns on snapshot lifecycle management (SLM)." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.stop.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.stop.json index e35ec0aaa886..93ef511c9b75 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.stop.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.stop.json @@ -5,6 +5,9 @@ "description":"Turns off snapshot lifecycle management (SLM)." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json index 7cef02fb8874..9c330d7e4eb5 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.clear_cursor.json @@ -5,6 +5,10 @@ "description":"Clears the SQL cursor" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json index f36ca0068ec7..7686435da5d7 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.query.json @@ -5,6 +5,10 @@ "description":"Executes a SQL request" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json index 37a66bd25c98..c5696da0a8be 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/sql.translate.json @@ -5,6 +5,10 @@ "description":"Translates SQL into Elasticsearch queries" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json index 0dd7bce01046..fb70120c1f30 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/ssl.certificates.json @@ -5,6 +5,9 @@ "description":"Retrieves information about the X.509 certificates used to encrypt communications in the cluster." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.delete_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.delete_transform.json index 7378f247135e..39f3df6f208f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.delete_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.delete_transform.json @@ -5,6 +5,9 @@ "description":"Deletes an existing transform." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform.json index 69e87d975547..43522d961ee2 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform.json @@ -5,6 +5,9 @@ "description":"Retrieves configuration information for transforms." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform_stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform_stats.json index 1691d550da53..e37d4d66f57c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform_stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.get_transform_stats.json @@ -5,6 +5,9 @@ "description":"Retrieves usage information for transforms." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.preview_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.preview_transform.json index 83ecc006e9ba..3ee283acd46e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.preview_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.preview_transform.json @@ -5,6 +5,10 @@ "description":"Previews a transform." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.put_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.put_transform.json index 47ade4a0dd35..92eb476044fc 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.put_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.put_transform.json @@ -5,6 +5,10 @@ "description":"Instantiates a transform." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.start_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.start_transform.json index 9316e500d658..ed2c5b5fa3ab 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.start_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.start_transform.json @@ -5,6 +5,9 @@ "description":"Starts one or more transforms." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.stop_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.stop_transform.json index 497219813b40..ecad2d4fdcc4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.stop_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.stop_transform.json @@ -5,6 +5,9 @@ "description":"Stops one or more transforms." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.update_transform.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.update_transform.json index fe74376e833a..e2ddc80819b1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.update_transform.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/transform.update_transform.json @@ -5,6 +5,10 @@ "description":"Updates certain properties of a transform." }, "stability":"stable", + "headers":{ + "accept":[ "application/json"], + "content_type":["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json index 0b9126a8306c..2b4c99910b07 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.ack_watch.json @@ -5,6 +5,9 @@ "description":"Acknowledges a watch, manually throttling the execution of the watch's actions." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json index d0a892debee5..3c37ae0c001b 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.activate_watch.json @@ -5,6 +5,9 @@ "description":"Activates a currently inactive watch." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json index 90385dfd0d45..ab0e04abc252 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.deactivate_watch.json @@ -5,6 +5,9 @@ "description":"Deactivates a currently active watch." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json index c42ec9cb0104..86d7bd528e2f 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.delete_watch.json @@ -5,6 +5,9 @@ "description":"Removes a watch from Watcher." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json index 3704eb4aeda6..b3c56b76c214 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.execute_watch.json @@ -5,6 +5,10 @@ "description":"Forces the execution of a stored watch." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json index e81dcd7e3895..774d33edf5bd 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.get_watch.json @@ -5,6 +5,9 @@ "description":"Retrieves a watch by its ID." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json index 6aa29c5f9ed2..c800d07cae91 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.put_watch.json @@ -5,6 +5,10 @@ "description":"Creates a new watch, or updates an existing one." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.query_watches.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.query_watches.json index 1829df9d1022..efe407cbb684 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.query_watches.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.query_watches.json @@ -5,6 +5,10 @@ "description":"Retrieves stored watches." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"], + "content_type": ["application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json index eb393a25c1bf..f5ea61722d23 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.start.json @@ -5,6 +5,9 @@ "description":"Starts Watcher if it is not already running." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json index 75854017f0b9..6c49d780dcef 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stats.json @@ -5,6 +5,9 @@ "description":"Retrieves the current Watcher metrics." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json index c5014be0ab0b..6efdaef54206 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/watcher.stop.json @@ -5,6 +5,9 @@ "description":"Stops Watcher if it is running." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json index 64580d39d5eb..a8bec88e74dc 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.info.json @@ -5,6 +5,9 @@ "description":"Retrieves information about the installed X-Pack features." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json index 2f99c477d2da..c658cc912f09 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/xpack.usage.json @@ -5,6 +5,9 @@ "description":"Retrieves usage information about the installed X-Pack features." }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { diff --git a/x-pack/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/funny-timeout-watch.json b/x-pack/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/funny-timeout-watch.json index b5f1902afc6d..5125f054d132 100644 --- a/x-pack/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/funny-timeout-watch.json +++ b/x-pack/qa/full-cluster-restart/src/test/resources/org/elasticsearch/xpack/restart/funny-timeout-watch.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} From 3cd93eef92608048d9f48609aa17ff8f22dba01b Mon Sep 17 00:00:00 2001 From: Ioannis Kakavas Date: Wed, 9 Dec 2020 15:45:31 +0200 Subject: [PATCH 17/35] Skip REST YAML tests in FIPS 140 mode (#65735) Currently we don't have a way to selectively mute REST YAML tests in FIPS 140 mode. This commit introduces a new feature (fips_140) that can be used in skip blocks to allow that. --- .../src/main/resources/rest-api-spec/test/README.asciidoc | 7 +++++++ .../test/rest/yaml/ESClientYamlSuiteTestCase.java | 2 ++ 2 files changed, 9 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/README.asciidoc b/rest-api-spec/src/main/resources/rest-api-spec/test/README.asciidoc index 6f72d1cbd9e5..bb7deac2f050 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/README.asciidoc +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/README.asciidoc @@ -128,6 +128,9 @@ temporarily skip it, and avoid having lots of test failures in the meantime. Once all runners have implemented the feature, it can be declared supported by default, thus the related skip sections can be removed from the tests. +The skip section can also be used to selectively mute tests in certain +cases where they would otherwise fail, see `default_shards` and `fips_140`. + .... "Parent": - skip: @@ -243,6 +246,10 @@ Allows you to stash an arbitrary key from a returned map e.g: This means: Stash any of the keys returned under `nodes` as `$node_id` +=== `fips_140` + +This test should not be run when the test cluster is set in FIPS 140 mode. + Required operators: ------------------- diff --git a/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/ESClientYamlSuiteTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/ESClientYamlSuiteTestCase.java index fa21b7e7c3eb..4b4035d194c0 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/ESClientYamlSuiteTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/test/rest/yaml/ESClientYamlSuiteTestCase.java @@ -375,6 +375,8 @@ public void test() throws IOException { request.setOptions(builder.build()); adminClient().performRequest(request); } + assumeFalse("[" + testCandidate.getTestPath() + "] skipped, reason: in fips 140 mode", + inFipsJvm() && testCandidate.getTestSection().getSkipSection().getFeatures().contains("fips_140")); if (!testCandidate.getSetupSection().isEmpty()) { logger.debug("start setup test [{}]", testCandidate.getTestPath()); From 9b3bb561791816166b14ada431c9a905eeca95e7 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Wed, 9 Dec 2020 08:48:23 -0500 Subject: [PATCH 18/35] [DOCS] EQL: Move to GA (#65955) --- docs/reference/eql/delete-async-eql-search-api.asciidoc | 2 -- docs/reference/eql/detect-threats-with-eql.asciidoc | 2 -- docs/reference/eql/eql-search-api.asciidoc | 2 -- docs/reference/eql/eql.asciidoc | 2 -- docs/reference/eql/functions.asciidoc | 2 -- docs/reference/eql/get-async-eql-search-api.asciidoc | 2 -- docs/reference/eql/pipes.asciidoc | 2 -- docs/reference/eql/syntax.asciidoc | 2 -- 8 files changed, 16 deletions(-) diff --git a/docs/reference/eql/delete-async-eql-search-api.asciidoc b/docs/reference/eql/delete-async-eql-search-api.asciidoc index 107b3609d55e..359ccf37dd22 100644 --- a/docs/reference/eql/delete-async-eql-search-api.asciidoc +++ b/docs/reference/eql/delete-async-eql-search-api.asciidoc @@ -7,8 +7,6 @@ Delete async EQL search ++++ -beta::[] - Deletes an <> or a <>. The API also deletes results for the search. diff --git a/docs/reference/eql/detect-threats-with-eql.asciidoc b/docs/reference/eql/detect-threats-with-eql.asciidoc index 76d7101daaa3..d103efea8395 100644 --- a/docs/reference/eql/detect-threats-with-eql.asciidoc +++ b/docs/reference/eql/detect-threats-with-eql.asciidoc @@ -3,8 +3,6 @@ [[eql-ex-threat-detection]] == Example: Detect threats with EQL -beta::[] - This example tutorial shows how you can use EQL to detect security threats and other suspicious behavior. In the scenario, you're tasked with detecting https://attack.mitre.org/techniques/T1218/010/[regsvr32 misuse] in Windows event diff --git a/docs/reference/eql/eql-search-api.asciidoc b/docs/reference/eql/eql-search-api.asciidoc index 52a04be94e9c..48a1fb6425d3 100644 --- a/docs/reference/eql/eql-search-api.asciidoc +++ b/docs/reference/eql/eql-search-api.asciidoc @@ -7,8 +7,6 @@ EQL search ++++ -beta::[] - Returns search results for an <> query. EQL assumes each document in a data stream or index corresponds to an diff --git a/docs/reference/eql/eql.asciidoc b/docs/reference/eql/eql.asciidoc index 6cbdf2975dce..2b2449e47bb0 100644 --- a/docs/reference/eql/eql.asciidoc +++ b/docs/reference/eql/eql.asciidoc @@ -6,8 +6,6 @@ EQL ++++ -beta::[] - Event Query Language (EQL) is a query language for event-based time series data, such as logs, metrics, and traces. diff --git a/docs/reference/eql/functions.asciidoc b/docs/reference/eql/functions.asciidoc index 17c0f1648d08..e813673c380b 100644 --- a/docs/reference/eql/functions.asciidoc +++ b/docs/reference/eql/functions.asciidoc @@ -6,8 +6,6 @@ Function reference ++++ -beta::[] - {es} supports the following <>. Most EQL functions are case-sensitive by default. diff --git a/docs/reference/eql/get-async-eql-search-api.asciidoc b/docs/reference/eql/get-async-eql-search-api.asciidoc index 65f88cf7c881..5a0a55671bf8 100644 --- a/docs/reference/eql/get-async-eql-search-api.asciidoc +++ b/docs/reference/eql/get-async-eql-search-api.asciidoc @@ -7,8 +7,6 @@ Get async EQL search ++++ -beta::[] - Returns the current status and available results for an <> or a <>. diff --git a/docs/reference/eql/pipes.asciidoc b/docs/reference/eql/pipes.asciidoc index 9925f5c4f322..d2ebf19ced7b 100644 --- a/docs/reference/eql/pipes.asciidoc +++ b/docs/reference/eql/pipes.asciidoc @@ -6,8 +6,6 @@ Pipe reference ++++ -beta::[] - {es} supports the following <>. [discrete] diff --git a/docs/reference/eql/syntax.asciidoc b/docs/reference/eql/syntax.asciidoc index d99b3ad2bfb2..b786fd0ee9d2 100644 --- a/docs/reference/eql/syntax.asciidoc +++ b/docs/reference/eql/syntax.asciidoc @@ -6,8 +6,6 @@ Syntax reference ++++ -beta::[] - [discrete] [[eql-basic-syntax]] === Basic syntax From 0b536a7a71d97bc2b55c9f7c007fd4fdc162bac2 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Wed, 9 Dec 2020 09:26:32 -0500 Subject: [PATCH 19/35] [DOCS] Fix URI processor title (#66068) --- docs/reference/ingest/processors/uri-parts.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/ingest/processors/uri-parts.asciidoc b/docs/reference/ingest/processors/uri-parts.asciidoc index 6b55c263d947..ddd710c3d6b1 100644 --- a/docs/reference/ingest/processors/uri-parts.asciidoc +++ b/docs/reference/ingest/processors/uri-parts.asciidoc @@ -3,7 +3,7 @@ [[uri-parts-processor]] === URI parts processor ++++ -URI Parts +URI parts ++++ Parses a Uniform Resource Identifier (URI) string and extracts its components as From 41b2b2ee9004bce68ab61afc767b4eaa771d4a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Fern=C3=A1ndez=20Casta=C3=B1o?= Date: Tue, 8 Dec 2020 11:51:57 +0100 Subject: [PATCH 20/35] [8.0] Bump version after 7.10.1 release --- .ci/bwcVersions | 1 + server/src/main/java/org/elasticsearch/Version.java | 1 + 2 files changed, 2 insertions(+) diff --git a/.ci/bwcVersions b/.ci/bwcVersions index 8f1c0bf4b25e..0fe4ef8be725 100644 --- a/.ci/bwcVersions +++ b/.ci/bwcVersions @@ -27,5 +27,6 @@ BWC_VERSION: - "7.9.3" - "7.10.0" - "7.10.1" + - "7.10.2" - "7.11.0" - "8.0.0" diff --git a/server/src/main/java/org/elasticsearch/Version.java b/server/src/main/java/org/elasticsearch/Version.java index b808c140522b..24fac127f241 100644 --- a/server/src/main/java/org/elasticsearch/Version.java +++ b/server/src/main/java/org/elasticsearch/Version.java @@ -84,6 +84,7 @@ public class Version implements Comparable, ToXContentFragment { public static final Version V_7_9_3 = new Version(7090399, org.apache.lucene.util.Version.LUCENE_8_6_2); public static final Version V_7_10_0 = new Version(7100099, org.apache.lucene.util.Version.LUCENE_8_7_0); public static final Version V_7_10_1 = new Version(7100199, org.apache.lucene.util.Version.LUCENE_8_7_0); + public static final Version V_7_10_2 = new Version(7100299, org.apache.lucene.util.Version.LUCENE_8_7_0); public static final Version V_7_11_0 = new Version(7110099, org.apache.lucene.util.Version.LUCENE_8_7_0); public static final Version V_8_0_0 = new Version(8000099, org.apache.lucene.util.Version.LUCENE_8_7_0); public static final Version CURRENT = V_8_0_0; From 2aa2224b36f8c3a5f581f4cee2faf719eb648190 Mon Sep 17 00:00:00 2001 From: Stuart Tettemer Date: Wed, 9 Dec 2020 09:16:37 -0600 Subject: [PATCH 21/35] Scripting: Whitelist API spec gradle task (#66050) Adds `generateContextApiSpec` gradle task that generates whitelist api specs under `modules/lang-painless/src/main/generated/whitelist-json`. The common classes are in `painless-common.json`, the specialized classes per context are in `painless-$context.json`. eg. `painless-aggs.json` has the specialization for the aggs contexts Refs: #49879 --- modules/lang-painless/build.gradle | 20 ++ .../painless/ContextApiSpecGenerator.java | 75 ++++++ .../painless/ContextDocGenerator.java | 111 ++------ .../painless/ContextGeneratorCommon.java | 236 ++++++++++++++++++ .../painless/PainlessInfoJson.java | 209 ++++++++++++++++ 5 files changed, 560 insertions(+), 91 deletions(-) create mode 100644 modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextApiSpecGenerator.java create mode 100644 modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextGeneratorCommon.java create mode 100644 modules/lang-painless/src/doc/java/org/elasticsearch/painless/PainlessInfoJson.java diff --git a/modules/lang-painless/build.gradle b/modules/lang-painless/build.gradle index 12d18b84f773..bd034ff97ddb 100644 --- a/modules/lang-painless/build.gradle +++ b/modules/lang-painless/build.gradle @@ -106,6 +106,26 @@ tasks.register("generateContextDoc", DefaultTestClustersTask) { }.assertNormalExitValue() } } +/********************************************** + * Context JSON Generation * + **********************************************/ +testClusters { + generateContextApiSpecCluster { + testDistribution = 'DEFAULT' + } +} + +tasks.register("generateContextApiSpec", DefaultTestClustersTask) { + dependsOn sourceSets.doc.runtimeClasspath + useCluster testClusters.generateContextApiSpecCluster + doFirst { + project.javaexec { + main = 'org.elasticsearch.painless.ContextApiSpecGenerator' + classpath = sourceSets.doc.runtimeClasspath + systemProperty "cluster.uri", "${-> testClusters.generateContextApiSpecCluster.singleNode().getAllHttpSocketURI().get(0)}" + }.assertNormalExitValue() + } +} /********************************************** * Parser regeneration * diff --git a/modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextApiSpecGenerator.java b/modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextApiSpecGenerator.java new file mode 100644 index 000000000000..9b0f4f3337fa --- /dev/null +++ b/modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextApiSpecGenerator.java @@ -0,0 +1,75 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.elasticsearch.painless; + +import org.elasticsearch.common.SuppressForbidden; +import org.elasticsearch.common.io.PathUtils; +import org.elasticsearch.common.xcontent.XContentBuilder; +import org.elasticsearch.common.xcontent.XContentFactory; +import org.elasticsearch.core.internal.io.IOUtils; +import org.elasticsearch.painless.action.PainlessContextInfo; + +import java.io.IOException; +import java.io.PrintStream; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.StandardOpenOption; +import java.util.List; + +public class ContextApiSpecGenerator { + public static void main(String[] args) throws IOException { + List contexts = ContextGeneratorCommon.getContextInfos(); + ContextGeneratorCommon.PainlessInfos infos = new ContextGeneratorCommon.PainlessInfos(contexts); + Path rootDir = resetRootDir(); + Path json = rootDir.resolve("painless-common.json"); + try (PrintStream jsonStream = new PrintStream( + Files.newOutputStream(json, StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE), + false, StandardCharsets.UTF_8.name())) { + + XContentBuilder builder = XContentFactory.jsonBuilder(jsonStream); + builder.startObject(); + builder.field(PainlessContextInfo.CLASSES.getPreferredName(), infos.common); + builder.endObject(); + builder.flush(); + } + + for (PainlessInfoJson.Context context : infos.contexts) { + json = rootDir.resolve("painless-" + context.getName() + ".json"); + try (PrintStream jsonStream = new PrintStream( + Files.newOutputStream(json, StandardOpenOption.CREATE_NEW, StandardOpenOption.WRITE), + false, StandardCharsets.UTF_8.name())) { + + XContentBuilder builder = XContentFactory.jsonBuilder(jsonStream); + context.toXContent(builder, null); + builder.flush(); + } + } + } + + @SuppressForbidden(reason = "resolve context api directory with environment") + private static Path resetRootDir() throws IOException { + Path rootDir = PathUtils.get("./src/main/generated/whitelist-json"); + IOUtils.rm(rootDir); + Files.createDirectories(rootDir); + + return rootDir; + } +} diff --git a/modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextDocGenerator.java b/modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextDocGenerator.java index d11074816455..9ee31222bd2a 100644 --- a/modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextDocGenerator.java +++ b/modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextDocGenerator.java @@ -21,8 +21,6 @@ import org.elasticsearch.common.SuppressForbidden; import org.elasticsearch.common.io.PathUtils; -import org.elasticsearch.common.xcontent.XContentParser; -import org.elasticsearch.common.xcontent.json.JsonXContent; import org.elasticsearch.core.internal.io.IOUtils; import org.elasticsearch.painless.action.PainlessContextClassBindingInfo; import org.elasticsearch.painless.action.PainlessContextClassInfo; @@ -34,16 +32,12 @@ import java.io.IOException; import java.io.PrintStream; -import java.net.HttpURLConnection; -import java.net.URL; -import java.net.URLConnection; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardOpenOption; import java.util.ArrayList; import java.util.Collections; -import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; @@ -70,7 +64,7 @@ public final class ContextDocGenerator { private static final String SHARED_NAME = "Shared"; public static void main(String[] args) throws IOException { - List contextInfos = getContextInfos(); + List contextInfos = ContextGeneratorCommon.getContextInfos(); Set sharedStaticInfos = createSharedStatics(contextInfos); Set sharedClassInfos = createSharedClasses(contextInfos); @@ -102,33 +96,6 @@ public static void main(String[] args) throws IOException { printRootIndexPage(rootDir, contextInfos, isSpecialized); } - @SuppressForbidden(reason = "retrieving data from an internal API not exposed as part of the REST client") - private static List getContextInfos() throws IOException { - URLConnection getContextNames = new URL( - "http://" + System.getProperty("cluster.uri") + "/_scripts/painless/_context").openConnection(); - XContentParser parser = JsonXContent.jsonXContent.createParser(null, null, getContextNames.getInputStream()); - parser.nextToken(); - parser.nextToken(); - @SuppressWarnings("unchecked") - List contextNames = (List)(Object)parser.list(); - parser.close(); - ((HttpURLConnection)getContextNames).disconnect(); - - List contextInfos = new ArrayList<>(); - - for (String contextName : contextNames) { - URLConnection getContextInfo = new URL( - "http://" + System.getProperty("cluster.uri") + "/_scripts/painless/_context?context=" + contextName).openConnection(); - parser = JsonXContent.jsonXContent.createParser(null, null, getContextInfo.getInputStream()); - contextInfos.add(PainlessContextInfo.fromXContent(parser)); - ((HttpURLConnection)getContextInfo).disconnect(); - } - - contextInfos.sort(Comparator.comparing(PainlessContextInfo::getName)); - - return contextInfos; - } - private static Set createSharedStatics(List contextInfos) { Map staticInfoCounts = new HashMap<>(); @@ -291,7 +258,7 @@ private static void printIndex(PrintStream indexStream, String contextHeader, Ma indexStream.println(); } - String className = getType(javaNamesToDisplayNames, classInfo.getName()); + String className = ContextGeneratorCommon.getType(javaNamesToDisplayNames, classInfo.getName()); indexStream.println("* <<" + getClassHeader(contextHeader, className) + ", " + className + ">>"); } } @@ -354,7 +321,7 @@ private static void printPackages(PrintStream packagesStream, String contextName "for a high-level overview of all packages and classes."); } - String className = getType(javaNamesToDisplayNames, classInfo.getName()); + String className = ContextGeneratorCommon.getType(javaNamesToDisplayNames, classInfo.getName()); packagesStream.println(); packagesStream.println("[[" + getClassHeader(contextHeader, className) + "]]"); packagesStream.println("==== " + className + ""); @@ -443,7 +410,7 @@ private static void printConstructor( parameterIndex < constructorInfo.getParameters().size(); ++parameterIndex) { - stream.print(getType(javaNamesToDisplayNames, constructorInfo.getParameters().get(parameterIndex))); + stream.print(ContextGeneratorCommon.getType(javaNamesToDisplayNames, constructorInfo.getParameters().get(parameterIndex))); if (parameterIndex + 1 < constructorInfo.getParameters().size()) { stream.print(", "); @@ -458,7 +425,7 @@ private static void printMethod( boolean isStatic, PainlessContextMethodInfo methodInfo) { stream.print("* " + (isStatic ? "static " : "")); - stream.print(getType(javaNamesToDisplayNames, methodInfo.getRtn()) + " "); + stream.print(ContextGeneratorCommon.getType(javaNamesToDisplayNames, methodInfo.getRtn()) + " "); if (methodInfo.getDeclaring().startsWith("java.")) { stream.print(getMethodJavaDocLink(methodInfo) + "[" + methodInfo.getName() + "]"); @@ -472,7 +439,7 @@ private static void printMethod( parameterIndex < methodInfo.getParameters().size(); ++parameterIndex) { - stream.print(getType(javaNamesToDisplayNames, methodInfo.getParameters().get(parameterIndex))); + stream.print(ContextGeneratorCommon.getType(javaNamesToDisplayNames, methodInfo.getParameters().get(parameterIndex))); if (parameterIndex + 1 < methodInfo.getParameters().size()) { stream.print(", "); @@ -485,17 +452,21 @@ private static void printMethod( private static void printClassBinding( PrintStream stream, Map javaNamesToDisplayNames, PainlessContextClassBindingInfo classBindingInfo) { - stream.print("* " + getType(javaNamesToDisplayNames, classBindingInfo.getRtn()) + " " + classBindingInfo.getName() + "("); + stream.print("* " + + ContextGeneratorCommon.getType(javaNamesToDisplayNames, classBindingInfo.getRtn()) + + " " + + classBindingInfo.getName() + + "("); for (int parameterIndex = 0; parameterIndex < classBindingInfo.getParameters().size(); ++parameterIndex) { // temporary fix to not print org.elasticsearch.script.ScoreScript parameter until // class instance bindings are created and the information is appropriately added to the context info classes if ("org.elasticsearch.script.ScoreScript".equals( - getType(javaNamesToDisplayNames, classBindingInfo.getParameters().get(parameterIndex)))) { + ContextGeneratorCommon.getType(javaNamesToDisplayNames, classBindingInfo.getParameters().get(parameterIndex)))) { continue; } - stream.print(getType(javaNamesToDisplayNames, classBindingInfo.getParameters().get(parameterIndex))); + stream.print(ContextGeneratorCommon.getType(javaNamesToDisplayNames, classBindingInfo.getParameters().get(parameterIndex))); if (parameterIndex < classBindingInfo.getReadOnly()) { stream.print(" *"); @@ -512,10 +483,14 @@ private static void printClassBinding( private static void printInstanceBinding( PrintStream stream, Map javaNamesToDisplayNames, PainlessContextInstanceBindingInfo instanceBindingInfo) { - stream.print("* " + getType(javaNamesToDisplayNames, instanceBindingInfo.getRtn()) + " " + instanceBindingInfo.getName() + "("); + stream.print("* " + + ContextGeneratorCommon.getType(javaNamesToDisplayNames, instanceBindingInfo.getRtn()) + + " " + + instanceBindingInfo.getName() + + "("); for (int parameterIndex = 0; parameterIndex < instanceBindingInfo.getParameters().size(); ++parameterIndex) { - stream.print(getType(javaNamesToDisplayNames, instanceBindingInfo.getParameters().get(parameterIndex))); + stream.print(ContextGeneratorCommon.getType(javaNamesToDisplayNames, instanceBindingInfo.getParameters().get(parameterIndex))); if (parameterIndex + 1 < instanceBindingInfo.getParameters().size()) { stream.print(", "); @@ -530,7 +505,7 @@ private static void printField( boolean isStatic, PainlessContextFieldInfo fieldInfo) { stream.print("* " + (isStatic ? "static " : "")); - stream.print(getType(javaNamesToDisplayNames, fieldInfo.getType()) + " "); + stream.print(ContextGeneratorCommon.getType(javaNamesToDisplayNames, fieldInfo.getType()) + " "); if (fieldInfo.getDeclaring().startsWith("java.")) { stream.println(getFieldJavaDocLink(fieldInfo) + "[" + fieldInfo.getName() + "]"); @@ -539,52 +514,6 @@ private static void printField( } } - private static String getType(Map javaNamesToDisplayNames, String javaType) { - int arrayDimensions = 0; - - while (javaType.charAt(arrayDimensions) == '[') { - ++arrayDimensions; - } - - if (arrayDimensions > 0) { - if (javaType.charAt(javaType.length() - 1) == ';') { - javaType = javaType.substring(arrayDimensions + 1, javaType.length() - 1); - } else { - javaType = javaType.substring(arrayDimensions); - } - } - - if ("Z".equals(javaType) || "boolean".equals(javaType)) { - javaType = "boolean"; - } else if ("V".equals(javaType) || "void".equals(javaType)) { - javaType = "void"; - } else if ("B".equals(javaType) || "byte".equals(javaType)) { - javaType = "byte"; - } else if ("S".equals(javaType) || "short".equals(javaType)) { - javaType = "short"; - } else if ("C".equals(javaType) || "char".equals(javaType)) { - javaType = "char"; - } else if ("I".equals(javaType) || "int".equals(javaType)) { - javaType = "int"; - } else if ("J".equals(javaType) || "long".equals(javaType)) { - javaType = "long"; - } else if ("F".equals(javaType) || "float".equals(javaType)) { - javaType = "float"; - } else if ("D".equals(javaType) || "double".equals(javaType)) { - javaType = "double"; - } else if ("org.elasticsearch.painless.lookup.def".equals(javaType)) { - javaType = "def"; - } else { - javaType = javaNamesToDisplayNames.get(javaType); - } - - while (arrayDimensions-- > 0) { - javaType += "[]"; - } - - return javaType; - } - private static String getFieldJavaDocLink(PainlessContextFieldInfo fieldInfo) { return "{java11-javadoc}/java.base/" + fieldInfo.getDeclaring().replace('.', '/') + ".html#" + fieldInfo.getName(); } diff --git a/modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextGeneratorCommon.java b/modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextGeneratorCommon.java new file mode 100644 index 000000000000..bab8907b557e --- /dev/null +++ b/modules/lang-painless/src/doc/java/org/elasticsearch/painless/ContextGeneratorCommon.java @@ -0,0 +1,236 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.elasticsearch.painless; + +import org.elasticsearch.common.SuppressForbidden; +import org.elasticsearch.common.xcontent.XContentParser; +import org.elasticsearch.common.xcontent.json.JsonXContent; +import org.elasticsearch.painless.action.PainlessContextClassBindingInfo; +import org.elasticsearch.painless.action.PainlessContextClassInfo; +import org.elasticsearch.painless.action.PainlessContextInfo; +import org.elasticsearch.painless.action.PainlessContextInstanceBindingInfo; +import org.elasticsearch.painless.action.PainlessContextMethodInfo; + +import java.io.IOException; +import java.net.HttpURLConnection; +import java.net.URL; +import java.net.URLConnection; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Comparator; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.function.Function; +import java.util.stream.Collectors; + +public class ContextGeneratorCommon { + @SuppressForbidden(reason = "retrieving data from an internal API not exposed as part of the REST client") + public static List getContextInfos() throws IOException { + URLConnection getContextNames = new URL( + "http://" + System.getProperty("cluster.uri") + "/_scripts/painless/_context").openConnection(); + XContentParser parser = JsonXContent.jsonXContent.createParser(null, null, getContextNames.getInputStream()); + parser.nextToken(); + parser.nextToken(); + @SuppressWarnings("unchecked") + List contextNames = (List)(Object)parser.list(); + parser.close(); + ((HttpURLConnection)getContextNames).disconnect(); + + List contextInfos = new ArrayList<>(); + + for (String contextName : contextNames) { + URLConnection getContextInfo = new URL( + "http://" + System.getProperty("cluster.uri") + "/_scripts/painless/_context?context=" + contextName).openConnection(); + parser = JsonXContent.jsonXContent.createParser(null, null, getContextInfo.getInputStream()); + contextInfos.add(PainlessContextInfo.fromXContent(parser)); + ((HttpURLConnection)getContextInfo).disconnect(); + } + + contextInfos.sort(Comparator.comparing(PainlessContextInfo::getName)); + + return contextInfos; + } + + public static String getType(Map javaNamesToDisplayNames, String javaType) { + int arrayDimensions = 0; + + while (javaType.charAt(arrayDimensions) == '[') { + ++arrayDimensions; + } + + if (arrayDimensions > 0) { + if (javaType.charAt(javaType.length() - 1) == ';') { + javaType = javaType.substring(arrayDimensions + 1, javaType.length() - 1); + } else { + javaType = javaType.substring(arrayDimensions); + } + } + + if ("Z".equals(javaType) || "boolean".equals(javaType)) { + javaType = "boolean"; + } else if ("V".equals(javaType) || "void".equals(javaType)) { + javaType = "void"; + } else if ("B".equals(javaType) || "byte".equals(javaType)) { + javaType = "byte"; + } else if ("S".equals(javaType) || "short".equals(javaType)) { + javaType = "short"; + } else if ("C".equals(javaType) || "char".equals(javaType)) { + javaType = "char"; + } else if ("I".equals(javaType) || "int".equals(javaType)) { + javaType = "int"; + } else if ("J".equals(javaType) || "long".equals(javaType)) { + javaType = "long"; + } else if ("F".equals(javaType) || "float".equals(javaType)) { + javaType = "float"; + } else if ("D".equals(javaType) || "double".equals(javaType)) { + javaType = "double"; + } else if ("org.elasticsearch.painless.lookup.def".equals(javaType)) { + javaType = "def"; + } else { + javaType = javaNamesToDisplayNames.get(javaType); + } + + while (arrayDimensions-- > 0) { + javaType += "[]"; + } + + return javaType; + } + + private static Map getDisplayNames(Collection contextInfos) { + Map javaNamesToDisplayNames = new HashMap<>(); + + for (PainlessContextInfo contextInfo : contextInfos) { + for (PainlessContextClassInfo classInfo : contextInfo.getClasses()) { + String className = classInfo.getName(); + if (javaNamesToDisplayNames.containsKey(className) == false) { + if (classInfo.isImported()) { + javaNamesToDisplayNames.put(className, + className.substring(className.lastIndexOf('.') + 1).replace('$', '.')); + } else { + javaNamesToDisplayNames.put(className, className.replace('$', '.')); + } + } + } + } + return javaNamesToDisplayNames; + } + + public static List sortClassInfos(Collection unsortedClassInfos) { + + List classInfos = new ArrayList<>(unsortedClassInfos); + classInfos.removeIf(v -> + "void".equals(v.getName()) || "boolean".equals(v.getName()) || "byte".equals(v.getName()) || + "short".equals(v.getName()) || "char".equals(v.getName()) || "int".equals(v.getName()) || + "long".equals(v.getName()) || "float".equals(v.getName()) || "double".equals(v.getName()) || + "org.elasticsearch.painless.lookup.def".equals(v.getName()) || + isInternalClass(v.getName()) + ); + + classInfos.sort((c1, c2) -> { + String n1 = c1.getName(); + String n2 = c2.getName(); + boolean i1 = c1.isImported(); + boolean i2 = c2.isImported(); + + String p1 = n1.substring(0, n1.lastIndexOf('.')); + String p2 = n2.substring(0, n2.lastIndexOf('.')); + + int compare = p1.compareTo(p2); + + if (compare == 0) { + if (i1 && i2) { + compare = n1.substring(n1.lastIndexOf('.') + 1).compareTo(n2.substring(n2.lastIndexOf('.') + 1)); + } else if (i1 == false && i2 == false) { + compare = n1.compareTo(n2); + } else { + compare = Boolean.compare(i1, i2) * -1; + } + } + + return compare; + }); + + return classInfos; + } + + private static boolean isInternalClass(String javaName) { + return javaName.equals("org.elasticsearch.script.ScoreScript") || + javaName.equals("org.elasticsearch.xpack.sql.expression.function.scalar.geo.GeoShape") || + javaName.equals("org.elasticsearch.xpack.sql.expression.function.scalar.whitelist.InternalSqlScriptUtils") || + javaName.equals("org.elasticsearch.xpack.sql.expression.literal.IntervalDayTime") || + javaName.equals("org.elasticsearch.xpack.sql.expression.literal.IntervalYearMonth") || + javaName.equals("org.elasticsearch.xpack.eql.expression.function.scalar.whitelist.InternalEqlScriptUtils") || + javaName.equals("org.elasticsearch.xpack.ql.expression.function.scalar.InternalQlScriptUtils") || + javaName.equals("org.elasticsearch.xpack.ql.expression.function.scalar.whitelist.InternalQlScriptUtils") || + javaName.equals("org.elasticsearch.script.ScoreScript$ExplanationHolder"); + } + + public static List excludeCommonClassInfos( + Set exclude, + List classInfos + ) { + List uniqueClassInfos = new ArrayList<>(classInfos); + uniqueClassInfos.removeIf(exclude::contains); + return uniqueClassInfos; + } + + public static class PainlessInfos { + public final Set importedMethods; + public final Set classBindings; + public final Set instanceBindings; + + public final List common; + public final List contexts; + + public final Map javaNamesToDisplayNames; + + public PainlessInfos(List contextInfos) { + javaNamesToDisplayNames = getDisplayNames(contextInfos); + + Set commonClassInfos = getCommon(contextInfos, PainlessContextInfo::getClasses); + common = PainlessInfoJson.Class.fromInfos(sortClassInfos(commonClassInfos), javaNamesToDisplayNames); + + importedMethods = getCommon(contextInfos, PainlessContextInfo::getImportedMethods); + + classBindings = getCommon(contextInfos, PainlessContextInfo::getClassBindings); + + instanceBindings = getCommon(contextInfos, PainlessContextInfo::getInstanceBindings); + + contexts = contextInfos.stream() + .map(ctx -> new PainlessInfoJson.Context(ctx, commonClassInfos, javaNamesToDisplayNames)) + .collect(Collectors.toList()); + } + + private Set getCommon(List contexts, Function> getter) { + Map infoCounts = new HashMap<>(); + for (PainlessContextInfo contextInfo : contexts) { + for (T info : getter.apply(contextInfo)) { + infoCounts.merge(info, 1, Integer::sum); + } + } + return infoCounts.entrySet().stream().filter( + e -> e.getValue() == contexts.size() + ).map(Map.Entry::getKey).collect(Collectors.toSet()); + } + } +} diff --git a/modules/lang-painless/src/doc/java/org/elasticsearch/painless/PainlessInfoJson.java b/modules/lang-painless/src/doc/java/org/elasticsearch/painless/PainlessInfoJson.java new file mode 100644 index 000000000000..7b55a0013874 --- /dev/null +++ b/modules/lang-painless/src/doc/java/org/elasticsearch/painless/PainlessInfoJson.java @@ -0,0 +1,209 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.elasticsearch.painless; + +import org.elasticsearch.common.xcontent.ToXContentObject; +import org.elasticsearch.common.xcontent.XContentBuilder; +import org.elasticsearch.painless.action.PainlessContextClassBindingInfo; +import org.elasticsearch.painless.action.PainlessContextClassInfo; +import org.elasticsearch.painless.action.PainlessContextConstructorInfo; +import org.elasticsearch.painless.action.PainlessContextFieldInfo; +import org.elasticsearch.painless.action.PainlessContextInfo; +import org.elasticsearch.painless.action.PainlessContextInstanceBindingInfo; +import org.elasticsearch.painless.action.PainlessContextMethodInfo; + +import java.io.IOException; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; + +public class PainlessInfoJson { + public static class Context implements ToXContentObject { + private final String name; + private final List classes; + private final List importedMethods; + private final List classBindings; + private final List instanceBindings; + + public Context( + PainlessContextInfo info, + Set commonClassInfos, + Map javaNamesToDisplayNames + ) { + this.name = info.getName(); + List classInfos = ContextGeneratorCommon.excludeCommonClassInfos(commonClassInfos, info.getClasses()); + classInfos = ContextGeneratorCommon.sortClassInfos(classInfos); + this.classes = Class.fromInfos(classInfos, javaNamesToDisplayNames); + this.importedMethods = Method.fromInfos(info.getImportedMethods(), javaNamesToDisplayNames); + this.classBindings = info.getClassBindings(); + this.instanceBindings = info.getInstanceBindings(); + } + + @Override + public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException { + builder.startObject(); + builder.field(PainlessContextInfo.NAME.getPreferredName(), name); + builder.field(PainlessContextInfo.CLASSES.getPreferredName(), classes); + builder.field(PainlessContextInfo.IMPORTED_METHODS.getPreferredName(), importedMethods); + builder.field(PainlessContextInfo.CLASS_BINDINGS.getPreferredName(), classBindings); + builder.field(PainlessContextInfo.INSTANCE_BINDINGS.getPreferredName(), instanceBindings); + builder.endObject(); + + return builder; + } + + public String getName() { + return name; + } + } + + public static class Class implements ToXContentObject { + private final String name; + private final boolean imported; + private final List constructors; + private final List staticMethods; + private final List methods; + private final List staticFields; + private final List fields; + + public Class(PainlessContextClassInfo info, Map javaNamesToDisplayNames) { + this.name = javaNamesToDisplayNames.get(info.getName()); + this.imported = info.isImported(); + this.constructors = Constructor.fromInfos(info.getConstructors(), javaNamesToDisplayNames); + this.staticMethods = Method.fromInfos(info.getStaticMethods(), javaNamesToDisplayNames); + this.methods = Method.fromInfos(info.getMethods(), javaNamesToDisplayNames); + this.staticFields = Field.fromInfos(info.getStaticFields(), javaNamesToDisplayNames); + this.fields = Field.fromInfos(info.getFields(), javaNamesToDisplayNames); + } + + public static List fromInfos(List infos, Map javaNamesToDisplayNames) { + return infos.stream() + .map(info -> new Class(info, javaNamesToDisplayNames)) + .collect(Collectors.toList()); + } + + @Override + public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException { + builder.startObject(); + builder.field(PainlessContextClassInfo.NAME.getPreferredName(), name); + builder.field(PainlessContextClassInfo.IMPORTED.getPreferredName(), imported); + builder.field(PainlessContextClassInfo.CONSTRUCTORS.getPreferredName(), constructors); + builder.field(PainlessContextClassInfo.STATIC_METHODS.getPreferredName(), staticMethods); + builder.field(PainlessContextClassInfo.METHODS.getPreferredName(), methods); + builder.field(PainlessContextClassInfo.STATIC_FIELDS.getPreferredName(), staticFields); + builder.field(PainlessContextClassInfo.FIELDS.getPreferredName(), fields); + builder.endObject(); + + return builder; + } + } + + public static class Method implements ToXContentObject { + private final String declaring; + private final String name; + private final String rtn; + private final List parameters; + + public Method(PainlessContextMethodInfo info, Map javaNamesToDisplayNames) { + this.declaring = javaNamesToDisplayNames.get(info.getDeclaring()); + this.name = info.getName(); + this.rtn = ContextGeneratorCommon.getType(javaNamesToDisplayNames, info.getRtn()); + this.parameters = info.getParameters().stream() + .map(p -> ContextGeneratorCommon.getType(javaNamesToDisplayNames, p)) + .collect(Collectors.toList()); + } + + public static List fromInfos(List infos, Map javaNamesToDisplayNames) { + return infos.stream() + .map(m -> new Method(m, javaNamesToDisplayNames)) + .collect(Collectors.toList()); + } + + @Override + public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException { + builder.startObject(); + builder.field(PainlessContextMethodInfo.DECLARING.getPreferredName(), declaring); + builder.field(PainlessContextMethodInfo.NAME.getPreferredName(), name); + builder.field(PainlessContextMethodInfo.RTN.getPreferredName(), rtn); + builder.field(PainlessContextMethodInfo.PARAMETERS.getPreferredName(), parameters); + builder.endObject(); + + return builder; + } + } + + public static class Constructor implements ToXContentObject { + private final String declaring; + private final List parameters; + + public Constructor(PainlessContextConstructorInfo info, Map javaNamesToDisplayNames) { + this.declaring = javaNamesToDisplayNames.get(info.getDeclaring()); + this.parameters = info.getParameters().stream() + .map(p -> ContextGeneratorCommon.getType(javaNamesToDisplayNames, p)) + .collect(Collectors.toList()); + } + + public static List fromInfos(List infos, Map javaNamesToDisplayNames) { + return infos.stream() + .map(c -> new Constructor(c, javaNamesToDisplayNames)) + .collect(Collectors.toList()); + } + + @Override + public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException { + builder.startObject(); + builder.field(PainlessContextConstructorInfo.DECLARING.getPreferredName(), declaring); + builder.field(PainlessContextConstructorInfo.PARAMETERS.getPreferredName(), parameters); + builder.endObject(); + + return builder; + } + } + + public static class Field implements ToXContentObject { + private final String declaring; + private final String name; + private final String type; + + public Field(PainlessContextFieldInfo info, Map javaNamesToDisplayNames) { + this.declaring = javaNamesToDisplayNames.get(info.getDeclaring()); + this.name = info.getName(); + this.type = ContextGeneratorCommon.getType(javaNamesToDisplayNames, info.getType()); + } + + public static List fromInfos(List infos, Map javaNamesToDisplayNames) { + return infos.stream() + .map(f -> new Field(f, javaNamesToDisplayNames)) + .collect(Collectors.toList()); + } + + @Override + public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException { + builder.startObject(); + builder.field(PainlessContextFieldInfo.DECLARING.getPreferredName(), declaring); + builder.field(PainlessContextFieldInfo.NAME.getPreferredName(), name); + builder.field(PainlessContextFieldInfo.TYPE.getPreferredName(), type); + builder.endObject(); + + return builder; + } + } +} From 8a6b1e91d06ddc7b259f600b00dac5857bfaec45 Mon Sep 17 00:00:00 2001 From: Ioannis Kakavas Date: Wed, 9 Dec 2020 17:25:40 +0200 Subject: [PATCH 22/35] Fix rest spec (#66108) --- .../rest-api-spec/api/indices.promote_data_stream.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.promote_data_stream.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.promote_data_stream.json index 4f423a78bbc5..1942dda8a8f1 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.promote_data_stream.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/indices.promote_data_stream.json @@ -5,6 +5,9 @@ "description":"Promotes a data stream from a replicated data stream managed by CCR to a regular data stream" }, "stability":"stable", + "headers":{ + "accept": [ "application/json"] + }, "url":{ "paths":[ { From 8796c3ec125a061861deefedeb76ed59b4dcae5f Mon Sep 17 00:00:00 2001 From: Andrei Dan Date: Wed, 9 Dec 2020 16:58:32 +0000 Subject: [PATCH 23/35] Mute LifecycleLicenseIT (#66117) --- .../java/org/elasticsearch/xpack/ilm/LifecycleLicenseIT.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugin/ilm/qa/multi-node/src/javaRestTest/java/org/elasticsearch/xpack/ilm/LifecycleLicenseIT.java b/x-pack/plugin/ilm/qa/multi-node/src/javaRestTest/java/org/elasticsearch/xpack/ilm/LifecycleLicenseIT.java index a041dc7fa32c..f2a7e17cd82d 100644 --- a/x-pack/plugin/ilm/qa/multi-node/src/javaRestTest/java/org/elasticsearch/xpack/ilm/LifecycleLicenseIT.java +++ b/x-pack/plugin/ilm/qa/multi-node/src/javaRestTest/java/org/elasticsearch/xpack/ilm/LifecycleLicenseIT.java @@ -7,6 +7,7 @@ package org.elasticsearch.xpack.ilm; import org.apache.http.util.EntityUtils; +import org.apache.lucene.util.LuceneTestCase; import org.elasticsearch.client.Request; import org.elasticsearch.client.Response; import org.elasticsearch.client.ResponseException; @@ -43,6 +44,7 @@ import static org.hamcrest.Matchers.greaterThanOrEqualTo; import static org.hamcrest.Matchers.is; +@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/66088") public class LifecycleLicenseIT extends ESRestTestCase { private String policy; From b74792a8f20ce00142d6fac5e1034e611ef86f8d Mon Sep 17 00:00:00 2001 From: Andras Palinkas Date: Wed, 9 Dec 2020 12:13:27 -0500 Subject: [PATCH 24/35] SQL: Fix SUM(all zeroes) to return 0 instead of NULL (#65796) Previously the SUM(all zeroes) was `NULL`, but after this change the SUM SQL function call is automatically upgraded into a `stats` aggregation instead of a `sum` aggregation. The `stats` aggregation only results in `NULL` if the there were no rows, no values (all nulls) to aggregate, which is the expected behaviour across different SQL implementations. This is a workaround for the issue #45251 . Once the results of the `sum` aggregation can differentiate between `SUM(all nulls)` and `SUM(all zeroes`) the optimizer rule introduced in this commit needs to be removed. --- .../qa/server/src/main/resources/agg.csv-spec | 417 ++++++++++++++++++ .../sql/qa/server/src/main/resources/logs.csv | 1 + .../server/src/main/resources/pivot.csv-spec | 13 +- .../xpack/sql/optimizer/Optimizer.java | 34 ++ .../xpack/sql/optimizer/OptimizerTests.java | 95 ++-- .../sql/planner/QueryTranslatorTests.java | 22 +- 6 files changed, 550 insertions(+), 32 deletions(-) diff --git a/x-pack/plugin/sql/qa/server/src/main/resources/agg.csv-spec b/x-pack/plugin/sql/qa/server/src/main/resources/agg.csv-spec index 084af17a9d82..30d2a6f88d4b 100644 --- a/x-pack/plugin/sql/qa/server/src/main/resources/agg.csv-spec +++ b/x-pack/plugin/sql/qa/server/src/main/resources/agg.csv-spec @@ -1325,3 +1325,420 @@ F |1964-10-18T00:00:00.000Z|1952-04-19T00:00:00.000Z M |1965-01-03T00:00:00.000Z|1952-02-27T00:00:00.000Z ; + +// +// Aggregations on NULLs and Zeros +// + +allZerosWithFirst +schema::FIRST_AllZeros:i +SELECT FIRST(bytes_in) as "FIRST_AllZeros" FROM logs WHERE bytes_in = 0; + +FIRST_AllZeros +--------------- +0 +; + + +allNullsWithFirst +schema::FIRST_AllNulls:i +SELECT FIRST(bytes_out) as "FIRST_AllNulls" FROM logs WHERE bytes_out IS NULL; + +FIRST_AllNulls +--------------- +null +; + + +allZerosWithLast +schema::LAST_AllZeros:i +SELECT LAST(bytes_in) as "LAST_AllZeros" FROM logs WHERE bytes_in = 0; + + LAST_AllZeros +--------------- +0 +; + + +allNullsWithLast +schema::LAST_AllNulls:i +SELECT LAST(bytes_out) as "LAST_AllNulls" FROM logs WHERE bytes_out IS NULL; + + LAST_AllNulls +--------------- +null +; + + +allZerosWithCount +schema::COUNT_AllZeros:l +SELECT COUNT(bytes_in) as "COUNT_AllZeros" FROM logs WHERE bytes_in = 0; + +COUNT_AllZeros +--------------- +2 +; + + +allNullsWithCount +schema::COUNT_AllNulls:l +SELECT COUNT(bytes_out) as "COUNT_AllNulls" FROM logs WHERE bytes_out IS NULL; + +COUNT_AllNulls +--------------- +0 +; + + + +allZerosWithAvg +schema::AVG_AllZeros:d +SELECT AVG(bytes_in) as "AVG_AllZeros" FROM logs WHERE bytes_in = 0; + + AVG_AllZeros +--------------- +0.0 +; + + +allNullsWithAvg +schema::AVG_AllNulls:d +SELECT AVG(bytes_out) as "AVG_AllNulls" FROM logs WHERE bytes_out IS NULL; + + AVG_AllNulls +--------------- +null +; + + +allZerosWithMin +schema::MIN_AllZeros:i +SELECT MIN(bytes_in) as "MIN_AllZeros" FROM logs WHERE bytes_in = 0; + + MIN_AllZeros +--------------- +0 +; + + +allNullsWithMin +schema::MIN_AllNulls:i +SELECT MIN(bytes_out) as "MIN_AllNulls" FROM logs WHERE bytes_out IS NULL; + + MIN_AllNulls +--------------- +null +; + + +allZerosWithMax +schema::MAX_AllZeros:i +SELECT MAX(bytes_in) as "MAX_AllZeros" FROM logs WHERE bytes_in = 0; + + MAX_AllZeros +--------------- +0 +; + + +allNullsWithMax +schema::MAX_AllNulls:i +SELECT MAX(bytes_out) as "MAX_AllNulls" FROM logs WHERE bytes_out IS NULL; + + MAX_AllNulls +--------------- +null +; + + +allZerosWithSum +schema::SUM_AllZeros:i +SELECT SUM(bytes_in) as "SUM_AllZeros" FROM logs WHERE bytes_in = 0; + + SUM_AllZeros +--------------- +0 +; + + +allNullsWithSum +schema::SUM_AllNulls:i +SELECT SUM(bytes_out) as "SUM_AllNulls" FROM logs WHERE bytes_out IS NULL; + + SUM_AllNulls +--------------- +null +; + + +allZerosWithPercentile +schema::PERCENTILE_AllZeros:d +SELECT PERCENTILE(bytes_in, 0) as "PERCENTILE_AllZeros" FROM logs WHERE bytes_in = 0; + +PERCENTILE_AllZeros +------------------- +0.0 +; + + +allNullsWithPercentile +schema::PERCENTILE_AllNulls:d +SELECT PERCENTILE(bytes_out, 0) as "PERCENTILE_AllNulls" FROM logs WHERE bytes_out IS NULL; + +PERCENTILE_AllNulls +------------------- +null +; + + +allZerosWithPercentileRank +schema::PERCENTILE_RANK_AllZeros:d +SELECT PERCENTILE_RANK(bytes_in, 0) as "PERCENTILE_RANK_AllZeros" FROM logs WHERE bytes_in = 0; + +PERCENTILE_RANK_AllZeros +------------------------ +100.0 +; + + +allNullsWithPercentileRank +schema::PERCENTILE_RANK_AllNulls:d +SELECT PERCENTILE_RANK(bytes_out, 0) as "PERCENTILE_RANK_AllNulls" FROM logs WHERE bytes_out IS NULL; + +PERCENTILE_RANK_AllNulls +------------------------ +null +; + + +allZerosWithSumOfSquares +schema::SUM_OF_SQUARES_AllZeros:d +SELECT SUM_OF_SQUARES(bytes_in) as "SUM_OF_SQUARES_AllZeros" FROM logs WHERE bytes_in = 0; + +SUM_OF_SQUARES_AllZeros +----------------------- +0.0 +; + + +allNullsWithSumOfSquares +schema::SUM_OF_SQUARES_AllNulls:d +SELECT SUM_OF_SQUARES(bytes_out) as "SUM_OF_SQUARES_AllNulls" FROM logs WHERE bytes_out IS NULL; + +SUM_OF_SQUARES_AllNulls +----------------------- +null +; + + +allZerosWithStddevPop +schema::STDDEV_POP_AllZeros:d +SELECT STDDEV_POP(bytes_in) as "STDDEV_POP_AllZeros" FROM logs WHERE bytes_in = 0; + +STDDEV_POP_AllZeros +------------------- +0.0 +; + + +allNullsWithStddevPop +schema::STDDEV_POP_AllNulls:d +SELECT STDDEV_POP(bytes_out) as "STDDEV_POP_AllNulls" FROM logs WHERE bytes_out IS NULL; + +STDDEV_POP_AllNulls +------------------- +null +; + + +allZerosWithStddevSamp +schema::STDDEV_SAMP_AllZeros:d +SELECT STDDEV_SAMP(bytes_in) as "STDDEV_SAMP_AllZeros" FROM logs WHERE bytes_in = 0; + +STDDEV_SAMP_AllZeros +-------------------- +0.0 +; + + +allNullsWithStddevSamp +schema::STDDEV_SAMP_AllNulls:d +SELECT STDDEV_SAMP(bytes_out) as "STDDEV_SAMP_AllNulls" FROM logs WHERE bytes_out IS NULL; + +STDDEV_SAMP_AllNulls +-------------------- +null +; + + +allZerosWithVarSamp +schema::VAR_SAMP_AllZeros:d +SELECT VAR_SAMP(bytes_in) as "VAR_SAMP_AllZeros" FROM logs WHERE bytes_in = 0; + +VAR_SAMP_AllZeros +----------------- +0.0 +; + + +allNullsWithVarSamp +schema::VAR_SAMP_AllNulls:d +SELECT VAR_SAMP(bytes_out) as "VAR_SAMP_AllNulls" FROM logs WHERE bytes_out IS NULL; + +VAR_SAMP_AllNulls +----------------- +null +; + + +allZerosWithVarPop +schema::VAR_POP_AllZeros:d +SELECT VAR_POP(bytes_in) as "VAR_POP_AllZeros" FROM logs WHERE bytes_in = 0; + +VAR_POP_AllZeros +---------------- +0.0 +; + + +allNullsWithVarPop +schema::VAR_POP_AllNulls:d +SELECT VAR_POP(bytes_out) as "VAR_POP_AllNulls" FROM logs WHERE bytes_out IS NULL; + +VAR_POP_AllNulls +---------------- +null +; + + +allZerosWithSkewness +schema::SKEWNESS_AllZeros:d +SELECT SKEWNESS(bytes_in) as "SKEWNESS_AllZeros" FROM logs WHERE bytes_in = 0; + +SKEWNESS_AllZeros +----------------- +NaN +; + + +allNullsWithSkewness +schema::SKEWNESS_AllNulls:d +SELECT SKEWNESS(bytes_out) as "SKEWNESS_AllNulls" FROM logs WHERE bytes_out IS NULL; + +SKEWNESS_AllNulls +----------------- +null +; + + +allZerosWithMad +schema::MAD_AllZeros:d +SELECT MAD(bytes_in) as "MAD_AllZeros" FROM logs WHERE bytes_in = 0; + + MAD_AllZeros +--------------- +0.0 +; + + +allNullsWithMad +schema::MAD_AllNulls:d +SELECT MAD(bytes_out) as "MAD_AllNulls" FROM logs WHERE bytes_out IS NULL; + + MAD_AllNulls +--------------- +NaN +; + + +allZerosWithKurtosis +schema::KURTOSIS_AllZeros:d +SELECT KURTOSIS(bytes_in) as "KURTOSIS_AllZeros" FROM logs WHERE bytes_in = 0; + +KURTOSIS_AllZeros +----------------- +NaN +; + + +allNullsWithKurtosis +schema::KURTOSIS_AllNulls:d +SELECT KURTOSIS(bytes_out) as "KURTOSIS_AllNulls" FROM logs WHERE bytes_out IS NULL; + +KURTOSIS_AllNulls +----------------- +null +; + +nullsAndZerosCombined +schema::COUNT(*):l|COUNT_AllZeros:l|COUNT_AllNulls:l|FIRST_AllZeros:i|FIRST_AllNulls:i|SUM_AllZeros:i|SUM_AllNulls:i +SELECT + COUNT(*), + COUNT(bytes_in) AS "COUNT_AllZeros", + COUNT(bytes_out) AS "COUNT_AllNulls", + FIRST(bytes_in) AS "FIRST_AllZeros", + FIRST(bytes_out) AS "FIRST_AllNulls", + SUM(bytes_in) AS "SUM_AllZeros", + SUM(bytes_out) AS "SUM_AllNulls" +FROM logs +WHERE bytes_in = 0 AND bytes_out IS NULL; + + COUNT(*) |COUNT(bytes_in)|COUNT(bytes_out)|FIRST_AllZeros |FIRST_AllNulls | SUM_AllZeros | SUM_AllNulls +---------------+---------------+----------------+---------------+---------------+---------------+--------------- +1 |1 |0 |0 |null |0 |null +; + + +groupedByNullsAndZeros +schema::bytes_in:i|COUNT(*):l|SUM(bytes_in):i|MIN(bytes_in):i|MAX(bytes_in):i|AVG(bytes_in):d +SELECT + bytes_in, + COUNT(*), + SUM(bytes_in), + MIN(bytes_in), + MAX(bytes_in), + AVG(bytes_in) +FROM logs +WHERE NVL(bytes_in, 0) = 0 +GROUP BY bytes_in +ORDER BY bytes_in DESC NULLS LAST; + + bytes_in | COUNT(*) | SUM(bytes_in) | MIN(bytes_in) | MAX(bytes_in) | AVG(bytes_in) +---------------+---------------+---------------+---------------+---------------+--------------- +0 |2 |0 |0 |0 |0.0 +null |1 |null |null |null |null +; + +groupedByMultipleSumsWithNullsAndZeros +schema::SUM(bytes_in):i|SUM(bytes_out):i|client_ip:s|c:l +SELECT + SUM(bytes_in), + SUM(bytes_out), + client_ip, + COUNT(*) AS c +FROM logs +WHERE client_ip = '10.0.0.0/16' AND NVL(bytes_out, 0) = 0 +GROUP BY client_ip +ORDER BY c DESC, SUM(bytes_in) ASC NULLS FIRST; + + SUM(bytes_in) |SUM(bytes_out) | client_ip | c +---------------+---------------+---------------+--------------- +232 |null |10.0.1.199 |10 +124 |null |10.0.1.166 |7 +336 |null |10.0.1.122 |7 +8 |null |10.0.1.205 |2 +16 |null |10.0.1.201 |2 +16 |null |10.0.1.203 |2 +28 |null |10.0.1.207 |2 +40 |null |10.0.1.222 |2 +56 |null |10.0.0.130 |2 +null |null |10.0.2.129 |1 +8 |null |10.0.1.202 |1 +8 |null |10.0.1.206 |1 +8 |null |10.0.1.208 |1 +16 |null |10.0.1.13 |1 +28 |null |10.0.0.107 |1 +30 |null |10.0.0.147 |1 +32 |null |10.0.1.177 |1 +48 |null |10.0.0.109 |1 +; \ No newline at end of file diff --git a/x-pack/plugin/sql/qa/server/src/main/resources/logs.csv b/x-pack/plugin/sql/qa/server/src/main/resources/logs.csv index 7103f578b80b..aacb772e6e34 100644 --- a/x-pack/plugin/sql/qa/server/src/main/resources/logs.csv +++ b/x-pack/plugin/sql/qa/server/src/main/resources/logs.csv @@ -99,3 +99,4 @@ id,@timestamp,bytes_in,bytes_out,client_ip,client_port,dest_ip,status 98,2017-11-10T21:12:24Z,74,90,10.0.0.134,57203,172.20.10.1,OK 99,2017-11-10T21:17:37Z,39,512,10.0.0.128,29333,,OK 100,2017-11-10T03:21:36Z,64,183,10.0.0.129,4541,172.16.1.1,OK +101,2017-11-10T23:22:36Z,,,10.0.2.129,4541,172.20.11.1,OK diff --git a/x-pack/plugin/sql/qa/server/src/main/resources/pivot.csv-spec b/x-pack/plugin/sql/qa/server/src/main/resources/pivot.csv-spec index f8b580a7bc06..3265c1038a47 100644 --- a/x-pack/plugin/sql/qa/server/src/main/resources/pivot.csv-spec +++ b/x-pack/plugin/sql/qa/server/src/main/resources/pivot.csv-spec @@ -197,10 +197,21 @@ null |10043 |Yishay |M |1990-10-20 null |10044 |Mingsen |F |1994-05-21 00:00:00.0|Casley |39728 |null 1952-04-19 00:00:00.0|10009 |Sumant |F |1985-02-18 00:00:00.0|Peac |66174 |null 1953-01-07 00:00:00.0|10067 |Claudi |M |1987-03-04 00:00:00.0|Stavenow |null |52044 - // end::sumWithoutSubquery ; +sumWithZeros +SELECT * +FROM (SELECT client_ip, status, bytes_in FROM logs WHERE NVL(bytes_in, 0) = 0) +PIVOT (SUM(bytes_in) FOR status IN ('OK','Error')); + + client_ip | 'OK' | 'Error' +---------------+---------------+--------------- +10.0.1.199 |0 |null +10.0.1.205 |0 |null +10.0.2.129 |null |null +; + sumWithInnerAggregateSumOfSquares schema::birth_date:ts|emp_no:i|first_name:s|gender:s|hire_date:ts|last_name:s|1:d|2:d SELECT * FROM test_emp PIVOT (SUM_OF_SQUARES(salary) FOR languages IN (1, 2)) LIMIT 5; diff --git a/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/optimizer/Optimizer.java b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/optimizer/Optimizer.java index a0fdf5370f05..83cc60d80448 100644 --- a/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/optimizer/Optimizer.java +++ b/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/optimizer/Optimizer.java @@ -164,6 +164,7 @@ protected Iterable.Batch> batches() { new ReplaceAggsWithMatrixStats(), new ReplaceAggsWithExtendedStats(), new ReplaceAggsWithStats(), + new ReplaceSumWithStats(), new PromoteStatsToExtendedStats(), new ReplaceAggsWithPercentiles(), new ReplaceAggsWithPercentileRanks() @@ -983,6 +984,39 @@ public LogicalPlan apply(LogicalPlan p) { } } + // This class is a workaround for the SUM(all zeros) = NULL issue raised in https://github.com/elastic/elasticsearch/issues/45251 and + // should be removed as soon as root cause is fixed and the sum aggregation results can differentiate between SUM(all zeroes) + // and SUM(all nulls) + // NOTE: this rule should always be applied AFTER the ReplaceAggsWithStats rule + static class ReplaceSumWithStats extends OptimizerBasicRule { + + @Override + public LogicalPlan apply(LogicalPlan plan) { + final Map statsPerField = new LinkedHashMap<>(); + + plan.forEachExpressionsUp(e -> { + if (e instanceof Sum) { + statsPerField.computeIfAbsent(((Sum) e).field(), field -> { + Source source = new Source(field.sourceLocation(), "STATS(" + field.sourceText() + ")"); + return new Stats(source, field); + }); + } + }); + + if (statsPerField.isEmpty() == false) { + plan = plan.transformExpressionsUp(e -> { + if (e instanceof Sum) { + Sum sum = (Sum) e; + return new InnerAggregate(sum, statsPerField.get(sum.field())); + } + return e; + }); + } + + return plan; + } + } + static class PromoteStatsToExtendedStats extends OptimizerBasicRule { @Override diff --git a/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/optimizer/OptimizerTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/optimizer/OptimizerTests.java index 5c1248d2b768..1d46ccdf343b 100644 --- a/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/optimizer/OptimizerTests.java +++ b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/optimizer/OptimizerTests.java @@ -119,7 +119,6 @@ import org.elasticsearch.xpack.sql.session.EmptyExecutable; import java.lang.reflect.Constructor; -import java.util.Arrays; import java.util.Collections; import java.util.List; @@ -219,7 +218,7 @@ public void testReplaceFoldableAttributes() { // WHERE a < 10 LogicalPlan p = new Filter(EMPTY, FROM(), lessThanOf(a, L(10))); // SELECT - p = new Project(EMPTY, p, Arrays.asList(a, b)); + p = new Project(EMPTY, p, asList(a, b)); // ORDER BY p = new OrderBy(EMPTY, p, singletonList(new Order(EMPTY, b, OrderDirection.ASC, null))); @@ -269,14 +268,14 @@ public void testConstantFoldingDatetime() { public void testConstantFoldingIn() { In in = new In(EMPTY, ONE, - Arrays.asList(ONE, TWO, ONE, THREE, new Sub(EMPTY, THREE, ONE), ONE, FOUR, new Abs(EMPTY, new Sub(EMPTY, TWO, FIVE)))); + asList(ONE, TWO, ONE, THREE, new Sub(EMPTY, THREE, ONE), ONE, FOUR, new Abs(EMPTY, new Sub(EMPTY, TWO, FIVE)))); Literal result= (Literal) new ConstantFolding().rule(in); assertEquals(true, result.value()); } public void testConstantFoldingIn_LeftValueNotFoldable() { In in = new In(EMPTY, getFieldAttribute(), - Arrays.asList(ONE, TWO, ONE, THREE, new Sub(EMPTY, THREE, ONE), ONE, FOUR, new Abs(EMPTY, new Sub(EMPTY, TWO, FIVE)))); + asList(ONE, TWO, ONE, THREE, new Sub(EMPTY, THREE, ONE), ONE, FOUR, new Abs(EMPTY, new Sub(EMPTY, TWO, FIVE)))); Alias as = new Alias(in.source(), in.sourceText(), in); Project p = new Project(EMPTY, FROM(), Collections.singletonList(as)); p = (Project) new ConstantFolding().apply(p); @@ -287,13 +286,13 @@ public void testConstantFoldingIn_LeftValueNotFoldable() { } public void testConstantFoldingIn_RightValueIsNull() { - In in = new In(EMPTY, getFieldAttribute(), Arrays.asList(NULL, NULL)); + In in = new In(EMPTY, getFieldAttribute(), asList(NULL, NULL)); Literal result= (Literal) new ConstantFolding().rule(in); assertNull(result.value()); } public void testConstantFoldingIn_LeftValueIsNull() { - In in = new In(EMPTY, NULL, Arrays.asList(ONE, TWO, THREE)); + In in = new In(EMPTY, NULL, asList(ONE, TWO, THREE)); Literal result= (Literal) new ConstantFolding().rule(in); assertNull(result.value()); } @@ -426,9 +425,9 @@ public void testNullFoldingDoesNotApplyOnArbitraryConditionals() throws Exceptio Class clazz = (Class) randomFrom(Coalesce.class, Greatest.class, Least.class); Constructor ctor = clazz.getConstructor(Source.class, List.class); - ArbitraryConditionalFunction conditionalFunction = ctor.newInstance(EMPTY, Arrays.asList(NULL, ONE, TWO)); + ArbitraryConditionalFunction conditionalFunction = ctor.newInstance(EMPTY, asList(NULL, ONE, TWO)); assertEquals(conditionalFunction, rule.rule(conditionalFunction)); - conditionalFunction = ctor.newInstance(EMPTY, Arrays.asList(NULL, NULL, NULL)); + conditionalFunction = ctor.newInstance(EMPTY, asList(NULL, NULL, NULL)); assertEquals(conditionalFunction, rule.rule(conditionalFunction)); } @@ -461,7 +460,7 @@ private List randomListOfNulls() { public void testSimplifyCoalesceFirstLiteral() { Expression e = new SimplifyConditional() .rule(new Coalesce(EMPTY, - Arrays.asList(NULL, TRUE, FALSE, new Abs(EMPTY, getFieldAttribute())))); + asList(NULL, TRUE, FALSE, new Abs(EMPTY, getFieldAttribute())))); assertEquals(Coalesce.class, e.getClass()); assertEquals(1, e.children().size()); assertEquals(TRUE, e.children().get(0)); @@ -585,7 +584,7 @@ public void testSimplifyCaseConditionsFoldWhenFalse() { // ELSE 'default' // END - Case c = new Case(EMPTY, Arrays.asList( + Case c = new Case(EMPTY, asList( new IfConditional(EMPTY, equalsOf(getFieldAttribute(), ONE), literal("foo1")), new IfConditional(EMPTY, equalsOf(ONE, TWO), literal("bar1")), new IfConditional(EMPTY, equalsOf(TWO, ONE), literal("bar2")), @@ -611,7 +610,7 @@ public void testSimplifyCaseConditionsFoldCompletely_FoldableElse() { // // 'foo2' - Case c = new Case(EMPTY, Arrays.asList( + Case c = new Case(EMPTY, asList( new IfConditional(EMPTY, equalsOf(ONE, TWO), literal("foo1")), new IfConditional(EMPTY, equalsOf(ONE, ONE), literal("foo2")), literal("default"))); assertFalse(c.foldable()); @@ -636,7 +635,7 @@ public void testSimplifyCaseConditionsFoldCompletely_NonFoldableElse() { // // myField (non-foldable) - Case c = new Case(EMPTY, Arrays.asList( + Case c = new Case(EMPTY, asList( new IfConditional(EMPTY, equalsOf(ONE, TWO), literal("foo1")), getFieldAttribute("myField"))); assertFalse(c.foldable()); @@ -794,8 +793,8 @@ public void testTranslateMinToFirst() { Min min2 = new Min(EMPTY, getFieldAttribute()); OrderBy plan = new OrderBy(EMPTY, new Aggregate(EMPTY, FROM(), emptyList(), - Arrays.asList(a("min1", min1), a("min2", min2))), - Arrays.asList( + asList(a("min1", min1), a("min2", min2))), + asList( new Order(EMPTY, min1, OrderDirection.ASC, Order.NullsPosition.LAST), new Order(EMPTY, min2, OrderDirection.ASC, Order.NullsPosition.LAST))); LogicalPlan result = new ReplaceMinMaxWithTopHits().apply(plan); @@ -819,8 +818,8 @@ public void testTranslateMaxToLast() { Max max1 = new Max(EMPTY, new FieldAttribute(EMPTY, "str", new EsField("str", KEYWORD, emptyMap(), true))); Max max2 = new Max(EMPTY, getFieldAttribute()); - OrderBy plan = new OrderBy(EMPTY, new Aggregate(EMPTY, FROM(), emptyList(), Arrays.asList(a("max1", max1), a("max2", max2))), - Arrays.asList( + OrderBy plan = new OrderBy(EMPTY, new Aggregate(EMPTY, FROM(), emptyList(), asList(a("max1", max1), a("max2", max2))), + asList( new Order(EMPTY, max1, OrderDirection.ASC, Order.NullsPosition.LAST), new Order(EMPTY, max2, OrderDirection.ASC, Order.NullsPosition.LAST))); LogicalPlan result = new ReplaceMinMaxWithTopHits().apply(plan); @@ -849,8 +848,8 @@ public void testSortAggregateOnOrderByWithTwoFields() { Order secondOrderBy = new Order(EMPTY, secondField, OrderDirection.ASC, Order.NullsPosition.LAST); OrderBy orderByPlan = new OrderBy(EMPTY, - new Aggregate(EMPTY, FROM(), Arrays.asList(secondField, firstField), Arrays.asList(secondAlias, firstAlias)), - Arrays.asList(firstOrderBy, secondOrderBy)); + new Aggregate(EMPTY, FROM(), asList(secondField, firstField), asList(secondAlias, firstAlias)), + asList(firstOrderBy, secondOrderBy)); LogicalPlan result = new SortAggregateOnOrderBy().apply(orderByPlan); assertTrue(result instanceof OrderBy); @@ -881,8 +880,8 @@ public void testSortAggregateOnOrderByOnlyAliases() { Order secondOrderBy = new Order(EMPTY, secondAlias, OrderDirection.ASC, Order.NullsPosition.LAST); OrderBy orderByPlan = new OrderBy(EMPTY, - new Aggregate(EMPTY, FROM(), Arrays.asList(secondAlias, firstAlias), Arrays.asList(secondAlias, firstAlias)), - Arrays.asList(firstOrderBy, secondOrderBy)); + new Aggregate(EMPTY, FROM(), asList(secondAlias, firstAlias), asList(secondAlias, firstAlias)), + asList(firstOrderBy, secondOrderBy)); LogicalPlan result = new SortAggregateOnOrderBy().apply(orderByPlan); assertTrue(result instanceof OrderBy); @@ -906,8 +905,8 @@ public void testSortAggregateOnOrderByOnlyAliases() { public void testPivotRewrite() { FieldAttribute column = getFieldAttribute("pivot"); FieldAttribute number = getFieldAttribute("number"); - List values = Arrays.asList(new Alias(EMPTY, "ONE", L(1)), new Alias(EMPTY, "TWO", L(2))); - List aggs = Arrays.asList(new Alias(EMPTY, "AVG", new Avg(EMPTY, number))); + List values = asList(new Alias(EMPTY, "ONE", L(1)), new Alias(EMPTY, "TWO", L(2))); + List aggs = asList(new Alias(EMPTY, "AVG", new Avg(EMPTY, number))); Pivot pivot = new Pivot(EMPTY, new EsRelation(EMPTY, new EsIndex("table", emptyMap()), false), column, values, aggs); LogicalPlan result = new RewritePivot().apply(pivot); @@ -919,7 +918,7 @@ public void testPivotRewrite() { assertEquals(In.class, f.condition().getClass()); In in = (In) f.condition(); assertEquals(column, in.value()); - assertEquals(Arrays.asList(L(1), L(2)), in.list()); + assertEquals(asList(L(1), L(2)), in.list()); } /** @@ -933,7 +932,7 @@ public void testAggregatesPromoteToStats_WithFullTextPredicatesConditions() { FullTextPredicate matchPredicate = new MatchQueryPredicate(EMPTY, matchField, "A", StringUtils.EMPTY); FullTextPredicate multiMatchPredicate = new MultiMatchQueryPredicate(EMPTY, "match_field", "A", StringUtils.EMPTY); FullTextPredicate stringQueryPredicate = new StringQueryPredicate(EMPTY, "match_field:A", StringUtils.EMPTY); - List predicates = Arrays.asList(matchPredicate, multiMatchPredicate, stringQueryPredicate); + List predicates = asList(matchPredicate, multiMatchPredicate, stringQueryPredicate); FullTextPredicate left = randomFrom(predicates); FullTextPredicate right = randomFrom(predicates); @@ -946,15 +945,15 @@ public void testAggregatesPromoteToStats_WithFullTextPredicatesConditions() { List aggregates; boolean isSimpleStats = randomBoolean(); if (isSimpleStats) { - aggregates = Arrays.asList(new Avg(EMPTY, aggField), new Sum(EMPTY, aggField), new Min(EMPTY, aggField), + aggregates = asList(new Avg(EMPTY, aggField), new Sum(EMPTY, aggField), new Min(EMPTY, aggField), new Max(EMPTY, aggField)); } else { - aggregates = Arrays.asList(new StddevPop(EMPTY, aggField), new SumOfSquares(EMPTY, aggField), new VarPop(EMPTY, aggField)); + aggregates = asList(new StddevPop(EMPTY, aggField), new SumOfSquares(EMPTY, aggField), new VarPop(EMPTY, aggField)); } AggregateFunction firstAggregate = randomFrom(aggregates); AggregateFunction secondAggregate = randomValueOtherThan(firstAggregate, () -> randomFrom(aggregates)); Aggregate aggregatePlan = new Aggregate(EMPTY, filter, singletonList(matchField), - Arrays.asList(new Alias(EMPTY, "first", firstAggregate), new Alias(EMPTY, "second", secondAggregate))); + asList(new Alias(EMPTY, "first", firstAggregate), new Alias(EMPTY, "second", secondAggregate))); LogicalPlan result; if (isSimpleStats) { result = new ReplaceAggsWithStats().apply(aggregatePlan); @@ -1001,7 +1000,7 @@ public void testReplaceAttributesWithTarget() { Alias aAlias = new Alias(EMPTY, "aAlias", a); Alias bAlias = new Alias(EMPTY, "bAlias", b); - Project p = new Project(EMPTY, FROM(), Arrays.asList(aAlias, bAlias)); + Project p = new Project(EMPTY, FROM(), asList(aAlias, bAlias)); Filter f = new Filter(EMPTY, p, new And(EMPTY, greaterThanOf(aAlias.toAttribute(), L(1)), greaterThanOf(bAlias.toAttribute(), L(2)))); @@ -1023,4 +1022,44 @@ public void testReplaceAttributesWithTarget() { gt = (GreaterThan) and.left(); assertEquals(a, gt.left()); } + + // + // ReplaceSumWithStats rule + // + public void testSumIsReplacedWithStats() { + FieldAttribute fa = getFieldAttribute(); + Sum sum = new Sum(EMPTY, fa); + + Alias sumAlias = new Alias(EMPTY, "sum", sum); + + Aggregate aggregate = new Aggregate(EMPTY, FROM(), emptyList(), asList(sumAlias)); + LogicalPlan optimizedPlan = new Optimizer().optimize(aggregate); + assertTrue(optimizedPlan instanceof Aggregate); + Aggregate p = (Aggregate) optimizedPlan; + assertEquals(1, p.aggregates().size()); + assertTrue(p.aggregates().get(0) instanceof Alias); + Alias alias = (Alias) p.aggregates().get(0); + assertTrue(alias.child() instanceof InnerAggregate); + assertEquals(sum, ((InnerAggregate) alias.child()).inner()); + } + + /** + * Once the root cause of https://github.com/elastic/elasticsearch/issues/45251 is fixed in the sum ES aggregation + * (can differentiate between SUM(all zeroes) and SUM(all nulls)), + * remove the {@link OptimizerTests#testSumIsReplacedWithStats()}, and re-enable the following test. + */ + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/45251") + public void testSumIsNotReplacedWithStats() { + FieldAttribute fa = getFieldAttribute(); + Sum sum = new Sum(EMPTY, fa); + + Alias sumAlias = new Alias(EMPTY, "sum", sum); + + Aggregate aggregate = new Aggregate(EMPTY, FROM(), emptyList(), asList(sumAlias)); + LogicalPlan optimizedPlan = new Optimizer().optimize(aggregate); + assertTrue(optimizedPlan instanceof Aggregate); + Aggregate p = (Aggregate) optimizedPlan; + assertEquals(1, p.aggregates().size()); + assertEquals(sumAlias, p.aggregates().get(0)); + } } diff --git a/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/QueryTranslatorTests.java b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/QueryTranslatorTests.java index bac97756d952..e8f91bf6cb8b 100644 --- a/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/QueryTranslatorTests.java +++ b/x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/planner/QueryTranslatorTests.java @@ -84,7 +84,6 @@ import java.time.ZoneId; import java.time.ZonedDateTime; -import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Locale; @@ -95,6 +94,7 @@ import java.util.stream.IntStream; import java.util.stream.Stream; +import static java.util.Arrays.asList; import static org.elasticsearch.xpack.ql.type.DataTypes.BOOLEAN; import static org.elasticsearch.xpack.ql.type.DataTypes.DATETIME; import static org.elasticsearch.xpack.ql.type.DataTypes.DOUBLE; @@ -153,7 +153,7 @@ private PhysicalPlan optimizeAndPlan(LogicalPlan plan) { } private LogicalPlan parameterizedSql(String sql, SqlTypedParamValue... params) { - return analyzer.analyze(parser.createStatement(sql, Arrays.asList(params), DateUtils.UTC), true); + return analyzer.analyze(parser.createStatement(sql, asList(params), DateUtils.UTC), true); } } @@ -1048,7 +1048,7 @@ public void testTranslateInExpression_WhereClause_Datetime() { assertFalse(bq.isAnd()); assertTrue(bq.left() instanceof RangeQuery); assertTrue(bq.right() instanceof RangeQuery); - List> tuples = Arrays.asList(new Tuple<>(dates[0], (RangeQuery)bq.left()), + List> tuples = asList(new Tuple<>(dates[0], (RangeQuery)bq.left()), new Tuple<>(dates[1], (RangeQuery) bq.right())); for (Tuple t: tuples) { @@ -2443,4 +2443,20 @@ public void testPercentileOptimization() { test.accept("PERCENTILE", p -> ((PercentilesAggregationBuilder)p).percentiles()); test.accept("PERCENTILE_RANK", p -> ((PercentileRanksAggregationBuilder)p).values()); } + + // Tests the workaround for the SUM(all zeros) = NULL issue raised in https://github.com/elastic/elasticsearch/issues/45251 and + // should be removed as soon as root cause is fixed and the sum aggregation results can differentiate between SUM(all zeroes) + // and SUM(all nulls) + public void testReplaceSumWithStats() { + List testCases = asList( + "SELECT keyword, SUM(int) FROM test GROUP BY keyword", + "SELECT SUM(int) FROM test", + "SELECT * FROM (SELECT some.string, keyword, int FROM test) PIVOT (SUM(int) FOR keyword IN ('a', 'b'))"); + for (String testCase : testCases) { + PhysicalPlan physicalPlan = optimizeAndPlan(testCase); + assertEquals(EsQueryExec.class, physicalPlan.getClass()); + EsQueryExec eqe = (EsQueryExec) physicalPlan; + assertThat(eqe.queryContainer().toString().replaceAll("\\s+", ""), containsString("{\"stats\":{\"field\":\"int\"}}")); + } + } } From 51452d1ae3b5f56bb4efb3dc1639bef69e58b819 Mon Sep 17 00:00:00 2001 From: Dan Hermann Date: Wed, 9 Dec 2020 11:24:57 -0600 Subject: [PATCH 25/35] Mute failing AttachmentProcessor.testIndexedCharsWithResourceName test (#66121) --- .../ingest/attachment/AttachmentProcessorTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/ingest-attachment/src/test/java/org/elasticsearch/ingest/attachment/AttachmentProcessorTests.java b/plugins/ingest-attachment/src/test/java/org/elasticsearch/ingest/attachment/AttachmentProcessorTests.java index f2373796472f..9e71cb0c681c 100644 --- a/plugins/ingest-attachment/src/test/java/org/elasticsearch/ingest/attachment/AttachmentProcessorTests.java +++ b/plugins/ingest-attachment/src/test/java/org/elasticsearch/ingest/attachment/AttachmentProcessorTests.java @@ -349,6 +349,7 @@ public void testIndexedChars() throws Exception { } + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/66086") public void testIndexedCharsWithResourceName() throws Exception { processor = new AttachmentProcessor(randomAlphaOfLength(10), null, "source_field", "target_field", EnumSet.allOf(AttachmentProcessor.Property.class), 100, From 5414ad02edc2a14472eb31918f092e01a41e4b3e Mon Sep 17 00:00:00 2001 From: Albert Zaharovits Date: Wed, 9 Dec 2020 20:03:57 +0200 Subject: [PATCH 26/35] Log warn when license does not permit auditing (#65498) Security auditing only works on license levels GOLD or higher. The license level can dynamically change while the node is running. This PR logs a WARN message when license does not permit auditing, but the static settings xpack.security.enabled and xpack.security.audit.enabled are true. The log warn message is outputed at most every 30 mins. --- .../security/audit/AuditTrailService.java | 30 +++++++++- .../audit/AuditTrailServiceTests.java | 57 +++++++++++++++++++ 2 files changed, 84 insertions(+), 3 deletions(-) diff --git a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrailService.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrailService.java index 4449cfca8190..8141e711d4e4 100644 --- a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrailService.java +++ b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrailService.java @@ -5,6 +5,8 @@ */ package org.elasticsearch.xpack.security.audit; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; import org.elasticsearch.common.transport.TransportAddress; import org.elasticsearch.license.XPackLicenseState; import org.elasticsearch.license.XPackLicenseState.Feature; @@ -16,14 +18,21 @@ import org.elasticsearch.xpack.security.transport.filter.SecurityIpFilterRule; import java.net.InetAddress; +import java.time.Duration; +import java.time.Instant; import java.util.Collections; import java.util.List; +import java.util.concurrent.atomic.AtomicReference; public class AuditTrailService { + private static final Logger logger = LogManager.getLogger(AuditTrailService.class); + private static final AuditTrail NOOP_AUDIT_TRAIL = new NoopAuditTrail(); private final CompositeAuditTrail compositeAuditTrail; private final XPackLicenseState licenseState; + private final Duration minLogPeriod = Duration.ofMinutes(30); + protected AtomicReference nextLogInstantAtomic = new AtomicReference<>(Instant.EPOCH); public AuditTrailService(List auditTrails, XPackLicenseState licenseState) { this.compositeAuditTrail = new CompositeAuditTrail(Collections.unmodifiableList(auditTrails)); @@ -31,9 +40,13 @@ public AuditTrailService(List auditTrails, XPackLicenseState license } public AuditTrail get() { - if (compositeAuditTrail.isEmpty() == false && - licenseState.isSecurityEnabled() && licenseState.checkFeature(Feature.SECURITY_AUDITING)) { - return compositeAuditTrail; + if (compositeAuditTrail.isEmpty() == false && licenseState.isSecurityEnabled()) { + if (licenseState.checkFeature(Feature.SECURITY_AUDITING)) { + return compositeAuditTrail; + } else { + maybeLogAuditingDisabled(); + return NOOP_AUDIT_TRAIL; + } } else { return NOOP_AUDIT_TRAIL; } @@ -45,6 +58,17 @@ public List getAuditTrails() { return compositeAuditTrail.auditTrails; } + private void maybeLogAuditingDisabled() { + Instant nowInstant = Instant.now(); + Instant nextLogInstant = nextLogInstantAtomic.get(); + if (nextLogInstant.isBefore(nowInstant)) { + if (nextLogInstantAtomic.compareAndSet(nextLogInstant, nowInstant.plus(minLogPeriod))) { + logger.warn("Auditing logging is DISABLED because the currently active license [" + + licenseState.getOperationMode() + "] does not permit it"); + } + } + } + private static class NoopAuditTrail implements AuditTrail { @Override diff --git a/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java index 005dfb71e712..17a0a84942f3 100644 --- a/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java +++ b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java @@ -5,10 +5,16 @@ */ package org.elasticsearch.xpack.security.audit; +import org.apache.logging.log4j.Level; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import org.elasticsearch.common.logging.Loggers; +import org.elasticsearch.license.License; import org.elasticsearch.license.XPackLicenseState; import org.elasticsearch.license.XPackLicenseState.Feature; import org.elasticsearch.rest.RestRequest; import org.elasticsearch.test.ESTestCase; +import org.elasticsearch.test.MockLogAppender; import org.elasticsearch.transport.TransportRequest; import org.elasticsearch.xpack.core.security.authc.Authentication; import org.elasticsearch.xpack.core.security.authc.Authentication.RealmRef; @@ -20,6 +26,8 @@ import org.junit.Before; import java.net.InetAddress; +import java.time.Duration; +import java.time.Instant; import java.util.ArrayList; import java.util.Collections; import java.util.List; @@ -58,6 +66,55 @@ public void init() throws Exception { restRequest = mock(RestRequest.class); } + public void testLogWhenLicenseProhibitsAuditing() throws Exception { + MockLogAppender mockLogAppender = new MockLogAppender(); + mockLogAppender.start(); + Logger auditTrailServiceLogger = LogManager.getLogger(AuditTrailService.class); + Loggers.addAppender(auditTrailServiceLogger, mockLogAppender); + when(licenseState.getOperationMode()).thenReturn(randomFrom(License.OperationMode.values())); + if (isAuditingAllowed) { + mockLogAppender.addExpectation(new MockLogAppender.UnseenEventExpectation( + "audit disabled because of license", + AuditTrailService.class.getName(), + Level.WARN, + "Security auditing is DISABLED because the currently active license [" + + licenseState.getOperationMode() + "] does not permit it" + )); + } else { + mockLogAppender.addExpectation(new MockLogAppender.SeenEventExpectation( + "audit disabled because of license", + AuditTrailService.class.getName(), + Level.WARN, + "Security auditing is DISABLED because the currently active license [" + + licenseState.getOperationMode() + "] does not permit it" + )); + } + for (int i = 1; i <= randomIntBetween(2, 6); i++) { + service.get(); + } + mockLogAppender.assertAllExpectationsMatched(); + Loggers.removeAppender(auditTrailServiceLogger, mockLogAppender); + } + + public void testNoLogRecentlyWhenLicenseProhibitsAuditing() throws Exception { + MockLogAppender mockLogAppender = new MockLogAppender(); + mockLogAppender.start(); + Logger auditTrailServiceLogger = LogManager.getLogger(AuditTrailService.class); + Loggers.addAppender(auditTrailServiceLogger, mockLogAppender); + service.nextLogInstantAtomic.set(randomFrom(Instant.now().minus(Duration.ofMinutes(5)), Instant.now())); + mockLogAppender.addExpectation(new MockLogAppender.UnseenEventExpectation( + "audit disabled because of license", + AuditTrailService.class.getName(), + Level.WARN, + "Security auditing is DISABLED because the currently active license [*] does not permit it" + )); + for (int i = 1; i <= randomIntBetween(2, 6); i++) { + service.get(); + } + mockLogAppender.assertAllExpectationsMatched(); + Loggers.removeAppender(auditTrailServiceLogger, mockLogAppender); + } + public void testAuthenticationFailed() throws Exception { final String requestId = randomAlphaOfLengthBetween(6, 12); service.get().authenticationFailed(requestId, token, "_action", request); From 424ceb13ba178110cffafb730a43ed04c107a582 Mon Sep 17 00:00:00 2001 From: bellengao Date: Thu, 10 Dec 2020 02:22:33 +0800 Subject: [PATCH 27/35] [DOCS] Fix `search_timeout` parameter docs (#66075) Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> --- docs/reference/docs/delete-by-query.asciidoc | 5 ++++- docs/reference/docs/update-by-query.asciidoc | 5 ++++- docs/reference/rest-api/common-parms.asciidoc | 7 ------- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/reference/docs/delete-by-query.asciidoc b/docs/reference/docs/delete-by-query.asciidoc index cd5f0f6beaac..22f1155f5aec 100644 --- a/docs/reference/docs/delete-by-query.asciidoc +++ b/docs/reference/docs/delete-by-query.asciidoc @@ -213,7 +213,10 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=scroll_size] include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=search_type] -include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=search_timeout] +`search_timeout`:: +(Optional, <>) +Explicit timeout for each search request. +Defaults to no timeout. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=slices] diff --git a/docs/reference/docs/update-by-query.asciidoc b/docs/reference/docs/update-by-query.asciidoc index 31f8ea128d49..4a410c7c42bf 100644 --- a/docs/reference/docs/update-by-query.asciidoc +++ b/docs/reference/docs/update-by-query.asciidoc @@ -213,7 +213,10 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=scroll_size] include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=search_type] -include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=search_timeout] +`search_timeout`:: +(Optional, <>) +Explicit timeout for each search request. +Defaults to no timeout. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=slices] diff --git a/docs/reference/rest-api/common-parms.asciidoc b/docs/reference/rest-api/common-parms.asciidoc index dc84bc3317d1..a09d5c98519a 100644 --- a/docs/reference/rest-api/common-parms.asciidoc +++ b/docs/reference/rest-api/common-parms.asciidoc @@ -783,13 +783,6 @@ tag::search-time-ms[] The amount of time spent searching, in milliseconds. end::search-time-ms[] -tag::search_timeout[] -`timeout`:: -(Optional, <>) -Explicit timeout for each search request. -Defaults to no timeout. -end::search_timeout[] - tag::search-total[] The number of search operations on the source index for the {transform}. end::search-total[] From 0be70fd35b685c3167806e55502547c562e9898d Mon Sep 17 00:00:00 2001 From: Stuart Tettemer Date: Wed, 9 Dec 2020 12:24:36 -0600 Subject: [PATCH 28/35] Scripting: whitelist api spec, refs #49879 (#66120) --- .../generated/whitelist-json/painless-aggregation_selector.json | 1 + .../src/main/generated/whitelist-json/painless-aggs.json | 1 + .../src/main/generated/whitelist-json/painless-aggs_combine.json | 1 + .../src/main/generated/whitelist-json/painless-aggs_init.json | 1 + .../src/main/generated/whitelist-json/painless-aggs_map.json | 1 + .../src/main/generated/whitelist-json/painless-aggs_reduce.json | 1 + .../src/main/generated/whitelist-json/painless-analysis.json | 1 + .../painless-boolean_script_field_script_field.json | 1 + .../generated/whitelist-json/painless-bucket_aggregation.json | 1 + .../src/main/generated/whitelist-json/painless-common.json | 1 + .../generated/whitelist-json/painless-date_script_field.json | 1 + .../painless-double_script_field_script_field.json | 1 + .../src/main/generated/whitelist-json/painless-field.json | 1 + .../src/main/generated/whitelist-json/painless-filter.json | 1 + .../painless-geo_point_script_field_script_field.json | 1 + .../src/main/generated/whitelist-json/painless-ingest.json | 1 + .../src/main/generated/whitelist-json/painless-interval.json | 1 + .../whitelist-json/painless-ip_script_field_script_field.json | 1 + .../whitelist-json/painless-long_script_field_script_field.json | 1 + .../main/generated/whitelist-json/painless-moving-function.json | 1 + .../src/main/generated/whitelist-json/painless-number_sort.json | 1 + .../main/generated/whitelist-json/painless-painless_test.json | 1 + .../generated/whitelist-json/painless-processor_conditional.json | 1 + .../src/main/generated/whitelist-json/painless-score.json | 1 + .../main/generated/whitelist-json/painless-script_heuristic.json | 1 + .../src/main/generated/whitelist-json/painless-similarity.json | 1 + .../generated/whitelist-json/painless-similarity_weight.json | 1 + .../painless-string_script_field_script_field.json | 1 + .../src/main/generated/whitelist-json/painless-string_sort.json | 1 + .../src/main/generated/whitelist-json/painless-template.json | 1 + .../src/main/generated/whitelist-json/painless-terms_set.json | 1 + .../src/main/generated/whitelist-json/painless-update.json | 1 + .../generated/whitelist-json/painless-watcher_condition.json | 1 + .../generated/whitelist-json/painless-watcher_transform.json | 1 + .../main/generated/whitelist-json/painless-xpack_template.json | 1 + 35 files changed, 35 insertions(+) create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-aggregation_selector.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-aggs.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_combine.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_init.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_map.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_reduce.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-analysis.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-boolean_script_field_script_field.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-bucket_aggregation.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-common.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-date_script_field.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-double_script_field_script_field.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-field.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-filter.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-geo_point_script_field_script_field.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-ingest.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-interval.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-ip_script_field_script_field.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-long_script_field_script_field.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-moving-function.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-number_sort.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-painless_test.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-processor_conditional.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-score.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-script_heuristic.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-similarity.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-similarity_weight.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-string_script_field_script_field.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-string_sort.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-template.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-terms_set.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-update.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-watcher_condition.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-watcher_transform.json create mode 100644 modules/lang-painless/src/main/generated/whitelist-json/painless-xpack_template.json diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-aggregation_selector.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggregation_selector.json new file mode 100644 index 000000000000..9b3436445fc1 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggregation_selector.json @@ -0,0 +1 @@ +{"name":"aggregation_selector","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"GeoShape","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalDayTime","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalYearMonth","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs.json new file mode 100644 index 000000000000..7944fb38b17f --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs.json @@ -0,0 +1 @@ +{"name":"aggs","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"GeoShape","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalDayTime","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalYearMonth","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"VersionScriptDocValues","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"VersionScriptDocValues","name":"get","return":"String","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"VersionScriptDocValues","name":"getValue","return":"String","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_combine.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_combine.json new file mode 100644 index 000000000000..fa8abab318f7 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_combine.json @@ -0,0 +1 @@ +{"name":"aggs_combine","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_init.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_init.json new file mode 100644 index 000000000000..bb953eb72c2f --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_init.json @@ -0,0 +1 @@ +{"name":"aggs_init","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_map.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_map.json new file mode 100644 index 000000000000..fa21705d3c46 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_map.json @@ -0,0 +1 @@ +{"name":"aggs_map","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_reduce.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_reduce.json new file mode 100644 index 000000000000..992d05ae4a92 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-aggs_reduce.json @@ -0,0 +1 @@ +{"name":"aggs_reduce","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-analysis.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-analysis.json new file mode 100644 index 000000000000..c29ae3f214a3 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-analysis.json @@ -0,0 +1 @@ +{"name":"analysis","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AnalysisPredicateScript.Token","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"AnalysisPredicateScript.Token","name":"getEndOffset","return":"int","parameters":[]},{"declaring":"AnalysisPredicateScript.Token","name":"getPosition","return":"int","parameters":[]},{"declaring":"AnalysisPredicateScript.Token","name":"getPositionIncrement","return":"int","parameters":[]},{"declaring":"AnalysisPredicateScript.Token","name":"getPositionLength","return":"int","parameters":[]},{"declaring":"AnalysisPredicateScript.Token","name":"getStartOffset","return":"int","parameters":[]},{"declaring":"AnalysisPredicateScript.Token","name":"getTerm","return":"CharSequence","parameters":[]},{"declaring":"AnalysisPredicateScript.Token","name":"getType","return":"String","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"AnalysisPredicateScript.Token","name":"isKeyword","return":"boolean","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-boolean_script_field_script_field.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-boolean_script_field_script_field.json new file mode 100644 index 000000000000..b5ba8cf38e7b --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-boolean_script_field_script_field.json @@ -0,0 +1 @@ +{"name":"boolean_script_field_script_field","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.BooleanFieldScript","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.BooleanFieldScript.Factory","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[{"declaring":"org.elasticsearch.xpack.runtimefields.mapper.BooleanFieldScript$Emit","name":"value","return":"void","read_only":1,"parameters":["org.elasticsearch.xpack.runtimefields.mapper.BooleanFieldScript","boolean"]}],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-bucket_aggregation.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-bucket_aggregation.json new file mode 100644 index 000000000000..df461619e3ac --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-bucket_aggregation.json @@ -0,0 +1 @@ +{"name":"bucket_aggregation","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-common.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-common.json new file mode 100644 index 000000000000..bc73616f484d --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-common.json @@ -0,0 +1 @@ +{"classes":[{"name":"Appendable","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Appendable","name":"append","return":"Appendable","parameters":["CharSequence","int","int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ArithmeticException","imported":true,"constructors":[{"declaring":"ArithmeticException","parameters":[]},{"declaring":"ArithmeticException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ArrayIndexOutOfBoundsException","imported":true,"constructors":[{"declaring":"ArrayIndexOutOfBoundsException","parameters":[]},{"declaring":"ArrayIndexOutOfBoundsException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ArrayStoreException","imported":true,"constructors":[{"declaring":"ArrayStoreException","parameters":[]},{"declaring":"ArrayStoreException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Boolean","imported":true,"constructors":[],"static_methods":[{"declaring":"Boolean","name":"compare","return":"int","parameters":["boolean","boolean"]},{"declaring":"Boolean","name":"hashCode","return":"int","parameters":["boolean"]},{"declaring":"Boolean","name":"logicalAnd","return":"boolean","parameters":["boolean","boolean"]},{"declaring":"Boolean","name":"logicalOr","return":"boolean","parameters":["boolean","boolean"]},{"declaring":"Boolean","name":"logicalXor","return":"boolean","parameters":["boolean","boolean"]},{"declaring":"Boolean","name":"parseBoolean","return":"boolean","parameters":["String"]},{"declaring":"Boolean","name":"toString","return":"String","parameters":["boolean"]},{"declaring":"Boolean","name":"valueOf","return":"Boolean","parameters":["boolean"]}],"methods":[{"declaring":"Boolean","name":"booleanValue","return":"boolean","parameters":[]},{"declaring":"Boolean","name":"compareTo","return":"int","parameters":["Boolean"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Boolean","name":"FALSE","type":"Boolean"},{"declaring":"Boolean","name":"TRUE","type":"Boolean"}],"fields":[]},{"name":"Byte","imported":true,"constructors":[],"static_methods":[{"declaring":"Byte","name":"compare","return":"int","parameters":["byte","byte"]},{"declaring":"Byte","name":"decode","return":"Byte","parameters":["String"]},{"declaring":"Byte","name":"hashCode","return":"int","parameters":["byte"]},{"declaring":"Byte","name":"parseByte","return":"byte","parameters":["String"]},{"declaring":"Byte","name":"parseByte","return":"byte","parameters":["String","int"]},{"declaring":"Byte","name":"toString","return":"String","parameters":["byte"]},{"declaring":"Byte","name":"toUnsignedInt","return":"int","parameters":["byte"]},{"declaring":"Byte","name":"toUnsignedLong","return":"long","parameters":["byte"]},{"declaring":"Byte","name":"valueOf","return":"Byte","parameters":["byte"]},{"declaring":"Byte","name":"valueOf","return":"Byte","parameters":["String","int"]}],"methods":[{"declaring":"Number","name":"byteValue","return":"byte","parameters":[]},{"declaring":"Byte","name":"compareTo","return":"int","parameters":["Byte"]},{"declaring":"Number","name":"doubleValue","return":"double","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Number","name":"floatValue","return":"float","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Number","name":"intValue","return":"int","parameters":[]},{"declaring":"Number","name":"longValue","return":"long","parameters":[]},{"declaring":"Number","name":"shortValue","return":"short","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Byte","name":"BYTES","type":"int"},{"declaring":"Byte","name":"MAX_VALUE","type":"byte"},{"declaring":"Byte","name":"MIN_VALUE","type":"byte"},{"declaring":"Byte","name":"SIZE","type":"int"}],"fields":[]},{"name":"CharSequence","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Character","imported":true,"constructors":[],"static_methods":[{"declaring":"Character","name":"charCount","return":"int","parameters":["int"]},{"declaring":"Character","name":"codePointAt","return":"int","parameters":["CharSequence","int"]},{"declaring":"Character","name":"codePointAt","return":"int","parameters":["char[]","int","int"]},{"declaring":"Character","name":"codePointBefore","return":"int","parameters":["CharSequence","int"]},{"declaring":"Character","name":"codePointBefore","return":"int","parameters":["char[]","int","int"]},{"declaring":"Character","name":"codePointCount","return":"int","parameters":["CharSequence","int","int"]},{"declaring":"Character","name":"compare","return":"int","parameters":["char","char"]},{"declaring":"Character","name":"digit","return":"int","parameters":["int","int"]},{"declaring":"Character","name":"forDigit","return":"char","parameters":["int","int"]},{"declaring":"Character","name":"getDirectionality","return":"byte","parameters":["int"]},{"declaring":"Character","name":"getName","return":"String","parameters":["int"]},{"declaring":"Character","name":"getNumericValue","return":"int","parameters":["int"]},{"declaring":"Character","name":"getType","return":"int","parameters":["int"]},{"declaring":"Character","name":"hashCode","return":"int","parameters":["char"]},{"declaring":"Character","name":"highSurrogate","return":"char","parameters":["int"]},{"declaring":"Character","name":"isAlphabetic","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isBmpCodePoint","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isDefined","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isDigit","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isHighSurrogate","return":"boolean","parameters":["char"]},{"declaring":"Character","name":"isISOControl","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isIdentifierIgnorable","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isIdeographic","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isJavaIdentifierPart","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isJavaIdentifierStart","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isLetter","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isLetterOrDigit","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isLowerCase","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isMirrored","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isSpaceChar","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isSupplementaryCodePoint","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isSurrogate","return":"boolean","parameters":["char"]},{"declaring":"Character","name":"isSurrogatePair","return":"boolean","parameters":["char","char"]},{"declaring":"Character","name":"isTitleCase","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isUnicodeIdentifierPart","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isUnicodeIdentifierStart","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isUpperCase","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isValidCodePoint","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"isWhitespace","return":"boolean","parameters":["int"]},{"declaring":"Character","name":"lowSurrogate","return":"char","parameters":["int"]},{"declaring":"Character","name":"offsetByCodePoints","return":"int","parameters":["CharSequence","int","int"]},{"declaring":"Character","name":"offsetByCodePoints","return":"int","parameters":["char[]","int","int","int","int"]},{"declaring":"Character","name":"reverseBytes","return":"char","parameters":["char"]},{"declaring":"Character","name":"toChars","return":"char[]","parameters":["int"]},{"declaring":"Character","name":"toChars","return":"int","parameters":["int","char[]","int"]},{"declaring":"Character","name":"toCodePoint","return":"int","parameters":["char","char"]},{"declaring":"Character","name":"toLowerCase","return":"char","parameters":["char"]},{"declaring":"Character","name":"toString","return":"String","parameters":["char"]},{"declaring":"Character","name":"toTitleCase","return":"char","parameters":["char"]},{"declaring":"Character","name":"toUpperCase","return":"char","parameters":["char"]},{"declaring":"Character","name":"valueOf","return":"Character","parameters":["char"]}],"methods":[{"declaring":"Character","name":"charValue","return":"char","parameters":[]},{"declaring":"Character","name":"compareTo","return":"int","parameters":["Character"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Character","name":"BYTES","type":"int"},{"declaring":"Character","name":"COMBINING_SPACING_MARK","type":"byte"},{"declaring":"Character","name":"CONNECTOR_PUNCTUATION","type":"byte"},{"declaring":"Character","name":"CONTROL","type":"byte"},{"declaring":"Character","name":"CURRENCY_SYMBOL","type":"byte"},{"declaring":"Character","name":"DASH_PUNCTUATION","type":"byte"},{"declaring":"Character","name":"DECIMAL_DIGIT_NUMBER","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_ARABIC_NUMBER","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_BOUNDARY_NEUTRAL","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_COMMON_NUMBER_SEPARATOR","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_EUROPEAN_NUMBER","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_LEFT_TO_RIGHT","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_NONSPACING_MARK","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_OTHER_NEUTRALS","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_PARAGRAPH_SEPARATOR","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_POP_DIRECTIONAL_FORMAT","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_RIGHT_TO_LEFT","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_SEGMENT_SEPARATOR","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_UNDEFINED","type":"byte"},{"declaring":"Character","name":"DIRECTIONALITY_WHITESPACE","type":"byte"},{"declaring":"Character","name":"ENCLOSING_MARK","type":"byte"},{"declaring":"Character","name":"END_PUNCTUATION","type":"byte"},{"declaring":"Character","name":"FINAL_QUOTE_PUNCTUATION","type":"byte"},{"declaring":"Character","name":"FORMAT","type":"byte"},{"declaring":"Character","name":"INITIAL_QUOTE_PUNCTUATION","type":"byte"},{"declaring":"Character","name":"LETTER_NUMBER","type":"byte"},{"declaring":"Character","name":"LINE_SEPARATOR","type":"byte"},{"declaring":"Character","name":"LOWERCASE_LETTER","type":"byte"},{"declaring":"Character","name":"MATH_SYMBOL","type":"byte"},{"declaring":"Character","name":"MAX_CODE_POINT","type":"int"},{"declaring":"Character","name":"MAX_HIGH_SURROGATE","type":"char"},{"declaring":"Character","name":"MAX_LOW_SURROGATE","type":"char"},{"declaring":"Character","name":"MAX_RADIX","type":"int"},{"declaring":"Character","name":"MAX_SURROGATE","type":"char"},{"declaring":"Character","name":"MAX_VALUE","type":"char"},{"declaring":"Character","name":"MIN_CODE_POINT","type":"int"},{"declaring":"Character","name":"MIN_HIGH_SURROGATE","type":"char"},{"declaring":"Character","name":"MIN_LOW_SURROGATE","type":"char"},{"declaring":"Character","name":"MIN_RADIX","type":"int"},{"declaring":"Character","name":"MIN_SUPPLEMENTARY_CODE_POINT","type":"int"},{"declaring":"Character","name":"MIN_SURROGATE","type":"char"},{"declaring":"Character","name":"MIN_VALUE","type":"char"},{"declaring":"Character","name":"MODIFIER_LETTER","type":"byte"},{"declaring":"Character","name":"MODIFIER_SYMBOL","type":"byte"},{"declaring":"Character","name":"NON_SPACING_MARK","type":"byte"},{"declaring":"Character","name":"OTHER_LETTER","type":"byte"},{"declaring":"Character","name":"OTHER_NUMBER","type":"byte"},{"declaring":"Character","name":"OTHER_PUNCTUATION","type":"byte"},{"declaring":"Character","name":"OTHER_SYMBOL","type":"byte"},{"declaring":"Character","name":"PARAGRAPH_SEPARATOR","type":"byte"},{"declaring":"Character","name":"PRIVATE_USE","type":"byte"},{"declaring":"Character","name":"SIZE","type":"int"},{"declaring":"Character","name":"SPACE_SEPARATOR","type":"byte"},{"declaring":"Character","name":"START_PUNCTUATION","type":"byte"},{"declaring":"Character","name":"SURROGATE","type":"byte"},{"declaring":"Character","name":"TITLECASE_LETTER","type":"byte"},{"declaring":"Character","name":"UNASSIGNED","type":"byte"},{"declaring":"Character","name":"UPPERCASE_LETTER","type":"byte"}],"fields":[]},{"name":"Character.Subset","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Character.UnicodeBlock","imported":true,"constructors":[],"static_methods":[{"declaring":"Character.UnicodeBlock","name":"forName","return":"Character.UnicodeBlock","parameters":["String"]},{"declaring":"Character.UnicodeBlock","name":"of","return":"Character.UnicodeBlock","parameters":["int"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Character.UnicodeBlock","name":"AEGEAN_NUMBERS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ALCHEMICAL_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ALPHABETIC_PRESENTATION_FORMS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ANCIENT_GREEK_MUSICAL_NOTATION","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ANCIENT_GREEK_NUMBERS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ANCIENT_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ARABIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ARABIC_EXTENDED_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ARABIC_MATHEMATICAL_ALPHABETIC_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ARABIC_PRESENTATION_FORMS_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ARABIC_PRESENTATION_FORMS_B","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ARABIC_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ARMENIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ARROWS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"AVESTAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BALINESE","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BAMUM","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BAMUM_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BASIC_LATIN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BATAK","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BENGALI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BLOCK_ELEMENTS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BOPOMOFO","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BOPOMOFO_EXTENDED","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BOX_DRAWING","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BRAHMI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BRAILLE_PATTERNS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BUGINESE","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BUHID","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"BYZANTINE_MUSICAL_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CARIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CHAKMA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CHAM","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CHEROKEE","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_COMPATIBILITY","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_COMPATIBILITY_FORMS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_COMPATIBILITY_IDEOGRAPHS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_RADICALS_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_STROKES","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_SYMBOLS_AND_PUNCTUATION","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_UNIFIED_IDEOGRAPHS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_UNIFIED_IDEOGRAPHS_EXTENSION_C","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CJK_UNIFIED_IDEOGRAPHS_EXTENSION_D","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"COMBINING_DIACRITICAL_MARKS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"COMBINING_DIACRITICAL_MARKS_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"COMBINING_HALF_MARKS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"COMBINING_MARKS_FOR_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"COMMON_INDIC_NUMBER_FORMS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CONTROL_PICTURES","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"COPTIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"COUNTING_ROD_NUMERALS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CUNEIFORM","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CUNEIFORM_NUMBERS_AND_PUNCTUATION","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CURRENCY_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CYPRIOT_SYLLABARY","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CYRILLIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CYRILLIC_EXTENDED_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CYRILLIC_EXTENDED_B","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"CYRILLIC_SUPPLEMENTARY","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"DESERET","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"DEVANAGARI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"DEVANAGARI_EXTENDED","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"DINGBATS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"DOMINO_TILES","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"EGYPTIAN_HIEROGLYPHS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"EMOTICONS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ENCLOSED_ALPHANUMERICS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ENCLOSED_ALPHANUMERIC_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ENCLOSED_CJK_LETTERS_AND_MONTHS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ENCLOSED_IDEOGRAPHIC_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ETHIOPIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ETHIOPIC_EXTENDED","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ETHIOPIC_EXTENDED_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ETHIOPIC_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"GENERAL_PUNCTUATION","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"GEOMETRIC_SHAPES","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"GEORGIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"GEORGIAN_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"GLAGOLITIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"GOTHIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"GREEK","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"GREEK_EXTENDED","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"GUJARATI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"GURMUKHI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HALFWIDTH_AND_FULLWIDTH_FORMS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HANGUL_COMPATIBILITY_JAMO","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HANGUL_JAMO","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HANGUL_JAMO_EXTENDED_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HANGUL_JAMO_EXTENDED_B","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HANGUL_SYLLABLES","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HANUNOO","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HEBREW","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HIGH_PRIVATE_USE_SURROGATES","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HIGH_SURROGATES","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"HIRAGANA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"IDEOGRAPHIC_DESCRIPTION_CHARACTERS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"IMPERIAL_ARAMAIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"INSCRIPTIONAL_PAHLAVI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"INSCRIPTIONAL_PARTHIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"IPA_EXTENSIONS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"JAVANESE","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KAITHI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KANA_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KANBUN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KANGXI_RADICALS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KANNADA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KATAKANA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KATAKANA_PHONETIC_EXTENSIONS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KAYAH_LI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KHAROSHTHI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KHMER","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"KHMER_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LAO","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LATIN_1_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LATIN_EXTENDED_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LATIN_EXTENDED_ADDITIONAL","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LATIN_EXTENDED_B","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LATIN_EXTENDED_C","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LATIN_EXTENDED_D","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LEPCHA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LETTERLIKE_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LIMBU","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LINEAR_B_IDEOGRAMS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LINEAR_B_SYLLABARY","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LISU","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LOW_SURROGATES","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LYCIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"LYDIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MAHJONG_TILES","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MALAYALAM","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MANDAIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MATHEMATICAL_ALPHANUMERIC_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MATHEMATICAL_OPERATORS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MEETEI_MAYEK","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MEETEI_MAYEK_EXTENSIONS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MEROITIC_CURSIVE","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MEROITIC_HIEROGLYPHS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MIAO","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MISCELLANEOUS_MATHEMATICAL_SYMBOLS_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MISCELLANEOUS_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MISCELLANEOUS_SYMBOLS_AND_ARROWS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MISCELLANEOUS_SYMBOLS_AND_PICTOGRAPHS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MISCELLANEOUS_TECHNICAL","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MODIFIER_TONE_LETTERS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MONGOLIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MUSICAL_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MYANMAR","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"MYANMAR_EXTENDED_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"NEW_TAI_LUE","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"NKO","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"NUMBER_FORMS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"OGHAM","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"OLD_ITALIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"OLD_PERSIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"OLD_SOUTH_ARABIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"OLD_TURKIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"OL_CHIKI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"OPTICAL_CHARACTER_RECOGNITION","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"ORIYA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"OSMANYA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"PHAGS_PA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"PHAISTOS_DISC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"PHOENICIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"PHONETIC_EXTENSIONS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"PHONETIC_EXTENSIONS_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"PLAYING_CARDS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"PRIVATE_USE_AREA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"REJANG","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"RUMI_NUMERAL_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"RUNIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SAMARITAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SAURASHTRA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SHARADA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SHAVIAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SINHALA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SMALL_FORM_VARIANTS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SORA_SOMPENG","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SPACING_MODIFIER_LETTERS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SPECIALS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SUNDANESE","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SUNDANESE_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SUPERSCRIPTS_AND_SUBSCRIPTS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SUPPLEMENTAL_ARROWS_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SUPPLEMENTAL_ARROWS_B","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SUPPLEMENTAL_MATHEMATICAL_OPERATORS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SUPPLEMENTAL_PUNCTUATION","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SUPPLEMENTARY_PRIVATE_USE_AREA_A","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SUPPLEMENTARY_PRIVATE_USE_AREA_B","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SYLOTI_NAGRI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"SYRIAC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TAGALOG","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TAGBANWA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TAGS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TAI_LE","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TAI_THAM","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TAI_VIET","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TAI_XUAN_JING_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TAKRI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TAMIL","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TELUGU","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"THAANA","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"THAI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TIBETAN","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TIFINAGH","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"TRANSPORT_AND_MAP_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"UGARITIC","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS_EXTENDED","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"VAI","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"VARIATION_SELECTORS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"VARIATION_SELECTORS_SUPPLEMENT","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"VEDIC_EXTENSIONS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"VERTICAL_FORMS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"YIJING_HEXAGRAM_SYMBOLS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"YI_RADICALS","type":"Character.UnicodeBlock"},{"declaring":"Character.UnicodeBlock","name":"YI_SYLLABLES","type":"Character.UnicodeBlock"}],"fields":[]},{"name":"Character.UnicodeScript","imported":true,"constructors":[],"static_methods":[{"declaring":"Character.UnicodeScript","name":"forName","return":"Character.UnicodeScript","parameters":["String"]},{"declaring":"Character.UnicodeScript","name":"of","return":"Character.UnicodeScript","parameters":["int"]},{"declaring":"Character.UnicodeScript","name":"valueOf","return":"Character.UnicodeScript","parameters":["String"]},{"declaring":"Character.UnicodeScript","name":"values","return":"Character.UnicodeScript[]","parameters":[]}],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Character.UnicodeScript","name":"ARABIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"ARMENIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"AVESTAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"BALINESE","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"BAMUM","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"BATAK","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"BENGALI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"BOPOMOFO","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"BRAHMI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"BRAILLE","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"BUGINESE","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"BUHID","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"CANADIAN_ABORIGINAL","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"CARIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"CHAKMA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"CHAM","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"CHEROKEE","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"COMMON","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"COPTIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"CUNEIFORM","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"CYPRIOT","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"CYRILLIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"DESERET","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"DEVANAGARI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"EGYPTIAN_HIEROGLYPHS","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"ETHIOPIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"GEORGIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"GLAGOLITIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"GOTHIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"GREEK","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"GUJARATI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"GURMUKHI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"HAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"HANGUL","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"HANUNOO","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"HEBREW","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"HIRAGANA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"IMPERIAL_ARAMAIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"INHERITED","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"INSCRIPTIONAL_PAHLAVI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"INSCRIPTIONAL_PARTHIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"JAVANESE","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"KAITHI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"KANNADA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"KATAKANA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"KAYAH_LI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"KHAROSHTHI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"KHMER","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"LAO","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"LATIN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"LEPCHA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"LIMBU","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"LINEAR_B","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"LISU","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"LYCIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"LYDIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"MALAYALAM","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"MANDAIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"MEETEI_MAYEK","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"MEROITIC_CURSIVE","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"MEROITIC_HIEROGLYPHS","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"MIAO","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"MONGOLIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"MYANMAR","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"NEW_TAI_LUE","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"NKO","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"OGHAM","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"OLD_ITALIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"OLD_PERSIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"OLD_SOUTH_ARABIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"OLD_TURKIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"OL_CHIKI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"ORIYA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"OSMANYA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"PHAGS_PA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"PHOENICIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"REJANG","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"RUNIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"SAMARITAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"SAURASHTRA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"SHARADA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"SHAVIAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"SINHALA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"SORA_SOMPENG","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"SUNDANESE","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"SYLOTI_NAGRI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"SYRIAC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"TAGALOG","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"TAGBANWA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"TAI_LE","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"TAI_THAM","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"TAI_VIET","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"TAKRI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"TAMIL","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"TELUGU","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"THAANA","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"THAI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"TIBETAN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"TIFINAGH","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"UGARITIC","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"UNKNOWN","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"VAI","type":"Character.UnicodeScript"},{"declaring":"Character.UnicodeScript","name":"YI","type":"Character.UnicodeScript"}],"fields":[]},{"name":"ClassCastException","imported":true,"constructors":[{"declaring":"ClassCastException","parameters":[]},{"declaring":"ClassCastException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ClassNotFoundException","imported":true,"constructors":[{"declaring":"ClassNotFoundException","parameters":[]},{"declaring":"ClassNotFoundException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"CloneNotSupportedException","imported":true,"constructors":[{"declaring":"CloneNotSupportedException","parameters":[]},{"declaring":"CloneNotSupportedException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Comparable","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Comparable","name":"compareTo","return":"int","parameters":["def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Double","imported":true,"constructors":[],"static_methods":[{"declaring":"Double","name":"compare","return":"int","parameters":["double","double"]},{"declaring":"Double","name":"doubleToLongBits","return":"long","parameters":["double"]},{"declaring":"Double","name":"doubleToRawLongBits","return":"long","parameters":["double"]},{"declaring":"Double","name":"hashCode","return":"int","parameters":["double"]},{"declaring":"Double","name":"isFinite","return":"boolean","parameters":["double"]},{"declaring":"Double","name":"isInfinite","return":"boolean","parameters":["double"]},{"declaring":"Double","name":"isNaN","return":"boolean","parameters":["double"]},{"declaring":"Double","name":"longBitsToDouble","return":"double","parameters":["long"]},{"declaring":"Double","name":"max","return":"double","parameters":["double","double"]},{"declaring":"Double","name":"min","return":"double","parameters":["double","double"]},{"declaring":"Double","name":"parseDouble","return":"double","parameters":["String"]},{"declaring":"Double","name":"sum","return":"double","parameters":["double","double"]},{"declaring":"Double","name":"toHexString","return":"String","parameters":["double"]},{"declaring":"Double","name":"toString","return":"String","parameters":["double"]},{"declaring":"Double","name":"valueOf","return":"Double","parameters":["double"]}],"methods":[{"declaring":"Number","name":"byteValue","return":"byte","parameters":[]},{"declaring":"Double","name":"compareTo","return":"int","parameters":["Double"]},{"declaring":"Number","name":"doubleValue","return":"double","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Number","name":"floatValue","return":"float","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Number","name":"intValue","return":"int","parameters":[]},{"declaring":"Double","name":"isInfinite","return":"boolean","parameters":[]},{"declaring":"Double","name":"isNaN","return":"boolean","parameters":[]},{"declaring":"Number","name":"longValue","return":"long","parameters":[]},{"declaring":"Number","name":"shortValue","return":"short","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Double","name":"BYTES","type":"int"},{"declaring":"Double","name":"MAX_EXPONENT","type":"int"},{"declaring":"Double","name":"MAX_VALUE","type":"double"},{"declaring":"Double","name":"MIN_EXPONENT","type":"int"},{"declaring":"Double","name":"MIN_NORMAL","type":"double"},{"declaring":"Double","name":"MIN_VALUE","type":"double"},{"declaring":"Double","name":"NEGATIVE_INFINITY","type":"double"},{"declaring":"Double","name":"NaN","type":"double"},{"declaring":"Double","name":"POSITIVE_INFINITY","type":"double"},{"declaring":"Double","name":"SIZE","type":"int"}],"fields":[]},{"name":"Enum","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"EnumConstantNotPresentException","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"EnumConstantNotPresentException","name":"constantName","return":"String","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Exception","imported":true,"constructors":[{"declaring":"Exception","parameters":[]},{"declaring":"Exception","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Float","imported":true,"constructors":[],"static_methods":[{"declaring":"Float","name":"compare","return":"int","parameters":["float","float"]},{"declaring":"Float","name":"floatToIntBits","return":"int","parameters":["float"]},{"declaring":"Float","name":"floatToRawIntBits","return":"int","parameters":["float"]},{"declaring":"Float","name":"hashCode","return":"int","parameters":["float"]},{"declaring":"Float","name":"intBitsToFloat","return":"float","parameters":["int"]},{"declaring":"Float","name":"isFinite","return":"boolean","parameters":["float"]},{"declaring":"Float","name":"isInfinite","return":"boolean","parameters":["float"]},{"declaring":"Float","name":"isNaN","return":"boolean","parameters":["float"]},{"declaring":"Float","name":"max","return":"float","parameters":["float","float"]},{"declaring":"Float","name":"min","return":"float","parameters":["float","float"]},{"declaring":"Float","name":"parseFloat","return":"float","parameters":["String"]},{"declaring":"Float","name":"sum","return":"float","parameters":["float","float"]},{"declaring":"Float","name":"toHexString","return":"String","parameters":["float"]},{"declaring":"Float","name":"toString","return":"String","parameters":["float"]},{"declaring":"Float","name":"valueOf","return":"Float","parameters":["float"]}],"methods":[{"declaring":"Number","name":"byteValue","return":"byte","parameters":[]},{"declaring":"Float","name":"compareTo","return":"int","parameters":["Float"]},{"declaring":"Number","name":"doubleValue","return":"double","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Number","name":"floatValue","return":"float","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Number","name":"intValue","return":"int","parameters":[]},{"declaring":"Float","name":"isInfinite","return":"boolean","parameters":[]},{"declaring":"Float","name":"isNaN","return":"boolean","parameters":[]},{"declaring":"Number","name":"longValue","return":"long","parameters":[]},{"declaring":"Number","name":"shortValue","return":"short","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Float","name":"BYTES","type":"int"},{"declaring":"Float","name":"MAX_EXPONENT","type":"int"},{"declaring":"Float","name":"MAX_VALUE","type":"float"},{"declaring":"Float","name":"MIN_EXPONENT","type":"int"},{"declaring":"Float","name":"MIN_NORMAL","type":"float"},{"declaring":"Float","name":"MIN_VALUE","type":"float"},{"declaring":"Float","name":"NEGATIVE_INFINITY","type":"float"},{"declaring":"Float","name":"NaN","type":"float"},{"declaring":"Float","name":"POSITIVE_INFINITY","type":"float"},{"declaring":"Float","name":"SIZE","type":"int"}],"fields":[]},{"name":"IllegalAccessException","imported":true,"constructors":[{"declaring":"IllegalAccessException","parameters":[]},{"declaring":"IllegalAccessException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllegalArgumentException","imported":true,"constructors":[{"declaring":"IllegalArgumentException","parameters":[]},{"declaring":"IllegalArgumentException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllegalMonitorStateException","imported":true,"constructors":[{"declaring":"IllegalMonitorStateException","parameters":[]},{"declaring":"IllegalMonitorStateException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllegalStateException","imported":true,"constructors":[{"declaring":"IllegalStateException","parameters":[]},{"declaring":"IllegalStateException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllegalThreadStateException","imported":true,"constructors":[{"declaring":"IllegalThreadStateException","parameters":[]},{"declaring":"IllegalThreadStateException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IndexOutOfBoundsException","imported":true,"constructors":[{"declaring":"IndexOutOfBoundsException","parameters":[]},{"declaring":"IndexOutOfBoundsException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"InstantiationException","imported":true,"constructors":[{"declaring":"InstantiationException","parameters":[]},{"declaring":"InstantiationException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Integer","imported":true,"constructors":[],"static_methods":[{"declaring":"Integer","name":"bitCount","return":"int","parameters":["int"]},{"declaring":"Integer","name":"compare","return":"int","parameters":["int","int"]},{"declaring":"Integer","name":"compareUnsigned","return":"int","parameters":["int","int"]},{"declaring":"Integer","name":"decode","return":"Integer","parameters":["String"]},{"declaring":"Integer","name":"divideUnsigned","return":"int","parameters":["int","int"]},{"declaring":"Integer","name":"hashCode","return":"int","parameters":["int"]},{"declaring":"Integer","name":"highestOneBit","return":"int","parameters":["int"]},{"declaring":"Integer","name":"lowestOneBit","return":"int","parameters":["int"]},{"declaring":"Integer","name":"max","return":"int","parameters":["int","int"]},{"declaring":"Integer","name":"min","return":"int","parameters":["int","int"]},{"declaring":"Integer","name":"numberOfLeadingZeros","return":"int","parameters":["int"]},{"declaring":"Integer","name":"numberOfTrailingZeros","return":"int","parameters":["int"]},{"declaring":"Integer","name":"parseInt","return":"int","parameters":["String"]},{"declaring":"Integer","name":"parseInt","return":"int","parameters":["String","int"]},{"declaring":"Integer","name":"parseUnsignedInt","return":"int","parameters":["String"]},{"declaring":"Integer","name":"parseUnsignedInt","return":"int","parameters":["String","int"]},{"declaring":"Integer","name":"remainderUnsigned","return":"int","parameters":["int","int"]},{"declaring":"Integer","name":"reverse","return":"int","parameters":["int"]},{"declaring":"Integer","name":"reverseBytes","return":"int","parameters":["int"]},{"declaring":"Integer","name":"rotateLeft","return":"int","parameters":["int","int"]},{"declaring":"Integer","name":"rotateRight","return":"int","parameters":["int","int"]},{"declaring":"Integer","name":"signum","return":"int","parameters":["int"]},{"declaring":"Integer","name":"toBinaryString","return":"String","parameters":["int"]},{"declaring":"Integer","name":"toHexString","return":"String","parameters":["int"]},{"declaring":"Integer","name":"toOctalString","return":"String","parameters":["int"]},{"declaring":"Integer","name":"toString","return":"String","parameters":["int"]},{"declaring":"Integer","name":"toString","return":"String","parameters":["int","int"]},{"declaring":"Integer","name":"toUnsignedLong","return":"long","parameters":["int"]},{"declaring":"Integer","name":"toUnsignedString","return":"String","parameters":["int"]},{"declaring":"Integer","name":"toUnsignedString","return":"String","parameters":["int","int"]},{"declaring":"Integer","name":"valueOf","return":"Integer","parameters":["int"]},{"declaring":"Integer","name":"valueOf","return":"Integer","parameters":["String","int"]}],"methods":[{"declaring":"Number","name":"byteValue","return":"byte","parameters":[]},{"declaring":"Integer","name":"compareTo","return":"int","parameters":["Integer"]},{"declaring":"Number","name":"doubleValue","return":"double","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Number","name":"floatValue","return":"float","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Number","name":"intValue","return":"int","parameters":[]},{"declaring":"Number","name":"longValue","return":"long","parameters":[]},{"declaring":"Number","name":"shortValue","return":"short","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Integer","name":"BYTES","type":"int"},{"declaring":"Integer","name":"MAX_VALUE","type":"int"},{"declaring":"Integer","name":"MIN_VALUE","type":"int"},{"declaring":"Integer","name":"SIZE","type":"int"}],"fields":[]},{"name":"InterruptedException","imported":true,"constructors":[{"declaring":"InterruptedException","parameters":[]},{"declaring":"InterruptedException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Iterable","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Iterable","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Long","imported":true,"constructors":[],"static_methods":[{"declaring":"Long","name":"bitCount","return":"int","parameters":["long"]},{"declaring":"Long","name":"compare","return":"int","parameters":["long","long"]},{"declaring":"Long","name":"compareUnsigned","return":"int","parameters":["long","long"]},{"declaring":"Long","name":"decode","return":"Long","parameters":["String"]},{"declaring":"Long","name":"divideUnsigned","return":"long","parameters":["long","long"]},{"declaring":"Long","name":"hashCode","return":"int","parameters":["long"]},{"declaring":"Long","name":"highestOneBit","return":"long","parameters":["long"]},{"declaring":"Long","name":"lowestOneBit","return":"long","parameters":["long"]},{"declaring":"Long","name":"max","return":"long","parameters":["long","long"]},{"declaring":"Long","name":"min","return":"long","parameters":["long","long"]},{"declaring":"Long","name":"numberOfLeadingZeros","return":"int","parameters":["long"]},{"declaring":"Long","name":"numberOfTrailingZeros","return":"int","parameters":["long"]},{"declaring":"Long","name":"parseLong","return":"long","parameters":["String"]},{"declaring":"Long","name":"parseLong","return":"long","parameters":["String","int"]},{"declaring":"Long","name":"parseUnsignedLong","return":"long","parameters":["String"]},{"declaring":"Long","name":"parseUnsignedLong","return":"long","parameters":["String","int"]},{"declaring":"Long","name":"remainderUnsigned","return":"long","parameters":["long","long"]},{"declaring":"Long","name":"reverse","return":"long","parameters":["long"]},{"declaring":"Long","name":"reverseBytes","return":"long","parameters":["long"]},{"declaring":"Long","name":"rotateLeft","return":"long","parameters":["long","int"]},{"declaring":"Long","name":"rotateRight","return":"long","parameters":["long","int"]},{"declaring":"Long","name":"signum","return":"int","parameters":["long"]},{"declaring":"Long","name":"sum","return":"long","parameters":["long","long"]},{"declaring":"Long","name":"toBinaryString","return":"String","parameters":["long"]},{"declaring":"Long","name":"toHexString","return":"String","parameters":["long"]},{"declaring":"Long","name":"toOctalString","return":"String","parameters":["long"]},{"declaring":"Long","name":"toString","return":"String","parameters":["long"]},{"declaring":"Long","name":"toString","return":"String","parameters":["long","int"]},{"declaring":"Long","name":"toUnsignedString","return":"String","parameters":["long"]},{"declaring":"Long","name":"toUnsignedString","return":"String","parameters":["long","int"]},{"declaring":"Long","name":"valueOf","return":"Long","parameters":["long"]},{"declaring":"Long","name":"valueOf","return":"Long","parameters":["String","int"]}],"methods":[{"declaring":"Number","name":"byteValue","return":"byte","parameters":[]},{"declaring":"Long","name":"compareTo","return":"int","parameters":["Long"]},{"declaring":"Number","name":"doubleValue","return":"double","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Number","name":"floatValue","return":"float","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Number","name":"intValue","return":"int","parameters":[]},{"declaring":"Number","name":"longValue","return":"long","parameters":[]},{"declaring":"Number","name":"shortValue","return":"short","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Long","name":"BYTES","type":"int"},{"declaring":"Long","name":"MAX_VALUE","type":"long"},{"declaring":"Long","name":"MIN_VALUE","type":"long"},{"declaring":"Long","name":"SIZE","type":"int"}],"fields":[]},{"name":"Math","imported":true,"constructors":[],"static_methods":[{"declaring":"Math","name":"IEEEremainder","return":"double","parameters":["double","double"]},{"declaring":"Math","name":"abs","return":"double","parameters":["double"]},{"declaring":"Math","name":"acos","return":"double","parameters":["double"]},{"declaring":"Math","name":"asin","return":"double","parameters":["double"]},{"declaring":"Math","name":"atan","return":"double","parameters":["double"]},{"declaring":"Math","name":"atan2","return":"double","parameters":["double","double"]},{"declaring":"Math","name":"cbrt","return":"double","parameters":["double"]},{"declaring":"Math","name":"ceil","return":"double","parameters":["double"]},{"declaring":"Math","name":"copySign","return":"double","parameters":["double","double"]},{"declaring":"Math","name":"cos","return":"double","parameters":["double"]},{"declaring":"Math","name":"cosh","return":"double","parameters":["double"]},{"declaring":"Math","name":"exp","return":"double","parameters":["double"]},{"declaring":"Math","name":"expm1","return":"double","parameters":["double"]},{"declaring":"Math","name":"floor","return":"double","parameters":["double"]},{"declaring":"Math","name":"hypot","return":"double","parameters":["double","double"]},{"declaring":"Math","name":"log","return":"double","parameters":["double"]},{"declaring":"Math","name":"log10","return":"double","parameters":["double"]},{"declaring":"Math","name":"log1p","return":"double","parameters":["double"]},{"declaring":"Math","name":"max","return":"double","parameters":["double","double"]},{"declaring":"Math","name":"min","return":"double","parameters":["double","double"]},{"declaring":"Math","name":"nextAfter","return":"double","parameters":["double","double"]},{"declaring":"Math","name":"nextDown","return":"double","parameters":["double"]},{"declaring":"Math","name":"nextUp","return":"double","parameters":["double"]},{"declaring":"Math","name":"pow","return":"double","parameters":["double","double"]},{"declaring":"Math","name":"random","return":"double","parameters":[]},{"declaring":"Math","name":"rint","return":"double","parameters":["double"]},{"declaring":"Math","name":"round","return":"long","parameters":["double"]},{"declaring":"Math","name":"scalb","return":"double","parameters":["double","int"]},{"declaring":"Math","name":"signum","return":"double","parameters":["double"]},{"declaring":"Math","name":"sin","return":"double","parameters":["double"]},{"declaring":"Math","name":"sinh","return":"double","parameters":["double"]},{"declaring":"Math","name":"sqrt","return":"double","parameters":["double"]},{"declaring":"Math","name":"tan","return":"double","parameters":["double"]},{"declaring":"Math","name":"tanh","return":"double","parameters":["double"]},{"declaring":"Math","name":"toDegrees","return":"double","parameters":["double"]},{"declaring":"Math","name":"toRadians","return":"double","parameters":["double"]},{"declaring":"Math","name":"ulp","return":"double","parameters":["double"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Math","name":"E","type":"double"},{"declaring":"Math","name":"PI","type":"double"}],"fields":[]},{"name":"NegativeArraySizeException","imported":true,"constructors":[{"declaring":"NegativeArraySizeException","parameters":[]},{"declaring":"NegativeArraySizeException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"NoSuchFieldException","imported":true,"constructors":[{"declaring":"NoSuchFieldException","parameters":[]},{"declaring":"NoSuchFieldException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"NoSuchMethodException","imported":true,"constructors":[{"declaring":"NoSuchMethodException","parameters":[]},{"declaring":"NoSuchMethodException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"NullPointerException","imported":true,"constructors":[{"declaring":"NullPointerException","parameters":[]},{"declaring":"NullPointerException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Number","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Number","name":"byteValue","return":"byte","parameters":[]},{"declaring":"Number","name":"doubleValue","return":"double","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Number","name":"floatValue","return":"float","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Number","name":"intValue","return":"int","parameters":[]},{"declaring":"Number","name":"longValue","return":"long","parameters":[]},{"declaring":"Number","name":"shortValue","return":"short","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"NumberFormatException","imported":true,"constructors":[{"declaring":"NumberFormatException","parameters":[]},{"declaring":"NumberFormatException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Object","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ReflectiveOperationException","imported":true,"constructors":[{"declaring":"ReflectiveOperationException","parameters":[]},{"declaring":"ReflectiveOperationException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"RuntimeException","imported":true,"constructors":[{"declaring":"RuntimeException","parameters":[]},{"declaring":"RuntimeException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"SecurityException","imported":true,"constructors":[{"declaring":"SecurityException","parameters":[]},{"declaring":"SecurityException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Short","imported":true,"constructors":[],"static_methods":[{"declaring":"Short","name":"compare","return":"int","parameters":["short","short"]},{"declaring":"Short","name":"decode","return":"Short","parameters":["String"]},{"declaring":"Short","name":"hashCode","return":"int","parameters":["short"]},{"declaring":"Short","name":"parseShort","return":"short","parameters":["String"]},{"declaring":"Short","name":"parseShort","return":"short","parameters":["String","int"]},{"declaring":"Short","name":"reverseBytes","return":"short","parameters":["short"]},{"declaring":"Short","name":"toString","return":"String","parameters":["short"]},{"declaring":"Short","name":"toUnsignedInt","return":"int","parameters":["short"]},{"declaring":"Short","name":"toUnsignedLong","return":"long","parameters":["short"]},{"declaring":"Short","name":"valueOf","return":"Short","parameters":["short"]},{"declaring":"Short","name":"valueOf","return":"Short","parameters":["String","int"]}],"methods":[{"declaring":"Number","name":"byteValue","return":"byte","parameters":[]},{"declaring":"Short","name":"compareTo","return":"int","parameters":["Short"]},{"declaring":"Number","name":"doubleValue","return":"double","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Number","name":"floatValue","return":"float","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Number","name":"intValue","return":"int","parameters":[]},{"declaring":"Number","name":"longValue","return":"long","parameters":[]},{"declaring":"Number","name":"shortValue","return":"short","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Short","name":"BYTES","type":"int"},{"declaring":"Short","name":"MAX_VALUE","type":"short"},{"declaring":"Short","name":"MIN_VALUE","type":"short"},{"declaring":"Short","name":"SIZE","type":"int"}],"fields":[]},{"name":"StackTraceElement","imported":true,"constructors":[{"declaring":"StackTraceElement","parameters":["String","String","String","int"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"StackTraceElement","name":"getClassName","return":"String","parameters":[]},{"declaring":"StackTraceElement","name":"getFileName","return":"String","parameters":[]},{"declaring":"StackTraceElement","name":"getLineNumber","return":"int","parameters":[]},{"declaring":"StackTraceElement","name":"getMethodName","return":"String","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"StackTraceElement","name":"isNativeMethod","return":"boolean","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"StrictMath","imported":true,"constructors":[],"static_methods":[{"declaring":"StrictMath","name":"IEEEremainder","return":"double","parameters":["double","double"]},{"declaring":"StrictMath","name":"abs","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"acos","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"asin","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"atan","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"atan2","return":"double","parameters":["double","double"]},{"declaring":"StrictMath","name":"cbrt","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"ceil","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"copySign","return":"double","parameters":["double","double"]},{"declaring":"StrictMath","name":"cos","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"cosh","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"exp","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"expm1","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"floor","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"hypot","return":"double","parameters":["double","double"]},{"declaring":"StrictMath","name":"log","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"log10","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"log1p","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"max","return":"double","parameters":["double","double"]},{"declaring":"StrictMath","name":"min","return":"double","parameters":["double","double"]},{"declaring":"StrictMath","name":"nextAfter","return":"double","parameters":["double","double"]},{"declaring":"StrictMath","name":"nextDown","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"nextUp","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"pow","return":"double","parameters":["double","double"]},{"declaring":"StrictMath","name":"random","return":"double","parameters":[]},{"declaring":"StrictMath","name":"rint","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"round","return":"long","parameters":["double"]},{"declaring":"StrictMath","name":"scalb","return":"double","parameters":["double","int"]},{"declaring":"StrictMath","name":"signum","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"sin","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"sinh","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"sqrt","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"tan","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"tanh","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"toDegrees","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"toRadians","return":"double","parameters":["double"]},{"declaring":"StrictMath","name":"ulp","return":"double","parameters":["double"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"StrictMath","name":"E","type":"double"},{"declaring":"StrictMath","name":"PI","type":"double"}],"fields":[]},{"name":"StringBuffer","imported":true,"constructors":[{"declaring":"StringBuffer","parameters":[]},{"declaring":"StringBuffer","parameters":["CharSequence"]}],"static_methods":[],"methods":[{"declaring":"StringBuffer","name":"append","return":"StringBuffer","parameters":["def"]},{"declaring":"StringBuffer","name":"append","return":"StringBuffer","parameters":["CharSequence","int","int"]},{"declaring":"StringBuffer","name":"appendCodePoint","return":"StringBuffer","parameters":["int"]},{"declaring":"StringBuffer","name":"capacity","return":"int","parameters":[]},{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"StringBuffer","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"StringBuffer","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"StringBuffer","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"Comparable","name":"compareTo","return":"int","parameters":["def"]},{"declaring":"StringBuffer","name":"delete","return":"StringBuffer","parameters":["int","int"]},{"declaring":"StringBuffer","name":"deleteCharAt","return":"StringBuffer","parameters":["int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"StringBuffer","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"StringBuffer","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"StringBuffer","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"StringBuffer","name":"insert","return":"StringBuffer","parameters":["int","def"]},{"declaring":"StringBuffer","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"StringBuffer","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"StringBuffer","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"StringBuffer","name":"replace","return":"StringBuffer","parameters":["int","int","String"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":"StringBuffer","name":"reverse","return":"StringBuffer","parameters":[]},{"declaring":"StringBuffer","name":"setCharAt","return":"void","parameters":["int","char"]},{"declaring":"StringBuffer","name":"setLength","return":"void","parameters":["int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"StringBuffer","name":"substring","return":"String","parameters":["int"]},{"declaring":"StringBuffer","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"StringBuilder","imported":true,"constructors":[{"declaring":"StringBuilder","parameters":[]},{"declaring":"StringBuilder","parameters":["CharSequence"]}],"static_methods":[],"methods":[{"declaring":"StringBuilder","name":"append","return":"StringBuilder","parameters":["def"]},{"declaring":"StringBuilder","name":"append","return":"StringBuilder","parameters":["CharSequence","int","int"]},{"declaring":"StringBuilder","name":"appendCodePoint","return":"StringBuilder","parameters":["int"]},{"declaring":"StringBuilder","name":"capacity","return":"int","parameters":[]},{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"StringBuilder","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"StringBuilder","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"StringBuilder","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"Comparable","name":"compareTo","return":"int","parameters":["def"]},{"declaring":"StringBuilder","name":"delete","return":"StringBuilder","parameters":["int","int"]},{"declaring":"StringBuilder","name":"deleteCharAt","return":"StringBuilder","parameters":["int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"StringBuilder","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"StringBuilder","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"StringBuilder","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"StringBuilder","name":"insert","return":"StringBuilder","parameters":["int","def"]},{"declaring":"StringBuilder","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"StringBuilder","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"StringBuilder","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"StringBuilder","name":"replace","return":"StringBuilder","parameters":["int","int","String"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":"StringBuilder","name":"reverse","return":"StringBuilder","parameters":[]},{"declaring":"StringBuilder","name":"setCharAt","return":"void","parameters":["int","char"]},{"declaring":"StringBuilder","name":"setLength","return":"void","parameters":["int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"StringBuilder","name":"substring","return":"String","parameters":["int"]},{"declaring":"StringBuilder","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"StringIndexOutOfBoundsException","imported":true,"constructors":[{"declaring":"StringIndexOutOfBoundsException","parameters":[]},{"declaring":"StringIndexOutOfBoundsException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"System","imported":true,"constructors":[],"static_methods":[{"declaring":"System","name":"arraycopy","return":"void","parameters":["Object","int","Object","int","int"]},{"declaring":"System","name":"currentTimeMillis","return":"long","parameters":[]},{"declaring":"System","name":"nanoTime","return":"long","parameters":[]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TypeNotPresentException","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"TypeNotPresentException","name":"typeName","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"UnsupportedOperationException","imported":true,"constructors":[{"declaring":"UnsupportedOperationException","parameters":[]},{"declaring":"UnsupportedOperationException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Void","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"BigDecimal","imported":true,"constructors":[{"declaring":"BigDecimal","parameters":["String"]},{"declaring":"BigDecimal","parameters":["String","MathContext"]}],"static_methods":[{"declaring":"BigDecimal","name":"valueOf","return":"BigDecimal","parameters":["double"]}],"methods":[{"declaring":"BigDecimal","name":"abs","return":"BigDecimal","parameters":[]},{"declaring":"BigDecimal","name":"abs","return":"BigDecimal","parameters":["MathContext"]},{"declaring":"BigDecimal","name":"add","return":"BigDecimal","parameters":["BigDecimal"]},{"declaring":"BigDecimal","name":"add","return":"BigDecimal","parameters":["BigDecimal","MathContext"]},{"declaring":"Number","name":"byteValue","return":"byte","parameters":[]},{"declaring":"BigDecimal","name":"byteValueExact","return":"byte","parameters":[]},{"declaring":"BigDecimal","name":"compareTo","return":"int","parameters":["BigDecimal"]},{"declaring":"BigDecimal","name":"divide","return":"BigDecimal","parameters":["BigDecimal"]},{"declaring":"BigDecimal","name":"divide","return":"BigDecimal","parameters":["BigDecimal","MathContext"]},{"declaring":"BigDecimal","name":"divideAndRemainder","return":"BigDecimal[]","parameters":["BigDecimal"]},{"declaring":"BigDecimal","name":"divideAndRemainder","return":"BigDecimal[]","parameters":["BigDecimal","MathContext"]},{"declaring":"BigDecimal","name":"divideToIntegralValue","return":"BigDecimal","parameters":["BigDecimal"]},{"declaring":"BigDecimal","name":"divideToIntegralValue","return":"BigDecimal","parameters":["BigDecimal","MathContext"]},{"declaring":"Number","name":"doubleValue","return":"double","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Number","name":"floatValue","return":"float","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Number","name":"intValue","return":"int","parameters":[]},{"declaring":"BigDecimal","name":"intValueExact","return":"int","parameters":[]},{"declaring":"Number","name":"longValue","return":"long","parameters":[]},{"declaring":"BigDecimal","name":"longValueExact","return":"long","parameters":[]},{"declaring":"BigDecimal","name":"max","return":"BigDecimal","parameters":["BigDecimal"]},{"declaring":"BigDecimal","name":"min","return":"BigDecimal","parameters":["BigDecimal"]},{"declaring":"BigDecimal","name":"movePointLeft","return":"BigDecimal","parameters":["int"]},{"declaring":"BigDecimal","name":"movePointRight","return":"BigDecimal","parameters":["int"]},{"declaring":"BigDecimal","name":"multiply","return":"BigDecimal","parameters":["BigDecimal"]},{"declaring":"BigDecimal","name":"multiply","return":"BigDecimal","parameters":["BigDecimal","MathContext"]},{"declaring":"BigDecimal","name":"negate","return":"BigDecimal","parameters":[]},{"declaring":"BigDecimal","name":"negate","return":"BigDecimal","parameters":["MathContext"]},{"declaring":"BigDecimal","name":"plus","return":"BigDecimal","parameters":[]},{"declaring":"BigDecimal","name":"plus","return":"BigDecimal","parameters":["MathContext"]},{"declaring":"BigDecimal","name":"pow","return":"BigDecimal","parameters":["int"]},{"declaring":"BigDecimal","name":"pow","return":"BigDecimal","parameters":["int","MathContext"]},{"declaring":"BigDecimal","name":"precision","return":"int","parameters":[]},{"declaring":"BigDecimal","name":"remainder","return":"BigDecimal","parameters":["BigDecimal"]},{"declaring":"BigDecimal","name":"remainder","return":"BigDecimal","parameters":["BigDecimal","MathContext"]},{"declaring":"BigDecimal","name":"round","return":"BigDecimal","parameters":["MathContext"]},{"declaring":"BigDecimal","name":"scale","return":"int","parameters":[]},{"declaring":"BigDecimal","name":"scaleByPowerOfTen","return":"BigDecimal","parameters":["int"]},{"declaring":"BigDecimal","name":"setScale","return":"BigDecimal","parameters":["int"]},{"declaring":"BigDecimal","name":"setScale","return":"BigDecimal","parameters":["int","RoundingMode"]},{"declaring":"Number","name":"shortValue","return":"short","parameters":[]},{"declaring":"BigDecimal","name":"shortValueExact","return":"short","parameters":[]},{"declaring":"BigDecimal","name":"signum","return":"int","parameters":[]},{"declaring":"BigDecimal","name":"stripTrailingZeros","return":"BigDecimal","parameters":[]},{"declaring":"BigDecimal","name":"subtract","return":"BigDecimal","parameters":["BigDecimal"]},{"declaring":"BigDecimal","name":"subtract","return":"BigDecimal","parameters":["BigDecimal","MathContext"]},{"declaring":"BigDecimal","name":"toBigInteger","return":"BigInteger","parameters":[]},{"declaring":"BigDecimal","name":"toBigIntegerExact","return":"BigInteger","parameters":[]},{"declaring":"BigDecimal","name":"toEngineeringString","return":"String","parameters":[]},{"declaring":"BigDecimal","name":"toPlainString","return":"String","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"BigDecimal","name":"ulp","return":"BigDecimal","parameters":[]}],"static_fields":[{"declaring":"BigDecimal","name":"ONE","type":"BigDecimal"},{"declaring":"BigDecimal","name":"TEN","type":"BigDecimal"},{"declaring":"BigDecimal","name":"ZERO","type":"BigDecimal"}],"fields":[]},{"name":"BigInteger","imported":true,"constructors":[{"declaring":"BigInteger","parameters":["String"]},{"declaring":"BigInteger","parameters":["String","int"]}],"static_methods":[{"declaring":"BigInteger","name":"valueOf","return":"BigInteger","parameters":["long"]}],"methods":[{"declaring":"BigInteger","name":"abs","return":"BigInteger","parameters":[]},{"declaring":"BigInteger","name":"add","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"and","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"andNot","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"bitCount","return":"int","parameters":[]},{"declaring":"BigInteger","name":"bitLength","return":"int","parameters":[]},{"declaring":"Number","name":"byteValue","return":"byte","parameters":[]},{"declaring":"BigInteger","name":"byteValueExact","return":"byte","parameters":[]},{"declaring":"BigInteger","name":"clearBit","return":"BigInteger","parameters":["int"]},{"declaring":"BigInteger","name":"compareTo","return":"int","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"divide","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"divideAndRemainder","return":"BigInteger[]","parameters":["BigInteger"]},{"declaring":"Number","name":"doubleValue","return":"double","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"BigInteger","name":"flipBit","return":"BigInteger","parameters":["int"]},{"declaring":"Number","name":"floatValue","return":"float","parameters":[]},{"declaring":"BigInteger","name":"gcd","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"getLowestSetBit","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Number","name":"intValue","return":"int","parameters":[]},{"declaring":"BigInteger","name":"intValueExact","return":"int","parameters":[]},{"declaring":"Number","name":"longValue","return":"long","parameters":[]},{"declaring":"BigInteger","name":"longValueExact","return":"long","parameters":[]},{"declaring":"BigInteger","name":"max","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"min","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"mod","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"modInverse","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"modPow","return":"BigInteger","parameters":["BigInteger","BigInteger"]},{"declaring":"BigInteger","name":"multiply","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"negate","return":"BigInteger","parameters":[]},{"declaring":"BigInteger","name":"not","return":"BigInteger","parameters":[]},{"declaring":"BigInteger","name":"or","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"pow","return":"BigInteger","parameters":["int"]},{"declaring":"BigInteger","name":"remainder","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"setBit","return":"BigInteger","parameters":["int"]},{"declaring":"BigInteger","name":"shiftLeft","return":"BigInteger","parameters":["int"]},{"declaring":"BigInteger","name":"shiftRight","return":"BigInteger","parameters":["int"]},{"declaring":"Number","name":"shortValue","return":"short","parameters":[]},{"declaring":"BigInteger","name":"shortValueExact","return":"short","parameters":[]},{"declaring":"BigInteger","name":"signum","return":"int","parameters":[]},{"declaring":"BigInteger","name":"subtract","return":"BigInteger","parameters":["BigInteger"]},{"declaring":"BigInteger","name":"testBit","return":"boolean","parameters":["int"]},{"declaring":"BigInteger","name":"toByteArray","return":"byte[]","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"BigInteger","name":"toString","return":"String","parameters":["int"]},{"declaring":"BigInteger","name":"xor","return":"BigInteger","parameters":["BigInteger"]}],"static_fields":[{"declaring":"BigInteger","name":"ONE","type":"BigInteger"},{"declaring":"BigInteger","name":"TEN","type":"BigInteger"},{"declaring":"BigInteger","name":"ZERO","type":"BigInteger"}],"fields":[]},{"name":"MathContext","imported":true,"constructors":[{"declaring":"MathContext","parameters":["int"]},{"declaring":"MathContext","parameters":["int","RoundingMode"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"MathContext","name":"getPrecision","return":"int","parameters":[]},{"declaring":"MathContext","name":"getRoundingMode","return":"RoundingMode","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"MathContext","name":"DECIMAL128","type":"MathContext"},{"declaring":"MathContext","name":"DECIMAL32","type":"MathContext"},{"declaring":"MathContext","name":"DECIMAL64","type":"MathContext"},{"declaring":"MathContext","name":"UNLIMITED","type":"MathContext"}],"fields":[]},{"name":"RoundingMode","imported":true,"constructors":[],"static_methods":[{"declaring":"RoundingMode","name":"valueOf","return":"RoundingMode","parameters":["String"]},{"declaring":"RoundingMode","name":"values","return":"RoundingMode[]","parameters":[]}],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"RoundingMode","name":"CEILING","type":"RoundingMode"},{"declaring":"RoundingMode","name":"DOWN","type":"RoundingMode"},{"declaring":"RoundingMode","name":"FLOOR","type":"RoundingMode"},{"declaring":"RoundingMode","name":"HALF_DOWN","type":"RoundingMode"},{"declaring":"RoundingMode","name":"HALF_EVEN","type":"RoundingMode"},{"declaring":"RoundingMode","name":"HALF_UP","type":"RoundingMode"},{"declaring":"RoundingMode","name":"UNNECESSARY","type":"RoundingMode"},{"declaring":"RoundingMode","name":"UP","type":"RoundingMode"}],"fields":[]},{"name":"Annotation","imported":true,"constructors":[{"declaring":"Annotation","parameters":["Object"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Annotation","name":"getValue","return":"def","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AttributedCharacterIterator","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"CharacterIterator","name":"clone","return":"def","parameters":[]},{"declaring":"CharacterIterator","name":"current","return":"char","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"CharacterIterator","name":"first","return":"char","parameters":[]},{"declaring":"AttributedCharacterIterator","name":"getAllAttributeKeys","return":"Set","parameters":[]},{"declaring":"AttributedCharacterIterator","name":"getAttribute","return":"def","parameters":["AttributedCharacterIterator.Attribute"]},{"declaring":"AttributedCharacterIterator","name":"getAttributes","return":"Map","parameters":[]},{"declaring":"CharacterIterator","name":"getBeginIndex","return":"int","parameters":[]},{"declaring":"CharacterIterator","name":"getEndIndex","return":"int","parameters":[]},{"declaring":"CharacterIterator","name":"getIndex","return":"int","parameters":[]},{"declaring":"AttributedCharacterIterator","name":"getRunLimit","return":"int","parameters":[]},{"declaring":"AttributedCharacterIterator","name":"getRunLimit","return":"int","parameters":["Set"]},{"declaring":"AttributedCharacterIterator","name":"getRunStart","return":"int","parameters":[]},{"declaring":"AttributedCharacterIterator","name":"getRunStart","return":"int","parameters":["Set"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"CharacterIterator","name":"last","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"next","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"previous","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"setIndex","return":"char","parameters":["int"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AttributedCharacterIterator.Attribute","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"AttributedCharacterIterator.Attribute","name":"INPUT_METHOD_SEGMENT","type":"AttributedCharacterIterator.Attribute"},{"declaring":"AttributedCharacterIterator.Attribute","name":"LANGUAGE","type":"AttributedCharacterIterator.Attribute"},{"declaring":"AttributedCharacterIterator.Attribute","name":"READING","type":"AttributedCharacterIterator.Attribute"}],"fields":[]},{"name":"AttributedString","imported":true,"constructors":[{"declaring":"AttributedString","parameters":["String"]},{"declaring":"AttributedString","parameters":["String","Map"]}],"static_methods":[],"methods":[{"declaring":"AttributedString","name":"addAttribute","return":"void","parameters":["AttributedCharacterIterator.Attribute","Object"]},{"declaring":"AttributedString","name":"addAttribute","return":"void","parameters":["AttributedCharacterIterator.Attribute","Object","int","int"]},{"declaring":"AttributedString","name":"addAttributes","return":"void","parameters":["Map","int","int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"AttributedString","name":"getIterator","return":"AttributedCharacterIterator","parameters":[]},{"declaring":"AttributedString","name":"getIterator","return":"AttributedCharacterIterator","parameters":["AttributedCharacterIterator.Attribute[]"]},{"declaring":"AttributedString","name":"getIterator","return":"AttributedCharacterIterator","parameters":["AttributedCharacterIterator.Attribute[]","int","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Bidi","imported":true,"constructors":[{"declaring":"Bidi","parameters":["AttributedCharacterIterator"]},{"declaring":"Bidi","parameters":["String","int"]},{"declaring":"Bidi","parameters":["char[]","int","byte[]","int","int","int"]}],"static_methods":[{"declaring":"Bidi","name":"reorderVisually","return":"void","parameters":["byte[]","int","Object[]","int","int"]},{"declaring":"Bidi","name":"requiresBidi","return":"boolean","parameters":["char[]","int","int"]}],"methods":[{"declaring":"Bidi","name":"baseIsLeftToRight","return":"boolean","parameters":[]},{"declaring":"Bidi","name":"createLineBidi","return":"Bidi","parameters":["int","int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Bidi","name":"getBaseLevel","return":"int","parameters":[]},{"declaring":"Bidi","name":"getLength","return":"int","parameters":[]},{"declaring":"Bidi","name":"getLevelAt","return":"int","parameters":["int"]},{"declaring":"Bidi","name":"getRunCount","return":"int","parameters":[]},{"declaring":"Bidi","name":"getRunLevel","return":"int","parameters":["int"]},{"declaring":"Bidi","name":"getRunLimit","return":"int","parameters":["int"]},{"declaring":"Bidi","name":"getRunStart","return":"int","parameters":["int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Bidi","name":"isLeftToRight","return":"boolean","parameters":[]},{"declaring":"Bidi","name":"isMixed","return":"boolean","parameters":[]},{"declaring":"Bidi","name":"isRightToLeft","return":"boolean","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Bidi","name":"DIRECTION_DEFAULT_LEFT_TO_RIGHT","type":"int"},{"declaring":"Bidi","name":"DIRECTION_DEFAULT_RIGHT_TO_LEFT","type":"int"},{"declaring":"Bidi","name":"DIRECTION_LEFT_TO_RIGHT","type":"int"},{"declaring":"Bidi","name":"DIRECTION_RIGHT_TO_LEFT","type":"int"}],"fields":[]},{"name":"BreakIterator","imported":true,"constructors":[],"static_methods":[{"declaring":"BreakIterator","name":"getAvailableLocales","return":"Locale[]","parameters":[]},{"declaring":"BreakIterator","name":"getCharacterInstance","return":"BreakIterator","parameters":[]},{"declaring":"BreakIterator","name":"getCharacterInstance","return":"BreakIterator","parameters":["Locale"]},{"declaring":"BreakIterator","name":"getLineInstance","return":"BreakIterator","parameters":[]},{"declaring":"BreakIterator","name":"getLineInstance","return":"BreakIterator","parameters":["Locale"]},{"declaring":"BreakIterator","name":"getSentenceInstance","return":"BreakIterator","parameters":[]},{"declaring":"BreakIterator","name":"getSentenceInstance","return":"BreakIterator","parameters":["Locale"]},{"declaring":"BreakIterator","name":"getWordInstance","return":"BreakIterator","parameters":[]},{"declaring":"BreakIterator","name":"getWordInstance","return":"BreakIterator","parameters":["Locale"]}],"methods":[{"declaring":"BreakIterator","name":"clone","return":"def","parameters":[]},{"declaring":"BreakIterator","name":"current","return":"int","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"BreakIterator","name":"first","return":"int","parameters":[]},{"declaring":"BreakIterator","name":"following","return":"int","parameters":["int"]},{"declaring":"BreakIterator","name":"getText","return":"CharacterIterator","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"BreakIterator","name":"isBoundary","return":"boolean","parameters":["int"]},{"declaring":"BreakIterator","name":"last","return":"int","parameters":[]},{"declaring":"BreakIterator","name":"next","return":"int","parameters":[]},{"declaring":"BreakIterator","name":"next","return":"int","parameters":["int"]},{"declaring":"BreakIterator","name":"preceding","return":"int","parameters":["int"]},{"declaring":"BreakIterator","name":"previous","return":"int","parameters":[]},{"declaring":"BreakIterator","name":"setText","return":"void","parameters":["String"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"BreakIterator","name":"DONE","type":"int"}],"fields":[]},{"name":"CharacterIterator","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"CharacterIterator","name":"clone","return":"def","parameters":[]},{"declaring":"CharacterIterator","name":"current","return":"char","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"CharacterIterator","name":"first","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"getBeginIndex","return":"int","parameters":[]},{"declaring":"CharacterIterator","name":"getEndIndex","return":"int","parameters":[]},{"declaring":"CharacterIterator","name":"getIndex","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"CharacterIterator","name":"last","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"next","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"previous","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"setIndex","return":"char","parameters":["int"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"CharacterIterator","name":"DONE","type":"char"}],"fields":[]},{"name":"ChoiceFormat","imported":true,"constructors":[{"declaring":"ChoiceFormat","parameters":["String"]},{"declaring":"ChoiceFormat","parameters":["double[]","String[]"]}],"static_methods":[{"declaring":"ChoiceFormat","name":"nextDouble","return":"double","parameters":["double"]},{"declaring":"ChoiceFormat","name":"nextDouble","return":"double","parameters":["double","boolean"]},{"declaring":"ChoiceFormat","name":"previousDouble","return":"double","parameters":["double"]}],"methods":[{"declaring":"ChoiceFormat","name":"applyPattern","return":"void","parameters":["String"]},{"declaring":"Format","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Format","name":"format","return":"String","parameters":["Object"]},{"declaring":"Format","name":"format","return":"StringBuffer","parameters":["Object","StringBuffer","FieldPosition"]},{"declaring":"Format","name":"formatToCharacterIterator","return":"AttributedCharacterIterator","parameters":["Object"]},{"declaring":"NumberFormat","name":"getCurrency","return":"Currency","parameters":[]},{"declaring":"ChoiceFormat","name":"getFormats","return":"def[]","parameters":[]},{"declaring":"ChoiceFormat","name":"getLimits","return":"double[]","parameters":[]},{"declaring":"NumberFormat","name":"getMaximumFractionDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getMaximumIntegerDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getMinimumFractionDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getMinimumIntegerDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getRoundingMode","return":"RoundingMode","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"isGroupingUsed","return":"boolean","parameters":[]},{"declaring":"NumberFormat","name":"isParseIntegerOnly","return":"boolean","parameters":[]},{"declaring":"NumberFormat","name":"parse","return":"Number","parameters":["String"]},{"declaring":"NumberFormat","name":"parse","return":"Number","parameters":["String","ParsePosition"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String","ParsePosition"]},{"declaring":"ChoiceFormat","name":"setChoices","return":"void","parameters":["double[]","String[]"]},{"declaring":"NumberFormat","name":"setCurrency","return":"void","parameters":["Currency"]},{"declaring":"NumberFormat","name":"setGroupingUsed","return":"void","parameters":["boolean"]},{"declaring":"NumberFormat","name":"setMaximumFractionDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setMaximumIntegerDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setMinimumFractionDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setMinimumIntegerDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setParseIntegerOnly","return":"void","parameters":["boolean"]},{"declaring":"NumberFormat","name":"setRoundingMode","return":"void","parameters":["RoundingMode"]},{"declaring":"ChoiceFormat","name":"toPattern","return":"String","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"CollationElementIterator","imported":true,"constructors":[],"static_methods":[{"declaring":"CollationElementIterator","name":"primaryOrder","return":"int","parameters":["int"]},{"declaring":"CollationElementIterator","name":"secondaryOrder","return":"short","parameters":["int"]},{"declaring":"CollationElementIterator","name":"tertiaryOrder","return":"short","parameters":["int"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"CollationElementIterator","name":"getMaxExpansion","return":"int","parameters":["int"]},{"declaring":"CollationElementIterator","name":"getOffset","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"CollationElementIterator","name":"next","return":"int","parameters":[]},{"declaring":"CollationElementIterator","name":"previous","return":"int","parameters":[]},{"declaring":"CollationElementIterator","name":"reset","return":"void","parameters":[]},{"declaring":"CollationElementIterator","name":"setOffset","return":"void","parameters":["int"]},{"declaring":"CollationElementIterator","name":"setText","return":"void","parameters":["String"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"CollationElementIterator","name":"NULLORDER","type":"int"}],"fields":[]},{"name":"CollationKey","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"CollationKey","name":"compareTo","return":"int","parameters":["CollationKey"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"CollationKey","name":"getSourceString","return":"String","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"CollationKey","name":"toByteArray","return":"byte[]","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Collator","imported":true,"constructors":[],"static_methods":[{"declaring":"Collator","name":"getAvailableLocales","return":"Locale[]","parameters":[]},{"declaring":"Collator","name":"getInstance","return":"Collator","parameters":[]},{"declaring":"Collator","name":"getInstance","return":"Collator","parameters":["Locale"]}],"methods":[{"declaring":"Collator","name":"clone","return":"def","parameters":[]},{"declaring":"Comparator","name":"compare","return":"int","parameters":["def","def"]},{"declaring":"Comparator","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Collator","name":"equals","return":"boolean","parameters":["String","String"]},{"declaring":"Collator","name":"getCollationKey","return":"CollationKey","parameters":["String"]},{"declaring":"Collator","name":"getDecomposition","return":"int","parameters":[]},{"declaring":"Collator","name":"getStrength","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Comparator","name":"reversed","return":"Comparator","parameters":[]},{"declaring":"Collator","name":"setDecomposition","return":"void","parameters":["int"]},{"declaring":"Collator","name":"setStrength","return":"void","parameters":["int"]},{"declaring":"Comparator","name":"thenComparing","return":"Comparator","parameters":["Comparator"]},{"declaring":"Comparator","name":"thenComparing","return":"Comparator","parameters":["Function","Comparator"]},{"declaring":"Comparator","name":"thenComparingDouble","return":"Comparator","parameters":["ToDoubleFunction"]},{"declaring":"Comparator","name":"thenComparingInt","return":"Comparator","parameters":["ToIntFunction"]},{"declaring":"Comparator","name":"thenComparingLong","return":"Comparator","parameters":["ToLongFunction"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Collator","name":"CANONICAL_DECOMPOSITION","type":"int"},{"declaring":"Collator","name":"FULL_DECOMPOSITION","type":"int"},{"declaring":"Collator","name":"IDENTICAL","type":"int"},{"declaring":"Collator","name":"NO_DECOMPOSITION","type":"int"},{"declaring":"Collator","name":"PRIMARY","type":"int"},{"declaring":"Collator","name":"SECONDARY","type":"int"},{"declaring":"Collator","name":"TERTIARY","type":"int"}],"fields":[]},{"name":"DateFormat","imported":true,"constructors":[],"static_methods":[{"declaring":"DateFormat","name":"getAvailableLocales","return":"Locale[]","parameters":[]},{"declaring":"DateFormat","name":"getDateInstance","return":"DateFormat","parameters":[]},{"declaring":"DateFormat","name":"getDateInstance","return":"DateFormat","parameters":["int"]},{"declaring":"DateFormat","name":"getDateInstance","return":"DateFormat","parameters":["int","Locale"]},{"declaring":"DateFormat","name":"getDateTimeInstance","return":"DateFormat","parameters":[]},{"declaring":"DateFormat","name":"getDateTimeInstance","return":"DateFormat","parameters":["int","int"]},{"declaring":"DateFormat","name":"getDateTimeInstance","return":"DateFormat","parameters":["int","int","Locale"]},{"declaring":"DateFormat","name":"getInstance","return":"DateFormat","parameters":[]},{"declaring":"DateFormat","name":"getTimeInstance","return":"DateFormat","parameters":[]},{"declaring":"DateFormat","name":"getTimeInstance","return":"DateFormat","parameters":["int"]},{"declaring":"DateFormat","name":"getTimeInstance","return":"DateFormat","parameters":["int","Locale"]}],"methods":[{"declaring":"Format","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Format","name":"format","return":"String","parameters":["Object"]},{"declaring":"Format","name":"format","return":"StringBuffer","parameters":["Object","StringBuffer","FieldPosition"]},{"declaring":"Format","name":"formatToCharacterIterator","return":"AttributedCharacterIterator","parameters":["Object"]},{"declaring":"DateFormat","name":"getCalendar","return":"Calendar","parameters":[]},{"declaring":"DateFormat","name":"getNumberFormat","return":"NumberFormat","parameters":[]},{"declaring":"DateFormat","name":"getTimeZone","return":"TimeZone","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"DateFormat","name":"isLenient","return":"boolean","parameters":[]},{"declaring":"DateFormat","name":"parse","return":"Date","parameters":["String"]},{"declaring":"DateFormat","name":"parse","return":"Date","parameters":["String","ParsePosition"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String","ParsePosition"]},{"declaring":"DateFormat","name":"setCalendar","return":"void","parameters":["Calendar"]},{"declaring":"DateFormat","name":"setLenient","return":"void","parameters":["boolean"]},{"declaring":"DateFormat","name":"setNumberFormat","return":"void","parameters":["NumberFormat"]},{"declaring":"DateFormat","name":"setTimeZone","return":"void","parameters":["TimeZone"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"DateFormat","name":"AM_PM_FIELD","type":"int"},{"declaring":"DateFormat","name":"DATE_FIELD","type":"int"},{"declaring":"DateFormat","name":"DAY_OF_WEEK_FIELD","type":"int"},{"declaring":"DateFormat","name":"DAY_OF_WEEK_IN_MONTH_FIELD","type":"int"},{"declaring":"DateFormat","name":"DAY_OF_YEAR_FIELD","type":"int"},{"declaring":"DateFormat","name":"DEFAULT","type":"int"},{"declaring":"DateFormat","name":"ERA_FIELD","type":"int"},{"declaring":"DateFormat","name":"FULL","type":"int"},{"declaring":"DateFormat","name":"HOUR0_FIELD","type":"int"},{"declaring":"DateFormat","name":"HOUR1_FIELD","type":"int"},{"declaring":"DateFormat","name":"HOUR_OF_DAY0_FIELD","type":"int"},{"declaring":"DateFormat","name":"HOUR_OF_DAY1_FIELD","type":"int"},{"declaring":"DateFormat","name":"LONG","type":"int"},{"declaring":"DateFormat","name":"MEDIUM","type":"int"},{"declaring":"DateFormat","name":"MILLISECOND_FIELD","type":"int"},{"declaring":"DateFormat","name":"MINUTE_FIELD","type":"int"},{"declaring":"DateFormat","name":"MONTH_FIELD","type":"int"},{"declaring":"DateFormat","name":"SECOND_FIELD","type":"int"},{"declaring":"DateFormat","name":"SHORT","type":"int"},{"declaring":"DateFormat","name":"TIMEZONE_FIELD","type":"int"},{"declaring":"DateFormat","name":"WEEK_OF_MONTH_FIELD","type":"int"},{"declaring":"DateFormat","name":"WEEK_OF_YEAR_FIELD","type":"int"},{"declaring":"DateFormat","name":"YEAR_FIELD","type":"int"}],"fields":[]},{"name":"DateFormat.Field","imported":true,"constructors":[],"static_methods":[{"declaring":"DateFormat.Field","name":"ofCalendarField","return":"DateFormat.Field","parameters":["int"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"DateFormat.Field","name":"getCalendarField","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"DateFormat.Field","name":"AM_PM","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"DAY_OF_MONTH","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"DAY_OF_WEEK","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"DAY_OF_WEEK_IN_MONTH","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"DAY_OF_YEAR","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"ERA","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"HOUR0","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"HOUR1","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"HOUR_OF_DAY0","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"HOUR_OF_DAY1","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"MILLISECOND","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"MINUTE","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"MONTH","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"SECOND","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"TIME_ZONE","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"WEEK_OF_MONTH","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"WEEK_OF_YEAR","type":"DateFormat.Field"},{"declaring":"DateFormat.Field","name":"YEAR","type":"DateFormat.Field"}],"fields":[]},{"name":"DateFormatSymbols","imported":true,"constructors":[{"declaring":"DateFormatSymbols","parameters":[]},{"declaring":"DateFormatSymbols","parameters":["Locale"]}],"static_methods":[{"declaring":"DateFormatSymbols","name":"getAvailableLocales","return":"Locale[]","parameters":[]},{"declaring":"DateFormatSymbols","name":"getInstance","return":"DateFormatSymbols","parameters":[]},{"declaring":"DateFormatSymbols","name":"getInstance","return":"DateFormatSymbols","parameters":["Locale"]}],"methods":[{"declaring":"DateFormatSymbols","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"DateFormatSymbols","name":"getAmPmStrings","return":"String[]","parameters":[]},{"declaring":"DateFormatSymbols","name":"getEras","return":"String[]","parameters":[]},{"declaring":"DateFormatSymbols","name":"getLocalPatternChars","return":"String","parameters":[]},{"declaring":"DateFormatSymbols","name":"getMonths","return":"String[]","parameters":[]},{"declaring":"DateFormatSymbols","name":"getShortMonths","return":"String[]","parameters":[]},{"declaring":"DateFormatSymbols","name":"getShortWeekdays","return":"String[]","parameters":[]},{"declaring":"DateFormatSymbols","name":"getWeekdays","return":"String[]","parameters":[]},{"declaring":"DateFormatSymbols","name":"getZoneStrings","return":"String[][]","parameters":[]},{"declaring":"DateFormatSymbols","name":"hashCode","return":"int","parameters":[]},{"declaring":"DateFormatSymbols","name":"setAmPmStrings","return":"void","parameters":["String[]"]},{"declaring":"DateFormatSymbols","name":"setEras","return":"void","parameters":["String[]"]},{"declaring":"DateFormatSymbols","name":"setLocalPatternChars","return":"void","parameters":["String"]},{"declaring":"DateFormatSymbols","name":"setMonths","return":"void","parameters":["String[]"]},{"declaring":"DateFormatSymbols","name":"setShortMonths","return":"void","parameters":["String[]"]},{"declaring":"DateFormatSymbols","name":"setShortWeekdays","return":"void","parameters":["String[]"]},{"declaring":"DateFormatSymbols","name":"setWeekdays","return":"void","parameters":["String[]"]},{"declaring":"DateFormatSymbols","name":"setZoneStrings","return":"void","parameters":["String[][]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DecimalFormat","imported":true,"constructors":[{"declaring":"DecimalFormat","parameters":[]},{"declaring":"DecimalFormat","parameters":["String"]},{"declaring":"DecimalFormat","parameters":["String","DecimalFormatSymbols"]}],"static_methods":[],"methods":[{"declaring":"DecimalFormat","name":"applyLocalizedPattern","return":"void","parameters":["String"]},{"declaring":"DecimalFormat","name":"applyPattern","return":"void","parameters":["String"]},{"declaring":"Format","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Format","name":"format","return":"String","parameters":["Object"]},{"declaring":"Format","name":"format","return":"StringBuffer","parameters":["Object","StringBuffer","FieldPosition"]},{"declaring":"Format","name":"formatToCharacterIterator","return":"AttributedCharacterIterator","parameters":["Object"]},{"declaring":"NumberFormat","name":"getCurrency","return":"Currency","parameters":[]},{"declaring":"DecimalFormat","name":"getDecimalFormatSymbols","return":"DecimalFormatSymbols","parameters":[]},{"declaring":"DecimalFormat","name":"getGroupingSize","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getMaximumFractionDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getMaximumIntegerDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getMinimumFractionDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getMinimumIntegerDigits","return":"int","parameters":[]},{"declaring":"DecimalFormat","name":"getMultiplier","return":"int","parameters":[]},{"declaring":"DecimalFormat","name":"getNegativePrefix","return":"String","parameters":[]},{"declaring":"DecimalFormat","name":"getNegativeSuffix","return":"String","parameters":[]},{"declaring":"DecimalFormat","name":"getPositivePrefix","return":"String","parameters":[]},{"declaring":"DecimalFormat","name":"getPositiveSuffix","return":"String","parameters":[]},{"declaring":"NumberFormat","name":"getRoundingMode","return":"RoundingMode","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"DecimalFormat","name":"isDecimalSeparatorAlwaysShown","return":"boolean","parameters":[]},{"declaring":"NumberFormat","name":"isGroupingUsed","return":"boolean","parameters":[]},{"declaring":"DecimalFormat","name":"isParseBigDecimal","return":"boolean","parameters":[]},{"declaring":"NumberFormat","name":"isParseIntegerOnly","return":"boolean","parameters":[]},{"declaring":"NumberFormat","name":"parse","return":"Number","parameters":["String"]},{"declaring":"NumberFormat","name":"parse","return":"Number","parameters":["String","ParsePosition"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String","ParsePosition"]},{"declaring":"NumberFormat","name":"setCurrency","return":"void","parameters":["Currency"]},{"declaring":"DecimalFormat","name":"setDecimalFormatSymbols","return":"void","parameters":["DecimalFormatSymbols"]},{"declaring":"DecimalFormat","name":"setDecimalSeparatorAlwaysShown","return":"void","parameters":["boolean"]},{"declaring":"DecimalFormat","name":"setGroupingSize","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setGroupingUsed","return":"void","parameters":["boolean"]},{"declaring":"NumberFormat","name":"setMaximumFractionDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setMaximumIntegerDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setMinimumFractionDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setMinimumIntegerDigits","return":"void","parameters":["int"]},{"declaring":"DecimalFormat","name":"setMultiplier","return":"void","parameters":["int"]},{"declaring":"DecimalFormat","name":"setNegativePrefix","return":"void","parameters":["String"]},{"declaring":"DecimalFormat","name":"setNegativeSuffix","return":"void","parameters":["String"]},{"declaring":"DecimalFormat","name":"setParseBigDecimal","return":"void","parameters":["boolean"]},{"declaring":"NumberFormat","name":"setParseIntegerOnly","return":"void","parameters":["boolean"]},{"declaring":"DecimalFormat","name":"setPositivePrefix","return":"void","parameters":["String"]},{"declaring":"DecimalFormat","name":"setPositiveSuffix","return":"void","parameters":["String"]},{"declaring":"NumberFormat","name":"setRoundingMode","return":"void","parameters":["RoundingMode"]},{"declaring":"DecimalFormat","name":"toLocalizedPattern","return":"String","parameters":[]},{"declaring":"DecimalFormat","name":"toPattern","return":"String","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DecimalFormatSymbols","imported":true,"constructors":[{"declaring":"DecimalFormatSymbols","parameters":[]},{"declaring":"DecimalFormatSymbols","parameters":["Locale"]}],"static_methods":[{"declaring":"DecimalFormatSymbols","name":"getAvailableLocales","return":"Locale[]","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getInstance","return":"DecimalFormatSymbols","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getInstance","return":"DecimalFormatSymbols","parameters":["Locale"]}],"methods":[{"declaring":"DecimalFormatSymbols","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"DecimalFormatSymbols","name":"getCurrency","return":"Currency","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getCurrencySymbol","return":"String","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getDecimalSeparator","return":"char","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getDigit","return":"char","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getExponentSeparator","return":"String","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getGroupingSeparator","return":"char","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getInfinity","return":"String","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getInternationalCurrencySymbol","return":"String","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getMinusSign","return":"char","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getMonetaryDecimalSeparator","return":"char","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getNaN","return":"String","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getPatternSeparator","return":"char","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getPerMill","return":"char","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getPercent","return":"char","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"getZeroDigit","return":"char","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"DecimalFormatSymbols","name":"setCurrency","return":"void","parameters":["Currency"]},{"declaring":"DecimalFormatSymbols","name":"setCurrencySymbol","return":"void","parameters":["String"]},{"declaring":"DecimalFormatSymbols","name":"setDecimalSeparator","return":"void","parameters":["char"]},{"declaring":"DecimalFormatSymbols","name":"setDigit","return":"void","parameters":["char"]},{"declaring":"DecimalFormatSymbols","name":"setExponentSeparator","return":"void","parameters":["String"]},{"declaring":"DecimalFormatSymbols","name":"setGroupingSeparator","return":"void","parameters":["char"]},{"declaring":"DecimalFormatSymbols","name":"setInfinity","return":"void","parameters":["String"]},{"declaring":"DecimalFormatSymbols","name":"setInternationalCurrencySymbol","return":"void","parameters":["String"]},{"declaring":"DecimalFormatSymbols","name":"setMinusSign","return":"void","parameters":["char"]},{"declaring":"DecimalFormatSymbols","name":"setMonetaryDecimalSeparator","return":"void","parameters":["char"]},{"declaring":"DecimalFormatSymbols","name":"setNaN","return":"void","parameters":["String"]},{"declaring":"DecimalFormatSymbols","name":"setPatternSeparator","return":"void","parameters":["char"]},{"declaring":"DecimalFormatSymbols","name":"setPerMill","return":"void","parameters":["char"]},{"declaring":"DecimalFormatSymbols","name":"setPercent","return":"void","parameters":["char"]},{"declaring":"DecimalFormatSymbols","name":"setZeroDigit","return":"void","parameters":["char"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"FieldPosition","imported":true,"constructors":[{"declaring":"FieldPosition","parameters":["int"]},{"declaring":"FieldPosition","parameters":["Format.Field","int"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"FieldPosition","name":"getBeginIndex","return":"int","parameters":[]},{"declaring":"FieldPosition","name":"getEndIndex","return":"int","parameters":[]},{"declaring":"FieldPosition","name":"getField","return":"int","parameters":[]},{"declaring":"FieldPosition","name":"getFieldAttribute","return":"Format.Field","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"FieldPosition","name":"setBeginIndex","return":"void","parameters":["int"]},{"declaring":"FieldPosition","name":"setEndIndex","return":"void","parameters":["int"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Format","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Format","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Format","name":"format","return":"String","parameters":["Object"]},{"declaring":"Format","name":"format","return":"StringBuffer","parameters":["Object","StringBuffer","FieldPosition"]},{"declaring":"Format","name":"formatToCharacterIterator","return":"AttributedCharacterIterator","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String","ParsePosition"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Format.Field","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"MessageFormat","imported":true,"constructors":[],"static_methods":[{"declaring":"MessageFormat","name":"format","return":"String","parameters":["String","Object[]"]}],"methods":[{"declaring":"MessageFormat","name":"applyPattern","return":"void","parameters":["String"]},{"declaring":"Format","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Format","name":"format","return":"String","parameters":["Object"]},{"declaring":"Format","name":"format","return":"StringBuffer","parameters":["Object","StringBuffer","FieldPosition"]},{"declaring":"Format","name":"formatToCharacterIterator","return":"AttributedCharacterIterator","parameters":["Object"]},{"declaring":"MessageFormat","name":"getFormats","return":"Format[]","parameters":[]},{"declaring":"MessageFormat","name":"getFormatsByArgumentIndex","return":"Format[]","parameters":[]},{"declaring":"MessageFormat","name":"getLocale","return":"Locale","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"MessageFormat","name":"parse","return":"Object[]","parameters":["String"]},{"declaring":"MessageFormat","name":"parse","return":"Object[]","parameters":["String","ParsePosition"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String","ParsePosition"]},{"declaring":"MessageFormat","name":"setFormat","return":"void","parameters":["int","Format"]},{"declaring":"MessageFormat","name":"setFormatByArgumentIndex","return":"void","parameters":["int","Format"]},{"declaring":"MessageFormat","name":"setFormats","return":"void","parameters":["Format[]"]},{"declaring":"MessageFormat","name":"setFormatsByArgumentIndex","return":"void","parameters":["Format[]"]},{"declaring":"MessageFormat","name":"setLocale","return":"void","parameters":["Locale"]},{"declaring":"MessageFormat","name":"toPattern","return":"String","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"MessageFormat.Field","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"MessageFormat.Field","name":"ARGUMENT","type":"MessageFormat.Field"}],"fields":[]},{"name":"Normalizer","imported":true,"constructors":[],"static_methods":[{"declaring":"Normalizer","name":"isNormalized","return":"boolean","parameters":["CharSequence","Normalizer.Form"]},{"declaring":"Normalizer","name":"normalize","return":"String","parameters":["CharSequence","Normalizer.Form"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Normalizer.Form","imported":true,"constructors":[],"static_methods":[{"declaring":"Normalizer.Form","name":"valueOf","return":"Normalizer.Form","parameters":["String"]},{"declaring":"Normalizer.Form","name":"values","return":"Normalizer.Form[]","parameters":[]}],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Normalizer.Form","name":"NFC","type":"Normalizer.Form"},{"declaring":"Normalizer.Form","name":"NFD","type":"Normalizer.Form"},{"declaring":"Normalizer.Form","name":"NFKC","type":"Normalizer.Form"},{"declaring":"Normalizer.Form","name":"NFKD","type":"Normalizer.Form"}],"fields":[]},{"name":"NumberFormat","imported":true,"constructors":[],"static_methods":[{"declaring":"NumberFormat","name":"getAvailableLocales","return":"Locale[]","parameters":[]},{"declaring":"NumberFormat","name":"getCurrencyInstance","return":"NumberFormat","parameters":[]},{"declaring":"NumberFormat","name":"getCurrencyInstance","return":"NumberFormat","parameters":["Locale"]},{"declaring":"NumberFormat","name":"getInstance","return":"NumberFormat","parameters":[]},{"declaring":"NumberFormat","name":"getInstance","return":"NumberFormat","parameters":["Locale"]},{"declaring":"NumberFormat","name":"getIntegerInstance","return":"NumberFormat","parameters":[]},{"declaring":"NumberFormat","name":"getIntegerInstance","return":"NumberFormat","parameters":["Locale"]},{"declaring":"NumberFormat","name":"getNumberInstance","return":"NumberFormat","parameters":[]},{"declaring":"NumberFormat","name":"getNumberInstance","return":"NumberFormat","parameters":["Locale"]},{"declaring":"NumberFormat","name":"getPercentInstance","return":"NumberFormat","parameters":[]},{"declaring":"NumberFormat","name":"getPercentInstance","return":"NumberFormat","parameters":["Locale"]}],"methods":[{"declaring":"Format","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Format","name":"format","return":"String","parameters":["Object"]},{"declaring":"Format","name":"format","return":"StringBuffer","parameters":["Object","StringBuffer","FieldPosition"]},{"declaring":"Format","name":"formatToCharacterIterator","return":"AttributedCharacterIterator","parameters":["Object"]},{"declaring":"NumberFormat","name":"getCurrency","return":"Currency","parameters":[]},{"declaring":"NumberFormat","name":"getMaximumFractionDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getMaximumIntegerDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getMinimumFractionDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getMinimumIntegerDigits","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"getRoundingMode","return":"RoundingMode","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"NumberFormat","name":"isGroupingUsed","return":"boolean","parameters":[]},{"declaring":"NumberFormat","name":"isParseIntegerOnly","return":"boolean","parameters":[]},{"declaring":"NumberFormat","name":"parse","return":"Number","parameters":["String"]},{"declaring":"NumberFormat","name":"parse","return":"Number","parameters":["String","ParsePosition"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String","ParsePosition"]},{"declaring":"NumberFormat","name":"setCurrency","return":"void","parameters":["Currency"]},{"declaring":"NumberFormat","name":"setGroupingUsed","return":"void","parameters":["boolean"]},{"declaring":"NumberFormat","name":"setMaximumFractionDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setMaximumIntegerDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setMinimumFractionDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setMinimumIntegerDigits","return":"void","parameters":["int"]},{"declaring":"NumberFormat","name":"setParseIntegerOnly","return":"void","parameters":["boolean"]},{"declaring":"NumberFormat","name":"setRoundingMode","return":"void","parameters":["RoundingMode"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"NumberFormat","name":"FRACTION_FIELD","type":"int"},{"declaring":"NumberFormat","name":"INTEGER_FIELD","type":"int"}],"fields":[]},{"name":"NumberFormat.Field","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"NumberFormat.Field","name":"CURRENCY","type":"NumberFormat.Field"},{"declaring":"NumberFormat.Field","name":"DECIMAL_SEPARATOR","type":"NumberFormat.Field"},{"declaring":"NumberFormat.Field","name":"EXPONENT","type":"NumberFormat.Field"},{"declaring":"NumberFormat.Field","name":"EXPONENT_SIGN","type":"NumberFormat.Field"},{"declaring":"NumberFormat.Field","name":"EXPONENT_SYMBOL","type":"NumberFormat.Field"},{"declaring":"NumberFormat.Field","name":"FRACTION","type":"NumberFormat.Field"},{"declaring":"NumberFormat.Field","name":"GROUPING_SEPARATOR","type":"NumberFormat.Field"},{"declaring":"NumberFormat.Field","name":"INTEGER","type":"NumberFormat.Field"},{"declaring":"NumberFormat.Field","name":"PERCENT","type":"NumberFormat.Field"},{"declaring":"NumberFormat.Field","name":"PERMILLE","type":"NumberFormat.Field"},{"declaring":"NumberFormat.Field","name":"SIGN","type":"NumberFormat.Field"}],"fields":[]},{"name":"ParseException","imported":true,"constructors":[{"declaring":"ParseException","parameters":["String","int"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ParseException","name":"getErrorOffset","return":"int","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ParsePosition","imported":true,"constructors":[{"declaring":"ParsePosition","parameters":["int"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ParsePosition","name":"getErrorIndex","return":"int","parameters":[]},{"declaring":"ParsePosition","name":"getIndex","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"ParsePosition","name":"setErrorIndex","return":"void","parameters":["int"]},{"declaring":"ParsePosition","name":"setIndex","return":"void","parameters":["int"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"RuleBasedCollator","imported":true,"constructors":[{"declaring":"RuleBasedCollator","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Collator","name":"clone","return":"def","parameters":[]},{"declaring":"Comparator","name":"compare","return":"int","parameters":["def","def"]},{"declaring":"Comparator","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Collator","name":"equals","return":"boolean","parameters":["String","String"]},{"declaring":"RuleBasedCollator","name":"getCollationElementIterator","return":"CollationElementIterator","parameters":["String"]},{"declaring":"Collator","name":"getCollationKey","return":"CollationKey","parameters":["String"]},{"declaring":"Collator","name":"getDecomposition","return":"int","parameters":[]},{"declaring":"RuleBasedCollator","name":"getRules","return":"String","parameters":[]},{"declaring":"Collator","name":"getStrength","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Comparator","name":"reversed","return":"Comparator","parameters":[]},{"declaring":"Collator","name":"setDecomposition","return":"void","parameters":["int"]},{"declaring":"Collator","name":"setStrength","return":"void","parameters":["int"]},{"declaring":"Comparator","name":"thenComparing","return":"Comparator","parameters":["Comparator"]},{"declaring":"Comparator","name":"thenComparing","return":"Comparator","parameters":["Function","Comparator"]},{"declaring":"Comparator","name":"thenComparingDouble","return":"Comparator","parameters":["ToDoubleFunction"]},{"declaring":"Comparator","name":"thenComparingInt","return":"Comparator","parameters":["ToIntFunction"]},{"declaring":"Comparator","name":"thenComparingLong","return":"Comparator","parameters":["ToLongFunction"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"SimpleDateFormat","imported":true,"constructors":[{"declaring":"SimpleDateFormat","parameters":[]},{"declaring":"SimpleDateFormat","parameters":["String"]},{"declaring":"SimpleDateFormat","parameters":["String","Locale"]}],"static_methods":[],"methods":[{"declaring":"SimpleDateFormat","name":"applyLocalizedPattern","return":"void","parameters":["String"]},{"declaring":"SimpleDateFormat","name":"applyPattern","return":"void","parameters":["String"]},{"declaring":"Format","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Format","name":"format","return":"String","parameters":["Object"]},{"declaring":"Format","name":"format","return":"StringBuffer","parameters":["Object","StringBuffer","FieldPosition"]},{"declaring":"Format","name":"formatToCharacterIterator","return":"AttributedCharacterIterator","parameters":["Object"]},{"declaring":"SimpleDateFormat","name":"get2DigitYearStart","return":"Date","parameters":[]},{"declaring":"DateFormat","name":"getCalendar","return":"Calendar","parameters":[]},{"declaring":"SimpleDateFormat","name":"getDateFormatSymbols","return":"DateFormatSymbols","parameters":[]},{"declaring":"DateFormat","name":"getNumberFormat","return":"NumberFormat","parameters":[]},{"declaring":"DateFormat","name":"getTimeZone","return":"TimeZone","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"DateFormat","name":"isLenient","return":"boolean","parameters":[]},{"declaring":"DateFormat","name":"parse","return":"Date","parameters":["String"]},{"declaring":"DateFormat","name":"parse","return":"Date","parameters":["String","ParsePosition"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String"]},{"declaring":"Format","name":"parseObject","return":"Object","parameters":["String","ParsePosition"]},{"declaring":"SimpleDateFormat","name":"set2DigitYearStart","return":"void","parameters":["Date"]},{"declaring":"DateFormat","name":"setCalendar","return":"void","parameters":["Calendar"]},{"declaring":"SimpleDateFormat","name":"setDateFormatSymbols","return":"void","parameters":["DateFormatSymbols"]},{"declaring":"DateFormat","name":"setLenient","return":"void","parameters":["boolean"]},{"declaring":"DateFormat","name":"setNumberFormat","return":"void","parameters":["NumberFormat"]},{"declaring":"DateFormat","name":"setTimeZone","return":"void","parameters":["TimeZone"]},{"declaring":"SimpleDateFormat","name":"toLocalizedPattern","return":"String","parameters":[]},{"declaring":"SimpleDateFormat","name":"toPattern","return":"String","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"StringCharacterIterator","imported":true,"constructors":[{"declaring":"StringCharacterIterator","parameters":["String"]},{"declaring":"StringCharacterIterator","parameters":["String","int"]},{"declaring":"StringCharacterIterator","parameters":["String","int","int","int"]}],"static_methods":[],"methods":[{"declaring":"CharacterIterator","name":"clone","return":"def","parameters":[]},{"declaring":"CharacterIterator","name":"current","return":"char","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"CharacterIterator","name":"first","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"getBeginIndex","return":"int","parameters":[]},{"declaring":"CharacterIterator","name":"getEndIndex","return":"int","parameters":[]},{"declaring":"CharacterIterator","name":"getIndex","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"CharacterIterator","name":"last","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"next","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"previous","return":"char","parameters":[]},{"declaring":"CharacterIterator","name":"setIndex","return":"char","parameters":["int"]},{"declaring":"StringCharacterIterator","name":"setText","return":"void","parameters":["String"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Clock","imported":true,"constructors":[],"static_methods":[{"declaring":"Clock","name":"fixed","return":"Clock","parameters":["Instant","ZoneId"]},{"declaring":"Clock","name":"offset","return":"Clock","parameters":["Clock","Duration"]},{"declaring":"Clock","name":"tick","return":"Clock","parameters":["Clock","Duration"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Clock","name":"getZone","return":"ZoneId","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Clock","name":"instant","return":"Instant","parameters":[]},{"declaring":"Clock","name":"millis","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DateTimeException","imported":true,"constructors":[{"declaring":"DateTimeException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DayOfWeek","imported":true,"constructors":[],"static_methods":[{"declaring":"DayOfWeek","name":"from","return":"DayOfWeek","parameters":["TemporalAccessor"]},{"declaring":"DayOfWeek","name":"of","return":"DayOfWeek","parameters":["int"]},{"declaring":"DayOfWeek","name":"valueOf","return":"DayOfWeek","parameters":["String"]},{"declaring":"DayOfWeek","name":"values","return":"DayOfWeek[]","parameters":[]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"DayOfWeek","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"DayOfWeek","name":"getValue","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"DayOfWeek","name":"minus","return":"DayOfWeek","parameters":["long"]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"DayOfWeek","name":"plus","return":"DayOfWeek","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"DayOfWeek","name":"FRIDAY","type":"DayOfWeek"},{"declaring":"DayOfWeek","name":"MONDAY","type":"DayOfWeek"},{"declaring":"DayOfWeek","name":"SATURDAY","type":"DayOfWeek"},{"declaring":"DayOfWeek","name":"SUNDAY","type":"DayOfWeek"},{"declaring":"DayOfWeek","name":"THURSDAY","type":"DayOfWeek"},{"declaring":"DayOfWeek","name":"TUESDAY","type":"DayOfWeek"},{"declaring":"DayOfWeek","name":"WEDNESDAY","type":"DayOfWeek"}],"fields":[]},{"name":"Duration","imported":true,"constructors":[],"static_methods":[{"declaring":"Duration","name":"between","return":"Duration","parameters":["Temporal","Temporal"]},{"declaring":"Duration","name":"from","return":"Duration","parameters":["TemporalAmount"]},{"declaring":"Duration","name":"of","return":"Duration","parameters":["long","TemporalUnit"]},{"declaring":"Duration","name":"ofDays","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"ofHours","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"ofMillis","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"ofMinutes","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"ofNanos","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"ofSeconds","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"ofSeconds","return":"Duration","parameters":["long","long"]},{"declaring":"Duration","name":"parse","return":"Duration","parameters":["CharSequence"]}],"methods":[{"declaring":"Duration","name":"abs","return":"Duration","parameters":[]},{"declaring":"TemporalAmount","name":"addTo","return":"Temporal","parameters":["Temporal"]},{"declaring":"Duration","name":"compareTo","return":"int","parameters":["Duration"]},{"declaring":"Duration","name":"dividedBy","return":"Duration","parameters":["long"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAmount","name":"get","return":"long","parameters":["TemporalUnit"]},{"declaring":"Duration","name":"getNano","return":"int","parameters":[]},{"declaring":"Duration","name":"getSeconds","return":"long","parameters":[]},{"declaring":"TemporalAmount","name":"getUnits","return":"List","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Duration","name":"isNegative","return":"boolean","parameters":[]},{"declaring":"Duration","name":"isZero","return":"boolean","parameters":[]},{"declaring":"Duration","name":"minus","return":"Duration","parameters":["Duration"]},{"declaring":"Duration","name":"minus","return":"Duration","parameters":["long","TemporalUnit"]},{"declaring":"Duration","name":"minusDays","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"minusHours","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"minusMillis","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"minusMinutes","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"minusNanos","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"minusSeconds","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"multipliedBy","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"negated","return":"Duration","parameters":[]},{"declaring":"Duration","name":"plus","return":"Duration","parameters":["Duration"]},{"declaring":"Duration","name":"plus","return":"Duration","parameters":["long","TemporalUnit"]},{"declaring":"Duration","name":"plusDays","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"plusHours","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"plusMillis","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"plusMinutes","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"plusNanos","return":"Duration","parameters":["long"]},{"declaring":"Duration","name":"plusSeconds","return":"Duration","parameters":["long"]},{"declaring":"TemporalAmount","name":"subtractFrom","return":"Temporal","parameters":["Temporal"]},{"declaring":"Duration","name":"toDays","return":"long","parameters":[]},{"declaring":"Duration","name":"toHours","return":"long","parameters":[]},{"declaring":"Duration","name":"toMillis","return":"long","parameters":[]},{"declaring":"Duration","name":"toMinutes","return":"long","parameters":[]},{"declaring":"Duration","name":"toNanos","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Duration","name":"withNanos","return":"Duration","parameters":["int"]},{"declaring":"Duration","name":"withSeconds","return":"Duration","parameters":["long"]}],"static_fields":[{"declaring":"Duration","name":"ZERO","type":"Duration"}],"fields":[]},{"name":"Instant","imported":true,"constructors":[],"static_methods":[{"declaring":"Instant","name":"from","return":"Instant","parameters":["TemporalAccessor"]},{"declaring":"Instant","name":"ofEpochMilli","return":"Instant","parameters":["long"]},{"declaring":"Instant","name":"ofEpochSecond","return":"Instant","parameters":["long"]},{"declaring":"Instant","name":"ofEpochSecond","return":"Instant","parameters":["long","long"]},{"declaring":"Instant","name":"parse","return":"Instant","parameters":["CharSequence"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Instant","name":"atOffset","return":"OffsetDateTime","parameters":["ZoneOffset"]},{"declaring":"Instant","name":"atZone","return":"ZonedDateTime","parameters":["ZoneId"]},{"declaring":"Instant","name":"compareTo","return":"int","parameters":["Instant"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"Instant","name":"getEpochSecond","return":"long","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"Instant","name":"getNano","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Instant","name":"isAfter","return":"boolean","parameters":["Instant"]},{"declaring":"Instant","name":"isBefore","return":"boolean","parameters":["Instant"]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"Instant","name":"minus","return":"Instant","parameters":["TemporalAmount"]},{"declaring":"Instant","name":"minus","return":"Instant","parameters":["long","TemporalUnit"]},{"declaring":"Instant","name":"minusMillis","return":"Instant","parameters":["long"]},{"declaring":"Instant","name":"minusNanos","return":"Instant","parameters":["long"]},{"declaring":"Instant","name":"minusSeconds","return":"Instant","parameters":["long"]},{"declaring":"Instant","name":"plus","return":"Instant","parameters":["TemporalAmount"]},{"declaring":"Instant","name":"plus","return":"Instant","parameters":["long","TemporalUnit"]},{"declaring":"Instant","name":"plusMillis","return":"Instant","parameters":["long"]},{"declaring":"Instant","name":"plusNanos","return":"Instant","parameters":["long"]},{"declaring":"Instant","name":"plusSeconds","return":"Instant","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":"Instant","name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Instant","name":"truncatedTo","return":"Instant","parameters":["TemporalUnit"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"Instant","name":"with","return":"Instant","parameters":["TemporalAdjuster"]},{"declaring":"Instant","name":"with","return":"Instant","parameters":["TemporalField","long"]}],"static_fields":[{"declaring":"Instant","name":"EPOCH","type":"Instant"},{"declaring":"Instant","name":"MAX","type":"Instant"},{"declaring":"Instant","name":"MIN","type":"Instant"}],"fields":[]},{"name":"LocalDate","imported":true,"constructors":[],"static_methods":[{"declaring":"LocalDate","name":"from","return":"LocalDate","parameters":["TemporalAccessor"]},{"declaring":"LocalDate","name":"of","return":"LocalDate","parameters":["int","int","int"]},{"declaring":"LocalDate","name":"ofEpochDay","return":"LocalDate","parameters":["long"]},{"declaring":"LocalDate","name":"ofYearDay","return":"LocalDate","parameters":["int","int"]},{"declaring":"LocalDate","name":"parse","return":"LocalDate","parameters":["CharSequence"]},{"declaring":"LocalDate","name":"parse","return":"LocalDate","parameters":["CharSequence","DateTimeFormatter"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"LocalDate","name":"atStartOfDay","return":"LocalDateTime","parameters":[]},{"declaring":"LocalDate","name":"atStartOfDay","return":"ZonedDateTime","parameters":["ZoneId"]},{"declaring":"LocalDate","name":"atTime","return":"LocalDateTime","parameters":["LocalTime"]},{"declaring":"LocalDate","name":"atTime","return":"LocalDateTime","parameters":["int","int"]},{"declaring":"LocalDate","name":"atTime","return":"LocalDateTime","parameters":["int","int","int"]},{"declaring":"LocalDate","name":"atTime","return":"LocalDateTime","parameters":["int","int","int","int"]},{"declaring":"ChronoLocalDate","name":"compareTo","return":"int","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoLocalDate","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"LocalDate","name":"getChronology","return":"IsoChronology","parameters":[]},{"declaring":"LocalDate","name":"getDayOfMonth","return":"int","parameters":[]},{"declaring":"LocalDate","name":"getDayOfWeek","return":"DayOfWeek","parameters":[]},{"declaring":"LocalDate","name":"getDayOfYear","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"getEra","return":"Era","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"LocalDate","name":"getMonth","return":"Month","parameters":[]},{"declaring":"LocalDate","name":"getMonthValue","return":"int","parameters":[]},{"declaring":"LocalDate","name":"getYear","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"isAfter","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isBefore","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isEqual","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isLeapYear","return":"boolean","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"lengthOfMonth","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"lengthOfYear","return":"int","parameters":[]},{"declaring":"LocalDate","name":"minus","return":"LocalDate","parameters":["TemporalAmount"]},{"declaring":"LocalDate","name":"minus","return":"LocalDate","parameters":["long","TemporalUnit"]},{"declaring":"LocalDate","name":"minusDays","return":"LocalDate","parameters":["long"]},{"declaring":"LocalDate","name":"minusMonths","return":"LocalDate","parameters":["long"]},{"declaring":"LocalDate","name":"minusWeeks","return":"LocalDate","parameters":["long"]},{"declaring":"LocalDate","name":"minusYears","return":"LocalDate","parameters":["long"]},{"declaring":"LocalDate","name":"plus","return":"LocalDate","parameters":["TemporalAmount"]},{"declaring":"LocalDate","name":"plus","return":"LocalDate","parameters":["long","TemporalUnit"]},{"declaring":"LocalDate","name":"plusDays","return":"LocalDate","parameters":["long"]},{"declaring":"LocalDate","name":"plusMonths","return":"LocalDate","parameters":["long"]},{"declaring":"LocalDate","name":"plusWeeks","return":"LocalDate","parameters":["long"]},{"declaring":"LocalDate","name":"plusYears","return":"LocalDate","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"toEpochDay","return":"long","parameters":[]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoLocalDate","name":"toString","return":"String","parameters":[]},{"declaring":"LocalDate","name":"until","return":"Period","parameters":["ChronoLocalDate"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"LocalDate","name":"with","return":"LocalDate","parameters":["TemporalAdjuster"]},{"declaring":"LocalDate","name":"with","return":"LocalDate","parameters":["TemporalField","long"]},{"declaring":"LocalDate","name":"withDayOfMonth","return":"LocalDate","parameters":["int"]},{"declaring":"LocalDate","name":"withDayOfYear","return":"LocalDate","parameters":["int"]},{"declaring":"LocalDate","name":"withMonth","return":"LocalDate","parameters":["int"]},{"declaring":"LocalDate","name":"withYear","return":"LocalDate","parameters":["int"]}],"static_fields":[{"declaring":"LocalDate","name":"MAX","type":"LocalDate"},{"declaring":"LocalDate","name":"MIN","type":"LocalDate"}],"fields":[]},{"name":"LocalDateTime","imported":true,"constructors":[],"static_methods":[{"declaring":"LocalDateTime","name":"from","return":"LocalDateTime","parameters":["TemporalAccessor"]},{"declaring":"LocalDateTime","name":"of","return":"LocalDateTime","parameters":["LocalDate","LocalTime"]},{"declaring":"LocalDateTime","name":"of","return":"LocalDateTime","parameters":["int","int","int","int","int"]},{"declaring":"LocalDateTime","name":"of","return":"LocalDateTime","parameters":["int","int","int","int","int","int"]},{"declaring":"LocalDateTime","name":"of","return":"LocalDateTime","parameters":["int","int","int","int","int","int","int"]},{"declaring":"LocalDateTime","name":"ofEpochSecond","return":"LocalDateTime","parameters":["long","int","ZoneOffset"]},{"declaring":"LocalDateTime","name":"ofInstant","return":"LocalDateTime","parameters":["Instant","ZoneId"]},{"declaring":"LocalDateTime","name":"parse","return":"LocalDateTime","parameters":["CharSequence"]},{"declaring":"LocalDateTime","name":"parse","return":"LocalDateTime","parameters":["CharSequence","DateTimeFormatter"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"LocalDateTime","name":"atOffset","return":"OffsetDateTime","parameters":["ZoneOffset"]},{"declaring":"LocalDateTime","name":"atZone","return":"ZonedDateTime","parameters":["ZoneId"]},{"declaring":"ChronoLocalDateTime","name":"compareTo","return":"int","parameters":["ChronoLocalDateTime"]},{"declaring":"ChronoLocalDateTime","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoLocalDateTime","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"ChronoLocalDateTime","name":"getChronology","return":"Chronology","parameters":[]},{"declaring":"LocalDateTime","name":"getDayOfMonth","return":"int","parameters":[]},{"declaring":"LocalDateTime","name":"getDayOfWeek","return":"DayOfWeek","parameters":[]},{"declaring":"LocalDateTime","name":"getDayOfYear","return":"int","parameters":[]},{"declaring":"LocalDateTime","name":"getHour","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"LocalDateTime","name":"getMinute","return":"int","parameters":[]},{"declaring":"LocalDateTime","name":"getMonth","return":"Month","parameters":[]},{"declaring":"LocalDateTime","name":"getMonthValue","return":"int","parameters":[]},{"declaring":"LocalDateTime","name":"getNano","return":"int","parameters":[]},{"declaring":"LocalDateTime","name":"getSecond","return":"int","parameters":[]},{"declaring":"LocalDateTime","name":"getYear","return":"int","parameters":[]},{"declaring":"ChronoLocalDateTime","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoLocalDateTime","name":"isAfter","return":"boolean","parameters":["ChronoLocalDateTime"]},{"declaring":"ChronoLocalDateTime","name":"isBefore","return":"boolean","parameters":["ChronoLocalDateTime"]},{"declaring":"ChronoLocalDateTime","name":"isEqual","return":"boolean","parameters":["ChronoLocalDateTime"]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"LocalDateTime","name":"minus","return":"LocalDateTime","parameters":["TemporalAmount"]},{"declaring":"LocalDateTime","name":"minus","return":"LocalDateTime","parameters":["long","TemporalUnit"]},{"declaring":"LocalDateTime","name":"minusDays","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"minusHours","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"minusMinutes","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"minusMonths","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"minusNanos","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"minusSeconds","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"minusWeeks","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"minusYears","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"plus","return":"LocalDateTime","parameters":["TemporalAmount"]},{"declaring":"LocalDateTime","name":"plus","return":"LocalDateTime","parameters":["long","TemporalUnit"]},{"declaring":"LocalDateTime","name":"plusDays","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"plusHours","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"plusMinutes","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"plusMonths","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"plusNanos","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"plusSeconds","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"plusWeeks","return":"LocalDateTime","parameters":["long"]},{"declaring":"LocalDateTime","name":"plusYears","return":"LocalDateTime","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoLocalDateTime","name":"toEpochSecond","return":"long","parameters":["ZoneOffset"]},{"declaring":"ChronoLocalDateTime","name":"toInstant","return":"Instant","parameters":["ZoneOffset"]},{"declaring":"LocalDateTime","name":"toLocalDate","return":"LocalDate","parameters":[]},{"declaring":"ChronoLocalDateTime","name":"toLocalTime","return":"LocalTime","parameters":[]},{"declaring":"ChronoLocalDateTime","name":"toString","return":"String","parameters":[]},{"declaring":"LocalDateTime","name":"truncatedTo","return":"LocalDateTime","parameters":["TemporalUnit"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"LocalDateTime","name":"with","return":"LocalDateTime","parameters":["TemporalAdjuster"]},{"declaring":"LocalDateTime","name":"with","return":"LocalDateTime","parameters":["TemporalField","long"]},{"declaring":"LocalDateTime","name":"withDayOfMonth","return":"LocalDateTime","parameters":["int"]},{"declaring":"LocalDateTime","name":"withDayOfYear","return":"LocalDateTime","parameters":["int"]},{"declaring":"LocalDateTime","name":"withHour","return":"LocalDateTime","parameters":["int"]},{"declaring":"LocalDateTime","name":"withMinute","return":"LocalDateTime","parameters":["int"]},{"declaring":"LocalDateTime","name":"withMonth","return":"LocalDateTime","parameters":["int"]},{"declaring":"LocalDateTime","name":"withSecond","return":"LocalDateTime","parameters":["int"]},{"declaring":"LocalDateTime","name":"withYear","return":"LocalDateTime","parameters":["int"]}],"static_fields":[{"declaring":"LocalDateTime","name":"MAX","type":"LocalDateTime"},{"declaring":"LocalDateTime","name":"MIN","type":"LocalDateTime"}],"fields":[]},{"name":"LocalTime","imported":true,"constructors":[],"static_methods":[{"declaring":"LocalTime","name":"from","return":"LocalTime","parameters":["TemporalAccessor"]},{"declaring":"LocalTime","name":"of","return":"LocalTime","parameters":["int","int"]},{"declaring":"LocalTime","name":"of","return":"LocalTime","parameters":["int","int","int"]},{"declaring":"LocalTime","name":"of","return":"LocalTime","parameters":["int","int","int","int"]},{"declaring":"LocalTime","name":"ofNanoOfDay","return":"LocalTime","parameters":["long"]},{"declaring":"LocalTime","name":"ofSecondOfDay","return":"LocalTime","parameters":["long"]},{"declaring":"LocalTime","name":"parse","return":"LocalTime","parameters":["CharSequence"]},{"declaring":"LocalTime","name":"parse","return":"LocalTime","parameters":["CharSequence","DateTimeFormatter"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"LocalTime","name":"atDate","return":"LocalDateTime","parameters":["LocalDate"]},{"declaring":"LocalTime","name":"atOffset","return":"OffsetTime","parameters":["ZoneOffset"]},{"declaring":"LocalTime","name":"compareTo","return":"int","parameters":["LocalTime"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"LocalTime","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"LocalTime","name":"getHour","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"LocalTime","name":"getMinute","return":"int","parameters":[]},{"declaring":"LocalTime","name":"getNano","return":"int","parameters":[]},{"declaring":"LocalTime","name":"getSecond","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"LocalTime","name":"isAfter","return":"boolean","parameters":["LocalTime"]},{"declaring":"LocalTime","name":"isBefore","return":"boolean","parameters":["LocalTime"]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"LocalTime","name":"minus","return":"LocalTime","parameters":["TemporalAmount"]},{"declaring":"LocalTime","name":"minus","return":"LocalTime","parameters":["long","TemporalUnit"]},{"declaring":"LocalTime","name":"minusHours","return":"LocalTime","parameters":["long"]},{"declaring":"LocalTime","name":"minusMinutes","return":"LocalTime","parameters":["long"]},{"declaring":"LocalTime","name":"minusNanos","return":"LocalTime","parameters":["long"]},{"declaring":"LocalTime","name":"minusSeconds","return":"LocalTime","parameters":["long"]},{"declaring":"LocalTime","name":"plus","return":"LocalTime","parameters":["TemporalAmount"]},{"declaring":"LocalTime","name":"plus","return":"LocalTime","parameters":["long","TemporalUnit"]},{"declaring":"LocalTime","name":"plusHours","return":"LocalTime","parameters":["long"]},{"declaring":"LocalTime","name":"plusMinutes","return":"LocalTime","parameters":["long"]},{"declaring":"LocalTime","name":"plusNanos","return":"LocalTime","parameters":["long"]},{"declaring":"LocalTime","name":"plusSeconds","return":"LocalTime","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"LocalTime","name":"toNanoOfDay","return":"long","parameters":[]},{"declaring":"LocalTime","name":"toSecondOfDay","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"LocalTime","name":"truncatedTo","return":"LocalTime","parameters":["TemporalUnit"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"LocalTime","name":"with","return":"LocalTime","parameters":["TemporalAdjuster"]},{"declaring":"LocalTime","name":"with","return":"LocalTime","parameters":["TemporalField","long"]},{"declaring":"LocalTime","name":"withHour","return":"LocalTime","parameters":["int"]},{"declaring":"LocalTime","name":"withMinute","return":"LocalTime","parameters":["int"]},{"declaring":"LocalTime","name":"withNano","return":"LocalTime","parameters":["int"]},{"declaring":"LocalTime","name":"withSecond","return":"LocalTime","parameters":["int"]}],"static_fields":[{"declaring":"LocalTime","name":"MAX","type":"LocalTime"},{"declaring":"LocalTime","name":"MIDNIGHT","type":"LocalTime"},{"declaring":"LocalTime","name":"MIN","type":"LocalTime"},{"declaring":"LocalTime","name":"NOON","type":"LocalTime"}],"fields":[]},{"name":"Month","imported":true,"constructors":[],"static_methods":[{"declaring":"Month","name":"from","return":"Month","parameters":["TemporalAccessor"]},{"declaring":"Month","name":"of","return":"Month","parameters":["int"]},{"declaring":"Month","name":"valueOf","return":"Month","parameters":["String"]},{"declaring":"Month","name":"values","return":"Month[]","parameters":[]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Month","name":"firstDayOfYear","return":"int","parameters":["boolean"]},{"declaring":"Month","name":"firstMonthOfQuarter","return":"Month","parameters":[]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"Month","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"Month","name":"getValue","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"Month","name":"length","return":"int","parameters":["boolean"]},{"declaring":"Month","name":"maxLength","return":"int","parameters":[]},{"declaring":"Month","name":"minLength","return":"int","parameters":[]},{"declaring":"Month","name":"minus","return":"Month","parameters":["long"]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Month","name":"plus","return":"Month","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Month","name":"APRIL","type":"Month"},{"declaring":"Month","name":"AUGUST","type":"Month"},{"declaring":"Month","name":"DECEMBER","type":"Month"},{"declaring":"Month","name":"FEBRUARY","type":"Month"},{"declaring":"Month","name":"JANUARY","type":"Month"},{"declaring":"Month","name":"JULY","type":"Month"},{"declaring":"Month","name":"JUNE","type":"Month"},{"declaring":"Month","name":"MARCH","type":"Month"},{"declaring":"Month","name":"MAY","type":"Month"},{"declaring":"Month","name":"NOVEMBER","type":"Month"},{"declaring":"Month","name":"OCTOBER","type":"Month"},{"declaring":"Month","name":"SEPTEMBER","type":"Month"}],"fields":[]},{"name":"MonthDay","imported":true,"constructors":[],"static_methods":[{"declaring":"MonthDay","name":"from","return":"MonthDay","parameters":["TemporalAccessor"]},{"declaring":"MonthDay","name":"of","return":"MonthDay","parameters":["int","int"]},{"declaring":"MonthDay","name":"parse","return":"MonthDay","parameters":["CharSequence"]},{"declaring":"MonthDay","name":"parse","return":"MonthDay","parameters":["CharSequence","DateTimeFormatter"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"MonthDay","name":"atYear","return":"LocalDate","parameters":["int"]},{"declaring":"MonthDay","name":"compareTo","return":"int","parameters":["MonthDay"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"MonthDay","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"MonthDay","name":"getDayOfMonth","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"MonthDay","name":"getMonth","return":"Month","parameters":[]},{"declaring":"MonthDay","name":"getMonthValue","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"MonthDay","name":"isAfter","return":"boolean","parameters":["MonthDay"]},{"declaring":"MonthDay","name":"isBefore","return":"boolean","parameters":["MonthDay"]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"MonthDay","name":"isValidYear","return":"boolean","parameters":["int"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"MonthDay","name":"with","return":"MonthDay","parameters":["Month"]},{"declaring":"MonthDay","name":"withDayOfMonth","return":"MonthDay","parameters":["int"]},{"declaring":"MonthDay","name":"withMonth","return":"MonthDay","parameters":["int"]}],"static_fields":[],"fields":[]},{"name":"OffsetDateTime","imported":true,"constructors":[],"static_methods":[{"declaring":"OffsetDateTime","name":"from","return":"OffsetDateTime","parameters":["TemporalAccessor"]},{"declaring":"OffsetDateTime","name":"of","return":"OffsetDateTime","parameters":["LocalDateTime","ZoneOffset"]},{"declaring":"OffsetDateTime","name":"of","return":"OffsetDateTime","parameters":["LocalDate","LocalTime","ZoneOffset"]},{"declaring":"OffsetDateTime","name":"of","return":"OffsetDateTime","parameters":["int","int","int","int","int","int","int","ZoneOffset"]},{"declaring":"OffsetDateTime","name":"ofInstant","return":"OffsetDateTime","parameters":["Instant","ZoneId"]},{"declaring":"OffsetDateTime","name":"parse","return":"OffsetDateTime","parameters":["CharSequence"]},{"declaring":"OffsetDateTime","name":"parse","return":"OffsetDateTime","parameters":["CharSequence","DateTimeFormatter"]},{"declaring":"OffsetDateTime","name":"timeLineOrder","return":"Comparator","parameters":[]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"OffsetDateTime","name":"atZoneSameInstant","return":"ZonedDateTime","parameters":["ZoneId"]},{"declaring":"OffsetDateTime","name":"atZoneSimilarLocal","return":"ZonedDateTime","parameters":["ZoneId"]},{"declaring":"OffsetDateTime","name":"compareTo","return":"int","parameters":["OffsetDateTime"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"OffsetDateTime","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"OffsetDateTime","name":"getDayOfMonth","return":"int","parameters":[]},{"declaring":"OffsetDateTime","name":"getDayOfWeek","return":"DayOfWeek","parameters":[]},{"declaring":"OffsetDateTime","name":"getDayOfYear","return":"int","parameters":[]},{"declaring":"OffsetDateTime","name":"getHour","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"OffsetDateTime","name":"getMinute","return":"int","parameters":[]},{"declaring":"OffsetDateTime","name":"getMonth","return":"Month","parameters":[]},{"declaring":"OffsetDateTime","name":"getMonthValue","return":"int","parameters":[]},{"declaring":"OffsetDateTime","name":"getNano","return":"int","parameters":[]},{"declaring":"OffsetDateTime","name":"getOffset","return":"ZoneOffset","parameters":[]},{"declaring":"OffsetDateTime","name":"getSecond","return":"int","parameters":[]},{"declaring":"OffsetDateTime","name":"getYear","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"OffsetDateTime","name":"isAfter","return":"boolean","parameters":["OffsetDateTime"]},{"declaring":"OffsetDateTime","name":"isBefore","return":"boolean","parameters":["OffsetDateTime"]},{"declaring":"OffsetDateTime","name":"isEqual","return":"boolean","parameters":["OffsetDateTime"]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"OffsetDateTime","name":"minus","return":"OffsetDateTime","parameters":["TemporalAmount"]},{"declaring":"OffsetDateTime","name":"minus","return":"OffsetDateTime","parameters":["long","TemporalUnit"]},{"declaring":"OffsetDateTime","name":"minusDays","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"minusHours","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"minusMinutes","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"minusMonths","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"minusNanos","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"minusSeconds","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"minusWeeks","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"minusYears","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"plus","return":"OffsetDateTime","parameters":["TemporalAmount"]},{"declaring":"OffsetDateTime","name":"plus","return":"OffsetDateTime","parameters":["long","TemporalUnit"]},{"declaring":"OffsetDateTime","name":"plusDays","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"plusHours","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"plusMinutes","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"plusMonths","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"plusNanos","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"plusSeconds","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"plusWeeks","return":"OffsetDateTime","parameters":["long"]},{"declaring":"OffsetDateTime","name":"plusYears","return":"OffsetDateTime","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"OffsetDateTime","name":"toEpochSecond","return":"long","parameters":[]},{"declaring":"OffsetDateTime","name":"toInstant","return":"Instant","parameters":[]},{"declaring":"OffsetDateTime","name":"toLocalDate","return":"LocalDate","parameters":[]},{"declaring":"OffsetDateTime","name":"toLocalDateTime","return":"LocalDateTime","parameters":[]},{"declaring":"OffsetDateTime","name":"toLocalTime","return":"LocalTime","parameters":[]},{"declaring":"OffsetDateTime","name":"toOffsetTime","return":"OffsetTime","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"OffsetDateTime","name":"toZonedDateTime","return":"ZonedDateTime","parameters":[]},{"declaring":"OffsetDateTime","name":"truncatedTo","return":"OffsetDateTime","parameters":["TemporalUnit"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"OffsetDateTime","name":"with","return":"OffsetDateTime","parameters":["TemporalAdjuster"]},{"declaring":"OffsetDateTime","name":"with","return":"OffsetDateTime","parameters":["TemporalField","long"]},{"declaring":"OffsetDateTime","name":"withDayOfMonth","return":"OffsetDateTime","parameters":["int"]},{"declaring":"OffsetDateTime","name":"withDayOfYear","return":"OffsetDateTime","parameters":["int"]},{"declaring":"OffsetDateTime","name":"withHour","return":"OffsetDateTime","parameters":["int"]},{"declaring":"OffsetDateTime","name":"withMinute","return":"OffsetDateTime","parameters":["int"]},{"declaring":"OffsetDateTime","name":"withMonth","return":"OffsetDateTime","parameters":["int"]},{"declaring":"OffsetDateTime","name":"withNano","return":"OffsetDateTime","parameters":["int"]},{"declaring":"OffsetDateTime","name":"withOffsetSameInstant","return":"OffsetDateTime","parameters":["ZoneOffset"]},{"declaring":"OffsetDateTime","name":"withOffsetSameLocal","return":"OffsetDateTime","parameters":["ZoneOffset"]},{"declaring":"OffsetDateTime","name":"withSecond","return":"OffsetDateTime","parameters":["int"]},{"declaring":"OffsetDateTime","name":"withYear","return":"OffsetDateTime","parameters":["int"]}],"static_fields":[{"declaring":"OffsetDateTime","name":"MAX","type":"OffsetDateTime"},{"declaring":"OffsetDateTime","name":"MIN","type":"OffsetDateTime"}],"fields":[]},{"name":"OffsetTime","imported":true,"constructors":[],"static_methods":[{"declaring":"OffsetTime","name":"from","return":"OffsetTime","parameters":["TemporalAccessor"]},{"declaring":"OffsetTime","name":"of","return":"OffsetTime","parameters":["LocalTime","ZoneOffset"]},{"declaring":"OffsetTime","name":"of","return":"OffsetTime","parameters":["int","int","int","int","ZoneOffset"]},{"declaring":"OffsetTime","name":"ofInstant","return":"OffsetTime","parameters":["Instant","ZoneId"]},{"declaring":"OffsetTime","name":"parse","return":"OffsetTime","parameters":["CharSequence"]},{"declaring":"OffsetTime","name":"parse","return":"OffsetTime","parameters":["CharSequence","DateTimeFormatter"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"OffsetTime","name":"compareTo","return":"int","parameters":["OffsetTime"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"OffsetTime","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"OffsetTime","name":"getHour","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"OffsetTime","name":"getMinute","return":"int","parameters":[]},{"declaring":"OffsetTime","name":"getNano","return":"int","parameters":[]},{"declaring":"OffsetTime","name":"getOffset","return":"ZoneOffset","parameters":[]},{"declaring":"OffsetTime","name":"getSecond","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"OffsetTime","name":"isAfter","return":"boolean","parameters":["OffsetTime"]},{"declaring":"OffsetTime","name":"isBefore","return":"boolean","parameters":["OffsetTime"]},{"declaring":"OffsetTime","name":"isEqual","return":"boolean","parameters":["OffsetTime"]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"OffsetTime","name":"minus","return":"OffsetTime","parameters":["TemporalAmount"]},{"declaring":"OffsetTime","name":"minus","return":"OffsetTime","parameters":["long","TemporalUnit"]},{"declaring":"OffsetTime","name":"minusHours","return":"OffsetTime","parameters":["long"]},{"declaring":"OffsetTime","name":"minusMinutes","return":"OffsetTime","parameters":["long"]},{"declaring":"OffsetTime","name":"minusNanos","return":"OffsetTime","parameters":["long"]},{"declaring":"OffsetTime","name":"minusSeconds","return":"OffsetTime","parameters":["long"]},{"declaring":"OffsetTime","name":"plus","return":"OffsetTime","parameters":["TemporalAmount"]},{"declaring":"OffsetTime","name":"plus","return":"OffsetTime","parameters":["long","TemporalUnit"]},{"declaring":"OffsetTime","name":"plusHours","return":"OffsetTime","parameters":["long"]},{"declaring":"OffsetTime","name":"plusMinutes","return":"OffsetTime","parameters":["long"]},{"declaring":"OffsetTime","name":"plusNanos","return":"OffsetTime","parameters":["long"]},{"declaring":"OffsetTime","name":"plusSeconds","return":"OffsetTime","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"OffsetTime","name":"toLocalTime","return":"LocalTime","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"OffsetTime","name":"truncatedTo","return":"OffsetTime","parameters":["TemporalUnit"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"OffsetTime","name":"with","return":"OffsetTime","parameters":["TemporalAdjuster"]},{"declaring":"OffsetTime","name":"with","return":"OffsetTime","parameters":["TemporalField","long"]},{"declaring":"OffsetTime","name":"withHour","return":"OffsetTime","parameters":["int"]},{"declaring":"OffsetTime","name":"withMinute","return":"OffsetTime","parameters":["int"]},{"declaring":"OffsetTime","name":"withNano","return":"OffsetTime","parameters":["int"]},{"declaring":"OffsetTime","name":"withOffsetSameInstant","return":"OffsetTime","parameters":["ZoneOffset"]},{"declaring":"OffsetTime","name":"withOffsetSameLocal","return":"OffsetTime","parameters":["ZoneOffset"]},{"declaring":"OffsetTime","name":"withSecond","return":"OffsetTime","parameters":["int"]}],"static_fields":[{"declaring":"OffsetTime","name":"MAX","type":"OffsetTime"},{"declaring":"OffsetTime","name":"MIN","type":"OffsetTime"}],"fields":[]},{"name":"Period","imported":true,"constructors":[],"static_methods":[{"declaring":"Period","name":"between","return":"Period","parameters":["LocalDate","LocalDate"]},{"declaring":"Period","name":"from","return":"Period","parameters":["TemporalAmount"]},{"declaring":"Period","name":"of","return":"Period","parameters":["int","int","int"]},{"declaring":"Period","name":"ofDays","return":"Period","parameters":["int"]},{"declaring":"Period","name":"ofMonths","return":"Period","parameters":["int"]},{"declaring":"Period","name":"ofWeeks","return":"Period","parameters":["int"]},{"declaring":"Period","name":"ofYears","return":"Period","parameters":["int"]},{"declaring":"Period","name":"parse","return":"Period","parameters":["CharSequence"]}],"methods":[{"declaring":"TemporalAmount","name":"addTo","return":"Temporal","parameters":["Temporal"]},{"declaring":"ChronoPeriod","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAmount","name":"get","return":"long","parameters":["TemporalUnit"]},{"declaring":"Period","name":"getChronology","return":"IsoChronology","parameters":[]},{"declaring":"Period","name":"getDays","return":"int","parameters":[]},{"declaring":"Period","name":"getMonths","return":"int","parameters":[]},{"declaring":"ChronoPeriod","name":"getUnits","return":"List","parameters":[]},{"declaring":"Period","name":"getYears","return":"int","parameters":[]},{"declaring":"ChronoPeriod","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoPeriod","name":"isNegative","return":"boolean","parameters":[]},{"declaring":"ChronoPeriod","name":"isZero","return":"boolean","parameters":[]},{"declaring":"Period","name":"minus","return":"Period","parameters":["TemporalAmount"]},{"declaring":"Period","name":"minusDays","return":"Period","parameters":["long"]},{"declaring":"Period","name":"minusMonths","return":"Period","parameters":["long"]},{"declaring":"Period","name":"minusYears","return":"Period","parameters":["long"]},{"declaring":"Period","name":"multipliedBy","return":"Period","parameters":["int"]},{"declaring":"Period","name":"negated","return":"Period","parameters":[]},{"declaring":"Period","name":"normalized","return":"Period","parameters":[]},{"declaring":"Period","name":"plus","return":"Period","parameters":["TemporalAmount"]},{"declaring":"Period","name":"plusDays","return":"Period","parameters":["long"]},{"declaring":"Period","name":"plusMonths","return":"Period","parameters":["long"]},{"declaring":"Period","name":"plusYears","return":"Period","parameters":["long"]},{"declaring":"TemporalAmount","name":"subtractFrom","return":"Temporal","parameters":["Temporal"]},{"declaring":"ChronoPeriod","name":"toString","return":"String","parameters":[]},{"declaring":"Period","name":"toTotalMonths","return":"long","parameters":[]},{"declaring":"Period","name":"withDays","return":"Period","parameters":["int"]},{"declaring":"Period","name":"withMonths","return":"Period","parameters":["int"]},{"declaring":"Period","name":"withYears","return":"Period","parameters":["int"]}],"static_fields":[{"declaring":"Period","name":"ZERO","type":"Period"}],"fields":[]},{"name":"Year","imported":true,"constructors":[],"static_methods":[{"declaring":"Year","name":"from","return":"Year","parameters":["TemporalAccessor"]},{"declaring":"Year","name":"isLeap","return":"boolean","parameters":["long"]},{"declaring":"Year","name":"of","return":"Year","parameters":["int"]},{"declaring":"Year","name":"parse","return":"Year","parameters":["CharSequence"]},{"declaring":"Year","name":"parse","return":"Year","parameters":["CharSequence","DateTimeFormatter"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Year","name":"atDay","return":"LocalDate","parameters":["int"]},{"declaring":"Year","name":"atMonth","return":"YearMonth","parameters":["int"]},{"declaring":"Year","name":"atMonthDay","return":"LocalDate","parameters":["MonthDay"]},{"declaring":"Year","name":"compareTo","return":"int","parameters":["Year"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Year","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"Year","name":"getValue","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Year","name":"isAfter","return":"boolean","parameters":["Year"]},{"declaring":"Year","name":"isLeap","return":"boolean","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"Year","name":"isValidMonthDay","return":"boolean","parameters":["MonthDay"]},{"declaring":"Year","name":"length","return":"int","parameters":[]},{"declaring":"Year","name":"minus","return":"Year","parameters":["TemporalAmount"]},{"declaring":"Year","name":"minus","return":"Year","parameters":["long","TemporalUnit"]},{"declaring":"Year","name":"minusYears","return":"Year","parameters":["long"]},{"declaring":"Year","name":"plus","return":"Year","parameters":["TemporalAmount"]},{"declaring":"Year","name":"plus","return":"Year","parameters":["long","TemporalUnit"]},{"declaring":"Year","name":"plusYears","return":"Year","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"Year","name":"with","return":"Year","parameters":["TemporalAdjuster"]},{"declaring":"Year","name":"with","return":"Year","parameters":["TemporalField","long"]}],"static_fields":[{"declaring":"Year","name":"MAX_VALUE","type":"int"},{"declaring":"Year","name":"MIN_VALUE","type":"int"}],"fields":[]},{"name":"YearMonth","imported":true,"constructors":[],"static_methods":[{"declaring":"YearMonth","name":"from","return":"YearMonth","parameters":["TemporalAccessor"]},{"declaring":"YearMonth","name":"of","return":"YearMonth","parameters":["int","int"]},{"declaring":"YearMonth","name":"parse","return":"YearMonth","parameters":["CharSequence"]},{"declaring":"YearMonth","name":"parse","return":"YearMonth","parameters":["CharSequence","DateTimeFormatter"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"YearMonth","name":"atDay","return":"LocalDate","parameters":["int"]},{"declaring":"YearMonth","name":"atEndOfMonth","return":"LocalDate","parameters":[]},{"declaring":"YearMonth","name":"compareTo","return":"int","parameters":["YearMonth"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"YearMonth","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"YearMonth","name":"getMonth","return":"Month","parameters":[]},{"declaring":"YearMonth","name":"getMonthValue","return":"int","parameters":[]},{"declaring":"YearMonth","name":"getYear","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"YearMonth","name":"isAfter","return":"boolean","parameters":["YearMonth"]},{"declaring":"YearMonth","name":"isBefore","return":"boolean","parameters":["YearMonth"]},{"declaring":"YearMonth","name":"isLeapYear","return":"boolean","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"YearMonth","name":"isValidDay","return":"boolean","parameters":["int"]},{"declaring":"YearMonth","name":"lengthOfMonth","return":"int","parameters":[]},{"declaring":"YearMonth","name":"lengthOfYear","return":"int","parameters":[]},{"declaring":"YearMonth","name":"minus","return":"YearMonth","parameters":["TemporalAmount"]},{"declaring":"YearMonth","name":"minus","return":"YearMonth","parameters":["long","TemporalUnit"]},{"declaring":"YearMonth","name":"minusMonths","return":"YearMonth","parameters":["long"]},{"declaring":"YearMonth","name":"minusYears","return":"YearMonth","parameters":["long"]},{"declaring":"YearMonth","name":"plus","return":"YearMonth","parameters":["TemporalAmount"]},{"declaring":"YearMonth","name":"plus","return":"YearMonth","parameters":["long","TemporalUnit"]},{"declaring":"YearMonth","name":"plusMonths","return":"YearMonth","parameters":["long"]},{"declaring":"YearMonth","name":"plusYears","return":"YearMonth","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"YearMonth","name":"with","return":"YearMonth","parameters":["TemporalAdjuster"]},{"declaring":"YearMonth","name":"with","return":"YearMonth","parameters":["TemporalField","long"]},{"declaring":"YearMonth","name":"withMonth","return":"YearMonth","parameters":["int"]},{"declaring":"YearMonth","name":"withYear","return":"YearMonth","parameters":["int"]}],"static_fields":[],"fields":[]},{"name":"ZoneId","imported":true,"constructors":[],"static_methods":[{"declaring":"ZoneId","name":"from","return":"ZoneId","parameters":["TemporalAccessor"]},{"declaring":"ZoneId","name":"getAvailableZoneIds","return":"Set","parameters":[]},{"declaring":"ZoneId","name":"of","return":"ZoneId","parameters":["String"]},{"declaring":"ZoneId","name":"of","return":"ZoneId","parameters":["String","Map"]},{"declaring":"ZoneId","name":"ofOffset","return":"ZoneId","parameters":["String","ZoneOffset"]},{"declaring":"ZoneId","name":"systemDefault","return":"ZoneId","parameters":[]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ZoneId","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"ZoneId","name":"getId","return":"String","parameters":[]},{"declaring":"ZoneId","name":"getRules","return":"ZoneRules","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"ZoneId","name":"normalized","return":"ZoneId","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"ZoneId","name":"SHORT_IDS","type":"Map"}],"fields":[]},{"name":"ZoneOffset","imported":true,"constructors":[],"static_methods":[{"declaring":"ZoneOffset","name":"from","return":"ZoneOffset","parameters":["TemporalAccessor"]},{"declaring":"ZoneOffset","name":"of","return":"ZoneOffset","parameters":["String"]},{"declaring":"ZoneOffset","name":"ofHours","return":"ZoneOffset","parameters":["int"]},{"declaring":"ZoneOffset","name":"ofHoursMinutes","return":"ZoneOffset","parameters":["int","int"]},{"declaring":"ZoneOffset","name":"ofHoursMinutesSeconds","return":"ZoneOffset","parameters":["int","int","int"]},{"declaring":"ZoneOffset","name":"ofTotalSeconds","return":"ZoneOffset","parameters":["int"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Comparable","name":"compareTo","return":"int","parameters":["def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"ZoneId","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"ZoneId","name":"getId","return":"String","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"ZoneId","name":"getRules","return":"ZoneRules","parameters":[]},{"declaring":"ZoneOffset","name":"getTotalSeconds","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"ZoneId","name":"normalized","return":"ZoneId","parameters":[]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"ZoneOffset","name":"MAX","type":"ZoneOffset"},{"declaring":"ZoneOffset","name":"MIN","type":"ZoneOffset"},{"declaring":"ZoneOffset","name":"UTC","type":"ZoneOffset"}],"fields":[]},{"name":"ZonedDateTime","imported":true,"constructors":[],"static_methods":[{"declaring":"ZonedDateTime","name":"from","return":"ZonedDateTime","parameters":["TemporalAccessor"]},{"declaring":"ZonedDateTime","name":"of","return":"ZonedDateTime","parameters":["LocalDateTime","ZoneId"]},{"declaring":"ZonedDateTime","name":"of","return":"ZonedDateTime","parameters":["LocalDate","LocalTime","ZoneId"]},{"declaring":"ZonedDateTime","name":"of","return":"ZonedDateTime","parameters":["int","int","int","int","int","int","int","ZoneId"]},{"declaring":"ZonedDateTime","name":"ofInstant","return":"ZonedDateTime","parameters":["Instant","ZoneId"]},{"declaring":"ZonedDateTime","name":"ofInstant","return":"ZonedDateTime","parameters":["LocalDateTime","ZoneOffset","ZoneId"]},{"declaring":"ZonedDateTime","name":"ofLocal","return":"ZonedDateTime","parameters":["LocalDateTime","ZoneId","ZoneOffset"]},{"declaring":"ZonedDateTime","name":"ofStrict","return":"ZonedDateTime","parameters":["LocalDateTime","ZoneOffset","ZoneId"]},{"declaring":"ZonedDateTime","name":"parse","return":"ZonedDateTime","parameters":["CharSequence"]},{"declaring":"ZonedDateTime","name":"parse","return":"ZonedDateTime","parameters":["CharSequence","DateTimeFormatter"]}],"methods":[{"declaring":"ChronoZonedDateTime","name":"compareTo","return":"int","parameters":["ChronoZonedDateTime"]},{"declaring":"ChronoZonedDateTime","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoZonedDateTime","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"ChronoZonedDateTime","name":"getChronology","return":"Chronology","parameters":[]},{"declaring":"ZonedDateTime","name":"getDayOfMonth","return":"int","parameters":[]},{"declaring":"ZonedDateTime","name":"getDayOfWeek","return":"DayOfWeek","parameters":[]},{"declaring":"ZonedDateTime","name":"getDayOfYear","return":"int","parameters":[]},{"declaring":"ZonedDateTime","name":"getHour","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"ZonedDateTime","name":"getMinute","return":"int","parameters":[]},{"declaring":"ZonedDateTime","name":"getMonth","return":"Month","parameters":[]},{"declaring":"ZonedDateTime","name":"getMonthValue","return":"int","parameters":[]},{"declaring":"ZonedDateTime","name":"getNano","return":"int","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"getOffset","return":"ZoneOffset","parameters":[]},{"declaring":"ZonedDateTime","name":"getSecond","return":"int","parameters":[]},{"declaring":"ZonedDateTime","name":"getYear","return":"int","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"getZone","return":"ZoneId","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"isAfter","return":"boolean","parameters":["ChronoZonedDateTime"]},{"declaring":"ChronoZonedDateTime","name":"isBefore","return":"boolean","parameters":["ChronoZonedDateTime"]},{"declaring":"ChronoZonedDateTime","name":"isEqual","return":"boolean","parameters":["ChronoZonedDateTime"]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"ZonedDateTime","name":"minus","return":"ZonedDateTime","parameters":["TemporalAmount"]},{"declaring":"ZonedDateTime","name":"minus","return":"ZonedDateTime","parameters":["long","TemporalUnit"]},{"declaring":"ZonedDateTime","name":"minusDays","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"minusHours","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"minusMinutes","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"minusMonths","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"minusNanos","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"minusSeconds","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"minusWeeks","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"minusYears","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"plus","return":"ZonedDateTime","parameters":["TemporalAmount"]},{"declaring":"ZonedDateTime","name":"plus","return":"ZonedDateTime","parameters":["long","TemporalUnit"]},{"declaring":"ZonedDateTime","name":"plusDays","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"plusHours","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"plusMinutes","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"plusMonths","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"plusNanos","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"plusSeconds","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"plusWeeks","return":"ZonedDateTime","parameters":["long"]},{"declaring":"ZonedDateTime","name":"plusYears","return":"ZonedDateTime","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toEpochSecond","return":"long","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toInstant","return":"Instant","parameters":[]},{"declaring":"ZonedDateTime","name":"toLocalDate","return":"LocalDate","parameters":[]},{"declaring":"ZonedDateTime","name":"toLocalDateTime","return":"LocalDateTime","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toLocalTime","return":"LocalTime","parameters":[]},{"declaring":"ZonedDateTime","name":"toOffsetDateTime","return":"OffsetDateTime","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toString","return":"String","parameters":[]},{"declaring":"ZonedDateTime","name":"truncatedTo","return":"ZonedDateTime","parameters":["TemporalUnit"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"ZonedDateTime","name":"with","return":"ZonedDateTime","parameters":["TemporalAdjuster"]},{"declaring":"ZonedDateTime","name":"with","return":"ZonedDateTime","parameters":["TemporalField","long"]},{"declaring":"ZonedDateTime","name":"withDayOfMonth","return":"ZonedDateTime","parameters":["int"]},{"declaring":"ZonedDateTime","name":"withDayOfYear","return":"ZonedDateTime","parameters":["int"]},{"declaring":"ZonedDateTime","name":"withEarlierOffsetAtOverlap","return":"ZonedDateTime","parameters":[]},{"declaring":"ZonedDateTime","name":"withFixedOffsetZone","return":"ZonedDateTime","parameters":[]},{"declaring":"ZonedDateTime","name":"withHour","return":"ZonedDateTime","parameters":["int"]},{"declaring":"ZonedDateTime","name":"withLaterOffsetAtOverlap","return":"ZonedDateTime","parameters":[]},{"declaring":"ZonedDateTime","name":"withMinute","return":"ZonedDateTime","parameters":["int"]},{"declaring":"ZonedDateTime","name":"withMonth","return":"ZonedDateTime","parameters":["int"]},{"declaring":"ZonedDateTime","name":"withNano","return":"ZonedDateTime","parameters":["int"]},{"declaring":"ZonedDateTime","name":"withSecond","return":"ZonedDateTime","parameters":["int"]},{"declaring":"ZonedDateTime","name":"withYear","return":"ZonedDateTime","parameters":["int"]},{"declaring":"ZonedDateTime","name":"withZoneSameInstant","return":"ZonedDateTime","parameters":["ZoneId"]},{"declaring":"ZonedDateTime","name":"withZoneSameLocal","return":"ZonedDateTime","parameters":["ZoneId"]}],"static_fields":[],"fields":[]},{"name":"AbstractChronology","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Chronology","name":"compareTo","return":"int","parameters":["Chronology"]},{"declaring":"Chronology","name":"date","return":"ChronoLocalDate","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"date","return":"ChronoLocalDate","parameters":["int","int","int"]},{"declaring":"Chronology","name":"date","return":"ChronoLocalDate","parameters":["Era","int","int","int"]},{"declaring":"Chronology","name":"dateEpochDay","return":"ChronoLocalDate","parameters":["long"]},{"declaring":"Chronology","name":"dateYearDay","return":"ChronoLocalDate","parameters":["int","int"]},{"declaring":"Chronology","name":"dateYearDay","return":"ChronoLocalDate","parameters":["Era","int","int"]},{"declaring":"Chronology","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Chronology","name":"eraOf","return":"Era","parameters":["int"]},{"declaring":"Chronology","name":"eras","return":"List","parameters":[]},{"declaring":"Chronology","name":"getCalendarType","return":"String","parameters":[]},{"declaring":"Chronology","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"Chronology","name":"getId","return":"String","parameters":[]},{"declaring":"Chronology","name":"hashCode","return":"int","parameters":[]},{"declaring":"Chronology","name":"isLeapYear","return":"boolean","parameters":["long"]},{"declaring":"Chronology","name":"localDateTime","return":"ChronoLocalDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"period","return":"ChronoPeriod","parameters":["int","int","int"]},{"declaring":"Chronology","name":"prolepticYear","return":"int","parameters":["Era","int"]},{"declaring":"Chronology","name":"range","return":"ValueRange","parameters":["ChronoField"]},{"declaring":"Chronology","name":"resolveDate","return":"ChronoLocalDate","parameters":["Map","ResolverStyle"]},{"declaring":"Chronology","name":"toString","return":"String","parameters":[]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["Instant","ZoneId"]}],"static_fields":[],"fields":[]},{"name":"ChronoLocalDate","imported":true,"constructors":[],"static_methods":[{"declaring":"ChronoLocalDate","name":"from","return":"ChronoLocalDate","parameters":["TemporalAccessor"]},{"declaring":"ChronoLocalDate","name":"timeLineOrder","return":"Comparator","parameters":[]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"ChronoLocalDate","name":"atTime","return":"ChronoLocalDateTime","parameters":["LocalTime"]},{"declaring":"ChronoLocalDate","name":"compareTo","return":"int","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoLocalDate","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"getChronology","return":"Chronology","parameters":[]},{"declaring":"ChronoLocalDate","name":"getEra","return":"Era","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"isAfter","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isBefore","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isEqual","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isLeapYear","return":"boolean","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"lengthOfMonth","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"lengthOfYear","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"minus","return":"ChronoLocalDate","parameters":["TemporalAmount"]},{"declaring":"ChronoLocalDate","name":"minus","return":"ChronoLocalDate","parameters":["long","TemporalUnit"]},{"declaring":"ChronoLocalDate","name":"plus","return":"ChronoLocalDate","parameters":["TemporalAmount"]},{"declaring":"ChronoLocalDate","name":"plus","return":"ChronoLocalDate","parameters":["long","TemporalUnit"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"toEpochDay","return":"long","parameters":[]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoLocalDate","name":"toString","return":"String","parameters":[]},{"declaring":"ChronoLocalDate","name":"until","return":"ChronoPeriod","parameters":["ChronoLocalDate"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"ChronoLocalDate","name":"with","return":"ChronoLocalDate","parameters":["TemporalAdjuster"]},{"declaring":"ChronoLocalDate","name":"with","return":"ChronoLocalDate","parameters":["TemporalField","long"]}],"static_fields":[],"fields":[]},{"name":"ChronoLocalDateTime","imported":true,"constructors":[],"static_methods":[{"declaring":"ChronoLocalDateTime","name":"from","return":"ChronoLocalDateTime","parameters":["TemporalAccessor"]},{"declaring":"ChronoLocalDateTime","name":"timeLineOrder","return":"Comparator","parameters":[]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"ChronoLocalDateTime","name":"atZone","return":"ChronoZonedDateTime","parameters":["ZoneId"]},{"declaring":"ChronoLocalDateTime","name":"compareTo","return":"int","parameters":["ChronoLocalDateTime"]},{"declaring":"ChronoLocalDateTime","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoLocalDateTime","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"ChronoLocalDateTime","name":"getChronology","return":"Chronology","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"ChronoLocalDateTime","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoLocalDateTime","name":"isAfter","return":"boolean","parameters":["ChronoLocalDateTime"]},{"declaring":"ChronoLocalDateTime","name":"isBefore","return":"boolean","parameters":["ChronoLocalDateTime"]},{"declaring":"ChronoLocalDateTime","name":"isEqual","return":"boolean","parameters":["ChronoLocalDateTime"]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"ChronoLocalDateTime","name":"minus","return":"ChronoLocalDateTime","parameters":["TemporalAmount"]},{"declaring":"ChronoLocalDateTime","name":"minus","return":"ChronoLocalDateTime","parameters":["long","TemporalUnit"]},{"declaring":"ChronoLocalDateTime","name":"plus","return":"ChronoLocalDateTime","parameters":["TemporalAmount"]},{"declaring":"ChronoLocalDateTime","name":"plus","return":"ChronoLocalDateTime","parameters":["long","TemporalUnit"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoLocalDateTime","name":"toEpochSecond","return":"long","parameters":["ZoneOffset"]},{"declaring":"ChronoLocalDateTime","name":"toInstant","return":"Instant","parameters":["ZoneOffset"]},{"declaring":"ChronoLocalDateTime","name":"toLocalDate","return":"ChronoLocalDate","parameters":[]},{"declaring":"ChronoLocalDateTime","name":"toLocalTime","return":"LocalTime","parameters":[]},{"declaring":"ChronoLocalDateTime","name":"toString","return":"String","parameters":[]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"ChronoLocalDateTime","name":"with","return":"ChronoLocalDateTime","parameters":["TemporalAdjuster"]},{"declaring":"ChronoLocalDateTime","name":"with","return":"ChronoLocalDateTime","parameters":["TemporalField","long"]}],"static_fields":[],"fields":[]},{"name":"ChronoPeriod","imported":true,"constructors":[],"static_methods":[{"declaring":"ChronoPeriod","name":"between","return":"ChronoPeriod","parameters":["ChronoLocalDate","ChronoLocalDate"]}],"methods":[{"declaring":"TemporalAmount","name":"addTo","return":"Temporal","parameters":["Temporal"]},{"declaring":"ChronoPeriod","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAmount","name":"get","return":"long","parameters":["TemporalUnit"]},{"declaring":"ChronoPeriod","name":"getChronology","return":"Chronology","parameters":[]},{"declaring":"ChronoPeriod","name":"getUnits","return":"List","parameters":[]},{"declaring":"ChronoPeriod","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoPeriod","name":"isNegative","return":"boolean","parameters":[]},{"declaring":"ChronoPeriod","name":"isZero","return":"boolean","parameters":[]},{"declaring":"ChronoPeriod","name":"minus","return":"ChronoPeriod","parameters":["TemporalAmount"]},{"declaring":"ChronoPeriod","name":"multipliedBy","return":"ChronoPeriod","parameters":["int"]},{"declaring":"ChronoPeriod","name":"negated","return":"ChronoPeriod","parameters":[]},{"declaring":"ChronoPeriod","name":"normalized","return":"ChronoPeriod","parameters":[]},{"declaring":"ChronoPeriod","name":"plus","return":"ChronoPeriod","parameters":["TemporalAmount"]},{"declaring":"TemporalAmount","name":"subtractFrom","return":"Temporal","parameters":["Temporal"]},{"declaring":"ChronoPeriod","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ChronoZonedDateTime","imported":true,"constructors":[],"static_methods":[{"declaring":"ChronoZonedDateTime","name":"from","return":"ChronoZonedDateTime","parameters":["TemporalAccessor"]},{"declaring":"ChronoZonedDateTime","name":"timeLineOrder","return":"Comparator","parameters":[]}],"methods":[{"declaring":"ChronoZonedDateTime","name":"compareTo","return":"int","parameters":["ChronoZonedDateTime"]},{"declaring":"ChronoZonedDateTime","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoZonedDateTime","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"ChronoZonedDateTime","name":"getChronology","return":"Chronology","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"ChronoZonedDateTime","name":"getOffset","return":"ZoneOffset","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"getZone","return":"ZoneId","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"isAfter","return":"boolean","parameters":["ChronoZonedDateTime"]},{"declaring":"ChronoZonedDateTime","name":"isBefore","return":"boolean","parameters":["ChronoZonedDateTime"]},{"declaring":"ChronoZonedDateTime","name":"isEqual","return":"boolean","parameters":["ChronoZonedDateTime"]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"ChronoZonedDateTime","name":"minus","return":"ChronoZonedDateTime","parameters":["TemporalAmount"]},{"declaring":"ChronoZonedDateTime","name":"minus","return":"ChronoZonedDateTime","parameters":["long","TemporalUnit"]},{"declaring":"ChronoZonedDateTime","name":"plus","return":"ChronoZonedDateTime","parameters":["TemporalAmount"]},{"declaring":"ChronoZonedDateTime","name":"plus","return":"ChronoZonedDateTime","parameters":["long","TemporalUnit"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toEpochSecond","return":"long","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toInstant","return":"Instant","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toLocalDate","return":"ChronoLocalDate","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toLocalDateTime","return":"ChronoLocalDateTime","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toLocalTime","return":"LocalTime","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toString","return":"String","parameters":[]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"ChronoZonedDateTime","name":"with","return":"ChronoZonedDateTime","parameters":["TemporalAdjuster"]},{"declaring":"ChronoZonedDateTime","name":"with","return":"ChronoZonedDateTime","parameters":["TemporalField","long"]},{"declaring":"ChronoZonedDateTime","name":"withEarlierOffsetAtOverlap","return":"ChronoZonedDateTime","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"withLaterOffsetAtOverlap","return":"ChronoZonedDateTime","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"withZoneSameInstant","return":"ChronoZonedDateTime","parameters":["ZoneId"]},{"declaring":"ChronoZonedDateTime","name":"withZoneSameLocal","return":"ChronoZonedDateTime","parameters":["ZoneId"]}],"static_fields":[],"fields":[]},{"name":"Chronology","imported":true,"constructors":[],"static_methods":[{"declaring":"Chronology","name":"from","return":"Chronology","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"getAvailableChronologies","return":"Set","parameters":[]},{"declaring":"Chronology","name":"of","return":"Chronology","parameters":["String"]},{"declaring":"Chronology","name":"ofLocale","return":"Chronology","parameters":["Locale"]}],"methods":[{"declaring":"Chronology","name":"compareTo","return":"int","parameters":["Chronology"]},{"declaring":"Chronology","name":"date","return":"ChronoLocalDate","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"date","return":"ChronoLocalDate","parameters":["int","int","int"]},{"declaring":"Chronology","name":"date","return":"ChronoLocalDate","parameters":["Era","int","int","int"]},{"declaring":"Chronology","name":"dateEpochDay","return":"ChronoLocalDate","parameters":["long"]},{"declaring":"Chronology","name":"dateYearDay","return":"ChronoLocalDate","parameters":["int","int"]},{"declaring":"Chronology","name":"dateYearDay","return":"ChronoLocalDate","parameters":["Era","int","int"]},{"declaring":"Chronology","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Chronology","name":"eraOf","return":"Era","parameters":["int"]},{"declaring":"Chronology","name":"eras","return":"List","parameters":[]},{"declaring":"Chronology","name":"getCalendarType","return":"String","parameters":[]},{"declaring":"Chronology","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"Chronology","name":"getId","return":"String","parameters":[]},{"declaring":"Chronology","name":"hashCode","return":"int","parameters":[]},{"declaring":"Chronology","name":"isLeapYear","return":"boolean","parameters":["long"]},{"declaring":"Chronology","name":"localDateTime","return":"ChronoLocalDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"period","return":"ChronoPeriod","parameters":["int","int","int"]},{"declaring":"Chronology","name":"prolepticYear","return":"int","parameters":["Era","int"]},{"declaring":"Chronology","name":"range","return":"ValueRange","parameters":["ChronoField"]},{"declaring":"Chronology","name":"resolveDate","return":"ChronoLocalDate","parameters":["Map","ResolverStyle"]},{"declaring":"Chronology","name":"toString","return":"String","parameters":[]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["Instant","ZoneId"]}],"static_fields":[],"fields":[]},{"name":"Era","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"Era","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"Era","name":"getValue","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"HijrahChronology","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Chronology","name":"compareTo","return":"int","parameters":["Chronology"]},{"declaring":"HijrahChronology","name":"date","return":"HijrahDate","parameters":["TemporalAccessor"]},{"declaring":"HijrahChronology","name":"date","return":"HijrahDate","parameters":["int","int","int"]},{"declaring":"HijrahChronology","name":"date","return":"HijrahDate","parameters":["Era","int","int","int"]},{"declaring":"HijrahChronology","name":"dateEpochDay","return":"HijrahDate","parameters":["long"]},{"declaring":"HijrahChronology","name":"dateYearDay","return":"HijrahDate","parameters":["int","int"]},{"declaring":"HijrahChronology","name":"dateYearDay","return":"HijrahDate","parameters":["Era","int","int"]},{"declaring":"Chronology","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"HijrahChronology","name":"eraOf","return":"HijrahEra","parameters":["int"]},{"declaring":"Chronology","name":"eras","return":"List","parameters":[]},{"declaring":"Chronology","name":"getCalendarType","return":"String","parameters":[]},{"declaring":"Chronology","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"Chronology","name":"getId","return":"String","parameters":[]},{"declaring":"Chronology","name":"hashCode","return":"int","parameters":[]},{"declaring":"Chronology","name":"isLeapYear","return":"boolean","parameters":["long"]},{"declaring":"Chronology","name":"localDateTime","return":"ChronoLocalDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"period","return":"ChronoPeriod","parameters":["int","int","int"]},{"declaring":"Chronology","name":"prolepticYear","return":"int","parameters":["Era","int"]},{"declaring":"Chronology","name":"range","return":"ValueRange","parameters":["ChronoField"]},{"declaring":"HijrahChronology","name":"resolveDate","return":"HijrahDate","parameters":["Map","ResolverStyle"]},{"declaring":"Chronology","name":"toString","return":"String","parameters":[]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["Instant","ZoneId"]}],"static_fields":[{"declaring":"HijrahChronology","name":"INSTANCE","type":"HijrahChronology"}],"fields":[]},{"name":"HijrahDate","imported":true,"constructors":[],"static_methods":[{"declaring":"HijrahDate","name":"from","return":"HijrahDate","parameters":["TemporalAccessor"]},{"declaring":"HijrahDate","name":"of","return":"HijrahDate","parameters":["int","int","int"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"ChronoLocalDate","name":"atTime","return":"ChronoLocalDateTime","parameters":["LocalTime"]},{"declaring":"ChronoLocalDate","name":"compareTo","return":"int","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoLocalDate","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"HijrahDate","name":"getChronology","return":"HijrahChronology","parameters":[]},{"declaring":"HijrahDate","name":"getEra","return":"HijrahEra","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"isAfter","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isBefore","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isEqual","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isLeapYear","return":"boolean","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"lengthOfMonth","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"lengthOfYear","return":"int","parameters":[]},{"declaring":"HijrahDate","name":"minus","return":"HijrahDate","parameters":["TemporalAmount"]},{"declaring":"HijrahDate","name":"minus","return":"HijrahDate","parameters":["long","TemporalUnit"]},{"declaring":"HijrahDate","name":"plus","return":"HijrahDate","parameters":["TemporalAmount"]},{"declaring":"HijrahDate","name":"plus","return":"HijrahDate","parameters":["long","TemporalUnit"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"toEpochDay","return":"long","parameters":[]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoLocalDate","name":"toString","return":"String","parameters":[]},{"declaring":"ChronoLocalDate","name":"until","return":"ChronoPeriod","parameters":["ChronoLocalDate"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"HijrahDate","name":"with","return":"HijrahDate","parameters":["TemporalAdjuster"]},{"declaring":"HijrahDate","name":"with","return":"HijrahDate","parameters":["TemporalField","long"]},{"declaring":"HijrahDate","name":"withVariant","return":"HijrahDate","parameters":["HijrahChronology"]}],"static_fields":[],"fields":[]},{"name":"HijrahEra","imported":true,"constructors":[],"static_methods":[{"declaring":"HijrahEra","name":"of","return":"HijrahEra","parameters":["int"]},{"declaring":"HijrahEra","name":"valueOf","return":"HijrahEra","parameters":["String"]},{"declaring":"HijrahEra","name":"values","return":"HijrahEra[]","parameters":[]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"Era","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"HijrahEra","name":"getValue","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"HijrahEra","name":"AH","type":"HijrahEra"}],"fields":[]},{"name":"IsoChronology","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Chronology","name":"compareTo","return":"int","parameters":["Chronology"]},{"declaring":"IsoChronology","name":"date","return":"LocalDate","parameters":["TemporalAccessor"]},{"declaring":"IsoChronology","name":"date","return":"LocalDate","parameters":["int","int","int"]},{"declaring":"IsoChronology","name":"date","return":"LocalDate","parameters":["Era","int","int","int"]},{"declaring":"IsoChronology","name":"dateEpochDay","return":"LocalDate","parameters":["long"]},{"declaring":"IsoChronology","name":"dateYearDay","return":"LocalDate","parameters":["int","int"]},{"declaring":"IsoChronology","name":"dateYearDay","return":"LocalDate","parameters":["Era","int","int"]},{"declaring":"Chronology","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"IsoChronology","name":"eraOf","return":"IsoEra","parameters":["int"]},{"declaring":"Chronology","name":"eras","return":"List","parameters":[]},{"declaring":"Chronology","name":"getCalendarType","return":"String","parameters":[]},{"declaring":"Chronology","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"Chronology","name":"getId","return":"String","parameters":[]},{"declaring":"Chronology","name":"hashCode","return":"int","parameters":[]},{"declaring":"Chronology","name":"isLeapYear","return":"boolean","parameters":["long"]},{"declaring":"IsoChronology","name":"localDateTime","return":"LocalDateTime","parameters":["TemporalAccessor"]},{"declaring":"IsoChronology","name":"period","return":"Period","parameters":["int","int","int"]},{"declaring":"Chronology","name":"prolepticYear","return":"int","parameters":["Era","int"]},{"declaring":"Chronology","name":"range","return":"ValueRange","parameters":["ChronoField"]},{"declaring":"IsoChronology","name":"resolveDate","return":"LocalDate","parameters":["Map","ResolverStyle"]},{"declaring":"Chronology","name":"toString","return":"String","parameters":[]},{"declaring":"IsoChronology","name":"zonedDateTime","return":"ZonedDateTime","parameters":["TemporalAccessor"]},{"declaring":"IsoChronology","name":"zonedDateTime","return":"ZonedDateTime","parameters":["Instant","ZoneId"]}],"static_fields":[{"declaring":"IsoChronology","name":"INSTANCE","type":"IsoChronology"}],"fields":[]},{"name":"IsoEra","imported":true,"constructors":[],"static_methods":[{"declaring":"IsoEra","name":"of","return":"IsoEra","parameters":["int"]},{"declaring":"IsoEra","name":"valueOf","return":"IsoEra","parameters":["String"]},{"declaring":"IsoEra","name":"values","return":"IsoEra[]","parameters":[]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"Era","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"IsoEra","name":"getValue","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"IsoEra","name":"BCE","type":"IsoEra"},{"declaring":"IsoEra","name":"CE","type":"IsoEra"}],"fields":[]},{"name":"JapaneseChronology","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Chronology","name":"compareTo","return":"int","parameters":["Chronology"]},{"declaring":"JapaneseChronology","name":"date","return":"JapaneseDate","parameters":["TemporalAccessor"]},{"declaring":"JapaneseChronology","name":"date","return":"JapaneseDate","parameters":["int","int","int"]},{"declaring":"JapaneseChronology","name":"date","return":"JapaneseDate","parameters":["Era","int","int","int"]},{"declaring":"JapaneseChronology","name":"dateEpochDay","return":"JapaneseDate","parameters":["long"]},{"declaring":"JapaneseChronology","name":"dateYearDay","return":"JapaneseDate","parameters":["int","int"]},{"declaring":"JapaneseChronology","name":"dateYearDay","return":"JapaneseDate","parameters":["Era","int","int"]},{"declaring":"Chronology","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"JapaneseChronology","name":"eraOf","return":"JapaneseEra","parameters":["int"]},{"declaring":"Chronology","name":"eras","return":"List","parameters":[]},{"declaring":"Chronology","name":"getCalendarType","return":"String","parameters":[]},{"declaring":"Chronology","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"Chronology","name":"getId","return":"String","parameters":[]},{"declaring":"Chronology","name":"hashCode","return":"int","parameters":[]},{"declaring":"Chronology","name":"isLeapYear","return":"boolean","parameters":["long"]},{"declaring":"Chronology","name":"localDateTime","return":"ChronoLocalDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"period","return":"ChronoPeriod","parameters":["int","int","int"]},{"declaring":"Chronology","name":"prolepticYear","return":"int","parameters":["Era","int"]},{"declaring":"Chronology","name":"range","return":"ValueRange","parameters":["ChronoField"]},{"declaring":"JapaneseChronology","name":"resolveDate","return":"JapaneseDate","parameters":["Map","ResolverStyle"]},{"declaring":"Chronology","name":"toString","return":"String","parameters":[]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["Instant","ZoneId"]}],"static_fields":[{"declaring":"JapaneseChronology","name":"INSTANCE","type":"JapaneseChronology"}],"fields":[]},{"name":"JapaneseDate","imported":true,"constructors":[],"static_methods":[{"declaring":"JapaneseDate","name":"from","return":"JapaneseDate","parameters":["TemporalAccessor"]},{"declaring":"JapaneseDate","name":"of","return":"JapaneseDate","parameters":["int","int","int"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"ChronoLocalDate","name":"atTime","return":"ChronoLocalDateTime","parameters":["LocalTime"]},{"declaring":"ChronoLocalDate","name":"compareTo","return":"int","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoLocalDate","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"JapaneseDate","name":"getChronology","return":"JapaneseChronology","parameters":[]},{"declaring":"JapaneseDate","name":"getEra","return":"JapaneseEra","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"isAfter","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isBefore","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isEqual","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isLeapYear","return":"boolean","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"lengthOfMonth","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"lengthOfYear","return":"int","parameters":[]},{"declaring":"JapaneseDate","name":"minus","return":"JapaneseDate","parameters":["TemporalAmount"]},{"declaring":"JapaneseDate","name":"minus","return":"JapaneseDate","parameters":["long","TemporalUnit"]},{"declaring":"JapaneseDate","name":"plus","return":"JapaneseDate","parameters":["TemporalAmount"]},{"declaring":"JapaneseDate","name":"plus","return":"JapaneseDate","parameters":["long","TemporalUnit"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"toEpochDay","return":"long","parameters":[]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoLocalDate","name":"toString","return":"String","parameters":[]},{"declaring":"ChronoLocalDate","name":"until","return":"ChronoPeriod","parameters":["ChronoLocalDate"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"JapaneseDate","name":"with","return":"JapaneseDate","parameters":["TemporalAdjuster"]},{"declaring":"JapaneseDate","name":"with","return":"JapaneseDate","parameters":["TemporalField","long"]}],"static_fields":[],"fields":[]},{"name":"JapaneseEra","imported":true,"constructors":[],"static_methods":[{"declaring":"JapaneseEra","name":"of","return":"JapaneseEra","parameters":["int"]},{"declaring":"JapaneseEra","name":"valueOf","return":"JapaneseEra","parameters":["String"]},{"declaring":"JapaneseEra","name":"values","return":"JapaneseEra[]","parameters":[]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"Era","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"JapaneseEra","name":"getValue","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"JapaneseEra","name":"HEISEI","type":"JapaneseEra"},{"declaring":"JapaneseEra","name":"MEIJI","type":"JapaneseEra"},{"declaring":"JapaneseEra","name":"SHOWA","type":"JapaneseEra"},{"declaring":"JapaneseEra","name":"TAISHO","type":"JapaneseEra"}],"fields":[]},{"name":"MinguoChronology","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Chronology","name":"compareTo","return":"int","parameters":["Chronology"]},{"declaring":"MinguoChronology","name":"date","return":"MinguoDate","parameters":["TemporalAccessor"]},{"declaring":"MinguoChronology","name":"date","return":"MinguoDate","parameters":["int","int","int"]},{"declaring":"MinguoChronology","name":"date","return":"MinguoDate","parameters":["Era","int","int","int"]},{"declaring":"MinguoChronology","name":"dateEpochDay","return":"MinguoDate","parameters":["long"]},{"declaring":"MinguoChronology","name":"dateYearDay","return":"MinguoDate","parameters":["int","int"]},{"declaring":"MinguoChronology","name":"dateYearDay","return":"MinguoDate","parameters":["Era","int","int"]},{"declaring":"Chronology","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"MinguoChronology","name":"eraOf","return":"MinguoEra","parameters":["int"]},{"declaring":"Chronology","name":"eras","return":"List","parameters":[]},{"declaring":"Chronology","name":"getCalendarType","return":"String","parameters":[]},{"declaring":"Chronology","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"Chronology","name":"getId","return":"String","parameters":[]},{"declaring":"Chronology","name":"hashCode","return":"int","parameters":[]},{"declaring":"Chronology","name":"isLeapYear","return":"boolean","parameters":["long"]},{"declaring":"Chronology","name":"localDateTime","return":"ChronoLocalDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"period","return":"ChronoPeriod","parameters":["int","int","int"]},{"declaring":"Chronology","name":"prolepticYear","return":"int","parameters":["Era","int"]},{"declaring":"Chronology","name":"range","return":"ValueRange","parameters":["ChronoField"]},{"declaring":"MinguoChronology","name":"resolveDate","return":"MinguoDate","parameters":["Map","ResolverStyle"]},{"declaring":"Chronology","name":"toString","return":"String","parameters":[]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["Instant","ZoneId"]}],"static_fields":[{"declaring":"MinguoChronology","name":"INSTANCE","type":"MinguoChronology"}],"fields":[]},{"name":"MinguoDate","imported":true,"constructors":[],"static_methods":[{"declaring":"MinguoDate","name":"from","return":"MinguoDate","parameters":["TemporalAccessor"]},{"declaring":"MinguoDate","name":"of","return":"MinguoDate","parameters":["int","int","int"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"ChronoLocalDate","name":"atTime","return":"ChronoLocalDateTime","parameters":["LocalTime"]},{"declaring":"ChronoLocalDate","name":"compareTo","return":"int","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoLocalDate","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"MinguoDate","name":"getChronology","return":"MinguoChronology","parameters":[]},{"declaring":"MinguoDate","name":"getEra","return":"MinguoEra","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"isAfter","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isBefore","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isEqual","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isLeapYear","return":"boolean","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"lengthOfMonth","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"lengthOfYear","return":"int","parameters":[]},{"declaring":"MinguoDate","name":"minus","return":"MinguoDate","parameters":["TemporalAmount"]},{"declaring":"MinguoDate","name":"minus","return":"MinguoDate","parameters":["long","TemporalUnit"]},{"declaring":"MinguoDate","name":"plus","return":"MinguoDate","parameters":["TemporalAmount"]},{"declaring":"MinguoDate","name":"plus","return":"MinguoDate","parameters":["long","TemporalUnit"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"toEpochDay","return":"long","parameters":[]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoLocalDate","name":"toString","return":"String","parameters":[]},{"declaring":"ChronoLocalDate","name":"until","return":"ChronoPeriod","parameters":["ChronoLocalDate"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"MinguoDate","name":"with","return":"MinguoDate","parameters":["TemporalAdjuster"]},{"declaring":"MinguoDate","name":"with","return":"MinguoDate","parameters":["TemporalField","long"]}],"static_fields":[],"fields":[]},{"name":"MinguoEra","imported":true,"constructors":[],"static_methods":[{"declaring":"MinguoEra","name":"of","return":"MinguoEra","parameters":["int"]},{"declaring":"MinguoEra","name":"valueOf","return":"MinguoEra","parameters":["String"]},{"declaring":"MinguoEra","name":"values","return":"MinguoEra[]","parameters":[]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"Era","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"MinguoEra","name":"getValue","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"MinguoEra","name":"BEFORE_ROC","type":"MinguoEra"},{"declaring":"MinguoEra","name":"ROC","type":"MinguoEra"}],"fields":[]},{"name":"ThaiBuddhistChronology","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Chronology","name":"compareTo","return":"int","parameters":["Chronology"]},{"declaring":"ThaiBuddhistChronology","name":"date","return":"ThaiBuddhistDate","parameters":["TemporalAccessor"]},{"declaring":"ThaiBuddhistChronology","name":"date","return":"ThaiBuddhistDate","parameters":["int","int","int"]},{"declaring":"ThaiBuddhistChronology","name":"date","return":"ThaiBuddhistDate","parameters":["Era","int","int","int"]},{"declaring":"ThaiBuddhistChronology","name":"dateEpochDay","return":"ThaiBuddhistDate","parameters":["long"]},{"declaring":"ThaiBuddhistChronology","name":"dateYearDay","return":"ThaiBuddhistDate","parameters":["int","int"]},{"declaring":"ThaiBuddhistChronology","name":"dateYearDay","return":"ThaiBuddhistDate","parameters":["Era","int","int"]},{"declaring":"Chronology","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ThaiBuddhistChronology","name":"eraOf","return":"ThaiBuddhistEra","parameters":["int"]},{"declaring":"Chronology","name":"eras","return":"List","parameters":[]},{"declaring":"Chronology","name":"getCalendarType","return":"String","parameters":[]},{"declaring":"Chronology","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"Chronology","name":"getId","return":"String","parameters":[]},{"declaring":"Chronology","name":"hashCode","return":"int","parameters":[]},{"declaring":"Chronology","name":"isLeapYear","return":"boolean","parameters":["long"]},{"declaring":"Chronology","name":"localDateTime","return":"ChronoLocalDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"period","return":"ChronoPeriod","parameters":["int","int","int"]},{"declaring":"Chronology","name":"prolepticYear","return":"int","parameters":["Era","int"]},{"declaring":"Chronology","name":"range","return":"ValueRange","parameters":["ChronoField"]},{"declaring":"ThaiBuddhistChronology","name":"resolveDate","return":"ThaiBuddhistDate","parameters":["Map","ResolverStyle"]},{"declaring":"Chronology","name":"toString","return":"String","parameters":[]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["TemporalAccessor"]},{"declaring":"Chronology","name":"zonedDateTime","return":"ChronoZonedDateTime","parameters":["Instant","ZoneId"]}],"static_fields":[{"declaring":"ThaiBuddhistChronology","name":"INSTANCE","type":"ThaiBuddhistChronology"}],"fields":[]},{"name":"ThaiBuddhistDate","imported":true,"constructors":[],"static_methods":[{"declaring":"ThaiBuddhistDate","name":"from","return":"ThaiBuddhistDate","parameters":["TemporalAccessor"]},{"declaring":"ThaiBuddhistDate","name":"of","return":"ThaiBuddhistDate","parameters":["int","int","int"]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"ChronoLocalDate","name":"atTime","return":"ChronoLocalDateTime","parameters":["LocalTime"]},{"declaring":"ChronoLocalDate","name":"compareTo","return":"int","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoLocalDate","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"ThaiBuddhistDate","name":"getChronology","return":"ThaiBuddhistChronology","parameters":[]},{"declaring":"ThaiBuddhistDate","name":"getEra","return":"ThaiBuddhistEra","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"isAfter","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isBefore","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isEqual","return":"boolean","parameters":["ChronoLocalDate"]},{"declaring":"ChronoLocalDate","name":"isLeapYear","return":"boolean","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"lengthOfMonth","return":"int","parameters":[]},{"declaring":"ChronoLocalDate","name":"lengthOfYear","return":"int","parameters":[]},{"declaring":"ThaiBuddhistDate","name":"minus","return":"ThaiBuddhistDate","parameters":["TemporalAmount"]},{"declaring":"ThaiBuddhistDate","name":"minus","return":"ThaiBuddhistDate","parameters":["long","TemporalUnit"]},{"declaring":"ThaiBuddhistDate","name":"plus","return":"ThaiBuddhistDate","parameters":["TemporalAmount"]},{"declaring":"ThaiBuddhistDate","name":"plus","return":"ThaiBuddhistDate","parameters":["long","TemporalUnit"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":"ChronoLocalDate","name":"toEpochDay","return":"long","parameters":[]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoLocalDate","name":"toString","return":"String","parameters":[]},{"declaring":"ChronoLocalDate","name":"until","return":"ChronoPeriod","parameters":["ChronoLocalDate"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"ThaiBuddhistDate","name":"with","return":"ThaiBuddhistDate","parameters":["TemporalAdjuster"]},{"declaring":"ThaiBuddhistDate","name":"with","return":"ThaiBuddhistDate","parameters":["TemporalField","long"]}],"static_fields":[],"fields":[]},{"name":"ThaiBuddhistEra","imported":true,"constructors":[],"static_methods":[{"declaring":"ThaiBuddhistEra","name":"of","return":"ThaiBuddhistEra","parameters":["int"]},{"declaring":"ThaiBuddhistEra","name":"valueOf","return":"ThaiBuddhistEra","parameters":["String"]},{"declaring":"ThaiBuddhistEra","name":"values","return":"ThaiBuddhistEra[]","parameters":[]}],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"Era","name":"getDisplayName","return":"String","parameters":["TextStyle","Locale"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"ThaiBuddhistEra","name":"getValue","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"ThaiBuddhistEra","name":"BE","type":"ThaiBuddhistEra"},{"declaring":"ThaiBuddhistEra","name":"BEFORE_BE","type":"ThaiBuddhistEra"}],"fields":[]},{"name":"DateTimeFormatter","imported":true,"constructors":[],"static_methods":[{"declaring":"DateTimeFormatter","name":"ofLocalizedDate","return":"DateTimeFormatter","parameters":["FormatStyle"]},{"declaring":"DateTimeFormatter","name":"ofLocalizedDateTime","return":"DateTimeFormatter","parameters":["FormatStyle"]},{"declaring":"DateTimeFormatter","name":"ofLocalizedDateTime","return":"DateTimeFormatter","parameters":["FormatStyle","FormatStyle"]},{"declaring":"DateTimeFormatter","name":"ofLocalizedTime","return":"DateTimeFormatter","parameters":["FormatStyle"]},{"declaring":"DateTimeFormatter","name":"ofPattern","return":"DateTimeFormatter","parameters":["String"]},{"declaring":"DateTimeFormatter","name":"ofPattern","return":"DateTimeFormatter","parameters":["String","Locale"]},{"declaring":"DateTimeFormatter","name":"parsedExcessDays","return":"TemporalQuery","parameters":[]},{"declaring":"DateTimeFormatter","name":"parsedLeapSecond","return":"TemporalQuery","parameters":[]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"DateTimeFormatter","name":"format","return":"String","parameters":["TemporalAccessor"]},{"declaring":"DateTimeFormatter","name":"formatTo","return":"void","parameters":["TemporalAccessor","Appendable"]},{"declaring":"DateTimeFormatter","name":"getChronology","return":"Chronology","parameters":[]},{"declaring":"DateTimeFormatter","name":"getDecimalStyle","return":"DecimalStyle","parameters":[]},{"declaring":"DateTimeFormatter","name":"getLocale","return":"Locale","parameters":[]},{"declaring":"DateTimeFormatter","name":"getResolverFields","return":"Set","parameters":[]},{"declaring":"DateTimeFormatter","name":"getResolverStyle","return":"ResolverStyle","parameters":[]},{"declaring":"DateTimeFormatter","name":"getZone","return":"ZoneId","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"DateTimeFormatter","name":"parse","return":"TemporalAccessor","parameters":["CharSequence"]},{"declaring":"DateTimeFormatter","name":"parse","return":"def","parameters":["CharSequence","TemporalQuery"]},{"declaring":"DateTimeFormatter","name":"parseBest","return":"TemporalAccessor","parameters":["CharSequence","TemporalQuery[]"]},{"declaring":"DateTimeFormatter","name":"parseUnresolved","return":"TemporalAccessor","parameters":["CharSequence","ParsePosition"]},{"declaring":"DateTimeFormatter","name":"toFormat","return":"Format","parameters":[]},{"declaring":"DateTimeFormatter","name":"toFormat","return":"Format","parameters":["TemporalQuery"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"DateTimeFormatter","name":"withChronology","return":"DateTimeFormatter","parameters":["Chronology"]},{"declaring":"DateTimeFormatter","name":"withDecimalStyle","return":"DateTimeFormatter","parameters":["DecimalStyle"]},{"declaring":"DateTimeFormatter","name":"withLocale","return":"DateTimeFormatter","parameters":["Locale"]},{"declaring":"DateTimeFormatter","name":"withResolverFields","return":"DateTimeFormatter","parameters":["Set"]},{"declaring":"DateTimeFormatter","name":"withResolverStyle","return":"DateTimeFormatter","parameters":["ResolverStyle"]},{"declaring":"DateTimeFormatter","name":"withZone","return":"DateTimeFormatter","parameters":["ZoneId"]}],"static_fields":[{"declaring":"DateTimeFormatter","name":"BASIC_ISO_DATE","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_DATE","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_DATE_TIME","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_INSTANT","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_LOCAL_DATE","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_LOCAL_DATE_TIME","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_LOCAL_TIME","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_OFFSET_DATE","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_OFFSET_DATE_TIME","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_OFFSET_TIME","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_ORDINAL_DATE","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_TIME","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_WEEK_DATE","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"ISO_ZONED_DATE_TIME","type":"DateTimeFormatter"},{"declaring":"DateTimeFormatter","name":"RFC_1123_DATE_TIME","type":"DateTimeFormatter"}],"fields":[]},{"name":"DateTimeFormatterBuilder","imported":true,"constructors":[{"declaring":"DateTimeFormatterBuilder","parameters":[]}],"static_methods":[{"declaring":"DateTimeFormatterBuilder","name":"getLocalizedDateTimePattern","return":"String","parameters":["FormatStyle","FormatStyle","Chronology","Locale"]}],"methods":[{"declaring":"DateTimeFormatterBuilder","name":"append","return":"DateTimeFormatterBuilder","parameters":["DateTimeFormatter"]},{"declaring":"DateTimeFormatterBuilder","name":"appendChronologyId","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"appendChronologyText","return":"DateTimeFormatterBuilder","parameters":["TextStyle"]},{"declaring":"DateTimeFormatterBuilder","name":"appendFraction","return":"DateTimeFormatterBuilder","parameters":["TemporalField","int","int","boolean"]},{"declaring":"DateTimeFormatterBuilder","name":"appendInstant","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"appendInstant","return":"DateTimeFormatterBuilder","parameters":["int"]},{"declaring":"DateTimeFormatterBuilder","name":"appendLiteral","return":"DateTimeFormatterBuilder","parameters":["String"]},{"declaring":"DateTimeFormatterBuilder","name":"appendLocalized","return":"DateTimeFormatterBuilder","parameters":["FormatStyle","FormatStyle"]},{"declaring":"DateTimeFormatterBuilder","name":"appendLocalizedOffset","return":"DateTimeFormatterBuilder","parameters":["TextStyle"]},{"declaring":"DateTimeFormatterBuilder","name":"appendOffset","return":"DateTimeFormatterBuilder","parameters":["String","String"]},{"declaring":"DateTimeFormatterBuilder","name":"appendOffsetId","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"appendOptional","return":"DateTimeFormatterBuilder","parameters":["DateTimeFormatter"]},{"declaring":"DateTimeFormatterBuilder","name":"appendPattern","return":"DateTimeFormatterBuilder","parameters":["String"]},{"declaring":"DateTimeFormatterBuilder","name":"appendText","return":"DateTimeFormatterBuilder","parameters":["TemporalField"]},{"declaring":"DateTimeFormatterBuilder","name":"appendText","return":"DateTimeFormatterBuilder","parameters":["TemporalField","TextStyle"]},{"declaring":"DateTimeFormatterBuilder","name":"appendValue","return":"DateTimeFormatterBuilder","parameters":["TemporalField"]},{"declaring":"DateTimeFormatterBuilder","name":"appendValue","return":"DateTimeFormatterBuilder","parameters":["TemporalField","int"]},{"declaring":"DateTimeFormatterBuilder","name":"appendValue","return":"DateTimeFormatterBuilder","parameters":["TemporalField","int","int","SignStyle"]},{"declaring":"DateTimeFormatterBuilder","name":"appendValueReduced","return":"DateTimeFormatterBuilder","parameters":["TemporalField","int","int","int"]},{"declaring":"DateTimeFormatterBuilder","name":"appendZoneId","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"appendZoneOrOffsetId","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"appendZoneRegionId","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"appendZoneText","return":"DateTimeFormatterBuilder","parameters":["TextStyle"]},{"declaring":"DateTimeFormatterBuilder","name":"appendZoneText","return":"DateTimeFormatterBuilder","parameters":["TextStyle","Set"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"optionalEnd","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"optionalStart","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"padNext","return":"DateTimeFormatterBuilder","parameters":["int"]},{"declaring":"DateTimeFormatterBuilder","name":"padNext","return":"DateTimeFormatterBuilder","parameters":["int","char"]},{"declaring":"DateTimeFormatterBuilder","name":"parseCaseInsensitive","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"parseCaseSensitive","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"parseDefaulting","return":"DateTimeFormatterBuilder","parameters":["TemporalField","long"]},{"declaring":"DateTimeFormatterBuilder","name":"parseLenient","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"parseStrict","return":"DateTimeFormatterBuilder","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"toFormatter","return":"DateTimeFormatter","parameters":[]},{"declaring":"DateTimeFormatterBuilder","name":"toFormatter","return":"DateTimeFormatter","parameters":["Locale"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DateTimeParseException","imported":true,"constructors":[{"declaring":"DateTimeParseException","parameters":["String","CharSequence","int"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"DateTimeParseException","name":"getErrorIndex","return":"int","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":"DateTimeParseException","name":"getParsedString","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DecimalStyle","imported":true,"constructors":[],"static_methods":[{"declaring":"DecimalStyle","name":"getAvailableLocales","return":"Set","parameters":[]},{"declaring":"DecimalStyle","name":"of","return":"DecimalStyle","parameters":["Locale"]},{"declaring":"DecimalStyle","name":"ofDefaultLocale","return":"DecimalStyle","parameters":[]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"DecimalStyle","name":"getDecimalSeparator","return":"char","parameters":[]},{"declaring":"DecimalStyle","name":"getNegativeSign","return":"char","parameters":[]},{"declaring":"DecimalStyle","name":"getPositiveSign","return":"char","parameters":[]},{"declaring":"DecimalStyle","name":"getZeroDigit","return":"char","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"DecimalStyle","name":"withDecimalSeparator","return":"DecimalStyle","parameters":["char"]},{"declaring":"DecimalStyle","name":"withNegativeSign","return":"DecimalStyle","parameters":["char"]},{"declaring":"DecimalStyle","name":"withPositiveSign","return":"DecimalStyle","parameters":["char"]},{"declaring":"DecimalStyle","name":"withZeroDigit","return":"DecimalStyle","parameters":["char"]}],"static_fields":[{"declaring":"DecimalStyle","name":"STANDARD","type":"DecimalStyle"}],"fields":[]},{"name":"FormatStyle","imported":true,"constructors":[],"static_methods":[{"declaring":"FormatStyle","name":"valueOf","return":"FormatStyle","parameters":["String"]},{"declaring":"FormatStyle","name":"values","return":"FormatStyle[]","parameters":[]}],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"FormatStyle","name":"FULL","type":"FormatStyle"},{"declaring":"FormatStyle","name":"LONG","type":"FormatStyle"},{"declaring":"FormatStyle","name":"MEDIUM","type":"FormatStyle"},{"declaring":"FormatStyle","name":"SHORT","type":"FormatStyle"}],"fields":[]},{"name":"ResolverStyle","imported":true,"constructors":[],"static_methods":[{"declaring":"ResolverStyle","name":"valueOf","return":"ResolverStyle","parameters":["String"]},{"declaring":"ResolverStyle","name":"values","return":"ResolverStyle[]","parameters":[]}],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"ResolverStyle","name":"LENIENT","type":"ResolverStyle"},{"declaring":"ResolverStyle","name":"SMART","type":"ResolverStyle"},{"declaring":"ResolverStyle","name":"STRICT","type":"ResolverStyle"}],"fields":[]},{"name":"SignStyle","imported":true,"constructors":[],"static_methods":[{"declaring":"SignStyle","name":"valueOf","return":"SignStyle","parameters":["String"]},{"declaring":"SignStyle","name":"values","return":"SignStyle[]","parameters":[]}],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"SignStyle","name":"ALWAYS","type":"SignStyle"},{"declaring":"SignStyle","name":"EXCEEDS_PAD","type":"SignStyle"},{"declaring":"SignStyle","name":"NEVER","type":"SignStyle"},{"declaring":"SignStyle","name":"NORMAL","type":"SignStyle"},{"declaring":"SignStyle","name":"NOT_NEGATIVE","type":"SignStyle"}],"fields":[]},{"name":"TextStyle","imported":true,"constructors":[],"static_methods":[{"declaring":"TextStyle","name":"valueOf","return":"TextStyle","parameters":["String"]},{"declaring":"TextStyle","name":"values","return":"TextStyle[]","parameters":[]}],"methods":[{"declaring":"TextStyle","name":"asNormal","return":"TextStyle","parameters":[]},{"declaring":"TextStyle","name":"asStandalone","return":"TextStyle","parameters":[]},{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TextStyle","name":"isStandalone","return":"boolean","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"TextStyle","name":"FULL","type":"TextStyle"},{"declaring":"TextStyle","name":"FULL_STANDALONE","type":"TextStyle"},{"declaring":"TextStyle","name":"NARROW","type":"TextStyle"},{"declaring":"TextStyle","name":"NARROW_STANDALONE","type":"TextStyle"},{"declaring":"TextStyle","name":"SHORT","type":"TextStyle"},{"declaring":"TextStyle","name":"SHORT_STANDALONE","type":"TextStyle"}],"fields":[]},{"name":"ChronoField","imported":true,"constructors":[],"static_methods":[{"declaring":"ChronoField","name":"valueOf","return":"ChronoField","parameters":["String"]},{"declaring":"ChronoField","name":"values","return":"ChronoField[]","parameters":[]}],"methods":[{"declaring":"TemporalField","name":"adjustInto","return":"Temporal","parameters":["Temporal","long"]},{"declaring":"ChronoField","name":"checkValidIntValue","return":"int","parameters":["long"]},{"declaring":"ChronoField","name":"checkValidValue","return":"long","parameters":["long"]},{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalField","name":"getBaseUnit","return":"TemporalUnit","parameters":[]},{"declaring":"TemporalField","name":"getDisplayName","return":"String","parameters":["Locale"]},{"declaring":"TemporalField","name":"getFrom","return":"long","parameters":["TemporalAccessor"]},{"declaring":"TemporalField","name":"getRangeUnit","return":"TemporalUnit","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalField","name":"isDateBased","return":"boolean","parameters":[]},{"declaring":"TemporalField","name":"isSupportedBy","return":"boolean","parameters":["TemporalAccessor"]},{"declaring":"TemporalField","name":"isTimeBased","return":"boolean","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"TemporalField","name":"range","return":"ValueRange","parameters":[]},{"declaring":"TemporalField","name":"rangeRefinedBy","return":"ValueRange","parameters":["TemporalAccessor"]},{"declaring":"TemporalField","name":"resolve","return":"TemporalAccessor","parameters":["Map","TemporalAccessor","ResolverStyle"]},{"declaring":"TemporalField","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"ChronoField","name":"ALIGNED_DAY_OF_WEEK_IN_MONTH","type":"ChronoField"},{"declaring":"ChronoField","name":"ALIGNED_DAY_OF_WEEK_IN_YEAR","type":"ChronoField"},{"declaring":"ChronoField","name":"ALIGNED_WEEK_OF_MONTH","type":"ChronoField"},{"declaring":"ChronoField","name":"ALIGNED_WEEK_OF_YEAR","type":"ChronoField"},{"declaring":"ChronoField","name":"AMPM_OF_DAY","type":"ChronoField"},{"declaring":"ChronoField","name":"CLOCK_HOUR_OF_AMPM","type":"ChronoField"},{"declaring":"ChronoField","name":"CLOCK_HOUR_OF_DAY","type":"ChronoField"},{"declaring":"ChronoField","name":"DAY_OF_MONTH","type":"ChronoField"},{"declaring":"ChronoField","name":"DAY_OF_WEEK","type":"ChronoField"},{"declaring":"ChronoField","name":"DAY_OF_YEAR","type":"ChronoField"},{"declaring":"ChronoField","name":"EPOCH_DAY","type":"ChronoField"},{"declaring":"ChronoField","name":"ERA","type":"ChronoField"},{"declaring":"ChronoField","name":"HOUR_OF_AMPM","type":"ChronoField"},{"declaring":"ChronoField","name":"HOUR_OF_DAY","type":"ChronoField"},{"declaring":"ChronoField","name":"INSTANT_SECONDS","type":"ChronoField"},{"declaring":"ChronoField","name":"MICRO_OF_DAY","type":"ChronoField"},{"declaring":"ChronoField","name":"MICRO_OF_SECOND","type":"ChronoField"},{"declaring":"ChronoField","name":"MILLI_OF_DAY","type":"ChronoField"},{"declaring":"ChronoField","name":"MILLI_OF_SECOND","type":"ChronoField"},{"declaring":"ChronoField","name":"MINUTE_OF_DAY","type":"ChronoField"},{"declaring":"ChronoField","name":"MINUTE_OF_HOUR","type":"ChronoField"},{"declaring":"ChronoField","name":"MONTH_OF_YEAR","type":"ChronoField"},{"declaring":"ChronoField","name":"NANO_OF_DAY","type":"ChronoField"},{"declaring":"ChronoField","name":"NANO_OF_SECOND","type":"ChronoField"},{"declaring":"ChronoField","name":"OFFSET_SECONDS","type":"ChronoField"},{"declaring":"ChronoField","name":"PROLEPTIC_MONTH","type":"ChronoField"},{"declaring":"ChronoField","name":"SECOND_OF_DAY","type":"ChronoField"},{"declaring":"ChronoField","name":"SECOND_OF_MINUTE","type":"ChronoField"},{"declaring":"ChronoField","name":"YEAR","type":"ChronoField"},{"declaring":"ChronoField","name":"YEAR_OF_ERA","type":"ChronoField"}],"fields":[]},{"name":"ChronoUnit","imported":true,"constructors":[],"static_methods":[{"declaring":"ChronoUnit","name":"valueOf","return":"ChronoUnit","parameters":["String"]},{"declaring":"ChronoUnit","name":"values","return":"ChronoUnit[]","parameters":[]}],"methods":[{"declaring":"TemporalUnit","name":"addTo","return":"Temporal","parameters":["Temporal","long"]},{"declaring":"TemporalUnit","name":"between","return":"long","parameters":["Temporal","Temporal"]},{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalUnit","name":"getDuration","return":"Duration","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalUnit","name":"isDateBased","return":"boolean","parameters":[]},{"declaring":"TemporalUnit","name":"isDurationEstimated","return":"boolean","parameters":[]},{"declaring":"TemporalUnit","name":"isSupportedBy","return":"boolean","parameters":["Temporal"]},{"declaring":"TemporalUnit","name":"isTimeBased","return":"boolean","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"TemporalUnit","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"ChronoUnit","name":"CENTURIES","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"DAYS","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"DECADES","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"ERAS","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"FOREVER","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"HALF_DAYS","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"HOURS","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"MICROS","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"MILLENNIA","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"MILLIS","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"MINUTES","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"MONTHS","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"NANOS","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"SECONDS","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"WEEKS","type":"ChronoUnit"},{"declaring":"ChronoUnit","name":"YEARS","type":"ChronoUnit"}],"fields":[]},{"name":"IsoFields","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"IsoFields","name":"DAY_OF_QUARTER","type":"TemporalField"},{"declaring":"IsoFields","name":"QUARTER_OF_YEAR","type":"TemporalField"},{"declaring":"IsoFields","name":"QUARTER_YEARS","type":"TemporalUnit"},{"declaring":"IsoFields","name":"WEEK_BASED_YEAR","type":"TemporalField"},{"declaring":"IsoFields","name":"WEEK_BASED_YEARS","type":"TemporalUnit"},{"declaring":"IsoFields","name":"WEEK_OF_WEEK_BASED_YEAR","type":"TemporalField"}],"fields":[]},{"name":"JulianFields","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"JulianFields","name":"JULIAN_DAY","type":"TemporalField"},{"declaring":"JulianFields","name":"MODIFIED_JULIAN_DAY","type":"TemporalField"},{"declaring":"JulianFields","name":"RATA_DIE","type":"TemporalField"}],"fields":[]},{"name":"Temporal","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"Temporal","name":"minus","return":"Temporal","parameters":["TemporalAmount"]},{"declaring":"Temporal","name":"minus","return":"Temporal","parameters":["long","TemporalUnit"]},{"declaring":"Temporal","name":"plus","return":"Temporal","parameters":["TemporalAmount"]},{"declaring":"Temporal","name":"plus","return":"Temporal","parameters":["long","TemporalUnit"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"Temporal","name":"with","return":"Temporal","parameters":["TemporalAdjuster"]},{"declaring":"Temporal","name":"with","return":"Temporal","parameters":["TemporalField","long"]}],"static_fields":[],"fields":[]},{"name":"TemporalAccessor","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TemporalAdjuster","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"TemporalAdjuster","name":"adjustInto","return":"Temporal","parameters":["Temporal"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TemporalAdjusters","imported":true,"constructors":[],"static_methods":[{"declaring":"TemporalAdjusters","name":"dayOfWeekInMonth","return":"TemporalAdjuster","parameters":["int","DayOfWeek"]},{"declaring":"TemporalAdjusters","name":"firstDayOfMonth","return":"TemporalAdjuster","parameters":[]},{"declaring":"TemporalAdjusters","name":"firstDayOfNextMonth","return":"TemporalAdjuster","parameters":[]},{"declaring":"TemporalAdjusters","name":"firstDayOfNextYear","return":"TemporalAdjuster","parameters":[]},{"declaring":"TemporalAdjusters","name":"firstDayOfYear","return":"TemporalAdjuster","parameters":[]},{"declaring":"TemporalAdjusters","name":"firstInMonth","return":"TemporalAdjuster","parameters":["DayOfWeek"]},{"declaring":"TemporalAdjusters","name":"lastDayOfMonth","return":"TemporalAdjuster","parameters":[]},{"declaring":"TemporalAdjusters","name":"lastDayOfYear","return":"TemporalAdjuster","parameters":[]},{"declaring":"TemporalAdjusters","name":"lastInMonth","return":"TemporalAdjuster","parameters":["DayOfWeek"]},{"declaring":"TemporalAdjusters","name":"next","return":"TemporalAdjuster","parameters":["DayOfWeek"]},{"declaring":"TemporalAdjusters","name":"nextOrSame","return":"TemporalAdjuster","parameters":["DayOfWeek"]},{"declaring":"TemporalAdjusters","name":"ofDateAdjuster","return":"TemporalAdjuster","parameters":["UnaryOperator"]},{"declaring":"TemporalAdjusters","name":"previous","return":"TemporalAdjuster","parameters":["DayOfWeek"]},{"declaring":"TemporalAdjusters","name":"previousOrSame","return":"TemporalAdjuster","parameters":["DayOfWeek"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TemporalAmount","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"TemporalAmount","name":"addTo","return":"Temporal","parameters":["Temporal"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalAmount","name":"get","return":"long","parameters":["TemporalUnit"]},{"declaring":"TemporalAmount","name":"getUnits","return":"List","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalAmount","name":"subtractFrom","return":"Temporal","parameters":["Temporal"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TemporalField","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"TemporalField","name":"adjustInto","return":"Temporal","parameters":["Temporal","long"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalField","name":"getBaseUnit","return":"TemporalUnit","parameters":[]},{"declaring":"TemporalField","name":"getDisplayName","return":"String","parameters":["Locale"]},{"declaring":"TemporalField","name":"getFrom","return":"long","parameters":["TemporalAccessor"]},{"declaring":"TemporalField","name":"getRangeUnit","return":"TemporalUnit","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalField","name":"isDateBased","return":"boolean","parameters":[]},{"declaring":"TemporalField","name":"isSupportedBy","return":"boolean","parameters":["TemporalAccessor"]},{"declaring":"TemporalField","name":"isTimeBased","return":"boolean","parameters":[]},{"declaring":"TemporalField","name":"range","return":"ValueRange","parameters":[]},{"declaring":"TemporalField","name":"rangeRefinedBy","return":"ValueRange","parameters":["TemporalAccessor"]},{"declaring":"TemporalField","name":"resolve","return":"TemporalAccessor","parameters":["Map","TemporalAccessor","ResolverStyle"]},{"declaring":"TemporalField","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TemporalQueries","imported":true,"constructors":[],"static_methods":[{"declaring":"TemporalQueries","name":"chronology","return":"TemporalQuery","parameters":[]},{"declaring":"TemporalQueries","name":"localDate","return":"TemporalQuery","parameters":[]},{"declaring":"TemporalQueries","name":"localTime","return":"TemporalQuery","parameters":[]},{"declaring":"TemporalQueries","name":"offset","return":"TemporalQuery","parameters":[]},{"declaring":"TemporalQueries","name":"precision","return":"TemporalQuery","parameters":[]},{"declaring":"TemporalQueries","name":"zone","return":"TemporalQuery","parameters":[]},{"declaring":"TemporalQueries","name":"zoneId","return":"TemporalQuery","parameters":[]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TemporalQuery","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalQuery","name":"queryFrom","return":"def","parameters":["TemporalAccessor"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TemporalUnit","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"TemporalUnit","name":"addTo","return":"Temporal","parameters":["Temporal","long"]},{"declaring":"TemporalUnit","name":"between","return":"long","parameters":["Temporal","Temporal"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TemporalUnit","name":"getDuration","return":"Duration","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TemporalUnit","name":"isDateBased","return":"boolean","parameters":[]},{"declaring":"TemporalUnit","name":"isDurationEstimated","return":"boolean","parameters":[]},{"declaring":"TemporalUnit","name":"isSupportedBy","return":"boolean","parameters":["Temporal"]},{"declaring":"TemporalUnit","name":"isTimeBased","return":"boolean","parameters":[]},{"declaring":"TemporalUnit","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"UnsupportedTemporalTypeException","imported":true,"constructors":[{"declaring":"UnsupportedTemporalTypeException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ValueRange","imported":true,"constructors":[],"static_methods":[{"declaring":"ValueRange","name":"of","return":"ValueRange","parameters":["long","long"]},{"declaring":"ValueRange","name":"of","return":"ValueRange","parameters":["long","long","long"]},{"declaring":"ValueRange","name":"of","return":"ValueRange","parameters":["long","long","long","long"]}],"methods":[{"declaring":"ValueRange","name":"checkValidIntValue","return":"int","parameters":["long","TemporalField"]},{"declaring":"ValueRange","name":"checkValidValue","return":"long","parameters":["long","TemporalField"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ValueRange","name":"getLargestMinimum","return":"long","parameters":[]},{"declaring":"ValueRange","name":"getMaximum","return":"long","parameters":[]},{"declaring":"ValueRange","name":"getMinimum","return":"long","parameters":[]},{"declaring":"ValueRange","name":"getSmallestMaximum","return":"long","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"ValueRange","name":"isFixed","return":"boolean","parameters":[]},{"declaring":"ValueRange","name":"isIntValue","return":"boolean","parameters":[]},{"declaring":"ValueRange","name":"isValidIntValue","return":"boolean","parameters":["long"]},{"declaring":"ValueRange","name":"isValidValue","return":"boolean","parameters":["long"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"WeekFields","imported":true,"constructors":[],"static_methods":[{"declaring":"WeekFields","name":"of","return":"WeekFields","parameters":["Locale"]},{"declaring":"WeekFields","name":"of","return":"WeekFields","parameters":["DayOfWeek","int"]}],"methods":[{"declaring":"WeekFields","name":"dayOfWeek","return":"TemporalField","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"WeekFields","name":"getFirstDayOfWeek","return":"DayOfWeek","parameters":[]},{"declaring":"WeekFields","name":"getMinimalDaysInFirstWeek","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"WeekFields","name":"weekBasedYear","return":"TemporalField","parameters":[]},{"declaring":"WeekFields","name":"weekOfMonth","return":"TemporalField","parameters":[]},{"declaring":"WeekFields","name":"weekOfWeekBasedYear","return":"TemporalField","parameters":[]},{"declaring":"WeekFields","name":"weekOfYear","return":"TemporalField","parameters":[]}],"static_fields":[{"declaring":"WeekFields","name":"ISO","type":"WeekFields"},{"declaring":"WeekFields","name":"SUNDAY_START","type":"WeekFields"},{"declaring":"WeekFields","name":"WEEK_BASED_YEARS","type":"TemporalUnit"}],"fields":[]},{"name":"ZoneOffsetTransition","imported":true,"constructors":[],"static_methods":[{"declaring":"ZoneOffsetTransition","name":"of","return":"ZoneOffsetTransition","parameters":["LocalDateTime","ZoneOffset","ZoneOffset"]}],"methods":[{"declaring":"ZoneOffsetTransition","name":"compareTo","return":"int","parameters":["ZoneOffsetTransition"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ZoneOffsetTransition","name":"getDateTimeAfter","return":"LocalDateTime","parameters":[]},{"declaring":"ZoneOffsetTransition","name":"getDateTimeBefore","return":"LocalDateTime","parameters":[]},{"declaring":"ZoneOffsetTransition","name":"getDuration","return":"Duration","parameters":[]},{"declaring":"ZoneOffsetTransition","name":"getInstant","return":"Instant","parameters":[]},{"declaring":"ZoneOffsetTransition","name":"getOffsetAfter","return":"ZoneOffset","parameters":[]},{"declaring":"ZoneOffsetTransition","name":"getOffsetBefore","return":"ZoneOffset","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"ZoneOffsetTransition","name":"isGap","return":"boolean","parameters":[]},{"declaring":"ZoneOffsetTransition","name":"isOverlap","return":"boolean","parameters":[]},{"declaring":"ZoneOffsetTransition","name":"isValidOffset","return":"boolean","parameters":["ZoneOffset"]},{"declaring":"ZoneOffsetTransition","name":"toEpochSecond","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ZoneOffsetTransitionRule","imported":true,"constructors":[],"static_methods":[{"declaring":"ZoneOffsetTransitionRule","name":"of","return":"ZoneOffsetTransitionRule","parameters":["Month","int","DayOfWeek","LocalTime","boolean","ZoneOffsetTransitionRule.TimeDefinition","ZoneOffset","ZoneOffset","ZoneOffset"]}],"methods":[{"declaring":"ZoneOffsetTransitionRule","name":"createTransition","return":"ZoneOffsetTransition","parameters":["int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ZoneOffsetTransitionRule","name":"getDayOfMonthIndicator","return":"int","parameters":[]},{"declaring":"ZoneOffsetTransitionRule","name":"getDayOfWeek","return":"DayOfWeek","parameters":[]},{"declaring":"ZoneOffsetTransitionRule","name":"getLocalTime","return":"LocalTime","parameters":[]},{"declaring":"ZoneOffsetTransitionRule","name":"getMonth","return":"Month","parameters":[]},{"declaring":"ZoneOffsetTransitionRule","name":"getOffsetAfter","return":"ZoneOffset","parameters":[]},{"declaring":"ZoneOffsetTransitionRule","name":"getOffsetBefore","return":"ZoneOffset","parameters":[]},{"declaring":"ZoneOffsetTransitionRule","name":"getStandardOffset","return":"ZoneOffset","parameters":[]},{"declaring":"ZoneOffsetTransitionRule","name":"getTimeDefinition","return":"ZoneOffsetTransitionRule.TimeDefinition","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"ZoneOffsetTransitionRule","name":"isMidnightEndOfDay","return":"boolean","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ZoneOffsetTransitionRule.TimeDefinition","imported":true,"constructors":[],"static_methods":[{"declaring":"ZoneOffsetTransitionRule.TimeDefinition","name":"valueOf","return":"ZoneOffsetTransitionRule.TimeDefinition","parameters":["String"]},{"declaring":"ZoneOffsetTransitionRule.TimeDefinition","name":"values","return":"ZoneOffsetTransitionRule.TimeDefinition[]","parameters":[]}],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"ZoneOffsetTransitionRule.TimeDefinition","name":"createDateTime","return":"LocalDateTime","parameters":["LocalDateTime","ZoneOffset","ZoneOffset"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"ZoneOffsetTransitionRule.TimeDefinition","name":"STANDARD","type":"ZoneOffsetTransitionRule.TimeDefinition"},{"declaring":"ZoneOffsetTransitionRule.TimeDefinition","name":"UTC","type":"ZoneOffsetTransitionRule.TimeDefinition"},{"declaring":"ZoneOffsetTransitionRule.TimeDefinition","name":"WALL","type":"ZoneOffsetTransitionRule.TimeDefinition"}],"fields":[]},{"name":"ZoneRules","imported":true,"constructors":[],"static_methods":[{"declaring":"ZoneRules","name":"of","return":"ZoneRules","parameters":["ZoneOffset"]},{"declaring":"ZoneRules","name":"of","return":"ZoneRules","parameters":["ZoneOffset","ZoneOffset","List","List","List"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ZoneRules","name":"getDaylightSavings","return":"Duration","parameters":["Instant"]},{"declaring":"ZoneRules","name":"getOffset","return":"ZoneOffset","parameters":["Instant"]},{"declaring":"ZoneRules","name":"getStandardOffset","return":"ZoneOffset","parameters":["Instant"]},{"declaring":"ZoneRules","name":"getTransition","return":"ZoneOffsetTransition","parameters":["LocalDateTime"]},{"declaring":"ZoneRules","name":"getTransitionRules","return":"List","parameters":[]},{"declaring":"ZoneRules","name":"getTransitions","return":"List","parameters":[]},{"declaring":"ZoneRules","name":"getValidOffsets","return":"List","parameters":["LocalDateTime"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"ZoneRules","name":"isDaylightSavings","return":"boolean","parameters":["Instant"]},{"declaring":"ZoneRules","name":"isFixedOffset","return":"boolean","parameters":[]},{"declaring":"ZoneRules","name":"isValidOffset","return":"boolean","parameters":["LocalDateTime","ZoneOffset"]},{"declaring":"ZoneRules","name":"nextTransition","return":"ZoneOffsetTransition","parameters":["Instant"]},{"declaring":"ZoneRules","name":"previousTransition","return":"ZoneOffsetTransition","parameters":["Instant"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ZoneRulesException","imported":true,"constructors":[{"declaring":"ZoneRulesException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ZoneRulesProvider","imported":true,"constructors":[],"static_methods":[{"declaring":"ZoneRulesProvider","name":"getAvailableZoneIds","return":"Set","parameters":[]},{"declaring":"ZoneRulesProvider","name":"getRules","return":"ZoneRules","parameters":["String","boolean"]},{"declaring":"ZoneRulesProvider","name":"getVersions","return":"NavigableMap","parameters":["String"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AbstractCollection","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AbstractList","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"List","name":"get","return":"def","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AbstractMap","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Map","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["BiFunction"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","BiFunction"]},{"declaring":"Map","name":"compute","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"computeIfAbsent","return":"def","parameters":["def","Function"]},{"declaring":"Map","name":"computeIfPresent","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"containsKey","return":"boolean","parameters":["def"]},{"declaring":"Map","name":"containsValue","return":"boolean","parameters":["def"]},{"declaring":null,"name":"count","return":"int","parameters":["BiPredicate"]},{"declaring":null,"name":"each","return":"def","parameters":["BiConsumer"]},{"declaring":"Map","name":"entrySet","return":"Set","parameters":[]},{"declaring":"Map","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["BiPredicate"]},{"declaring":null,"name":"find","return":"Map.Entry","parameters":["BiPredicate"]},{"declaring":null,"name":"findAll","return":"Map","parameters":["BiPredicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["BiFunction"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","BiFunction"]},{"declaring":null,"name":"findResults","return":"List","parameters":["BiFunction"]},{"declaring":"Map","name":"forEach","return":"void","parameters":["BiConsumer"]},{"declaring":"Map","name":"get","return":"def","parameters":["def"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"Map","name":"getOrDefault","return":"def","parameters":["def","def"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["BiFunction"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Map","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Map","name":"keySet","return":"Set","parameters":[]},{"declaring":"Map","name":"merge","return":"def","parameters":["def","def","BiFunction"]},{"declaring":"Map","name":"put","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"putAll","return":"void","parameters":["Map"]},{"declaring":"Map","name":"putIfAbsent","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"remove","return":"def","parameters":["def"]},{"declaring":"Map","name":"remove","return":"boolean","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"boolean","parameters":["def","def","def"]},{"declaring":"Map","name":"replaceAll","return":"void","parameters":["BiFunction"]},{"declaring":"Map","name":"size","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Map","name":"values","return":"Collection","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AbstractMap.SimpleEntry","imported":true,"constructors":[{"declaring":"AbstractMap.SimpleEntry","parameters":["Map.Entry"]},{"declaring":"AbstractMap.SimpleEntry","parameters":["def","def"]}],"static_methods":[],"methods":[{"declaring":"Map.Entry","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Map.Entry","name":"getKey","return":"def","parameters":[]},{"declaring":"Map.Entry","name":"getValue","return":"def","parameters":[]},{"declaring":"Map.Entry","name":"hashCode","return":"int","parameters":[]},{"declaring":"Map.Entry","name":"setValue","return":"def","parameters":["def"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AbstractMap.SimpleImmutableEntry","imported":true,"constructors":[{"declaring":"AbstractMap.SimpleImmutableEntry","parameters":["Map.Entry"]},{"declaring":"AbstractMap.SimpleImmutableEntry","parameters":["def","def"]}],"static_methods":[],"methods":[{"declaring":"Map.Entry","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Map.Entry","name":"getKey","return":"def","parameters":[]},{"declaring":"Map.Entry","name":"getValue","return":"def","parameters":[]},{"declaring":"Map.Entry","name":"hashCode","return":"int","parameters":[]},{"declaring":"Map.Entry","name":"setValue","return":"def","parameters":["def"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AbstractQueue","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Queue","name":"element","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Queue","name":"offer","return":"boolean","parameters":["def"]},{"declaring":"Queue","name":"peek","return":"def","parameters":[]},{"declaring":"Queue","name":"poll","return":"def","parameters":[]},{"declaring":"Queue","name":"remove","return":"def","parameters":[]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AbstractSequentialList","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"List","name":"get","return":"def","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"AbstractSet","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Set","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Set","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Set","name":"remove","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ArrayDeque","imported":true,"constructors":[{"declaring":"ArrayDeque","parameters":[]},{"declaring":"ArrayDeque","parameters":["Collection"]}],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"Deque","name":"addFirst","return":"void","parameters":["def"]},{"declaring":"Deque","name":"addLast","return":"void","parameters":["def"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":"ArrayDeque","name":"clone","return":"ArrayDeque","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":"Deque","name":"descendingIterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Queue","name":"element","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"Deque","name":"getFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"getLast","return":"def","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Queue","name":"offer","return":"boolean","parameters":["def"]},{"declaring":"Deque","name":"offerFirst","return":"boolean","parameters":["def"]},{"declaring":"Deque","name":"offerLast","return":"boolean","parameters":["def"]},{"declaring":"Queue","name":"peek","return":"def","parameters":[]},{"declaring":"Deque","name":"peekFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"peekLast","return":"def","parameters":[]},{"declaring":"Queue","name":"poll","return":"def","parameters":[]},{"declaring":"Deque","name":"pollFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"pollLast","return":"def","parameters":[]},{"declaring":"Deque","name":"pop","return":"def","parameters":[]},{"declaring":"Deque","name":"push","return":"void","parameters":["def"]},{"declaring":"Queue","name":"remove","return":"def","parameters":[]},{"declaring":"Deque","name":"remove","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Deque","name":"removeFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"removeFirstOccurrence","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Deque","name":"removeLast","return":"def","parameters":[]},{"declaring":"Deque","name":"removeLastOccurrence","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ArrayList","imported":true,"constructors":[{"declaring":"ArrayList","parameters":[]},{"declaring":"ArrayList","parameters":["Collection"]}],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":"ArrayList","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"List","name":"get","return":"def","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"ArrayList","name":"trimToSize","return":"void","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Arrays","imported":true,"constructors":[],"static_methods":[{"declaring":"Arrays","name":"asList","return":"List","parameters":["Object[]"]},{"declaring":"Arrays","name":"deepEquals","return":"boolean","parameters":["Object[]","Object[]"]},{"declaring":"Arrays","name":"deepHashCode","return":"int","parameters":["Object[]"]},{"declaring":"Arrays","name":"deepToString","return":"String","parameters":["Object[]"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Base64","imported":true,"constructors":[],"static_methods":[{"declaring":"Base64","name":"getDecoder","return":"Base64.Decoder","parameters":[]},{"declaring":"Base64","name":"getEncoder","return":"Base64.Encoder","parameters":[]},{"declaring":"Base64","name":"getMimeDecoder","return":"Base64.Decoder","parameters":[]},{"declaring":"Base64","name":"getMimeEncoder","return":"Base64.Encoder","parameters":[]},{"declaring":"Base64","name":"getMimeEncoder","return":"Base64.Encoder","parameters":["int","byte[]"]},{"declaring":"Base64","name":"getUrlDecoder","return":"Base64.Decoder","parameters":[]},{"declaring":"Base64","name":"getUrlEncoder","return":"Base64.Encoder","parameters":[]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Base64.Decoder","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Base64.Decoder","name":"decode","return":"byte[]","parameters":["String"]},{"declaring":"Base64.Decoder","name":"decode","return":"int","parameters":["byte[]","byte[]"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Base64.Encoder","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Base64.Encoder","name":"encode","return":"int","parameters":["byte[]","byte[]"]},{"declaring":"Base64.Encoder","name":"encodeToString","return":"String","parameters":["byte[]"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Base64.Encoder","name":"withoutPadding","return":"Base64.Encoder","parameters":[]}],"static_fields":[],"fields":[]},{"name":"BitSet","imported":true,"constructors":[{"declaring":"BitSet","parameters":[]},{"declaring":"BitSet","parameters":["int"]}],"static_methods":[{"declaring":"BitSet","name":"valueOf","return":"BitSet","parameters":["long[]"]}],"methods":[{"declaring":"BitSet","name":"and","return":"void","parameters":["BitSet"]},{"declaring":"BitSet","name":"andNot","return":"void","parameters":["BitSet"]},{"declaring":"BitSet","name":"cardinality","return":"int","parameters":[]},{"declaring":"BitSet","name":"clear","return":"void","parameters":[]},{"declaring":"BitSet","name":"clear","return":"void","parameters":["int"]},{"declaring":"BitSet","name":"clear","return":"void","parameters":["int","int"]},{"declaring":"BitSet","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"BitSet","name":"flip","return":"void","parameters":["int"]},{"declaring":"BitSet","name":"flip","return":"void","parameters":["int","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"BitSet","name":"intersects","return":"boolean","parameters":["BitSet"]},{"declaring":"BitSet","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"BitSet","name":"length","return":"int","parameters":[]},{"declaring":"BitSet","name":"nextClearBit","return":"int","parameters":["int"]},{"declaring":"BitSet","name":"nextSetBit","return":"int","parameters":["int"]},{"declaring":"BitSet","name":"or","return":"void","parameters":["BitSet"]},{"declaring":"BitSet","name":"previousClearBit","return":"int","parameters":["int"]},{"declaring":"BitSet","name":"previousSetBit","return":"int","parameters":["int"]},{"declaring":"BitSet","name":"set","return":"void","parameters":["int"]},{"declaring":"BitSet","name":"set","return":"void","parameters":["int","int"]},{"declaring":"BitSet","name":"set","return":"void","parameters":["int","int","boolean"]},{"declaring":"BitSet","name":"size","return":"int","parameters":[]},{"declaring":"BitSet","name":"toByteArray","return":"byte[]","parameters":[]},{"declaring":"BitSet","name":"toLongArray","return":"long[]","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"BitSet","name":"xor","return":"void","parameters":["BitSet"]}],"static_fields":[],"fields":[]},{"name":"Calendar","imported":true,"constructors":[],"static_methods":[{"declaring":"Calendar","name":"getAvailableCalendarTypes","return":"Set","parameters":[]},{"declaring":"Calendar","name":"getAvailableLocales","return":"Locale[]","parameters":[]},{"declaring":"Calendar","name":"getInstance","return":"Calendar","parameters":[]},{"declaring":"Calendar","name":"getInstance","return":"Calendar","parameters":["TimeZone"]},{"declaring":"Calendar","name":"getInstance","return":"Calendar","parameters":["TimeZone","Locale"]}],"methods":[{"declaring":"Calendar","name":"add","return":"void","parameters":["int","int"]},{"declaring":"Calendar","name":"after","return":"boolean","parameters":["Object"]},{"declaring":"Calendar","name":"before","return":"boolean","parameters":["Object"]},{"declaring":"Calendar","name":"clear","return":"void","parameters":[]},{"declaring":"Calendar","name":"clear","return":"void","parameters":["int"]},{"declaring":"Calendar","name":"clone","return":"def","parameters":[]},{"declaring":"Calendar","name":"compareTo","return":"int","parameters":["Calendar"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Calendar","name":"get","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getActualMaximum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getActualMinimum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getCalendarType","return":"String","parameters":[]},{"declaring":"Calendar","name":"getDisplayName","return":"String","parameters":["int","int","Locale"]},{"declaring":"Calendar","name":"getDisplayNames","return":"Map","parameters":["int","int","Locale"]},{"declaring":"Calendar","name":"getFirstDayOfWeek","return":"int","parameters":[]},{"declaring":"Calendar","name":"getGreatestMinimum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getLeastMaximum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getMaximum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getMinimalDaysInFirstWeek","return":"int","parameters":[]},{"declaring":"Calendar","name":"getMinimum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getTime","return":"Date","parameters":[]},{"declaring":"Calendar","name":"getTimeInMillis","return":"long","parameters":[]},{"declaring":"Calendar","name":"getTimeZone","return":"TimeZone","parameters":[]},{"declaring":"Calendar","name":"getWeekYear","return":"int","parameters":[]},{"declaring":"Calendar","name":"getWeeksInWeekYear","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Calendar","name":"isLenient","return":"boolean","parameters":[]},{"declaring":"Calendar","name":"isSet","return":"boolean","parameters":["int"]},{"declaring":"Calendar","name":"isWeekDateSupported","return":"boolean","parameters":[]},{"declaring":"Calendar","name":"roll","return":"void","parameters":["int","int"]},{"declaring":"Calendar","name":"set","return":"void","parameters":["int","int"]},{"declaring":"Calendar","name":"set","return":"void","parameters":["int","int","int"]},{"declaring":"Calendar","name":"set","return":"void","parameters":["int","int","int","int","int"]},{"declaring":"Calendar","name":"set","return":"void","parameters":["int","int","int","int","int","int"]},{"declaring":"Calendar","name":"setFirstDayOfWeek","return":"void","parameters":["int"]},{"declaring":"Calendar","name":"setLenient","return":"void","parameters":["boolean"]},{"declaring":"Calendar","name":"setMinimalDaysInFirstWeek","return":"void","parameters":["int"]},{"declaring":"Calendar","name":"setTime","return":"void","parameters":["Date"]},{"declaring":"Calendar","name":"setTimeInMillis","return":"void","parameters":["long"]},{"declaring":"Calendar","name":"setTimeZone","return":"void","parameters":["TimeZone"]},{"declaring":"Calendar","name":"setWeekDate","return":"void","parameters":["int","int","int"]},{"declaring":"Calendar","name":"toInstant","return":"Instant","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Calendar","name":"ALL_STYLES","type":"int"},{"declaring":"Calendar","name":"AM","type":"int"},{"declaring":"Calendar","name":"AM_PM","type":"int"},{"declaring":"Calendar","name":"APRIL","type":"int"},{"declaring":"Calendar","name":"AUGUST","type":"int"},{"declaring":"Calendar","name":"DATE","type":"int"},{"declaring":"Calendar","name":"DAY_OF_MONTH","type":"int"},{"declaring":"Calendar","name":"DAY_OF_WEEK","type":"int"},{"declaring":"Calendar","name":"DAY_OF_WEEK_IN_MONTH","type":"int"},{"declaring":"Calendar","name":"DAY_OF_YEAR","type":"int"},{"declaring":"Calendar","name":"DECEMBER","type":"int"},{"declaring":"Calendar","name":"DST_OFFSET","type":"int"},{"declaring":"Calendar","name":"ERA","type":"int"},{"declaring":"Calendar","name":"FEBRUARY","type":"int"},{"declaring":"Calendar","name":"FIELD_COUNT","type":"int"},{"declaring":"Calendar","name":"FRIDAY","type":"int"},{"declaring":"Calendar","name":"HOUR","type":"int"},{"declaring":"Calendar","name":"HOUR_OF_DAY","type":"int"},{"declaring":"Calendar","name":"JANUARY","type":"int"},{"declaring":"Calendar","name":"JULY","type":"int"},{"declaring":"Calendar","name":"JUNE","type":"int"},{"declaring":"Calendar","name":"LONG","type":"int"},{"declaring":"Calendar","name":"LONG_FORMAT","type":"int"},{"declaring":"Calendar","name":"LONG_STANDALONE","type":"int"},{"declaring":"Calendar","name":"MARCH","type":"int"},{"declaring":"Calendar","name":"MAY","type":"int"},{"declaring":"Calendar","name":"MILLISECOND","type":"int"},{"declaring":"Calendar","name":"MINUTE","type":"int"},{"declaring":"Calendar","name":"MONDAY","type":"int"},{"declaring":"Calendar","name":"MONTH","type":"int"},{"declaring":"Calendar","name":"NARROW_FORMAT","type":"int"},{"declaring":"Calendar","name":"NARROW_STANDALONE","type":"int"},{"declaring":"Calendar","name":"NOVEMBER","type":"int"},{"declaring":"Calendar","name":"OCTOBER","type":"int"},{"declaring":"Calendar","name":"PM","type":"int"},{"declaring":"Calendar","name":"SATURDAY","type":"int"},{"declaring":"Calendar","name":"SECOND","type":"int"},{"declaring":"Calendar","name":"SEPTEMBER","type":"int"},{"declaring":"Calendar","name":"SHORT","type":"int"},{"declaring":"Calendar","name":"SHORT_FORMAT","type":"int"},{"declaring":"Calendar","name":"SHORT_STANDALONE","type":"int"},{"declaring":"Calendar","name":"SUNDAY","type":"int"},{"declaring":"Calendar","name":"THURSDAY","type":"int"},{"declaring":"Calendar","name":"TUESDAY","type":"int"},{"declaring":"Calendar","name":"UNDECIMBER","type":"int"},{"declaring":"Calendar","name":"WEDNESDAY","type":"int"},{"declaring":"Calendar","name":"WEEK_OF_MONTH","type":"int"},{"declaring":"Calendar","name":"WEEK_OF_YEAR","type":"int"},{"declaring":"Calendar","name":"YEAR","type":"int"},{"declaring":"Calendar","name":"ZONE_OFFSET","type":"int"}],"fields":[]},{"name":"Calendar.Builder","imported":true,"constructors":[{"declaring":"Calendar.Builder","parameters":[]}],"static_methods":[],"methods":[{"declaring":"Calendar.Builder","name":"build","return":"Calendar","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Calendar.Builder","name":"set","return":"Calendar.Builder","parameters":["int","int"]},{"declaring":"Calendar.Builder","name":"setCalendarType","return":"Calendar.Builder","parameters":["String"]},{"declaring":"Calendar.Builder","name":"setDate","return":"Calendar.Builder","parameters":["int","int","int"]},{"declaring":"Calendar.Builder","name":"setFields","return":"Calendar.Builder","parameters":["int[]"]},{"declaring":"Calendar.Builder","name":"setInstant","return":"Calendar.Builder","parameters":["long"]},{"declaring":"Calendar.Builder","name":"setLenient","return":"Calendar.Builder","parameters":["boolean"]},{"declaring":"Calendar.Builder","name":"setLocale","return":"Calendar.Builder","parameters":["Locale"]},{"declaring":"Calendar.Builder","name":"setTimeOfDay","return":"Calendar.Builder","parameters":["int","int","int"]},{"declaring":"Calendar.Builder","name":"setTimeOfDay","return":"Calendar.Builder","parameters":["int","int","int","int"]},{"declaring":"Calendar.Builder","name":"setTimeZone","return":"Calendar.Builder","parameters":["TimeZone"]},{"declaring":"Calendar.Builder","name":"setWeekDate","return":"Calendar.Builder","parameters":["int","int","int"]},{"declaring":"Calendar.Builder","name":"setWeekDefinition","return":"Calendar.Builder","parameters":["int","int"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Collection","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Collections","imported":true,"constructors":[],"static_methods":[{"declaring":"Collections","name":"addAll","return":"boolean","parameters":["Collection","def[]"]},{"declaring":"Collections","name":"asLifoQueue","return":"Queue","parameters":["Deque"]},{"declaring":"Collections","name":"binarySearch","return":"int","parameters":["List","def"]},{"declaring":"Collections","name":"binarySearch","return":"int","parameters":["List","def","Comparator"]},{"declaring":"Collections","name":"copy","return":"void","parameters":["List","List"]},{"declaring":"Collections","name":"disjoint","return":"boolean","parameters":["Collection","Collection"]},{"declaring":"Collections","name":"emptyEnumeration","return":"Enumeration","parameters":[]},{"declaring":"Collections","name":"emptyIterator","return":"Iterator","parameters":[]},{"declaring":"Collections","name":"emptyList","return":"List","parameters":[]},{"declaring":"Collections","name":"emptyListIterator","return":"ListIterator","parameters":[]},{"declaring":"Collections","name":"emptyMap","return":"Map","parameters":[]},{"declaring":"Collections","name":"emptyNavigableMap","return":"NavigableMap","parameters":[]},{"declaring":"Collections","name":"emptyNavigableSet","return":"NavigableSet","parameters":[]},{"declaring":"Collections","name":"emptySet","return":"Set","parameters":[]},{"declaring":"Collections","name":"emptySortedMap","return":"SortedMap","parameters":[]},{"declaring":"Collections","name":"emptySortedSet","return":"SortedSet","parameters":[]},{"declaring":"Collections","name":"enumeration","return":"Enumeration","parameters":["Collection"]},{"declaring":"Collections","name":"fill","return":"void","parameters":["List","def"]},{"declaring":"Collections","name":"frequency","return":"int","parameters":["Collection","def"]},{"declaring":"Collections","name":"indexOfSubList","return":"int","parameters":["List","List"]},{"declaring":"Collections","name":"lastIndexOfSubList","return":"int","parameters":["List","List"]},{"declaring":"Collections","name":"list","return":"ArrayList","parameters":["Enumeration"]},{"declaring":"Collections","name":"max","return":"def","parameters":["Collection"]},{"declaring":"Collections","name":"max","return":"def","parameters":["Collection","Comparator"]},{"declaring":"Collections","name":"min","return":"def","parameters":["Collection"]},{"declaring":"Collections","name":"min","return":"def","parameters":["Collection","Comparator"]},{"declaring":"Collections","name":"nCopies","return":"List","parameters":["int","def"]},{"declaring":"Collections","name":"newSetFromMap","return":"Set","parameters":["Map"]},{"declaring":"Collections","name":"replaceAll","return":"boolean","parameters":["List","def","def"]},{"declaring":"Collections","name":"reverse","return":"void","parameters":["List"]},{"declaring":"Collections","name":"reverseOrder","return":"Comparator","parameters":[]},{"declaring":"Collections","name":"reverseOrder","return":"Comparator","parameters":["Comparator"]},{"declaring":"Collections","name":"rotate","return":"void","parameters":["List","int"]},{"declaring":"Collections","name":"shuffle","return":"void","parameters":["List"]},{"declaring":"Collections","name":"shuffle","return":"void","parameters":["List","Random"]},{"declaring":"Collections","name":"singleton","return":"Set","parameters":["def"]},{"declaring":"Collections","name":"singletonList","return":"List","parameters":["def"]},{"declaring":"Collections","name":"singletonMap","return":"Map","parameters":["def","def"]},{"declaring":"Collections","name":"sort","return":"void","parameters":["List"]},{"declaring":"Collections","name":"sort","return":"void","parameters":["List","Comparator"]},{"declaring":"Collections","name":"swap","return":"void","parameters":["List","int","int"]},{"declaring":"Collections","name":"unmodifiableCollection","return":"Collection","parameters":["Collection"]},{"declaring":"Collections","name":"unmodifiableList","return":"List","parameters":["List"]},{"declaring":"Collections","name":"unmodifiableMap","return":"Map","parameters":["Map"]},{"declaring":"Collections","name":"unmodifiableNavigableMap","return":"NavigableMap","parameters":["NavigableMap"]},{"declaring":"Collections","name":"unmodifiableNavigableSet","return":"NavigableSet","parameters":["NavigableSet"]},{"declaring":"Collections","name":"unmodifiableSet","return":"Set","parameters":["Set"]},{"declaring":"Collections","name":"unmodifiableSortedMap","return":"SortedMap","parameters":["SortedMap"]},{"declaring":"Collections","name":"unmodifiableSortedSet","return":"SortedSet","parameters":["SortedSet"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Collections","name":"EMPTY_LIST","type":"List"},{"declaring":"Collections","name":"EMPTY_MAP","type":"Map"},{"declaring":"Collections","name":"EMPTY_SET","type":"Set"}],"fields":[]},{"name":"Comparator","imported":true,"constructors":[],"static_methods":[{"declaring":"Comparator","name":"comparing","return":"Comparator","parameters":["Function"]},{"declaring":"Comparator","name":"comparing","return":"Comparator","parameters":["Function","Comparator"]},{"declaring":"Comparator","name":"comparingDouble","return":"Comparator","parameters":["ToDoubleFunction"]},{"declaring":"Comparator","name":"comparingInt","return":"Comparator","parameters":["ToIntFunction"]},{"declaring":"Comparator","name":"comparingLong","return":"Comparator","parameters":["ToLongFunction"]},{"declaring":"Comparator","name":"naturalOrder","return":"Comparator","parameters":[]},{"declaring":"Comparator","name":"nullsFirst","return":"Comparator","parameters":["Comparator"]},{"declaring":"Comparator","name":"nullsLast","return":"Comparator","parameters":["Comparator"]},{"declaring":"Comparator","name":"reverseOrder","return":"Comparator","parameters":[]}],"methods":[{"declaring":"Comparator","name":"compare","return":"int","parameters":["def","def"]},{"declaring":"Comparator","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Comparator","name":"reversed","return":"Comparator","parameters":[]},{"declaring":"Comparator","name":"thenComparing","return":"Comparator","parameters":["Comparator"]},{"declaring":"Comparator","name":"thenComparing","return":"Comparator","parameters":["Function","Comparator"]},{"declaring":"Comparator","name":"thenComparingDouble","return":"Comparator","parameters":["ToDoubleFunction"]},{"declaring":"Comparator","name":"thenComparingInt","return":"Comparator","parameters":["ToIntFunction"]},{"declaring":"Comparator","name":"thenComparingLong","return":"Comparator","parameters":["ToLongFunction"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ConcurrentModificationException","imported":true,"constructors":[{"declaring":"ConcurrentModificationException","parameters":[]},{"declaring":"ConcurrentModificationException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Currency","imported":true,"constructors":[],"static_methods":[{"declaring":"Currency","name":"getAvailableCurrencies","return":"Set","parameters":[]},{"declaring":"Currency","name":"getInstance","return":"Currency","parameters":["String"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Currency","name":"getCurrencyCode","return":"String","parameters":[]},{"declaring":"Currency","name":"getDefaultFractionDigits","return":"int","parameters":[]},{"declaring":"Currency","name":"getDisplayName","return":"String","parameters":[]},{"declaring":"Currency","name":"getDisplayName","return":"String","parameters":["Locale"]},{"declaring":"Currency","name":"getNumericCode","return":"int","parameters":[]},{"declaring":"Currency","name":"getSymbol","return":"String","parameters":[]},{"declaring":"Currency","name":"getSymbol","return":"String","parameters":["Locale"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Date","imported":true,"constructors":[{"declaring":"Date","parameters":[]},{"declaring":"Date","parameters":["long"]}],"static_methods":[{"declaring":"Date","name":"from","return":"Date","parameters":["Instant"]}],"methods":[{"declaring":"Date","name":"after","return":"boolean","parameters":["Date"]},{"declaring":"Date","name":"before","return":"boolean","parameters":["Date"]},{"declaring":"Date","name":"clone","return":"def","parameters":[]},{"declaring":"Date","name":"compareTo","return":"int","parameters":["Date"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Date","name":"getTime","return":"long","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Date","name":"setTime","return":"void","parameters":["long"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Deque","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"Deque","name":"addFirst","return":"void","parameters":["def"]},{"declaring":"Deque","name":"addLast","return":"void","parameters":["def"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":"Deque","name":"descendingIterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Queue","name":"element","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"Deque","name":"getFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"getLast","return":"def","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Queue","name":"offer","return":"boolean","parameters":["def"]},{"declaring":"Deque","name":"offerFirst","return":"boolean","parameters":["def"]},{"declaring":"Deque","name":"offerLast","return":"boolean","parameters":["def"]},{"declaring":"Queue","name":"peek","return":"def","parameters":[]},{"declaring":"Deque","name":"peekFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"peekLast","return":"def","parameters":[]},{"declaring":"Queue","name":"poll","return":"def","parameters":[]},{"declaring":"Deque","name":"pollFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"pollLast","return":"def","parameters":[]},{"declaring":"Deque","name":"pop","return":"def","parameters":[]},{"declaring":"Deque","name":"push","return":"void","parameters":["def"]},{"declaring":"Queue","name":"remove","return":"def","parameters":[]},{"declaring":"Deque","name":"remove","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Deque","name":"removeFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"removeFirstOccurrence","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Deque","name":"removeLast","return":"def","parameters":[]},{"declaring":"Deque","name":"removeLastOccurrence","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Dictionary","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Dictionary","name":"elements","return":"Enumeration","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Dictionary","name":"get","return":"def","parameters":["def"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Dictionary","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Dictionary","name":"keys","return":"Enumeration","parameters":[]},{"declaring":"Dictionary","name":"put","return":"def","parameters":["def","def"]},{"declaring":"Dictionary","name":"remove","return":"def","parameters":["def"]},{"declaring":"Dictionary","name":"size","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoubleSummaryStatistics","imported":true,"constructors":[{"declaring":"DoubleSummaryStatistics","parameters":[]}],"static_methods":[],"methods":[{"declaring":"DoubleConsumer","name":"accept","return":"void","parameters":["double"]},{"declaring":"DoubleConsumer","name":"andThen","return":"DoubleConsumer","parameters":["DoubleConsumer"]},{"declaring":"DoubleSummaryStatistics","name":"combine","return":"void","parameters":["DoubleSummaryStatistics"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"DoubleSummaryStatistics","name":"getAverage","return":"double","parameters":[]},{"declaring":"DoubleSummaryStatistics","name":"getCount","return":"long","parameters":[]},{"declaring":"DoubleSummaryStatistics","name":"getMax","return":"double","parameters":[]},{"declaring":"DoubleSummaryStatistics","name":"getMin","return":"double","parameters":[]},{"declaring":"DoubleSummaryStatistics","name":"getSum","return":"double","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DuplicateFormatFlagsException","imported":true,"constructors":[{"declaring":"DuplicateFormatFlagsException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"DuplicateFormatFlagsException","name":"getFlags","return":"String","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"EmptyStackException","imported":true,"constructors":[{"declaring":"EmptyStackException","parameters":[]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Enumeration","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Enumeration","name":"hasMoreElements","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enumeration","name":"nextElement","return":"def","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"EventListener","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"EventListenerProxy","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"EventListenerProxy","name":"getListener","return":"EventListener","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"EventObject","imported":true,"constructors":[{"declaring":"EventObject","parameters":["Object"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"EventObject","name":"getSource","return":"Object","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"FormatFlagsConversionMismatchException","imported":true,"constructors":[{"declaring":"FormatFlagsConversionMismatchException","parameters":["String","char"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"FormatFlagsConversionMismatchException","name":"getConversion","return":"char","parameters":[]},{"declaring":"FormatFlagsConversionMismatchException","name":"getFlags","return":"String","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Formattable","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Formattable","name":"formatTo","return":"void","parameters":["Formatter","int","int","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"FormattableFlags","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"FormattableFlags","name":"ALTERNATE","type":"int"},{"declaring":"FormattableFlags","name":"LEFT_JUSTIFY","type":"int"},{"declaring":"FormattableFlags","name":"UPPERCASE","type":"int"}],"fields":[]},{"name":"Formatter","imported":true,"constructors":[{"declaring":"Formatter","parameters":[]},{"declaring":"Formatter","parameters":["Appendable"]},{"declaring":"Formatter","parameters":["Appendable","Locale"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Formatter","name":"format","return":"Formatter","parameters":["String","def[]"]},{"declaring":"Formatter","name":"format","return":"Formatter","parameters":["Locale","String","def[]"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Formatter","name":"locale","return":"Locale","parameters":[]},{"declaring":"Formatter","name":"out","return":"Appendable","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Formatter.BigDecimalLayoutForm","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Formatter.BigDecimalLayoutForm","name":"DECIMAL_FLOAT","type":"Formatter.BigDecimalLayoutForm"},{"declaring":"Formatter.BigDecimalLayoutForm","name":"SCIENTIFIC","type":"Formatter.BigDecimalLayoutForm"}],"fields":[]},{"name":"FormatterClosedException","imported":true,"constructors":[{"declaring":"FormatterClosedException","parameters":[]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"GregorianCalendar","imported":true,"constructors":[{"declaring":"GregorianCalendar","parameters":[]},{"declaring":"GregorianCalendar","parameters":["TimeZone"]},{"declaring":"GregorianCalendar","parameters":["TimeZone","Locale"]},{"declaring":"GregorianCalendar","parameters":["int","int","int"]},{"declaring":"GregorianCalendar","parameters":["int","int","int","int","int"]},{"declaring":"GregorianCalendar","parameters":["int","int","int","int","int","int"]}],"static_methods":[{"declaring":"GregorianCalendar","name":"from","return":"GregorianCalendar","parameters":["ZonedDateTime"]}],"methods":[{"declaring":"Calendar","name":"add","return":"void","parameters":["int","int"]},{"declaring":"Calendar","name":"after","return":"boolean","parameters":["Object"]},{"declaring":"Calendar","name":"before","return":"boolean","parameters":["Object"]},{"declaring":"Calendar","name":"clear","return":"void","parameters":[]},{"declaring":"Calendar","name":"clear","return":"void","parameters":["int"]},{"declaring":"Calendar","name":"clone","return":"def","parameters":[]},{"declaring":"Calendar","name":"compareTo","return":"int","parameters":["Calendar"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Calendar","name":"get","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getActualMaximum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getActualMinimum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getCalendarType","return":"String","parameters":[]},{"declaring":"Calendar","name":"getDisplayName","return":"String","parameters":["int","int","Locale"]},{"declaring":"Calendar","name":"getDisplayNames","return":"Map","parameters":["int","int","Locale"]},{"declaring":"Calendar","name":"getFirstDayOfWeek","return":"int","parameters":[]},{"declaring":"Calendar","name":"getGreatestMinimum","return":"int","parameters":["int"]},{"declaring":"GregorianCalendar","name":"getGregorianChange","return":"Date","parameters":[]},{"declaring":"Calendar","name":"getLeastMaximum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getMaximum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getMinimalDaysInFirstWeek","return":"int","parameters":[]},{"declaring":"Calendar","name":"getMinimum","return":"int","parameters":["int"]},{"declaring":"Calendar","name":"getTime","return":"Date","parameters":[]},{"declaring":"Calendar","name":"getTimeInMillis","return":"long","parameters":[]},{"declaring":"Calendar","name":"getTimeZone","return":"TimeZone","parameters":[]},{"declaring":"Calendar","name":"getWeekYear","return":"int","parameters":[]},{"declaring":"Calendar","name":"getWeeksInWeekYear","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"GregorianCalendar","name":"isLeapYear","return":"boolean","parameters":["int"]},{"declaring":"Calendar","name":"isLenient","return":"boolean","parameters":[]},{"declaring":"Calendar","name":"isSet","return":"boolean","parameters":["int"]},{"declaring":"Calendar","name":"isWeekDateSupported","return":"boolean","parameters":[]},{"declaring":"Calendar","name":"roll","return":"void","parameters":["int","int"]},{"declaring":"Calendar","name":"set","return":"void","parameters":["int","int"]},{"declaring":"Calendar","name":"set","return":"void","parameters":["int","int","int"]},{"declaring":"Calendar","name":"set","return":"void","parameters":["int","int","int","int","int"]},{"declaring":"Calendar","name":"set","return":"void","parameters":["int","int","int","int","int","int"]},{"declaring":"Calendar","name":"setFirstDayOfWeek","return":"void","parameters":["int"]},{"declaring":"GregorianCalendar","name":"setGregorianChange","return":"void","parameters":["Date"]},{"declaring":"Calendar","name":"setLenient","return":"void","parameters":["boolean"]},{"declaring":"Calendar","name":"setMinimalDaysInFirstWeek","return":"void","parameters":["int"]},{"declaring":"Calendar","name":"setTime","return":"void","parameters":["Date"]},{"declaring":"Calendar","name":"setTimeInMillis","return":"void","parameters":["long"]},{"declaring":"Calendar","name":"setTimeZone","return":"void","parameters":["TimeZone"]},{"declaring":"Calendar","name":"setWeekDate","return":"void","parameters":["int","int","int"]},{"declaring":"Calendar","name":"toInstant","return":"Instant","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"GregorianCalendar","name":"toZonedDateTime","return":"ZonedDateTime","parameters":[]}],"static_fields":[{"declaring":"GregorianCalendar","name":"AD","type":"int"},{"declaring":"GregorianCalendar","name":"BC","type":"int"}],"fields":[]},{"name":"HashMap","imported":true,"constructors":[{"declaring":"HashMap","parameters":[]},{"declaring":"HashMap","parameters":["Map"]}],"static_methods":[],"methods":[{"declaring":"Map","name":"clear","return":"void","parameters":[]},{"declaring":"HashMap","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["BiFunction"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","BiFunction"]},{"declaring":"Map","name":"compute","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"computeIfAbsent","return":"def","parameters":["def","Function"]},{"declaring":"Map","name":"computeIfPresent","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"containsKey","return":"boolean","parameters":["def"]},{"declaring":"Map","name":"containsValue","return":"boolean","parameters":["def"]},{"declaring":null,"name":"count","return":"int","parameters":["BiPredicate"]},{"declaring":null,"name":"each","return":"def","parameters":["BiConsumer"]},{"declaring":"Map","name":"entrySet","return":"Set","parameters":[]},{"declaring":"Map","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["BiPredicate"]},{"declaring":null,"name":"find","return":"Map.Entry","parameters":["BiPredicate"]},{"declaring":null,"name":"findAll","return":"Map","parameters":["BiPredicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["BiFunction"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","BiFunction"]},{"declaring":null,"name":"findResults","return":"List","parameters":["BiFunction"]},{"declaring":"Map","name":"forEach","return":"void","parameters":["BiConsumer"]},{"declaring":"Map","name":"get","return":"def","parameters":["def"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"Map","name":"getOrDefault","return":"def","parameters":["def","def"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["BiFunction"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Map","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Map","name":"keySet","return":"Set","parameters":[]},{"declaring":"Map","name":"merge","return":"def","parameters":["def","def","BiFunction"]},{"declaring":"Map","name":"put","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"putAll","return":"void","parameters":["Map"]},{"declaring":"Map","name":"putIfAbsent","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"remove","return":"def","parameters":["def"]},{"declaring":"Map","name":"remove","return":"boolean","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"boolean","parameters":["def","def","def"]},{"declaring":"Map","name":"replaceAll","return":"void","parameters":["BiFunction"]},{"declaring":"Map","name":"size","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Map","name":"values","return":"Collection","parameters":[]}],"static_fields":[],"fields":[]},{"name":"HashSet","imported":true,"constructors":[{"declaring":"HashSet","parameters":[]},{"declaring":"HashSet","parameters":["Collection"]}],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":"HashSet","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Set","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Set","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Set","name":"remove","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Hashtable","imported":true,"constructors":[{"declaring":"Hashtable","parameters":[]},{"declaring":"Hashtable","parameters":["Map"]}],"static_methods":[],"methods":[{"declaring":"Map","name":"clear","return":"void","parameters":[]},{"declaring":"Hashtable","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["BiFunction"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","BiFunction"]},{"declaring":"Map","name":"compute","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"computeIfAbsent","return":"def","parameters":["def","Function"]},{"declaring":"Map","name":"computeIfPresent","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"containsKey","return":"boolean","parameters":["def"]},{"declaring":"Map","name":"containsValue","return":"boolean","parameters":["def"]},{"declaring":null,"name":"count","return":"int","parameters":["BiPredicate"]},{"declaring":null,"name":"each","return":"def","parameters":["BiConsumer"]},{"declaring":"Dictionary","name":"elements","return":"Enumeration","parameters":[]},{"declaring":"Map","name":"entrySet","return":"Set","parameters":[]},{"declaring":"Map","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["BiPredicate"]},{"declaring":null,"name":"find","return":"Map.Entry","parameters":["BiPredicate"]},{"declaring":null,"name":"findAll","return":"Map","parameters":["BiPredicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["BiFunction"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","BiFunction"]},{"declaring":null,"name":"findResults","return":"List","parameters":["BiFunction"]},{"declaring":"Map","name":"forEach","return":"void","parameters":["BiConsumer"]},{"declaring":"Map","name":"get","return":"def","parameters":["def"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"Map","name":"getOrDefault","return":"def","parameters":["def","def"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["BiFunction"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Map","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Map","name":"keySet","return":"Set","parameters":[]},{"declaring":"Dictionary","name":"keys","return":"Enumeration","parameters":[]},{"declaring":"Map","name":"merge","return":"def","parameters":["def","def","BiFunction"]},{"declaring":"Map","name":"put","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"putAll","return":"void","parameters":["Map"]},{"declaring":"Map","name":"putIfAbsent","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"remove","return":"def","parameters":["def"]},{"declaring":"Map","name":"remove","return":"boolean","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"boolean","parameters":["def","def","def"]},{"declaring":"Map","name":"replaceAll","return":"void","parameters":["BiFunction"]},{"declaring":"Map","name":"size","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Map","name":"values","return":"Collection","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IdentityHashMap","imported":true,"constructors":[{"declaring":"IdentityHashMap","parameters":[]},{"declaring":"IdentityHashMap","parameters":["Map"]}],"static_methods":[],"methods":[{"declaring":"Map","name":"clear","return":"void","parameters":[]},{"declaring":"IdentityHashMap","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["BiFunction"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","BiFunction"]},{"declaring":"Map","name":"compute","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"computeIfAbsent","return":"def","parameters":["def","Function"]},{"declaring":"Map","name":"computeIfPresent","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"containsKey","return":"boolean","parameters":["def"]},{"declaring":"Map","name":"containsValue","return":"boolean","parameters":["def"]},{"declaring":null,"name":"count","return":"int","parameters":["BiPredicate"]},{"declaring":null,"name":"each","return":"def","parameters":["BiConsumer"]},{"declaring":"Map","name":"entrySet","return":"Set","parameters":[]},{"declaring":"Map","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["BiPredicate"]},{"declaring":null,"name":"find","return":"Map.Entry","parameters":["BiPredicate"]},{"declaring":null,"name":"findAll","return":"Map","parameters":["BiPredicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["BiFunction"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","BiFunction"]},{"declaring":null,"name":"findResults","return":"List","parameters":["BiFunction"]},{"declaring":"Map","name":"forEach","return":"void","parameters":["BiConsumer"]},{"declaring":"Map","name":"get","return":"def","parameters":["def"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"Map","name":"getOrDefault","return":"def","parameters":["def","def"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["BiFunction"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Map","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Map","name":"keySet","return":"Set","parameters":[]},{"declaring":"Map","name":"merge","return":"def","parameters":["def","def","BiFunction"]},{"declaring":"Map","name":"put","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"putAll","return":"void","parameters":["Map"]},{"declaring":"Map","name":"putIfAbsent","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"remove","return":"def","parameters":["def"]},{"declaring":"Map","name":"remove","return":"boolean","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"boolean","parameters":["def","def","def"]},{"declaring":"Map","name":"replaceAll","return":"void","parameters":["BiFunction"]},{"declaring":"Map","name":"size","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Map","name":"values","return":"Collection","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllegalFormatCodePointException","imported":true,"constructors":[{"declaring":"IllegalFormatCodePointException","parameters":["int"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"IllegalFormatCodePointException","name":"getCodePoint","return":"int","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllegalFormatConversionException","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"IllegalFormatConversionException","name":"getConversion","return":"char","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllegalFormatException","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllegalFormatFlagsException","imported":true,"constructors":[{"declaring":"IllegalFormatFlagsException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"IllegalFormatFlagsException","name":"getFlags","return":"String","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllegalFormatPrecisionException","imported":true,"constructors":[{"declaring":"IllegalFormatPrecisionException","parameters":["int"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":"IllegalFormatPrecisionException","name":"getPrecision","return":"int","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllegalFormatWidthException","imported":true,"constructors":[{"declaring":"IllegalFormatWidthException","parameters":["int"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"IllegalFormatWidthException","name":"getWidth","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IllformedLocaleException","imported":true,"constructors":[{"declaring":"IllformedLocaleException","parameters":[]},{"declaring":"IllformedLocaleException","parameters":["String"]},{"declaring":"IllformedLocaleException","parameters":["String","int"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"IllformedLocaleException","name":"getErrorIndex","return":"int","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"InputMismatchException","imported":true,"constructors":[{"declaring":"InputMismatchException","parameters":[]},{"declaring":"InputMismatchException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntSummaryStatistics","imported":true,"constructors":[{"declaring":"IntSummaryStatistics","parameters":[]}],"static_methods":[],"methods":[{"declaring":"IntConsumer","name":"accept","return":"void","parameters":["int"]},{"declaring":"IntConsumer","name":"andThen","return":"IntConsumer","parameters":["IntConsumer"]},{"declaring":"IntSummaryStatistics","name":"combine","return":"void","parameters":["IntSummaryStatistics"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"IntSummaryStatistics","name":"getAverage","return":"double","parameters":[]},{"declaring":"IntSummaryStatistics","name":"getCount","return":"long","parameters":[]},{"declaring":"IntSummaryStatistics","name":"getMax","return":"int","parameters":[]},{"declaring":"IntSummaryStatistics","name":"getMin","return":"int","parameters":[]},{"declaring":"IntSummaryStatistics","name":"getSum","return":"long","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Iterator","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Iterator","name":"forEachRemaining","return":"void","parameters":["Consumer"]},{"declaring":"Iterator","name":"hasNext","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Iterator","name":"next","return":"def","parameters":[]},{"declaring":"Iterator","name":"remove","return":"void","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LinkedHashMap","imported":true,"constructors":[{"declaring":"LinkedHashMap","parameters":[]},{"declaring":"LinkedHashMap","parameters":["Map"]}],"static_methods":[],"methods":[{"declaring":"Map","name":"clear","return":"void","parameters":[]},{"declaring":"HashMap","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["BiFunction"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","BiFunction"]},{"declaring":"Map","name":"compute","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"computeIfAbsent","return":"def","parameters":["def","Function"]},{"declaring":"Map","name":"computeIfPresent","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"containsKey","return":"boolean","parameters":["def"]},{"declaring":"Map","name":"containsValue","return":"boolean","parameters":["def"]},{"declaring":null,"name":"count","return":"int","parameters":["BiPredicate"]},{"declaring":null,"name":"each","return":"def","parameters":["BiConsumer"]},{"declaring":"Map","name":"entrySet","return":"Set","parameters":[]},{"declaring":"Map","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["BiPredicate"]},{"declaring":null,"name":"find","return":"Map.Entry","parameters":["BiPredicate"]},{"declaring":null,"name":"findAll","return":"Map","parameters":["BiPredicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["BiFunction"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","BiFunction"]},{"declaring":null,"name":"findResults","return":"List","parameters":["BiFunction"]},{"declaring":"Map","name":"forEach","return":"void","parameters":["BiConsumer"]},{"declaring":"Map","name":"get","return":"def","parameters":["def"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"Map","name":"getOrDefault","return":"def","parameters":["def","def"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["BiFunction"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Map","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Map","name":"keySet","return":"Set","parameters":[]},{"declaring":"Map","name":"merge","return":"def","parameters":["def","def","BiFunction"]},{"declaring":"Map","name":"put","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"putAll","return":"void","parameters":["Map"]},{"declaring":"Map","name":"putIfAbsent","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"remove","return":"def","parameters":["def"]},{"declaring":"Map","name":"remove","return":"boolean","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"boolean","parameters":["def","def","def"]},{"declaring":"Map","name":"replaceAll","return":"void","parameters":["BiFunction"]},{"declaring":"Map","name":"size","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Map","name":"values","return":"Collection","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LinkedHashSet","imported":true,"constructors":[{"declaring":"LinkedHashSet","parameters":[]},{"declaring":"LinkedHashSet","parameters":["Collection"]}],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":"HashSet","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Set","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Set","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Set","name":"remove","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LinkedList","imported":true,"constructors":[{"declaring":"LinkedList","parameters":[]},{"declaring":"LinkedList","parameters":["Collection"]}],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":"Deque","name":"addFirst","return":"void","parameters":["def"]},{"declaring":"Deque","name":"addLast","return":"void","parameters":["def"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":"LinkedList","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":"Deque","name":"descendingIterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Queue","name":"element","return":"def","parameters":[]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"List","name":"get","return":"def","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"Deque","name":"getFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"getLast","return":"def","parameters":[]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"Queue","name":"offer","return":"boolean","parameters":["def"]},{"declaring":"Deque","name":"offerFirst","return":"boolean","parameters":["def"]},{"declaring":"Deque","name":"offerLast","return":"boolean","parameters":["def"]},{"declaring":"Queue","name":"peek","return":"def","parameters":[]},{"declaring":"Deque","name":"peekFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"peekLast","return":"def","parameters":[]},{"declaring":"Queue","name":"poll","return":"def","parameters":[]},{"declaring":"Deque","name":"pollFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"pollLast","return":"def","parameters":[]},{"declaring":"Deque","name":"pop","return":"def","parameters":[]},{"declaring":"Deque","name":"push","return":"void","parameters":["def"]},{"declaring":"Queue","name":"remove","return":"def","parameters":[]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Deque","name":"removeFirst","return":"def","parameters":[]},{"declaring":"Deque","name":"removeFirstOccurrence","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Deque","name":"removeLast","return":"def","parameters":[]},{"declaring":"Deque","name":"removeLastOccurrence","return":"boolean","parameters":["def"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"List","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"List","name":"get","return":"def","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ListIterator","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ListIterator","name":"add","return":"void","parameters":["def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Iterator","name":"forEachRemaining","return":"void","parameters":["Consumer"]},{"declaring":"Iterator","name":"hasNext","return":"boolean","parameters":[]},{"declaring":"ListIterator","name":"hasPrevious","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Iterator","name":"next","return":"def","parameters":[]},{"declaring":"ListIterator","name":"nextIndex","return":"int","parameters":[]},{"declaring":"ListIterator","name":"previousIndex","return":"int","parameters":[]},{"declaring":"Iterator","name":"remove","return":"void","parameters":[]},{"declaring":"ListIterator","name":"set","return":"void","parameters":["def"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Locale","imported":true,"constructors":[{"declaring":"Locale","parameters":["String"]},{"declaring":"Locale","parameters":["String","String"]},{"declaring":"Locale","parameters":["String","String","String"]}],"static_methods":[{"declaring":"Locale","name":"filter","return":"List","parameters":["List","Collection"]},{"declaring":"Locale","name":"filterTags","return":"List","parameters":["List","Collection"]},{"declaring":"Locale","name":"forLanguageTag","return":"Locale","parameters":["String"]},{"declaring":"Locale","name":"getAvailableLocales","return":"Locale[]","parameters":[]},{"declaring":"Locale","name":"getDefault","return":"Locale","parameters":[]},{"declaring":"Locale","name":"getDefault","return":"Locale","parameters":["Locale.Category"]},{"declaring":"Locale","name":"getISOCountries","return":"String[]","parameters":[]},{"declaring":"Locale","name":"getISOLanguages","return":"String[]","parameters":[]},{"declaring":"Locale","name":"lookup","return":"Locale","parameters":["List","Collection"]},{"declaring":"Locale","name":"lookupTag","return":"String","parameters":["List","Collection"]}],"methods":[{"declaring":"Locale","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Locale","name":"getCountry","return":"String","parameters":[]},{"declaring":"Locale","name":"getDisplayCountry","return":"String","parameters":[]},{"declaring":"Locale","name":"getDisplayCountry","return":"String","parameters":["Locale"]},{"declaring":"Locale","name":"getDisplayLanguage","return":"String","parameters":[]},{"declaring":"Locale","name":"getDisplayLanguage","return":"String","parameters":["Locale"]},{"declaring":"Locale","name":"getDisplayName","return":"String","parameters":[]},{"declaring":"Locale","name":"getDisplayName","return":"String","parameters":["Locale"]},{"declaring":"Locale","name":"getDisplayScript","return":"String","parameters":[]},{"declaring":"Locale","name":"getDisplayScript","return":"String","parameters":["Locale"]},{"declaring":"Locale","name":"getDisplayVariant","return":"String","parameters":[]},{"declaring":"Locale","name":"getDisplayVariant","return":"String","parameters":["Locale"]},{"declaring":"Locale","name":"getExtension","return":"String","parameters":["char"]},{"declaring":"Locale","name":"getExtensionKeys","return":"Set","parameters":[]},{"declaring":"Locale","name":"getISO3Country","return":"String","parameters":[]},{"declaring":"Locale","name":"getISO3Language","return":"String","parameters":[]},{"declaring":"Locale","name":"getLanguage","return":"String","parameters":[]},{"declaring":"Locale","name":"getScript","return":"String","parameters":[]},{"declaring":"Locale","name":"getUnicodeLocaleAttributes","return":"Set","parameters":[]},{"declaring":"Locale","name":"getUnicodeLocaleKeys","return":"Set","parameters":[]},{"declaring":"Locale","name":"getUnicodeLocaleType","return":"String","parameters":["String"]},{"declaring":"Locale","name":"getVariant","return":"String","parameters":[]},{"declaring":"Locale","name":"hasExtensions","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Locale","name":"stripExtensions","return":"Locale","parameters":[]},{"declaring":"Locale","name":"toLanguageTag","return":"String","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Locale","name":"CANADA","type":"Locale"},{"declaring":"Locale","name":"CANADA_FRENCH","type":"Locale"},{"declaring":"Locale","name":"CHINA","type":"Locale"},{"declaring":"Locale","name":"CHINESE","type":"Locale"},{"declaring":"Locale","name":"ENGLISH","type":"Locale"},{"declaring":"Locale","name":"FRANCE","type":"Locale"},{"declaring":"Locale","name":"FRENCH","type":"Locale"},{"declaring":"Locale","name":"GERMAN","type":"Locale"},{"declaring":"Locale","name":"GERMANY","type":"Locale"},{"declaring":"Locale","name":"ITALIAN","type":"Locale"},{"declaring":"Locale","name":"ITALY","type":"Locale"},{"declaring":"Locale","name":"JAPAN","type":"Locale"},{"declaring":"Locale","name":"JAPANESE","type":"Locale"},{"declaring":"Locale","name":"KOREA","type":"Locale"},{"declaring":"Locale","name":"KOREAN","type":"Locale"},{"declaring":"Locale","name":"PRC","type":"Locale"},{"declaring":"Locale","name":"PRIVATE_USE_EXTENSION","type":"char"},{"declaring":"Locale","name":"ROOT","type":"Locale"},{"declaring":"Locale","name":"SIMPLIFIED_CHINESE","type":"Locale"},{"declaring":"Locale","name":"TAIWAN","type":"Locale"},{"declaring":"Locale","name":"TRADITIONAL_CHINESE","type":"Locale"},{"declaring":"Locale","name":"UK","type":"Locale"},{"declaring":"Locale","name":"UNICODE_LOCALE_EXTENSION","type":"char"},{"declaring":"Locale","name":"US","type":"Locale"}],"fields":[]},{"name":"Locale.Builder","imported":true,"constructors":[{"declaring":"Locale.Builder","parameters":[]}],"static_methods":[],"methods":[{"declaring":"Locale.Builder","name":"addUnicodeLocaleAttribute","return":"Locale.Builder","parameters":["String"]},{"declaring":"Locale.Builder","name":"build","return":"Locale","parameters":[]},{"declaring":"Locale.Builder","name":"clear","return":"Locale.Builder","parameters":[]},{"declaring":"Locale.Builder","name":"clearExtensions","return":"Locale.Builder","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Locale.Builder","name":"removeUnicodeLocaleAttribute","return":"Locale.Builder","parameters":["String"]},{"declaring":"Locale.Builder","name":"setExtension","return":"Locale.Builder","parameters":["char","String"]},{"declaring":"Locale.Builder","name":"setLanguage","return":"Locale.Builder","parameters":["String"]},{"declaring":"Locale.Builder","name":"setLanguageTag","return":"Locale.Builder","parameters":["String"]},{"declaring":"Locale.Builder","name":"setLocale","return":"Locale.Builder","parameters":["Locale"]},{"declaring":"Locale.Builder","name":"setRegion","return":"Locale.Builder","parameters":["String"]},{"declaring":"Locale.Builder","name":"setScript","return":"Locale.Builder","parameters":["String"]},{"declaring":"Locale.Builder","name":"setUnicodeLocaleKeyword","return":"Locale.Builder","parameters":["String","String"]},{"declaring":"Locale.Builder","name":"setVariant","return":"Locale.Builder","parameters":["String"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Locale.Category","imported":true,"constructors":[],"static_methods":[{"declaring":"Locale.Category","name":"valueOf","return":"Locale.Category","parameters":["String"]},{"declaring":"Locale.Category","name":"values","return":"Locale.Category[]","parameters":[]}],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Locale.Category","name":"DISPLAY","type":"Locale.Category"},{"declaring":"Locale.Category","name":"FORMAT","type":"Locale.Category"}],"fields":[]},{"name":"Locale.FilteringMode","imported":true,"constructors":[],"static_methods":[{"declaring":"Locale.FilteringMode","name":"valueOf","return":"Locale.FilteringMode","parameters":["String"]},{"declaring":"Locale.FilteringMode","name":"values","return":"Locale.FilteringMode[]","parameters":[]}],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Locale.FilteringMode","name":"AUTOSELECT_FILTERING","type":"Locale.FilteringMode"},{"declaring":"Locale.FilteringMode","name":"EXTENDED_FILTERING","type":"Locale.FilteringMode"},{"declaring":"Locale.FilteringMode","name":"IGNORE_EXTENDED_RANGES","type":"Locale.FilteringMode"},{"declaring":"Locale.FilteringMode","name":"MAP_EXTENDED_RANGES","type":"Locale.FilteringMode"},{"declaring":"Locale.FilteringMode","name":"REJECT_EXTENDED_RANGES","type":"Locale.FilteringMode"}],"fields":[]},{"name":"Locale.LanguageRange","imported":true,"constructors":[{"declaring":"Locale.LanguageRange","parameters":["String"]},{"declaring":"Locale.LanguageRange","parameters":["String","double"]}],"static_methods":[{"declaring":"Locale.LanguageRange","name":"mapEquivalents","return":"List","parameters":["List","Map"]},{"declaring":"Locale.LanguageRange","name":"parse","return":"List","parameters":["String"]},{"declaring":"Locale.LanguageRange","name":"parse","return":"List","parameters":["String","Map"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Locale.LanguageRange","name":"getRange","return":"String","parameters":[]},{"declaring":"Locale.LanguageRange","name":"getWeight","return":"double","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Locale.LanguageRange","name":"MAX_WEIGHT","type":"double"},{"declaring":"Locale.LanguageRange","name":"MIN_WEIGHT","type":"double"}],"fields":[]},{"name":"LongSummaryStatistics","imported":true,"constructors":[{"declaring":"LongSummaryStatistics","parameters":[]}],"static_methods":[],"methods":[{"declaring":"LongConsumer","name":"accept","return":"void","parameters":["long"]},{"declaring":"LongConsumer","name":"andThen","return":"LongConsumer","parameters":["LongConsumer"]},{"declaring":"LongSummaryStatistics","name":"combine","return":"void","parameters":["LongSummaryStatistics"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"LongSummaryStatistics","name":"getAverage","return":"double","parameters":[]},{"declaring":"LongSummaryStatistics","name":"getCount","return":"long","parameters":[]},{"declaring":"LongSummaryStatistics","name":"getMax","return":"long","parameters":[]},{"declaring":"LongSummaryStatistics","name":"getMin","return":"long","parameters":[]},{"declaring":"LongSummaryStatistics","name":"getSum","return":"long","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Map","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Map","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["BiFunction"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","BiFunction"]},{"declaring":"Map","name":"compute","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"computeIfAbsent","return":"def","parameters":["def","Function"]},{"declaring":"Map","name":"computeIfPresent","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"containsKey","return":"boolean","parameters":["def"]},{"declaring":"Map","name":"containsValue","return":"boolean","parameters":["def"]},{"declaring":null,"name":"count","return":"int","parameters":["BiPredicate"]},{"declaring":null,"name":"each","return":"def","parameters":["BiConsumer"]},{"declaring":"Map","name":"entrySet","return":"Set","parameters":[]},{"declaring":"Map","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["BiPredicate"]},{"declaring":null,"name":"find","return":"Map.Entry","parameters":["BiPredicate"]},{"declaring":null,"name":"findAll","return":"Map","parameters":["BiPredicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["BiFunction"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","BiFunction"]},{"declaring":null,"name":"findResults","return":"List","parameters":["BiFunction"]},{"declaring":"Map","name":"forEach","return":"void","parameters":["BiConsumer"]},{"declaring":"Map","name":"get","return":"def","parameters":["def"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"Map","name":"getOrDefault","return":"def","parameters":["def","def"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["BiFunction"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Map","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Map","name":"keySet","return":"Set","parameters":[]},{"declaring":"Map","name":"merge","return":"def","parameters":["def","def","BiFunction"]},{"declaring":"Map","name":"put","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"putAll","return":"void","parameters":["Map"]},{"declaring":"Map","name":"putIfAbsent","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"remove","return":"def","parameters":["def"]},{"declaring":"Map","name":"remove","return":"boolean","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"boolean","parameters":["def","def","def"]},{"declaring":"Map","name":"replaceAll","return":"void","parameters":["BiFunction"]},{"declaring":"Map","name":"size","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Map","name":"values","return":"Collection","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Map.Entry","imported":true,"constructors":[],"static_methods":[{"declaring":"Map.Entry","name":"comparingByKey","return":"Comparator","parameters":[]},{"declaring":"Map.Entry","name":"comparingByKey","return":"Comparator","parameters":["Comparator"]},{"declaring":"Map.Entry","name":"comparingByValue","return":"Comparator","parameters":[]},{"declaring":"Map.Entry","name":"comparingByValue","return":"Comparator","parameters":["Comparator"]}],"methods":[{"declaring":"Map.Entry","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Map.Entry","name":"getKey","return":"def","parameters":[]},{"declaring":"Map.Entry","name":"getValue","return":"def","parameters":[]},{"declaring":"Map.Entry","name":"hashCode","return":"int","parameters":[]},{"declaring":"Map.Entry","name":"setValue","return":"def","parameters":["def"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"MissingFormatArgumentException","imported":true,"constructors":[{"declaring":"MissingFormatArgumentException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"MissingFormatArgumentException","name":"getFormatSpecifier","return":"String","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"MissingFormatWidthException","imported":true,"constructors":[{"declaring":"MissingFormatWidthException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"MissingFormatWidthException","name":"getFormatSpecifier","return":"String","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"MissingResourceException","imported":true,"constructors":[{"declaring":"MissingResourceException","parameters":["String","String","String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"MissingResourceException","name":"getClassName","return":"String","parameters":[]},{"declaring":"MissingResourceException","name":"getKey","return":"String","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"NavigableMap","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"NavigableMap","name":"ceilingEntry","return":"Map.Entry","parameters":["def"]},{"declaring":"NavigableMap","name":"ceilingKey","return":"def","parameters":["def"]},{"declaring":"Map","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["BiFunction"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","BiFunction"]},{"declaring":"SortedMap","name":"comparator","return":"Comparator","parameters":[]},{"declaring":"Map","name":"compute","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"computeIfAbsent","return":"def","parameters":["def","Function"]},{"declaring":"Map","name":"computeIfPresent","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"containsKey","return":"boolean","parameters":["def"]},{"declaring":"Map","name":"containsValue","return":"boolean","parameters":["def"]},{"declaring":null,"name":"count","return":"int","parameters":["BiPredicate"]},{"declaring":"NavigableMap","name":"descendingKeySet","return":"NavigableSet","parameters":[]},{"declaring":"NavigableMap","name":"descendingMap","return":"NavigableMap","parameters":[]},{"declaring":null,"name":"each","return":"def","parameters":["BiConsumer"]},{"declaring":"Map","name":"entrySet","return":"Set","parameters":[]},{"declaring":"Map","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["BiPredicate"]},{"declaring":null,"name":"find","return":"Map.Entry","parameters":["BiPredicate"]},{"declaring":null,"name":"findAll","return":"Map","parameters":["BiPredicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["BiFunction"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","BiFunction"]},{"declaring":null,"name":"findResults","return":"List","parameters":["BiFunction"]},{"declaring":"NavigableMap","name":"firstEntry","return":"Map.Entry","parameters":[]},{"declaring":"SortedMap","name":"firstKey","return":"def","parameters":[]},{"declaring":"NavigableMap","name":"floorEntry","return":"Map.Entry","parameters":["def"]},{"declaring":"NavigableMap","name":"floorKey","return":"def","parameters":["def"]},{"declaring":"Map","name":"forEach","return":"void","parameters":["BiConsumer"]},{"declaring":"Map","name":"get","return":"def","parameters":["def"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"Map","name":"getOrDefault","return":"def","parameters":["def","def"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["BiFunction"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"SortedMap","name":"headMap","return":"SortedMap","parameters":["def"]},{"declaring":"NavigableMap","name":"headMap","return":"NavigableMap","parameters":["def","boolean"]},{"declaring":"NavigableMap","name":"higherEntry","return":"Map.Entry","parameters":["def"]},{"declaring":"NavigableMap","name":"higherKey","return":"def","parameters":["def"]},{"declaring":"Map","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Map","name":"keySet","return":"Set","parameters":[]},{"declaring":"NavigableMap","name":"lastEntry","return":"Map.Entry","parameters":[]},{"declaring":"SortedMap","name":"lastKey","return":"def","parameters":[]},{"declaring":"NavigableMap","name":"lowerEntry","return":"Map.Entry","parameters":["def"]},{"declaring":"Map","name":"merge","return":"def","parameters":["def","def","BiFunction"]},{"declaring":"NavigableMap","name":"navigableKeySet","return":"NavigableSet","parameters":[]},{"declaring":"NavigableMap","name":"pollFirstEntry","return":"Map.Entry","parameters":[]},{"declaring":"NavigableMap","name":"pollLastEntry","return":"Map.Entry","parameters":[]},{"declaring":"Map","name":"put","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"putAll","return":"void","parameters":["Map"]},{"declaring":"Map","name":"putIfAbsent","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"remove","return":"def","parameters":["def"]},{"declaring":"Map","name":"remove","return":"boolean","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"boolean","parameters":["def","def","def"]},{"declaring":"Map","name":"replaceAll","return":"void","parameters":["BiFunction"]},{"declaring":"Map","name":"size","return":"int","parameters":[]},{"declaring":"SortedMap","name":"subMap","return":"SortedMap","parameters":["def","def"]},{"declaring":"NavigableMap","name":"subMap","return":"NavigableMap","parameters":["def","boolean","def","boolean"]},{"declaring":"SortedMap","name":"tailMap","return":"SortedMap","parameters":["def"]},{"declaring":"NavigableMap","name":"tailMap","return":"NavigableMap","parameters":["def","boolean"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Map","name":"values","return":"Collection","parameters":[]}],"static_fields":[],"fields":[]},{"name":"NavigableSet","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"NavigableSet","name":"ceiling","return":"def","parameters":["def"]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"SortedSet","name":"comparator","return":"Comparator","parameters":[]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":"NavigableSet","name":"descendingIterator","return":"Iterator","parameters":[]},{"declaring":"NavigableSet","name":"descendingSet","return":"NavigableSet","parameters":[]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Set","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"SortedSet","name":"first","return":"def","parameters":[]},{"declaring":"NavigableSet","name":"floor","return":"def","parameters":["def"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Set","name":"hashCode","return":"int","parameters":[]},{"declaring":"SortedSet","name":"headSet","return":"SortedSet","parameters":["def"]},{"declaring":"NavigableSet","name":"headSet","return":"NavigableSet","parameters":["def","boolean"]},{"declaring":"NavigableSet","name":"higher","return":"def","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"SortedSet","name":"last","return":"def","parameters":[]},{"declaring":"NavigableSet","name":"lower","return":"def","parameters":["def"]},{"declaring":"NavigableSet","name":"pollFirst","return":"def","parameters":[]},{"declaring":"NavigableSet","name":"pollLast","return":"def","parameters":[]},{"declaring":"Set","name":"remove","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"SortedSet","name":"subSet","return":"SortedSet","parameters":["def","def"]},{"declaring":"NavigableSet","name":"subSet","return":"NavigableSet","parameters":["def","boolean","def","boolean"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"SortedSet","name":"tailSet","return":"SortedSet","parameters":["def"]},{"declaring":"NavigableSet","name":"tailSet","return":"NavigableSet","parameters":["def","boolean"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"NoSuchElementException","imported":true,"constructors":[{"declaring":"NoSuchElementException","parameters":[]},{"declaring":"NoSuchElementException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Objects","imported":true,"constructors":[],"static_methods":[{"declaring":"Objects","name":"compare","return":"int","parameters":["def","def","Comparator"]},{"declaring":"Objects","name":"deepEquals","return":"boolean","parameters":["Object","Object"]},{"declaring":"Objects","name":"equals","return":"boolean","parameters":["Object","Object"]},{"declaring":"Objects","name":"hash","return":"int","parameters":["Object[]"]},{"declaring":"Objects","name":"hashCode","return":"int","parameters":["Object"]},{"declaring":"Objects","name":"isNull","return":"boolean","parameters":["Object"]},{"declaring":"Objects","name":"nonNull","return":"boolean","parameters":["Object"]},{"declaring":"Objects","name":"requireNonNull","return":"def","parameters":["def"]},{"declaring":"Objects","name":"requireNonNull","return":"def","parameters":["def","String"]},{"declaring":"Objects","name":"toString","return":"String","parameters":["Object"]},{"declaring":"Objects","name":"toString","return":"String","parameters":["Object","String"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Observable","imported":true,"constructors":[{"declaring":"Observable","parameters":[]}],"static_methods":[],"methods":[{"declaring":"Observable","name":"addObserver","return":"void","parameters":["Observer"]},{"declaring":"Observable","name":"countObservers","return":"int","parameters":[]},{"declaring":"Observable","name":"deleteObserver","return":"void","parameters":["Observer"]},{"declaring":"Observable","name":"deleteObservers","return":"void","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Observable","name":"hasChanged","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Observable","name":"notifyObservers","return":"void","parameters":[]},{"declaring":"Observable","name":"notifyObservers","return":"void","parameters":["Object"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Observer","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Observer","name":"update","return":"void","parameters":["Observable","Object"]}],"static_fields":[],"fields":[]},{"name":"Optional","imported":true,"constructors":[],"static_methods":[{"declaring":"Optional","name":"empty","return":"Optional","parameters":[]},{"declaring":"Optional","name":"of","return":"Optional","parameters":["def"]},{"declaring":"Optional","name":"ofNullable","return":"Optional","parameters":["def"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Optional","name":"filter","return":"Optional","parameters":["Predicate"]},{"declaring":"Optional","name":"flatMap","return":"Optional","parameters":["Function"]},{"declaring":"Optional","name":"get","return":"def","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Optional","name":"ifPresent","return":"void","parameters":["Consumer"]},{"declaring":"Optional","name":"isPresent","return":"boolean","parameters":[]},{"declaring":"Optional","name":"map","return":"Optional","parameters":["Function"]},{"declaring":"Optional","name":"orElse","return":"def","parameters":["def"]},{"declaring":"Optional","name":"orElseGet","return":"def","parameters":["Supplier"]},{"declaring":"Optional","name":"orElseThrow","return":"def","parameters":["Supplier"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"OptionalDouble","imported":true,"constructors":[],"static_methods":[{"declaring":"OptionalDouble","name":"empty","return":"OptionalDouble","parameters":[]},{"declaring":"OptionalDouble","name":"of","return":"OptionalDouble","parameters":["double"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"OptionalDouble","name":"getAsDouble","return":"double","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"OptionalDouble","name":"ifPresent","return":"void","parameters":["DoubleConsumer"]},{"declaring":"OptionalDouble","name":"isPresent","return":"boolean","parameters":[]},{"declaring":"OptionalDouble","name":"orElse","return":"double","parameters":["double"]},{"declaring":"OptionalDouble","name":"orElseGet","return":"double","parameters":["DoubleSupplier"]},{"declaring":"OptionalDouble","name":"orElseThrow","return":"double","parameters":["Supplier"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"OptionalInt","imported":true,"constructors":[],"static_methods":[{"declaring":"OptionalInt","name":"empty","return":"OptionalInt","parameters":[]},{"declaring":"OptionalInt","name":"of","return":"OptionalInt","parameters":["int"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"OptionalInt","name":"getAsInt","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"OptionalInt","name":"ifPresent","return":"void","parameters":["IntConsumer"]},{"declaring":"OptionalInt","name":"isPresent","return":"boolean","parameters":[]},{"declaring":"OptionalInt","name":"orElse","return":"int","parameters":["int"]},{"declaring":"OptionalInt","name":"orElseGet","return":"int","parameters":["IntSupplier"]},{"declaring":"OptionalInt","name":"orElseThrow","return":"int","parameters":["Supplier"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"OptionalLong","imported":true,"constructors":[],"static_methods":[{"declaring":"OptionalLong","name":"empty","return":"OptionalLong","parameters":[]},{"declaring":"OptionalLong","name":"of","return":"OptionalLong","parameters":["long"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"OptionalLong","name":"getAsLong","return":"long","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"OptionalLong","name":"ifPresent","return":"void","parameters":["LongConsumer"]},{"declaring":"OptionalLong","name":"isPresent","return":"boolean","parameters":[]},{"declaring":"OptionalLong","name":"orElse","return":"long","parameters":["long"]},{"declaring":"OptionalLong","name":"orElseGet","return":"long","parameters":["LongSupplier"]},{"declaring":"OptionalLong","name":"orElseThrow","return":"long","parameters":["Supplier"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"PrimitiveIterator","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"PrimitiveIterator","name":"forEachRemaining","return":"void","parameters":["def"]},{"declaring":"Iterator","name":"hasNext","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Iterator","name":"next","return":"def","parameters":[]},{"declaring":"Iterator","name":"remove","return":"void","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"PrimitiveIterator.OfDouble","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"PrimitiveIterator","name":"forEachRemaining","return":"void","parameters":["def"]},{"declaring":"Iterator","name":"hasNext","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"PrimitiveIterator.OfDouble","name":"next","return":"Double","parameters":[]},{"declaring":"PrimitiveIterator.OfDouble","name":"nextDouble","return":"double","parameters":[]},{"declaring":"Iterator","name":"remove","return":"void","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"PrimitiveIterator.OfInt","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"PrimitiveIterator","name":"forEachRemaining","return":"void","parameters":["def"]},{"declaring":"Iterator","name":"hasNext","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"PrimitiveIterator.OfInt","name":"next","return":"Integer","parameters":[]},{"declaring":"PrimitiveIterator.OfInt","name":"nextInt","return":"int","parameters":[]},{"declaring":"Iterator","name":"remove","return":"void","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"PrimitiveIterator.OfLong","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"PrimitiveIterator","name":"forEachRemaining","return":"void","parameters":["def"]},{"declaring":"Iterator","name":"hasNext","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"PrimitiveIterator.OfLong","name":"next","return":"Long","parameters":[]},{"declaring":"PrimitiveIterator.OfLong","name":"nextLong","return":"long","parameters":[]},{"declaring":"Iterator","name":"remove","return":"void","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"PriorityQueue","imported":true,"constructors":[{"declaring":"PriorityQueue","parameters":[]},{"declaring":"PriorityQueue","parameters":["Comparator"]}],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Queue","name":"element","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Queue","name":"offer","return":"boolean","parameters":["def"]},{"declaring":"Queue","name":"peek","return":"def","parameters":[]},{"declaring":"Queue","name":"poll","return":"def","parameters":[]},{"declaring":"Queue","name":"remove","return":"def","parameters":[]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Queue","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Queue","name":"element","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Queue","name":"offer","return":"boolean","parameters":["def"]},{"declaring":"Queue","name":"peek","return":"def","parameters":[]},{"declaring":"Queue","name":"poll","return":"def","parameters":[]},{"declaring":"Queue","name":"remove","return":"def","parameters":[]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Random","imported":true,"constructors":[{"declaring":"Random","parameters":[]},{"declaring":"Random","parameters":["long"]}],"static_methods":[],"methods":[{"declaring":"Random","name":"doubles","return":"DoubleStream","parameters":["long"]},{"declaring":"Random","name":"doubles","return":"DoubleStream","parameters":["long","double","double"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Random","name":"ints","return":"IntStream","parameters":["long"]},{"declaring":"Random","name":"ints","return":"IntStream","parameters":["long","int","int"]},{"declaring":"Random","name":"longs","return":"LongStream","parameters":["long"]},{"declaring":"Random","name":"longs","return":"LongStream","parameters":["long","long","long"]},{"declaring":"Random","name":"nextBoolean","return":"boolean","parameters":[]},{"declaring":"Random","name":"nextBytes","return":"void","parameters":["byte[]"]},{"declaring":"Random","name":"nextDouble","return":"double","parameters":[]},{"declaring":"Random","name":"nextFloat","return":"float","parameters":[]},{"declaring":"Random","name":"nextGaussian","return":"double","parameters":[]},{"declaring":"Random","name":"nextInt","return":"int","parameters":[]},{"declaring":"Random","name":"nextInt","return":"int","parameters":["int"]},{"declaring":"Random","name":"nextLong","return":"long","parameters":[]},{"declaring":"Random","name":"setSeed","return":"void","parameters":["long"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"RandomAccess","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Set","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Set","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Set","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Set","name":"remove","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"SimpleTimeZone","imported":true,"constructors":[{"declaring":"SimpleTimeZone","parameters":["int","String","int","int","int","int","int","int","int","int"]},{"declaring":"SimpleTimeZone","parameters":["int","String","int","int","int","int","int","int","int","int","int"]},{"declaring":"SimpleTimeZone","parameters":["int","String","int","int","int","int","int","int","int","int","int","int","int"]},{"declaring":"SimpleTimeZone","parameters":["int","String"]}],"static_methods":[],"methods":[{"declaring":"TimeZone","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"SimpleTimeZone","name":"getDSTSavings","return":"int","parameters":[]},{"declaring":"TimeZone","name":"getDisplayName","return":"String","parameters":[]},{"declaring":"TimeZone","name":"getDisplayName","return":"String","parameters":["Locale"]},{"declaring":"TimeZone","name":"getDisplayName","return":"String","parameters":["boolean","int"]},{"declaring":"TimeZone","name":"getDisplayName","return":"String","parameters":["boolean","int","Locale"]},{"declaring":"TimeZone","name":"getID","return":"String","parameters":[]},{"declaring":"TimeZone","name":"getOffset","return":"int","parameters":["long"]},{"declaring":"TimeZone","name":"getOffset","return":"int","parameters":["int","int","int","int","int","int"]},{"declaring":"TimeZone","name":"getRawOffset","return":"int","parameters":[]},{"declaring":"TimeZone","name":"hasSameRules","return":"boolean","parameters":["TimeZone"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TimeZone","name":"inDaylightTime","return":"boolean","parameters":["Date"]},{"declaring":"TimeZone","name":"observesDaylightTime","return":"boolean","parameters":[]},{"declaring":"SimpleTimeZone","name":"setDSTSavings","return":"void","parameters":["int"]},{"declaring":"SimpleTimeZone","name":"setEndRule","return":"void","parameters":["int","int","int"]},{"declaring":"SimpleTimeZone","name":"setEndRule","return":"void","parameters":["int","int","int","int"]},{"declaring":"SimpleTimeZone","name":"setEndRule","return":"void","parameters":["int","int","int","int","boolean"]},{"declaring":"TimeZone","name":"setRawOffset","return":"void","parameters":["int"]},{"declaring":"SimpleTimeZone","name":"setStartRule","return":"void","parameters":["int","int","int"]},{"declaring":"SimpleTimeZone","name":"setStartRule","return":"void","parameters":["int","int","int","int"]},{"declaring":"SimpleTimeZone","name":"setStartRule","return":"void","parameters":["int","int","int","int","boolean"]},{"declaring":"SimpleTimeZone","name":"setStartYear","return":"void","parameters":["int"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"TimeZone","name":"toZoneId","return":"ZoneId","parameters":[]},{"declaring":"TimeZone","name":"useDaylightTime","return":"boolean","parameters":[]}],"static_fields":[{"declaring":"SimpleTimeZone","name":"STANDARD_TIME","type":"int"},{"declaring":"SimpleTimeZone","name":"UTC_TIME","type":"int"},{"declaring":"SimpleTimeZone","name":"WALL_TIME","type":"int"}],"fields":[]},{"name":"SortedMap","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Map","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["BiFunction"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","BiFunction"]},{"declaring":"SortedMap","name":"comparator","return":"Comparator","parameters":[]},{"declaring":"Map","name":"compute","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"computeIfAbsent","return":"def","parameters":["def","Function"]},{"declaring":"Map","name":"computeIfPresent","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"containsKey","return":"boolean","parameters":["def"]},{"declaring":"Map","name":"containsValue","return":"boolean","parameters":["def"]},{"declaring":null,"name":"count","return":"int","parameters":["BiPredicate"]},{"declaring":null,"name":"each","return":"def","parameters":["BiConsumer"]},{"declaring":"Map","name":"entrySet","return":"Set","parameters":[]},{"declaring":"Map","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["BiPredicate"]},{"declaring":null,"name":"find","return":"Map.Entry","parameters":["BiPredicate"]},{"declaring":null,"name":"findAll","return":"Map","parameters":["BiPredicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["BiFunction"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","BiFunction"]},{"declaring":null,"name":"findResults","return":"List","parameters":["BiFunction"]},{"declaring":"SortedMap","name":"firstKey","return":"def","parameters":[]},{"declaring":"Map","name":"forEach","return":"void","parameters":["BiConsumer"]},{"declaring":"Map","name":"get","return":"def","parameters":["def"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"Map","name":"getOrDefault","return":"def","parameters":["def","def"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["BiFunction"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"SortedMap","name":"headMap","return":"SortedMap","parameters":["def"]},{"declaring":"Map","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Map","name":"keySet","return":"Set","parameters":[]},{"declaring":"SortedMap","name":"lastKey","return":"def","parameters":[]},{"declaring":"Map","name":"merge","return":"def","parameters":["def","def","BiFunction"]},{"declaring":"Map","name":"put","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"putAll","return":"void","parameters":["Map"]},{"declaring":"Map","name":"putIfAbsent","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"remove","return":"def","parameters":["def"]},{"declaring":"Map","name":"remove","return":"boolean","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"boolean","parameters":["def","def","def"]},{"declaring":"Map","name":"replaceAll","return":"void","parameters":["BiFunction"]},{"declaring":"Map","name":"size","return":"int","parameters":[]},{"declaring":"SortedMap","name":"subMap","return":"SortedMap","parameters":["def","def"]},{"declaring":"SortedMap","name":"tailMap","return":"SortedMap","parameters":["def"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Map","name":"values","return":"Collection","parameters":[]}],"static_fields":[],"fields":[]},{"name":"SortedSet","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"SortedSet","name":"comparator","return":"Comparator","parameters":[]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Set","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"SortedSet","name":"first","return":"def","parameters":[]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Set","name":"hashCode","return":"int","parameters":[]},{"declaring":"SortedSet","name":"headSet","return":"SortedSet","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"SortedSet","name":"last","return":"def","parameters":[]},{"declaring":"Set","name":"remove","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"SortedSet","name":"subSet","return":"SortedSet","parameters":["def","def"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"SortedSet","name":"tailSet","return":"SortedSet","parameters":["def"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Spliterator","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Spliterator","name":"characteristics","return":"int","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Spliterator","name":"estimateSize","return":"long","parameters":[]},{"declaring":"Spliterator","name":"forEachRemaining","return":"void","parameters":["Consumer"]},{"declaring":"Spliterator","name":"getComparator","return":"Comparator","parameters":[]},{"declaring":"Spliterator","name":"getExactSizeIfKnown","return":"long","parameters":[]},{"declaring":"Spliterator","name":"hasCharacteristics","return":"boolean","parameters":["int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Spliterator","name":"tryAdvance","return":"boolean","parameters":["Consumer"]},{"declaring":"Spliterator","name":"trySplit","return":"Spliterator","parameters":[]}],"static_fields":[{"declaring":"Spliterator","name":"CONCURRENT","type":"int"},{"declaring":"Spliterator","name":"DISTINCT","type":"int"},{"declaring":"Spliterator","name":"IMMUTABLE","type":"int"},{"declaring":"Spliterator","name":"NONNULL","type":"int"},{"declaring":"Spliterator","name":"ORDERED","type":"int"},{"declaring":"Spliterator","name":"SIZED","type":"int"},{"declaring":"Spliterator","name":"SORTED","type":"int"},{"declaring":"Spliterator","name":"SUBSIZED","type":"int"}],"fields":[]},{"name":"Spliterator.OfDouble","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Spliterator","name":"characteristics","return":"int","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Spliterator","name":"estimateSize","return":"long","parameters":[]},{"declaring":"Spliterator.OfPrimitive","name":"forEachRemaining","return":"void","parameters":["def"]},{"declaring":"Spliterator","name":"getComparator","return":"Comparator","parameters":[]},{"declaring":"Spliterator","name":"getExactSizeIfKnown","return":"long","parameters":[]},{"declaring":"Spliterator","name":"hasCharacteristics","return":"boolean","parameters":["int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Spliterator.OfPrimitive","name":"tryAdvance","return":"boolean","parameters":["def"]},{"declaring":"Spliterator.OfDouble","name":"trySplit","return":"Spliterator.OfDouble","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Spliterator.OfInt","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Spliterator","name":"characteristics","return":"int","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Spliterator","name":"estimateSize","return":"long","parameters":[]},{"declaring":"Spliterator.OfPrimitive","name":"forEachRemaining","return":"void","parameters":["def"]},{"declaring":"Spliterator","name":"getComparator","return":"Comparator","parameters":[]},{"declaring":"Spliterator","name":"getExactSizeIfKnown","return":"long","parameters":[]},{"declaring":"Spliterator","name":"hasCharacteristics","return":"boolean","parameters":["int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Spliterator.OfPrimitive","name":"tryAdvance","return":"boolean","parameters":["def"]},{"declaring":"Spliterator.OfInt","name":"trySplit","return":"Spliterator.OfInt","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Spliterator.OfLong","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Spliterator","name":"characteristics","return":"int","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Spliterator","name":"estimateSize","return":"long","parameters":[]},{"declaring":"Spliterator.OfPrimitive","name":"forEachRemaining","return":"void","parameters":["def"]},{"declaring":"Spliterator","name":"getComparator","return":"Comparator","parameters":[]},{"declaring":"Spliterator","name":"getExactSizeIfKnown","return":"long","parameters":[]},{"declaring":"Spliterator","name":"hasCharacteristics","return":"boolean","parameters":["int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Spliterator.OfPrimitive","name":"tryAdvance","return":"boolean","parameters":["def"]},{"declaring":"Spliterator.OfLong","name":"trySplit","return":"Spliterator.OfLong","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Spliterator.OfPrimitive","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Spliterator","name":"characteristics","return":"int","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Spliterator","name":"estimateSize","return":"long","parameters":[]},{"declaring":"Spliterator.OfPrimitive","name":"forEachRemaining","return":"void","parameters":["def"]},{"declaring":"Spliterator","name":"getComparator","return":"Comparator","parameters":[]},{"declaring":"Spliterator","name":"getExactSizeIfKnown","return":"long","parameters":[]},{"declaring":"Spliterator","name":"hasCharacteristics","return":"boolean","parameters":["int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Spliterator.OfPrimitive","name":"tryAdvance","return":"boolean","parameters":["def"]},{"declaring":"Spliterator.OfPrimitive","name":"trySplit","return":"Spliterator.OfPrimitive","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Spliterators","imported":true,"constructors":[],"static_methods":[{"declaring":"Spliterators","name":"emptyDoubleSpliterator","return":"Spliterator.OfDouble","parameters":[]},{"declaring":"Spliterators","name":"emptyIntSpliterator","return":"Spliterator.OfInt","parameters":[]},{"declaring":"Spliterators","name":"emptyLongSpliterator","return":"Spliterator.OfLong","parameters":[]},{"declaring":"Spliterators","name":"emptySpliterator","return":"Spliterator","parameters":[]},{"declaring":"Spliterators","name":"iterator","return":"Iterator","parameters":["Spliterator"]},{"declaring":"Spliterators","name":"spliterator","return":"Spliterator","parameters":["Collection","int"]},{"declaring":"Spliterators","name":"spliterator","return":"Spliterator","parameters":["Iterator","long","int"]},{"declaring":"Spliterators","name":"spliteratorUnknownSize","return":"Spliterator","parameters":["Iterator","int"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Stack","imported":true,"constructors":[{"declaring":"Stack","parameters":[]}],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":"Vector","name":"addElement","return":"void","parameters":["def"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":"Vector","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":"Vector","name":"copyInto","return":"void","parameters":["Object[]"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Vector","name":"elementAt","return":"def","parameters":["int"]},{"declaring":"Vector","name":"elements","return":"Enumeration","parameters":[]},{"declaring":"Stack","name":"empty","return":"boolean","parameters":[]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Vector","name":"firstElement","return":"def","parameters":[]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"List","name":"get","return":"def","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Vector","name":"insertElementAt","return":"void","parameters":["def","int"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Vector","name":"lastElement","return":"def","parameters":[]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"Vector","name":"lastIndexOf","return":"int","parameters":["def","int"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"Stack","name":"peek","return":"def","parameters":[]},{"declaring":"Stack","name":"pop","return":"def","parameters":[]},{"declaring":"Stack","name":"push","return":"def","parameters":["def"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Vector","name":"removeAllElements","return":"void","parameters":[]},{"declaring":"Vector","name":"removeElement","return":"boolean","parameters":["def"]},{"declaring":"Vector","name":"removeElementAt","return":"void","parameters":["int"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Stack","name":"search","return":"int","parameters":["def"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Vector","name":"setElementAt","return":"void","parameters":["def","int"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"StringJoiner","imported":true,"constructors":[{"declaring":"StringJoiner","parameters":["CharSequence"]},{"declaring":"StringJoiner","parameters":["CharSequence","CharSequence","CharSequence"]}],"static_methods":[],"methods":[{"declaring":"StringJoiner","name":"add","return":"StringJoiner","parameters":["CharSequence"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"StringJoiner","name":"length","return":"int","parameters":[]},{"declaring":"StringJoiner","name":"merge","return":"StringJoiner","parameters":["StringJoiner"]},{"declaring":"StringJoiner","name":"setEmptyValue","return":"StringJoiner","parameters":["CharSequence"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"StringTokenizer","imported":true,"constructors":[{"declaring":"StringTokenizer","parameters":["String"]},{"declaring":"StringTokenizer","parameters":["String","String"]},{"declaring":"StringTokenizer","parameters":["String","String","boolean"]}],"static_methods":[],"methods":[{"declaring":"StringTokenizer","name":"countTokens","return":"int","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Enumeration","name":"hasMoreElements","return":"boolean","parameters":[]},{"declaring":"StringTokenizer","name":"hasMoreTokens","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enumeration","name":"nextElement","return":"def","parameters":[]},{"declaring":"StringTokenizer","name":"nextToken","return":"String","parameters":[]},{"declaring":"StringTokenizer","name":"nextToken","return":"String","parameters":["String"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TimeZone","imported":true,"constructors":[],"static_methods":[{"declaring":"TimeZone","name":"getAvailableIDs","return":"String[]","parameters":[]},{"declaring":"TimeZone","name":"getAvailableIDs","return":"String[]","parameters":["int"]},{"declaring":"TimeZone","name":"getDefault","return":"TimeZone","parameters":[]},{"declaring":"TimeZone","name":"getTimeZone","return":"TimeZone","parameters":["String"]}],"methods":[{"declaring":"TimeZone","name":"clone","return":"def","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"TimeZone","name":"getDSTSavings","return":"int","parameters":[]},{"declaring":"TimeZone","name":"getDisplayName","return":"String","parameters":[]},{"declaring":"TimeZone","name":"getDisplayName","return":"String","parameters":["Locale"]},{"declaring":"TimeZone","name":"getDisplayName","return":"String","parameters":["boolean","int"]},{"declaring":"TimeZone","name":"getDisplayName","return":"String","parameters":["boolean","int","Locale"]},{"declaring":"TimeZone","name":"getID","return":"String","parameters":[]},{"declaring":"TimeZone","name":"getOffset","return":"int","parameters":["long"]},{"declaring":"TimeZone","name":"getOffset","return":"int","parameters":["int","int","int","int","int","int"]},{"declaring":"TimeZone","name":"getRawOffset","return":"int","parameters":[]},{"declaring":"TimeZone","name":"hasSameRules","return":"boolean","parameters":["TimeZone"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"TimeZone","name":"inDaylightTime","return":"boolean","parameters":["Date"]},{"declaring":"TimeZone","name":"observesDaylightTime","return":"boolean","parameters":[]},{"declaring":"TimeZone","name":"setRawOffset","return":"void","parameters":["int"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"TimeZone","name":"toZoneId","return":"ZoneId","parameters":[]},{"declaring":"TimeZone","name":"useDaylightTime","return":"boolean","parameters":[]}],"static_fields":[{"declaring":"TimeZone","name":"LONG","type":"int"},{"declaring":"TimeZone","name":"SHORT","type":"int"}],"fields":[]},{"name":"TooManyListenersException","imported":true,"constructors":[{"declaring":"TooManyListenersException","parameters":[]},{"declaring":"TooManyListenersException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TreeMap","imported":true,"constructors":[{"declaring":"TreeMap","parameters":[]},{"declaring":"TreeMap","parameters":["Comparator"]}],"static_methods":[],"methods":[{"declaring":"NavigableMap","name":"ceilingEntry","return":"Map.Entry","parameters":["def"]},{"declaring":"NavigableMap","name":"ceilingKey","return":"def","parameters":["def"]},{"declaring":"Map","name":"clear","return":"void","parameters":[]},{"declaring":"TreeMap","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["BiFunction"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","BiFunction"]},{"declaring":"SortedMap","name":"comparator","return":"Comparator","parameters":[]},{"declaring":"Map","name":"compute","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"computeIfAbsent","return":"def","parameters":["def","Function"]},{"declaring":"Map","name":"computeIfPresent","return":"def","parameters":["def","BiFunction"]},{"declaring":"Map","name":"containsKey","return":"boolean","parameters":["def"]},{"declaring":"Map","name":"containsValue","return":"boolean","parameters":["def"]},{"declaring":null,"name":"count","return":"int","parameters":["BiPredicate"]},{"declaring":"NavigableMap","name":"descendingKeySet","return":"NavigableSet","parameters":[]},{"declaring":"NavigableMap","name":"descendingMap","return":"NavigableMap","parameters":[]},{"declaring":null,"name":"each","return":"def","parameters":["BiConsumer"]},{"declaring":"Map","name":"entrySet","return":"Set","parameters":[]},{"declaring":"Map","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["BiPredicate"]},{"declaring":null,"name":"find","return":"Map.Entry","parameters":["BiPredicate"]},{"declaring":null,"name":"findAll","return":"Map","parameters":["BiPredicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["BiFunction"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","BiFunction"]},{"declaring":null,"name":"findResults","return":"List","parameters":["BiFunction"]},{"declaring":"NavigableMap","name":"firstEntry","return":"Map.Entry","parameters":[]},{"declaring":"SortedMap","name":"firstKey","return":"def","parameters":[]},{"declaring":"NavigableMap","name":"floorEntry","return":"Map.Entry","parameters":["def"]},{"declaring":"NavigableMap","name":"floorKey","return":"def","parameters":["def"]},{"declaring":"Map","name":"forEach","return":"void","parameters":["BiConsumer"]},{"declaring":"Map","name":"get","return":"def","parameters":["def"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"Map","name":"getOrDefault","return":"def","parameters":["def","def"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["BiFunction"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"SortedMap","name":"headMap","return":"SortedMap","parameters":["def"]},{"declaring":"NavigableMap","name":"headMap","return":"NavigableMap","parameters":["def","boolean"]},{"declaring":"NavigableMap","name":"higherEntry","return":"Map.Entry","parameters":["def"]},{"declaring":"NavigableMap","name":"higherKey","return":"def","parameters":["def"]},{"declaring":"Map","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Map","name":"keySet","return":"Set","parameters":[]},{"declaring":"NavigableMap","name":"lastEntry","return":"Map.Entry","parameters":[]},{"declaring":"SortedMap","name":"lastKey","return":"def","parameters":[]},{"declaring":"NavigableMap","name":"lowerEntry","return":"Map.Entry","parameters":["def"]},{"declaring":"Map","name":"merge","return":"def","parameters":["def","def","BiFunction"]},{"declaring":"NavigableMap","name":"navigableKeySet","return":"NavigableSet","parameters":[]},{"declaring":"NavigableMap","name":"pollFirstEntry","return":"Map.Entry","parameters":[]},{"declaring":"NavigableMap","name":"pollLastEntry","return":"Map.Entry","parameters":[]},{"declaring":"Map","name":"put","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"putAll","return":"void","parameters":["Map"]},{"declaring":"Map","name":"putIfAbsent","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"remove","return":"def","parameters":["def"]},{"declaring":"Map","name":"remove","return":"boolean","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"def","parameters":["def","def"]},{"declaring":"Map","name":"replace","return":"boolean","parameters":["def","def","def"]},{"declaring":"Map","name":"replaceAll","return":"void","parameters":["BiFunction"]},{"declaring":"Map","name":"size","return":"int","parameters":[]},{"declaring":"SortedMap","name":"subMap","return":"SortedMap","parameters":["def","def"]},{"declaring":"NavigableMap","name":"subMap","return":"NavigableMap","parameters":["def","boolean","def","boolean"]},{"declaring":"SortedMap","name":"tailMap","return":"SortedMap","parameters":["def"]},{"declaring":"NavigableMap","name":"tailMap","return":"NavigableMap","parameters":["def","boolean"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Map","name":"values","return":"Collection","parameters":[]}],"static_fields":[],"fields":[]},{"name":"TreeSet","imported":true,"constructors":[{"declaring":"TreeSet","parameters":[]},{"declaring":"TreeSet","parameters":["Comparator"]}],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"NavigableSet","name":"ceiling","return":"def","parameters":["def"]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":"TreeSet","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"SortedSet","name":"comparator","return":"Comparator","parameters":[]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":"NavigableSet","name":"descendingIterator","return":"Iterator","parameters":[]},{"declaring":"NavigableSet","name":"descendingSet","return":"NavigableSet","parameters":[]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Set","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"SortedSet","name":"first","return":"def","parameters":[]},{"declaring":"NavigableSet","name":"floor","return":"def","parameters":["def"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"Set","name":"hashCode","return":"int","parameters":[]},{"declaring":"SortedSet","name":"headSet","return":"SortedSet","parameters":["def"]},{"declaring":"NavigableSet","name":"headSet","return":"NavigableSet","parameters":["def","boolean"]},{"declaring":"NavigableSet","name":"higher","return":"def","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"SortedSet","name":"last","return":"def","parameters":[]},{"declaring":"NavigableSet","name":"lower","return":"def","parameters":["def"]},{"declaring":"NavigableSet","name":"pollFirst","return":"def","parameters":[]},{"declaring":"NavigableSet","name":"pollLast","return":"def","parameters":[]},{"declaring":"Set","name":"remove","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"SortedSet","name":"subSet","return":"SortedSet","parameters":["def","def"]},{"declaring":"NavigableSet","name":"subSet","return":"NavigableSet","parameters":["def","boolean","def","boolean"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"SortedSet","name":"tailSet","return":"SortedSet","parameters":["def"]},{"declaring":"NavigableSet","name":"tailSet","return":"NavigableSet","parameters":["def","boolean"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"UUID","imported":true,"constructors":[{"declaring":"UUID","parameters":["long","long"]}],"static_methods":[{"declaring":"UUID","name":"fromString","return":"UUID","parameters":["String"]},{"declaring":"UUID","name":"nameUUIDFromBytes","return":"UUID","parameters":["byte[]"]},{"declaring":"UUID","name":"randomUUID","return":"UUID","parameters":[]}],"methods":[{"declaring":"UUID","name":"clockSequence","return":"int","parameters":[]},{"declaring":"UUID","name":"compareTo","return":"int","parameters":["UUID"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"UUID","name":"getLeastSignificantBits","return":"long","parameters":[]},{"declaring":"UUID","name":"getMostSignificantBits","return":"long","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"UUID","name":"node","return":"long","parameters":[]},{"declaring":"UUID","name":"timestamp","return":"long","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"UUID","name":"variant","return":"int","parameters":[]},{"declaring":"UUID","name":"version","return":"int","parameters":[]}],"static_fields":[],"fields":[]},{"name":"UnknownFormatConversionException","imported":true,"constructors":[{"declaring":"UnknownFormatConversionException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"UnknownFormatConversionException","name":"getConversion","return":"String","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"UnknownFormatFlagsException","imported":true,"constructors":[{"declaring":"UnknownFormatFlagsException","parameters":["String"]}],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"UnknownFormatFlagsException","name":"getFlags","return":"String","parameters":[]},{"declaring":null,"name":"getLocalizedMessage","return":"String","parameters":[]},{"declaring":null,"name":"getMessage","return":"String","parameters":[]},{"declaring":null,"name":"getStackTrace","return":"StackTraceElement[]","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Vector","imported":true,"constructors":[{"declaring":"Vector","parameters":[]},{"declaring":"Vector","parameters":["Collection"]}],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":"Vector","name":"addElement","return":"void","parameters":["def"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":"Vector","name":"clone","return":"def","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":"Vector","name":"copyInto","return":"void","parameters":["Object[]"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"Vector","name":"elementAt","return":"def","parameters":["int"]},{"declaring":"Vector","name":"elements","return":"Enumeration","parameters":[]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Vector","name":"firstElement","return":"def","parameters":[]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"List","name":"get","return":"def","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Vector","name":"insertElementAt","return":"void","parameters":["def","int"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"Vector","name":"lastElement","return":"def","parameters":[]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"Vector","name":"lastIndexOf","return":"int","parameters":["def","int"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Vector","name":"removeAllElements","return":"void","parameters":[]},{"declaring":"Vector","name":"removeElement","return":"boolean","parameters":["def"]},{"declaring":"Vector","name":"removeElementAt","return":"void","parameters":["int"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Vector","name":"setElementAt","return":"void","parameters":["def","int"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"BiConsumer","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"BiConsumer","name":"accept","return":"void","parameters":["def","def"]},{"declaring":"BiConsumer","name":"andThen","return":"BiConsumer","parameters":["BiConsumer"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"BiFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"BiFunction","name":"andThen","return":"BiFunction","parameters":["Function"]},{"declaring":"BiFunction","name":"apply","return":"def","parameters":["def","def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"BiPredicate","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"BiPredicate","name":"and","return":"BiPredicate","parameters":["BiPredicate"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"BiPredicate","name":"negate","return":"BiPredicate","parameters":[]},{"declaring":"BiPredicate","name":"or","return":"BiPredicate","parameters":["BiPredicate"]},{"declaring":"BiPredicate","name":"test","return":"boolean","parameters":["def","def"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"BinaryOperator","imported":true,"constructors":[],"static_methods":[{"declaring":"BinaryOperator","name":"maxBy","return":"BinaryOperator","parameters":["Comparator"]},{"declaring":"BinaryOperator","name":"minBy","return":"BinaryOperator","parameters":["Comparator"]}],"methods":[{"declaring":"BiFunction","name":"andThen","return":"BiFunction","parameters":["Function"]},{"declaring":"BiFunction","name":"apply","return":"def","parameters":["def","def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"BooleanSupplier","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"BooleanSupplier","name":"getAsBoolean","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Consumer","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Consumer","name":"accept","return":"void","parameters":["def"]},{"declaring":"Consumer","name":"andThen","return":"Consumer","parameters":["Consumer"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoubleBinaryOperator","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"DoubleBinaryOperator","name":"applyAsDouble","return":"double","parameters":["double","double"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoubleConsumer","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"DoubleConsumer","name":"accept","return":"void","parameters":["double"]},{"declaring":"DoubleConsumer","name":"andThen","return":"DoubleConsumer","parameters":["DoubleConsumer"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoubleFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"DoubleFunction","name":"apply","return":"def","parameters":["double"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoublePredicate","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"DoublePredicate","name":"and","return":"DoublePredicate","parameters":["DoublePredicate"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"DoublePredicate","name":"negate","return":"DoublePredicate","parameters":[]},{"declaring":"DoublePredicate","name":"or","return":"DoublePredicate","parameters":["DoublePredicate"]},{"declaring":"DoublePredicate","name":"test","return":"boolean","parameters":["double"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoubleSupplier","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"DoubleSupplier","name":"getAsDouble","return":"double","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoubleToIntFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"DoubleToIntFunction","name":"applyAsInt","return":"int","parameters":["double"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoubleToLongFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"DoubleToLongFunction","name":"applyAsLong","return":"long","parameters":["double"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoubleUnaryOperator","imported":true,"constructors":[],"static_methods":[{"declaring":"DoubleUnaryOperator","name":"identity","return":"DoubleUnaryOperator","parameters":[]}],"methods":[{"declaring":"DoubleUnaryOperator","name":"andThen","return":"DoubleUnaryOperator","parameters":["DoubleUnaryOperator"]},{"declaring":"DoubleUnaryOperator","name":"applyAsDouble","return":"double","parameters":["double"]},{"declaring":"DoubleUnaryOperator","name":"compose","return":"DoubleUnaryOperator","parameters":["DoubleUnaryOperator"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Function","imported":true,"constructors":[],"static_methods":[{"declaring":"Function","name":"identity","return":"Function","parameters":[]}],"methods":[{"declaring":"Function","name":"andThen","return":"Function","parameters":["Function"]},{"declaring":"Function","name":"apply","return":"def","parameters":["def"]},{"declaring":"Function","name":"compose","return":"Function","parameters":["Function"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntBinaryOperator","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"IntBinaryOperator","name":"applyAsInt","return":"int","parameters":["int","int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntConsumer","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"IntConsumer","name":"accept","return":"void","parameters":["int"]},{"declaring":"IntConsumer","name":"andThen","return":"IntConsumer","parameters":["IntConsumer"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"IntFunction","name":"apply","return":"def","parameters":["int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntPredicate","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"IntPredicate","name":"and","return":"IntPredicate","parameters":["IntPredicate"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"IntPredicate","name":"negate","return":"IntPredicate","parameters":[]},{"declaring":"IntPredicate","name":"or","return":"IntPredicate","parameters":["IntPredicate"]},{"declaring":"IntPredicate","name":"test","return":"boolean","parameters":["int"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntSupplier","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"IntSupplier","name":"getAsInt","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntToDoubleFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"IntToDoubleFunction","name":"applyAsDouble","return":"double","parameters":["int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntToLongFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"IntToLongFunction","name":"applyAsLong","return":"long","parameters":["int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntUnaryOperator","imported":true,"constructors":[],"static_methods":[{"declaring":"IntUnaryOperator","name":"identity","return":"IntUnaryOperator","parameters":[]}],"methods":[{"declaring":"IntUnaryOperator","name":"andThen","return":"IntUnaryOperator","parameters":["IntUnaryOperator"]},{"declaring":"IntUnaryOperator","name":"applyAsInt","return":"int","parameters":["int"]},{"declaring":"IntUnaryOperator","name":"compose","return":"IntUnaryOperator","parameters":["IntUnaryOperator"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LongBinaryOperator","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"LongBinaryOperator","name":"applyAsLong","return":"long","parameters":["long","long"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LongConsumer","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"LongConsumer","name":"accept","return":"void","parameters":["long"]},{"declaring":"LongConsumer","name":"andThen","return":"LongConsumer","parameters":["LongConsumer"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LongFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"LongFunction","name":"apply","return":"def","parameters":["long"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LongPredicate","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"LongPredicate","name":"and","return":"LongPredicate","parameters":["LongPredicate"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"LongPredicate","name":"negate","return":"LongPredicate","parameters":[]},{"declaring":"LongPredicate","name":"or","return":"LongPredicate","parameters":["LongPredicate"]},{"declaring":"LongPredicate","name":"test","return":"boolean","parameters":["long"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LongSupplier","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"LongSupplier","name":"getAsLong","return":"long","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LongToDoubleFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"LongToDoubleFunction","name":"applyAsDouble","return":"double","parameters":["long"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LongToIntFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"LongToIntFunction","name":"applyAsInt","return":"int","parameters":["long"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LongUnaryOperator","imported":true,"constructors":[],"static_methods":[{"declaring":"LongUnaryOperator","name":"identity","return":"LongUnaryOperator","parameters":[]}],"methods":[{"declaring":"LongUnaryOperator","name":"andThen","return":"LongUnaryOperator","parameters":["LongUnaryOperator"]},{"declaring":"LongUnaryOperator","name":"applyAsLong","return":"long","parameters":["long"]},{"declaring":"LongUnaryOperator","name":"compose","return":"LongUnaryOperator","parameters":["LongUnaryOperator"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ObjDoubleConsumer","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ObjDoubleConsumer","name":"accept","return":"void","parameters":["def","double"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ObjIntConsumer","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ObjIntConsumer","name":"accept","return":"void","parameters":["def","int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ObjLongConsumer","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ObjLongConsumer","name":"accept","return":"void","parameters":["def","long"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Predicate","imported":true,"constructors":[],"static_methods":[{"declaring":"Predicate","name":"isEqual","return":"Predicate","parameters":["def"]}],"methods":[{"declaring":"Predicate","name":"and","return":"Predicate","parameters":["Predicate"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Predicate","name":"negate","return":"Predicate","parameters":[]},{"declaring":"Predicate","name":"or","return":"Predicate","parameters":["Predicate"]},{"declaring":"Predicate","name":"test","return":"boolean","parameters":["def"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Supplier","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Supplier","name":"get","return":"def","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ToDoubleBiFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ToDoubleBiFunction","name":"applyAsDouble","return":"double","parameters":["def","def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ToDoubleFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ToDoubleFunction","name":"applyAsDouble","return":"double","parameters":["def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ToIntBiFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ToIntBiFunction","name":"applyAsInt","return":"int","parameters":["def","def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ToIntFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ToIntFunction","name":"applyAsInt","return":"int","parameters":["def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ToLongBiFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ToLongBiFunction","name":"applyAsLong","return":"long","parameters":["def","def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ToLongFunction","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ToLongFunction","name":"applyAsLong","return":"long","parameters":["def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"UnaryOperator","imported":true,"constructors":[],"static_methods":[{"declaring":"UnaryOperator","name":"identity","return":"UnaryOperator","parameters":[]}],"methods":[{"declaring":"Function","name":"andThen","return":"Function","parameters":["Function"]},{"declaring":"Function","name":"apply","return":"def","parameters":["def"]},{"declaring":"Function","name":"compose","return":"Function","parameters":["Function"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Matcher","imported":true,"constructors":[],"static_methods":[{"declaring":"Matcher","name":"quoteReplacement","return":"String","parameters":["String"]}],"methods":[{"declaring":"Matcher","name":"end","return":"int","parameters":[]},{"declaring":"Matcher","name":"end","return":"int","parameters":["int"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Matcher","name":"find","return":"boolean","parameters":[]},{"declaring":"Matcher","name":"find","return":"boolean","parameters":["int"]},{"declaring":"Matcher","name":"group","return":"String","parameters":[]},{"declaring":"Matcher","name":"group","return":"String","parameters":["int"]},{"declaring":"Matcher","name":"groupCount","return":"int","parameters":[]},{"declaring":"Matcher","name":"hasAnchoringBounds","return":"boolean","parameters":[]},{"declaring":"Matcher","name":"hasTransparentBounds","return":"boolean","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Matcher","name":"hitEnd","return":"boolean","parameters":[]},{"declaring":"Matcher","name":"lookingAt","return":"boolean","parameters":[]},{"declaring":"Matcher","name":"matches","return":"boolean","parameters":[]},{"declaring":null,"name":"namedGroup","return":"String","parameters":["String"]},{"declaring":"Matcher","name":"pattern","return":"Pattern","parameters":[]},{"declaring":"Matcher","name":"region","return":"Matcher","parameters":["int","int"]},{"declaring":"Matcher","name":"regionEnd","return":"int","parameters":[]},{"declaring":"Matcher","name":"regionStart","return":"int","parameters":[]},{"declaring":"Matcher","name":"replaceAll","return":"String","parameters":["String"]},{"declaring":"Matcher","name":"replaceFirst","return":"String","parameters":["String"]},{"declaring":"Matcher","name":"requireEnd","return":"boolean","parameters":[]},{"declaring":"Matcher","name":"reset","return":"Matcher","parameters":[]},{"declaring":"Matcher","name":"start","return":"int","parameters":[]},{"declaring":"Matcher","name":"start","return":"int","parameters":["int"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"Matcher","name":"useAnchoringBounds","return":"Matcher","parameters":["boolean"]},{"declaring":"Matcher","name":"usePattern","return":"Matcher","parameters":["Pattern"]},{"declaring":"Matcher","name":"useTransparentBounds","return":"Matcher","parameters":["boolean"]}],"static_fields":[],"fields":[]},{"name":"Pattern","imported":true,"constructors":[],"static_methods":[{"declaring":"Pattern","name":"quote","return":"String","parameters":["String"]}],"methods":[{"declaring":"Pattern","name":"asPredicate","return":"Predicate","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Pattern","name":"flags","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":null,"name":"matcher","return":"Matcher","parameters":["CharSequence"]},{"declaring":"Pattern","name":"pattern","return":"String","parameters":[]},{"declaring":null,"name":"split","return":"String[]","parameters":["CharSequence"]},{"declaring":null,"name":"split","return":"String[]","parameters":["CharSequence","int"]},{"declaring":null,"name":"splitAsStream","return":"Stream","parameters":["CharSequence"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"BaseStream","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"BaseStream","name":"close","return":"void","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"BaseStream","name":"isParallel","return":"boolean","parameters":[]},{"declaring":"BaseStream","name":"iterator","return":"Iterator","parameters":[]},{"declaring":"BaseStream","name":"sequential","return":"BaseStream","parameters":[]},{"declaring":"BaseStream","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"BaseStream","name":"unordered","return":"BaseStream","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Collector","imported":true,"constructors":[],"static_methods":[{"declaring":"Collector","name":"of","return":"Collector","parameters":["Supplier","BiConsumer","BinaryOperator","Collector.Characteristics[]"]},{"declaring":"Collector","name":"of","return":"Collector","parameters":["Supplier","BiConsumer","BinaryOperator","Function","Collector.Characteristics[]"]}],"methods":[{"declaring":"Collector","name":"accumulator","return":"BiConsumer","parameters":[]},{"declaring":"Collector","name":"characteristics","return":"Set","parameters":[]},{"declaring":"Collector","name":"combiner","return":"BinaryOperator","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Collector","name":"finisher","return":"Function","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Collector","name":"supplier","return":"Supplier","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Collector.Characteristics","imported":true,"constructors":[],"static_methods":[{"declaring":"Collector.Characteristics","name":"valueOf","return":"Collector.Characteristics","parameters":["String"]},{"declaring":"Collector.Characteristics","name":"values","return":"Collector.Characteristics[]","parameters":[]}],"methods":[{"declaring":"Enum","name":"compareTo","return":"int","parameters":["Enum"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Enum","name":"name","return":"String","parameters":[]},{"declaring":"Enum","name":"ordinal","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[{"declaring":"Collector.Characteristics","name":"CONCURRENT","type":"Collector.Characteristics"},{"declaring":"Collector.Characteristics","name":"IDENTITY_FINISH","type":"Collector.Characteristics"},{"declaring":"Collector.Characteristics","name":"UNORDERED","type":"Collector.Characteristics"}],"fields":[]},{"name":"Collectors","imported":true,"constructors":[],"static_methods":[{"declaring":"Collectors","name":"averagingDouble","return":"Collector","parameters":["ToDoubleFunction"]},{"declaring":"Collectors","name":"averagingInt","return":"Collector","parameters":["ToIntFunction"]},{"declaring":"Collectors","name":"averagingLong","return":"Collector","parameters":["ToLongFunction"]},{"declaring":"Collectors","name":"collectingAndThen","return":"Collector","parameters":["Collector","Function"]},{"declaring":"Collectors","name":"counting","return":"Collector","parameters":[]},{"declaring":"Collectors","name":"groupingBy","return":"Collector","parameters":["Function"]},{"declaring":"Collectors","name":"groupingBy","return":"Collector","parameters":["Function","Collector"]},{"declaring":"Collectors","name":"groupingBy","return":"Collector","parameters":["Function","Supplier","Collector"]},{"declaring":"Collectors","name":"joining","return":"Collector","parameters":[]},{"declaring":"Collectors","name":"joining","return":"Collector","parameters":["CharSequence"]},{"declaring":"Collectors","name":"joining","return":"Collector","parameters":["CharSequence","CharSequence","CharSequence"]},{"declaring":"Collectors","name":"mapping","return":"Collector","parameters":["Function","Collector"]},{"declaring":"Collectors","name":"maxBy","return":"Collector","parameters":["Comparator"]},{"declaring":"Collectors","name":"minBy","return":"Collector","parameters":["Comparator"]},{"declaring":"Collectors","name":"partitioningBy","return":"Collector","parameters":["Predicate"]},{"declaring":"Collectors","name":"partitioningBy","return":"Collector","parameters":["Predicate","Collector"]},{"declaring":"Collectors","name":"reducing","return":"Collector","parameters":["BinaryOperator"]},{"declaring":"Collectors","name":"reducing","return":"Collector","parameters":["def","BinaryOperator"]},{"declaring":"Collectors","name":"reducing","return":"Collector","parameters":["def","Function","BinaryOperator"]},{"declaring":"Collectors","name":"summarizingDouble","return":"Collector","parameters":["ToDoubleFunction"]},{"declaring":"Collectors","name":"summarizingInt","return":"Collector","parameters":["ToIntFunction"]},{"declaring":"Collectors","name":"summarizingLong","return":"Collector","parameters":["ToLongFunction"]},{"declaring":"Collectors","name":"summingDouble","return":"Collector","parameters":["ToDoubleFunction"]},{"declaring":"Collectors","name":"summingInt","return":"Collector","parameters":["ToIntFunction"]},{"declaring":"Collectors","name":"summingLong","return":"Collector","parameters":["ToLongFunction"]},{"declaring":"Collectors","name":"toCollection","return":"Collector","parameters":["Supplier"]},{"declaring":"Collectors","name":"toList","return":"Collector","parameters":[]},{"declaring":"Collectors","name":"toMap","return":"Collector","parameters":["Function","Function"]},{"declaring":"Collectors","name":"toMap","return":"Collector","parameters":["Function","Function","BinaryOperator"]},{"declaring":"Collectors","name":"toMap","return":"Collector","parameters":["Function","Function","BinaryOperator","Supplier"]},{"declaring":"Collectors","name":"toSet","return":"Collector","parameters":[]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoubleStream","imported":true,"constructors":[],"static_methods":[{"declaring":"DoubleStream","name":"builder","return":"DoubleStream.Builder","parameters":[]},{"declaring":"DoubleStream","name":"concat","return":"DoubleStream","parameters":["DoubleStream","DoubleStream"]},{"declaring":"DoubleStream","name":"empty","return":"DoubleStream","parameters":[]},{"declaring":"DoubleStream","name":"of","return":"DoubleStream","parameters":["double[]"]}],"methods":[{"declaring":"DoubleStream","name":"allMatch","return":"boolean","parameters":["DoublePredicate"]},{"declaring":"DoubleStream","name":"anyMatch","return":"boolean","parameters":["DoublePredicate"]},{"declaring":"DoubleStream","name":"average","return":"OptionalDouble","parameters":[]},{"declaring":"DoubleStream","name":"boxed","return":"Stream","parameters":[]},{"declaring":"BaseStream","name":"close","return":"void","parameters":[]},{"declaring":"DoubleStream","name":"collect","return":"def","parameters":["Supplier","ObjDoubleConsumer","BiConsumer"]},{"declaring":"DoubleStream","name":"count","return":"long","parameters":[]},{"declaring":"DoubleStream","name":"distinct","return":"DoubleStream","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"DoubleStream","name":"filter","return":"DoubleStream","parameters":["DoublePredicate"]},{"declaring":"DoubleStream","name":"findAny","return":"OptionalDouble","parameters":[]},{"declaring":"DoubleStream","name":"findFirst","return":"OptionalDouble","parameters":[]},{"declaring":"DoubleStream","name":"flatMap","return":"DoubleStream","parameters":["DoubleFunction"]},{"declaring":"DoubleStream","name":"forEach","return":"void","parameters":["DoubleConsumer"]},{"declaring":"DoubleStream","name":"forEachOrdered","return":"void","parameters":["DoubleConsumer"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"BaseStream","name":"isParallel","return":"boolean","parameters":[]},{"declaring":"DoubleStream","name":"iterator","return":"PrimitiveIterator.OfDouble","parameters":[]},{"declaring":"DoubleStream","name":"limit","return":"DoubleStream","parameters":["long"]},{"declaring":"DoubleStream","name":"map","return":"DoubleStream","parameters":["DoubleUnaryOperator"]},{"declaring":"DoubleStream","name":"mapToInt","return":"IntStream","parameters":["DoubleToIntFunction"]},{"declaring":"DoubleStream","name":"mapToLong","return":"LongStream","parameters":["DoubleToLongFunction"]},{"declaring":"DoubleStream","name":"mapToObj","return":"Stream","parameters":["DoubleFunction"]},{"declaring":"DoubleStream","name":"max","return":"OptionalDouble","parameters":[]},{"declaring":"DoubleStream","name":"min","return":"OptionalDouble","parameters":[]},{"declaring":"DoubleStream","name":"noneMatch","return":"boolean","parameters":["DoublePredicate"]},{"declaring":"DoubleStream","name":"peek","return":"DoubleStream","parameters":["DoubleConsumer"]},{"declaring":"DoubleStream","name":"reduce","return":"OptionalDouble","parameters":["DoubleBinaryOperator"]},{"declaring":"DoubleStream","name":"reduce","return":"double","parameters":["double","DoubleBinaryOperator"]},{"declaring":"DoubleStream","name":"sequential","return":"DoubleStream","parameters":[]},{"declaring":"DoubleStream","name":"skip","return":"DoubleStream","parameters":["long"]},{"declaring":"DoubleStream","name":"sorted","return":"DoubleStream","parameters":[]},{"declaring":"DoubleStream","name":"spliterator","return":"Spliterator.OfDouble","parameters":[]},{"declaring":"DoubleStream","name":"sum","return":"double","parameters":[]},{"declaring":"DoubleStream","name":"summaryStatistics","return":"DoubleSummaryStatistics","parameters":[]},{"declaring":"DoubleStream","name":"toArray","return":"double[]","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"BaseStream","name":"unordered","return":"BaseStream","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DoubleStream.Builder","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"DoubleConsumer","name":"accept","return":"void","parameters":["double"]},{"declaring":"DoubleStream.Builder","name":"add","return":"DoubleStream.Builder","parameters":["double"]},{"declaring":"DoubleConsumer","name":"andThen","return":"DoubleConsumer","parameters":["DoubleConsumer"]},{"declaring":"DoubleStream.Builder","name":"build","return":"DoubleStream","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntStream","imported":true,"constructors":[],"static_methods":[{"declaring":"IntStream","name":"builder","return":"IntStream.Builder","parameters":[]},{"declaring":"IntStream","name":"concat","return":"IntStream","parameters":["IntStream","IntStream"]},{"declaring":"IntStream","name":"empty","return":"IntStream","parameters":[]},{"declaring":"IntStream","name":"of","return":"IntStream","parameters":["int[]"]},{"declaring":"IntStream","name":"range","return":"IntStream","parameters":["int","int"]},{"declaring":"IntStream","name":"rangeClosed","return":"IntStream","parameters":["int","int"]}],"methods":[{"declaring":"IntStream","name":"allMatch","return":"boolean","parameters":["IntPredicate"]},{"declaring":"IntStream","name":"anyMatch","return":"boolean","parameters":["IntPredicate"]},{"declaring":"IntStream","name":"asDoubleStream","return":"DoubleStream","parameters":[]},{"declaring":"IntStream","name":"asLongStream","return":"LongStream","parameters":[]},{"declaring":"IntStream","name":"average","return":"OptionalDouble","parameters":[]},{"declaring":"IntStream","name":"boxed","return":"Stream","parameters":[]},{"declaring":"BaseStream","name":"close","return":"void","parameters":[]},{"declaring":"IntStream","name":"collect","return":"def","parameters":["Supplier","ObjIntConsumer","BiConsumer"]},{"declaring":"IntStream","name":"count","return":"long","parameters":[]},{"declaring":"IntStream","name":"distinct","return":"IntStream","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"IntStream","name":"filter","return":"IntStream","parameters":["IntPredicate"]},{"declaring":"IntStream","name":"findAny","return":"OptionalInt","parameters":[]},{"declaring":"IntStream","name":"findFirst","return":"OptionalInt","parameters":[]},{"declaring":"IntStream","name":"flatMap","return":"IntStream","parameters":["IntFunction"]},{"declaring":"IntStream","name":"forEach","return":"void","parameters":["IntConsumer"]},{"declaring":"IntStream","name":"forEachOrdered","return":"void","parameters":["IntConsumer"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"BaseStream","name":"isParallel","return":"boolean","parameters":[]},{"declaring":"IntStream","name":"iterator","return":"PrimitiveIterator.OfInt","parameters":[]},{"declaring":"IntStream","name":"limit","return":"IntStream","parameters":["long"]},{"declaring":"IntStream","name":"map","return":"IntStream","parameters":["IntUnaryOperator"]},{"declaring":"IntStream","name":"mapToDouble","return":"DoubleStream","parameters":["IntToDoubleFunction"]},{"declaring":"IntStream","name":"mapToLong","return":"LongStream","parameters":["IntToLongFunction"]},{"declaring":"IntStream","name":"mapToObj","return":"Stream","parameters":["IntFunction"]},{"declaring":"IntStream","name":"max","return":"OptionalInt","parameters":[]},{"declaring":"IntStream","name":"min","return":"OptionalInt","parameters":[]},{"declaring":"IntStream","name":"noneMatch","return":"boolean","parameters":["IntPredicate"]},{"declaring":"IntStream","name":"peek","return":"IntStream","parameters":["IntConsumer"]},{"declaring":"IntStream","name":"reduce","return":"OptionalInt","parameters":["IntBinaryOperator"]},{"declaring":"IntStream","name":"reduce","return":"int","parameters":["int","IntBinaryOperator"]},{"declaring":"IntStream","name":"sequential","return":"IntStream","parameters":[]},{"declaring":"IntStream","name":"skip","return":"IntStream","parameters":["long"]},{"declaring":"IntStream","name":"sorted","return":"IntStream","parameters":[]},{"declaring":"IntStream","name":"spliterator","return":"Spliterator.OfInt","parameters":[]},{"declaring":"IntStream","name":"sum","return":"int","parameters":[]},{"declaring":"IntStream","name":"summaryStatistics","return":"IntSummaryStatistics","parameters":[]},{"declaring":"IntStream","name":"toArray","return":"int[]","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"BaseStream","name":"unordered","return":"BaseStream","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntStream.Builder","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"IntConsumer","name":"accept","return":"void","parameters":["int"]},{"declaring":"IntStream.Builder","name":"add","return":"IntStream.Builder","parameters":["int"]},{"declaring":"IntConsumer","name":"andThen","return":"IntConsumer","parameters":["IntConsumer"]},{"declaring":"IntStream.Builder","name":"build","return":"IntStream","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LongStream","imported":true,"constructors":[],"static_methods":[{"declaring":"LongStream","name":"builder","return":"LongStream.Builder","parameters":[]},{"declaring":"LongStream","name":"concat","return":"LongStream","parameters":["LongStream","LongStream"]},{"declaring":"LongStream","name":"empty","return":"LongStream","parameters":[]},{"declaring":"LongStream","name":"of","return":"LongStream","parameters":["long[]"]},{"declaring":"LongStream","name":"range","return":"LongStream","parameters":["long","long"]},{"declaring":"LongStream","name":"rangeClosed","return":"LongStream","parameters":["long","long"]}],"methods":[{"declaring":"LongStream","name":"allMatch","return":"boolean","parameters":["LongPredicate"]},{"declaring":"LongStream","name":"anyMatch","return":"boolean","parameters":["LongPredicate"]},{"declaring":"LongStream","name":"asDoubleStream","return":"DoubleStream","parameters":[]},{"declaring":"LongStream","name":"average","return":"OptionalDouble","parameters":[]},{"declaring":"LongStream","name":"boxed","return":"Stream","parameters":[]},{"declaring":"BaseStream","name":"close","return":"void","parameters":[]},{"declaring":"LongStream","name":"collect","return":"def","parameters":["Supplier","ObjLongConsumer","BiConsumer"]},{"declaring":"LongStream","name":"count","return":"long","parameters":[]},{"declaring":"LongStream","name":"distinct","return":"LongStream","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"LongStream","name":"filter","return":"LongStream","parameters":["LongPredicate"]},{"declaring":"LongStream","name":"findAny","return":"OptionalLong","parameters":[]},{"declaring":"LongStream","name":"findFirst","return":"OptionalLong","parameters":[]},{"declaring":"LongStream","name":"flatMap","return":"LongStream","parameters":["LongFunction"]},{"declaring":"LongStream","name":"forEach","return":"void","parameters":["LongConsumer"]},{"declaring":"LongStream","name":"forEachOrdered","return":"void","parameters":["LongConsumer"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"BaseStream","name":"isParallel","return":"boolean","parameters":[]},{"declaring":"LongStream","name":"iterator","return":"PrimitiveIterator.OfLong","parameters":[]},{"declaring":"LongStream","name":"limit","return":"LongStream","parameters":["long"]},{"declaring":"LongStream","name":"map","return":"LongStream","parameters":["LongUnaryOperator"]},{"declaring":"LongStream","name":"mapToDouble","return":"DoubleStream","parameters":["LongToDoubleFunction"]},{"declaring":"LongStream","name":"mapToInt","return":"IntStream","parameters":["LongToIntFunction"]},{"declaring":"LongStream","name":"mapToObj","return":"Stream","parameters":["LongFunction"]},{"declaring":"LongStream","name":"max","return":"OptionalLong","parameters":[]},{"declaring":"LongStream","name":"min","return":"OptionalLong","parameters":[]},{"declaring":"LongStream","name":"noneMatch","return":"boolean","parameters":["LongPredicate"]},{"declaring":"LongStream","name":"peek","return":"LongStream","parameters":["LongConsumer"]},{"declaring":"LongStream","name":"reduce","return":"OptionalLong","parameters":["LongBinaryOperator"]},{"declaring":"LongStream","name":"reduce","return":"long","parameters":["long","LongBinaryOperator"]},{"declaring":"LongStream","name":"sequential","return":"LongStream","parameters":[]},{"declaring":"LongStream","name":"skip","return":"LongStream","parameters":["long"]},{"declaring":"LongStream","name":"sorted","return":"LongStream","parameters":[]},{"declaring":"LongStream","name":"spliterator","return":"Spliterator.OfLong","parameters":[]},{"declaring":"LongStream","name":"sum","return":"long","parameters":[]},{"declaring":"LongStream","name":"summaryStatistics","return":"LongSummaryStatistics","parameters":[]},{"declaring":"LongStream","name":"toArray","return":"long[]","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"BaseStream","name":"unordered","return":"BaseStream","parameters":[]}],"static_fields":[],"fields":[]},{"name":"LongStream.Builder","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"LongConsumer","name":"accept","return":"void","parameters":["long"]},{"declaring":"LongStream.Builder","name":"add","return":"LongStream.Builder","parameters":["long"]},{"declaring":"LongConsumer","name":"andThen","return":"LongConsumer","parameters":["LongConsumer"]},{"declaring":"LongStream.Builder","name":"build","return":"LongStream","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Stream","imported":true,"constructors":[],"static_methods":[{"declaring":"Stream","name":"builder","return":"Stream.Builder","parameters":[]},{"declaring":"Stream","name":"concat","return":"Stream","parameters":["Stream","Stream"]},{"declaring":"Stream","name":"empty","return":"Stream","parameters":[]},{"declaring":"Stream","name":"of","return":"Stream","parameters":["def[]"]}],"methods":[{"declaring":"Stream","name":"allMatch","return":"boolean","parameters":["Predicate"]},{"declaring":"Stream","name":"anyMatch","return":"boolean","parameters":["Predicate"]},{"declaring":"BaseStream","name":"close","return":"void","parameters":[]},{"declaring":"Stream","name":"collect","return":"def","parameters":["Collector"]},{"declaring":"Stream","name":"collect","return":"def","parameters":["Supplier","BiConsumer","BiConsumer"]},{"declaring":"Stream","name":"count","return":"long","parameters":[]},{"declaring":"Stream","name":"distinct","return":"Stream","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Stream","name":"filter","return":"Stream","parameters":["Predicate"]},{"declaring":"Stream","name":"findAny","return":"Optional","parameters":[]},{"declaring":"Stream","name":"findFirst","return":"Optional","parameters":[]},{"declaring":"Stream","name":"flatMap","return":"Stream","parameters":["Function"]},{"declaring":"Stream","name":"flatMapToDouble","return":"DoubleStream","parameters":["Function"]},{"declaring":"Stream","name":"flatMapToInt","return":"IntStream","parameters":["Function"]},{"declaring":"Stream","name":"flatMapToLong","return":"LongStream","parameters":["Function"]},{"declaring":"Stream","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"Stream","name":"forEachOrdered","return":"void","parameters":["Consumer"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"BaseStream","name":"isParallel","return":"boolean","parameters":[]},{"declaring":"BaseStream","name":"iterator","return":"Iterator","parameters":[]},{"declaring":"Stream","name":"limit","return":"Stream","parameters":["long"]},{"declaring":"Stream","name":"map","return":"Stream","parameters":["Function"]},{"declaring":"Stream","name":"mapToDouble","return":"DoubleStream","parameters":["ToDoubleFunction"]},{"declaring":"Stream","name":"mapToInt","return":"IntStream","parameters":["ToIntFunction"]},{"declaring":"Stream","name":"mapToLong","return":"LongStream","parameters":["ToLongFunction"]},{"declaring":"Stream","name":"max","return":"Optional","parameters":["Comparator"]},{"declaring":"Stream","name":"min","return":"Optional","parameters":["Comparator"]},{"declaring":"Stream","name":"noneMatch","return":"boolean","parameters":["Predicate"]},{"declaring":"Stream","name":"peek","return":"Stream","parameters":["Consumer"]},{"declaring":"Stream","name":"reduce","return":"Optional","parameters":["BinaryOperator"]},{"declaring":"Stream","name":"reduce","return":"def","parameters":["def","BinaryOperator"]},{"declaring":"Stream","name":"reduce","return":"def","parameters":["def","BiFunction","BinaryOperator"]},{"declaring":"BaseStream","name":"sequential","return":"BaseStream","parameters":[]},{"declaring":"Stream","name":"skip","return":"Stream","parameters":["long"]},{"declaring":"Stream","name":"sorted","return":"Stream","parameters":[]},{"declaring":"Stream","name":"sorted","return":"Stream","parameters":["Comparator"]},{"declaring":"BaseStream","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Stream","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Stream","name":"toArray","return":"def[]","parameters":["IntFunction"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"BaseStream","name":"unordered","return":"BaseStream","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Stream.Builder","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Consumer","name":"accept","return":"void","parameters":["def"]},{"declaring":"Stream.Builder","name":"add","return":"Stream.Builder","parameters":["def"]},{"declaring":"Consumer","name":"andThen","return":"Consumer","parameters":["Consumer"]},{"declaring":"Stream.Builder","name":"build","return":"Stream","parameters":[]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"BytesRef","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"BytesRef","name":"bytesEquals","return":"boolean","parameters":["BytesRef"]},{"declaring":"Comparable","name":"compareTo","return":"int","parameters":["def"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]},{"declaring":"BytesRef","name":"utf8ToString","return":"String","parameters":[]}],"static_fields":[],"fields":[{"declaring":"BytesRef","name":"bytes","type":"byte[]"},{"declaring":"BytesRef","name":"length","type":"int"},{"declaring":"BytesRef","name":"offset","type":"int"}]},{"name":"GeoPoint","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"GeoPoint","name":"getLat","return":"double","parameters":[]},{"declaring":"GeoPoint","name":"getLon","return":"double","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptDocValues.Booleans","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"ScriptDocValues.Booleans","name":"get","return":"Boolean","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"ScriptDocValues.Booleans","name":"getValue","return":"boolean","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptDocValues.BytesRefs","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"ScriptDocValues.BytesRefs","name":"get","return":"BytesRef","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"ScriptDocValues.BytesRefs","name":"getValue","return":"BytesRef","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptDocValues.Dates","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"ScriptDocValues.Dates","name":"get","return":"JodaCompatibleZonedDateTime","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"ScriptDocValues.Dates","name":"getValue","return":"JodaCompatibleZonedDateTime","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptDocValues.Doubles","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"ScriptDocValues.Doubles","name":"get","return":"Double","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"ScriptDocValues.Doubles","name":"getValue","return":"double","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptDocValues.GeoPoints","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":"ScriptDocValues.GeoPoints","name":"arcDistance","return":"double","parameters":["double","double"]},{"declaring":"ScriptDocValues.GeoPoints","name":"arcDistanceWithDefault","return":"double","parameters":["double","double","double"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"ScriptDocValues.GeoPoints","name":"geohashDistance","return":"double","parameters":["String"]},{"declaring":"ScriptDocValues.GeoPoints","name":"geohashDistanceWithDefault","return":"double","parameters":["String","double"]},{"declaring":"ScriptDocValues.GeoPoints","name":"get","return":"GeoPoint","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":"ScriptDocValues.GeoPoints","name":"getLat","return":"double","parameters":[]},{"declaring":"ScriptDocValues.GeoPoints","name":"getLats","return":"double[]","parameters":[]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"ScriptDocValues.GeoPoints","name":"getLon","return":"double","parameters":[]},{"declaring":"ScriptDocValues.GeoPoints","name":"getLons","return":"double[]","parameters":[]},{"declaring":"ScriptDocValues.GeoPoints","name":"getValue","return":"GeoPoint","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"ScriptDocValues.GeoPoints","name":"planeDistance","return":"double","parameters":["double","double"]},{"declaring":"ScriptDocValues.GeoPoints","name":"planeDistanceWithDefault","return":"double","parameters":["double","double","double"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptDocValues.Longs","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"ScriptDocValues.Longs","name":"get","return":"Long","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"ScriptDocValues.Longs","name":"getValue","return":"long","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptDocValues.Strings","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"ScriptDocValues.Strings","name":"get","return":"String","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"ScriptDocValues.Strings","name":"getValue","return":"String","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IpFieldMapper.IpFieldType.IpScriptDocValues","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"IpFieldMapper.IpFieldType.IpScriptDocValues","name":"get","return":"String","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"IpFieldMapper.IpFieldType.IpScriptDocValues","name":"getValue","return":"String","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalFilterScript.Interval","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"IntervalFilterScript.Interval","name":"getEnd","return":"int","parameters":[]},{"declaring":"IntervalFilterScript.Interval","name":"getGaps","return":"int","parameters":[]},{"declaring":"IntervalFilterScript.Interval","name":"getStart","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptedSimilarity.Doc","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ScriptedSimilarity.Doc","name":"getFreq","return":"float","parameters":[]},{"declaring":"ScriptedSimilarity.Doc","name":"getLength","return":"int","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptedSimilarity.Field","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ScriptedSimilarity.Field","name":"getDocCount","return":"long","parameters":[]},{"declaring":"ScriptedSimilarity.Field","name":"getSumDocFreq","return":"long","parameters":[]},{"declaring":"ScriptedSimilarity.Field","name":"getSumTotalTermFreq","return":"long","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptedSimilarity.Query","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ScriptedSimilarity.Query","name":"getBoost","return":"float","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"ScriptedSimilarity.Term","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ScriptedSimilarity.Term","name":"getDocFreq","return":"long","parameters":[]},{"declaring":"ScriptedSimilarity.Term","name":"getTotalTermFreq","return":"long","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Debug","imported":true,"constructors":[],"static_methods":[{"declaring":"Debug","name":"explain","return":"void","parameters":["Object"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"JodaCompatibleZonedDateTime","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"ChronoZonedDateTime","name":"compareTo","return":"int","parameters":["ChronoZonedDateTime"]},{"declaring":"ChronoZonedDateTime","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"ChronoZonedDateTime","name":"format","return":"String","parameters":["DateTimeFormatter"]},{"declaring":"TemporalAccessor","name":"get","return":"int","parameters":["TemporalField"]},{"declaring":"JodaCompatibleZonedDateTime","name":"getCenturyOfEra","return":"int","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"getChronology","return":"Chronology","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getDayOfMonth","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getDayOfWeek","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getDayOfWeekEnum","return":"DayOfWeek","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getDayOfYear","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getEra","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getHour","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getHourOfDay","return":"int","parameters":[]},{"declaring":"TemporalAccessor","name":"getLong","return":"long","parameters":["TemporalField"]},{"declaring":"JodaCompatibleZonedDateTime","name":"getMillis","return":"long","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getMillisOfDay","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getMillisOfSecond","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getMinute","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getMinuteOfDay","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getMinuteOfHour","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getMonth","return":"Month","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getMonthOfYear","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getMonthValue","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getNano","return":"int","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"getOffset","return":"ZoneOffset","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getSecond","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getSecondOfDay","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getSecondOfMinute","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getWeekOfWeekyear","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getWeekyear","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getYear","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getYearOfCentury","return":"int","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"getYearOfEra","return":"int","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"getZone","return":"ZoneId","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"hashCode","return":"int","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"isAfter","return":"boolean","parameters":["ChronoZonedDateTime"]},{"declaring":"ChronoZonedDateTime","name":"isBefore","return":"boolean","parameters":["ChronoZonedDateTime"]},{"declaring":"ChronoZonedDateTime","name":"isEqual","return":"boolean","parameters":["ChronoZonedDateTime"]},{"declaring":"TemporalAccessor","name":"isSupported","return":"boolean","parameters":["TemporalField"]},{"declaring":"JodaCompatibleZonedDateTime","name":"minus","return":"ZonedDateTime","parameters":["TemporalAmount"]},{"declaring":"JodaCompatibleZonedDateTime","name":"minus","return":"ZonedDateTime","parameters":["long","TemporalUnit"]},{"declaring":"JodaCompatibleZonedDateTime","name":"minusDays","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"minusHours","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"minusMinutes","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"minusMonths","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"minusNanos","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"minusSeconds","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"minusWeeks","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"minusYears","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"plus","return":"ZonedDateTime","parameters":["TemporalAmount"]},{"declaring":"JodaCompatibleZonedDateTime","name":"plus","return":"ZonedDateTime","parameters":["long","TemporalUnit"]},{"declaring":"JodaCompatibleZonedDateTime","name":"plusDays","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"plusHours","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"plusMinutes","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"plusMonths","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"plusNanos","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"plusSeconds","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"plusWeeks","return":"ZonedDateTime","parameters":["long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"plusYears","return":"ZonedDateTime","parameters":["long"]},{"declaring":"TemporalAccessor","name":"query","return":"def","parameters":["TemporalQuery"]},{"declaring":"TemporalAccessor","name":"range","return":"ValueRange","parameters":["TemporalField"]},{"declaring":null,"name":"toEpochMilli","return":"long","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toEpochSecond","return":"long","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toInstant","return":"Instant","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"toLocalDate","return":"LocalDate","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"toLocalDateTime","return":"LocalDateTime","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toLocalTime","return":"LocalTime","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"toOffsetDateTime","return":"OffsetDateTime","parameters":[]},{"declaring":"ChronoZonedDateTime","name":"toString","return":"String","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"toString","return":"String","parameters":["String"]},{"declaring":"JodaCompatibleZonedDateTime","name":"toString","return":"String","parameters":["String","Locale"]},{"declaring":"JodaCompatibleZonedDateTime","name":"truncatedTo","return":"ZonedDateTime","parameters":["TemporalUnit"]},{"declaring":"Temporal","name":"until","return":"long","parameters":["Temporal","TemporalUnit"]},{"declaring":"JodaCompatibleZonedDateTime","name":"with","return":"ZonedDateTime","parameters":["TemporalAdjuster"]},{"declaring":"JodaCompatibleZonedDateTime","name":"with","return":"ZonedDateTime","parameters":["TemporalField","long"]},{"declaring":"JodaCompatibleZonedDateTime","name":"withDayOfMonth","return":"ZonedDateTime","parameters":["int"]},{"declaring":"JodaCompatibleZonedDateTime","name":"withDayOfYear","return":"ZonedDateTime","parameters":["int"]},{"declaring":"JodaCompatibleZonedDateTime","name":"withEarlierOffsetAtOverlap","return":"ZonedDateTime","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"withFixedOffsetZone","return":"ZonedDateTime","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"withHour","return":"ZonedDateTime","parameters":["int"]},{"declaring":"JodaCompatibleZonedDateTime","name":"withLaterOffsetAtOverlap","return":"ZonedDateTime","parameters":[]},{"declaring":"JodaCompatibleZonedDateTime","name":"withMinute","return":"ZonedDateTime","parameters":["int"]},{"declaring":"JodaCompatibleZonedDateTime","name":"withMonth","return":"ZonedDateTime","parameters":["int"]},{"declaring":"JodaCompatibleZonedDateTime","name":"withNano","return":"ZonedDateTime","parameters":["int"]},{"declaring":"JodaCompatibleZonedDateTime","name":"withSecond","return":"ZonedDateTime","parameters":["int"]},{"declaring":"JodaCompatibleZonedDateTime","name":"withYear","return":"ZonedDateTime","parameters":["int"]},{"declaring":"JodaCompatibleZonedDateTime","name":"withZoneSameInstant","return":"ZonedDateTime","parameters":["ZoneId"]},{"declaring":"JodaCompatibleZonedDateTime","name":"withZoneSameLocal","return":"ZonedDateTime","parameters":["ZoneId"]}],"static_fields":[],"fields":[]},{"name":"FieldLookup","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"FieldLookup","name":"getValue","return":"def","parameters":[]},{"declaring":"FieldLookup","name":"getValues","return":"List","parameters":[]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"FieldLookup","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-date_script_field.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-date_script_field.json new file mode 100644 index 000000000000..23719d96c3d4 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-date_script_field.json @@ -0,0 +1 @@ +{"name":"date_script_field","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.DateFieldScript","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.DateFieldScript.Factory","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[{"declaring":"org.elasticsearch.xpack.runtimefields.mapper.DateFieldScript$Emit","name":"emit","return":"void","read_only":1,"parameters":["org.elasticsearch.xpack.runtimefields.mapper.DateFieldScript","long"]},{"declaring":"org.elasticsearch.xpack.runtimefields.mapper.DateFieldScript$Parse","name":"parse","return":"long","read_only":1,"parameters":["org.elasticsearch.xpack.runtimefields.mapper.DateFieldScript","org.elasticsearch.painless.lookup.def"]}],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-double_script_field_script_field.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-double_script_field_script_field.json new file mode 100644 index 000000000000..4137089d098c --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-double_script_field_script_field.json @@ -0,0 +1 @@ +{"name":"double_script_field_script_field","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.DoubleFieldScript","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.DoubleFieldScript.Factory","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[{"declaring":"org.elasticsearch.xpack.runtimefields.mapper.DoubleFieldScript$Emit","name":"emit","return":"void","read_only":1,"parameters":["org.elasticsearch.xpack.runtimefields.mapper.DoubleFieldScript","double"]}],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-field.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-field.json new file mode 100644 index 000000000000..b80c891d00a8 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-field.json @@ -0,0 +1 @@ +{"name":"field","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"GeoShape","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalDayTime","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalYearMonth","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"VersionScriptDocValues","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"VersionScriptDocValues","name":"get","return":"String","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"VersionScriptDocValues","name":"getValue","return":"String","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[{"declaring":null,"name":"domainSplit","return":"List","parameters":["String"]},{"declaring":null,"name":"domainSplit","return":"List","parameters":["String","Map"]}],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-filter.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-filter.json new file mode 100644 index 000000000000..aef5e327e9e6 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-filter.json @@ -0,0 +1 @@ +{"name":"filter","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"GeoShape","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalDayTime","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalYearMonth","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"VersionScriptDocValues","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"VersionScriptDocValues","name":"get","return":"String","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"VersionScriptDocValues","name":"getValue","return":"String","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-geo_point_script_field_script_field.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-geo_point_script_field_script_field.json new file mode 100644 index 000000000000..1f581e5f849d --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-geo_point_script_field_script_field.json @@ -0,0 +1 @@ +{"name":"geo_point_script_field_script_field","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.GeoPointFieldScript","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.GeoPointFieldScript.Factory","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[{"declaring":"org.elasticsearch.xpack.runtimefields.mapper.GeoPointFieldScript$Emit","name":"emit","return":"void","read_only":1,"parameters":["org.elasticsearch.xpack.runtimefields.mapper.GeoPointFieldScript","double","double"]}],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-ingest.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-ingest.json new file mode 100644 index 000000000000..2b0fda4b3fee --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-ingest.json @@ -0,0 +1 @@ +{"name":"ingest","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"sha1","return":"String","parameters":[]},{"declaring":null,"name":"sha256","return":"String","parameters":[]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Processors","imported":true,"constructors":[],"static_methods":[{"declaring":"Processors","name":"bytes","return":"long","parameters":["String"]},{"declaring":"Processors","name":"json","return":"Object","parameters":["Object"]},{"declaring":"Processors","name":"json","return":"void","parameters":["Map","String"]},{"declaring":"Processors","name":"lowercase","return":"String","parameters":["String"]},{"declaring":"Processors","name":"uppercase","return":"String","parameters":["String"]},{"declaring":"Processors","name":"urlDecode","return":"String","parameters":["String"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-interval.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-interval.json new file mode 100644 index 000000000000..8237a9e08e52 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-interval.json @@ -0,0 +1 @@ +{"name":"interval","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-ip_script_field_script_field.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-ip_script_field_script_field.json new file mode 100644 index 000000000000..8e6c4eeed22a --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-ip_script_field_script_field.json @@ -0,0 +1 @@ +{"name":"ip_script_field_script_field","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.IpFieldScript","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.IpFieldScript.Factory","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[{"declaring":"org.elasticsearch.xpack.runtimefields.mapper.IpFieldScript$Emit","name":"emit","return":"void","read_only":1,"parameters":["org.elasticsearch.xpack.runtimefields.mapper.IpFieldScript","java.lang.String"]}],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-long_script_field_script_field.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-long_script_field_script_field.json new file mode 100644 index 000000000000..2059062468f7 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-long_script_field_script_field.json @@ -0,0 +1 @@ +{"name":"long_script_field_script_field","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.LongFieldScript","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.LongFieldScript.Factory","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[{"declaring":"org.elasticsearch.xpack.runtimefields.mapper.LongFieldScript$Emit","name":"emit","return":"void","read_only":1,"parameters":["org.elasticsearch.xpack.runtimefields.mapper.LongFieldScript","long"]}],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-moving-function.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-moving-function.json new file mode 100644 index 000000000000..76df8610cb37 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-moving-function.json @@ -0,0 +1 @@ +{"name":"moving-function","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"MovingFunctions","imported":true,"constructors":[],"static_methods":[{"declaring":"MovingFunctions","name":"ewma","return":"double","parameters":["double[]","double"]},{"declaring":"MovingFunctions","name":"holt","return":"double","parameters":["double[]","double","double"]},{"declaring":"MovingFunctions","name":"holtWinters","return":"double","parameters":["double[]","double","double","double","int","boolean"]},{"declaring":"MovingFunctions","name":"linearWeightedAvg","return":"double","parameters":["double[]"]},{"declaring":"MovingFunctions","name":"max","return":"double","parameters":["double[]"]},{"declaring":"MovingFunctions","name":"min","return":"double","parameters":["double[]"]},{"declaring":"MovingFunctions","name":"stdDev","return":"double","parameters":["double[]","double"]},{"declaring":"MovingFunctions","name":"sum","return":"double","parameters":["double[]"]},{"declaring":"MovingFunctions","name":"unweightedAvg","return":"double","parameters":["double[]"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-number_sort.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-number_sort.json new file mode 100644 index 000000000000..074fa711361b --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-number_sort.json @@ -0,0 +1 @@ +{"name":"number_sort","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"GeoShape","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalDayTime","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalYearMonth","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"VersionScriptDocValues","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"VersionScriptDocValues","name":"get","return":"String","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"VersionScriptDocValues","name":"getValue","return":"String","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-painless_test.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-painless_test.json new file mode 100644 index 000000000000..ff103e4d6fd0 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-painless_test.json @@ -0,0 +1 @@ +{"name":"painless_test","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-processor_conditional.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-processor_conditional.json new file mode 100644 index 000000000000..479459067acb --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-processor_conditional.json @@ -0,0 +1 @@ +{"name":"processor_conditional","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-score.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-score.json new file mode 100644 index 000000000000..a5655a6d9b03 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-score.json @@ -0,0 +1 @@ +{"name":"score","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"DenseVectorScriptDocValues","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"List","name":"get","return":"def","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"VersionScriptDocValues","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"VersionScriptDocValues","name":"get","return":"String","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"VersionScriptDocValues","name":"getValue","return":"String","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[{"declaring":null,"name":"saturation","return":"double","parameters":["double","double"]},{"declaring":null,"name":"sigmoid","return":"double","parameters":["double","double","double"]}],"class_bindings":[{"declaring":"org.elasticsearch.xpack.vectors.query.ScoreScriptUtils$CosineSimilarity","name":"cosineSimilarity","return":"double","read_only":3,"parameters":["org.elasticsearch.script.ScoreScript","java.util.List","java.lang.String"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$DecayDateExp","name":"decayDateExp","return":"double","read_only":4,"parameters":["java.lang.String","java.lang.String","java.lang.String","double","org.elasticsearch.script.JodaCompatibleZonedDateTime"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$DecayDateGauss","name":"decayDateGauss","return":"double","read_only":4,"parameters":["java.lang.String","java.lang.String","java.lang.String","double","org.elasticsearch.script.JodaCompatibleZonedDateTime"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$DecayDateLinear","name":"decayDateLinear","return":"double","read_only":4,"parameters":["java.lang.String","java.lang.String","java.lang.String","double","org.elasticsearch.script.JodaCompatibleZonedDateTime"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$DecayGeoExp","name":"decayGeoExp","return":"double","read_only":4,"parameters":["java.lang.String","java.lang.String","java.lang.String","double","org.elasticsearch.common.geo.GeoPoint"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$DecayGeoGauss","name":"decayGeoGauss","return":"double","read_only":4,"parameters":["java.lang.String","java.lang.String","java.lang.String","double","org.elasticsearch.common.geo.GeoPoint"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$DecayGeoLinear","name":"decayGeoLinear","return":"double","read_only":4,"parameters":["java.lang.String","java.lang.String","java.lang.String","double","org.elasticsearch.common.geo.GeoPoint"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$DecayNumericExp","name":"decayNumericExp","return":"double","read_only":4,"parameters":["double","double","double","double","double"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$DecayNumericGauss","name":"decayNumericGauss","return":"double","read_only":4,"parameters":["double","double","double","double","double"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$DecayNumericLinear","name":"decayNumericLinear","return":"double","read_only":4,"parameters":["double","double","double","double","double"]},{"declaring":"org.elasticsearch.xpack.vectors.query.ScoreScriptUtils$DotProduct","name":"dotProduct","return":"double","read_only":3,"parameters":["org.elasticsearch.script.ScoreScript","java.util.List","java.lang.String"]},{"declaring":"org.elasticsearch.xpack.vectors.query.ScoreScriptUtils$L1Norm","name":"l1norm","return":"double","read_only":3,"parameters":["org.elasticsearch.script.ScoreScript","java.util.List","java.lang.String"]},{"declaring":"org.elasticsearch.xpack.vectors.query.ScoreScriptUtils$L2Norm","name":"l2norm","return":"double","read_only":3,"parameters":["org.elasticsearch.script.ScoreScript","java.util.List","java.lang.String"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$RandomScoreDoc","name":"randomScore","return":"double","read_only":2,"parameters":["org.elasticsearch.script.ScoreScript","int"]},{"declaring":"org.elasticsearch.script.ScoreScriptUtils$RandomScoreField","name":"randomScore","return":"double","read_only":3,"parameters":["org.elasticsearch.script.ScoreScript","int","java.lang.String"]}],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-script_heuristic.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-script_heuristic.json new file mode 100644 index 000000000000..138fad284a21 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-script_heuristic.json @@ -0,0 +1 @@ +{"name":"script_heuristic","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-similarity.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-similarity.json new file mode 100644 index 000000000000..827a08bef85d --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-similarity.json @@ -0,0 +1 @@ +{"name":"similarity","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-similarity_weight.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-similarity_weight.json new file mode 100644 index 000000000000..0b4ee21c807e --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-similarity_weight.json @@ -0,0 +1 @@ +{"name":"similarity_weight","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-string_script_field_script_field.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-string_script_field_script_field.json new file mode 100644 index 000000000000..bf144b54c722 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-string_script_field_script_field.json @@ -0,0 +1 @@ +{"name":"string_script_field_script_field","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.StringFieldScript","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"org.elasticsearch.xpack.runtimefields.mapper.StringFieldScript.Factory","imported":false,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[{"declaring":"org.elasticsearch.xpack.runtimefields.mapper.StringFieldScript$Emit","name":"emit","return":"void","read_only":1,"parameters":["org.elasticsearch.xpack.runtimefields.mapper.StringFieldScript","java.lang.String"]}],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-string_sort.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-string_sort.json new file mode 100644 index 000000000000..0f4ff36ea4ef --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-string_sort.json @@ -0,0 +1 @@ +{"name":"string_sort","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"GeoShape","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalDayTime","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"IntervalYearMonth","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"VersionScriptDocValues","imported":true,"constructors":[],"static_methods":[],"methods":[{"declaring":"Collection","name":"add","return":"boolean","parameters":["def"]},{"declaring":"List","name":"add","return":"void","parameters":["int","def"]},{"declaring":"Collection","name":"addAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"addAll","return":"boolean","parameters":["int","Collection"]},{"declaring":null,"name":"any","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"asCollection","return":"Collection","parameters":[]},{"declaring":null,"name":"asList","return":"List","parameters":[]},{"declaring":"Collection","name":"clear","return":"void","parameters":[]},{"declaring":null,"name":"collect","return":"List","parameters":["Function"]},{"declaring":null,"name":"collect","return":"def","parameters":["Collection","Function"]},{"declaring":"Collection","name":"contains","return":"boolean","parameters":["def"]},{"declaring":"Collection","name":"containsAll","return":"boolean","parameters":["Collection"]},{"declaring":null,"name":"each","return":"def","parameters":["Consumer"]},{"declaring":null,"name":"eachWithIndex","return":"def","parameters":["ObjIntConsumer"]},{"declaring":"List","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":null,"name":"every","return":"boolean","parameters":["Predicate"]},{"declaring":null,"name":"find","return":"def","parameters":["Predicate"]},{"declaring":null,"name":"findAll","return":"List","parameters":["Predicate"]},{"declaring":null,"name":"findResult","return":"def","parameters":["Function"]},{"declaring":null,"name":"findResult","return":"def","parameters":["def","Function"]},{"declaring":null,"name":"findResults","return":"List","parameters":["Function"]},{"declaring":"Iterable","name":"forEach","return":"void","parameters":["Consumer"]},{"declaring":"VersionScriptDocValues","name":"get","return":"String","parameters":["int"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String"]},{"declaring":null,"name":"getByPath","return":"Object","parameters":["String","Object"]},{"declaring":null,"name":"getLength","return":"int","parameters":[]},{"declaring":"VersionScriptDocValues","name":"getValue","return":"String","parameters":[]},{"declaring":null,"name":"groupBy","return":"Map","parameters":["Function"]},{"declaring":"List","name":"hashCode","return":"int","parameters":[]},{"declaring":"List","name":"indexOf","return":"int","parameters":["def"]},{"declaring":"Collection","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"Iterable","name":"iterator","return":"Iterator","parameters":[]},{"declaring":null,"name":"join","return":"String","parameters":["String"]},{"declaring":"List","name":"lastIndexOf","return":"int","parameters":["def"]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":[]},{"declaring":"List","name":"listIterator","return":"ListIterator","parameters":["int"]},{"declaring":"List","name":"remove","return":"def","parameters":["int"]},{"declaring":"Collection","name":"removeAll","return":"boolean","parameters":["Collection"]},{"declaring":"Collection","name":"removeIf","return":"boolean","parameters":["Predicate"]},{"declaring":"List","name":"replaceAll","return":"void","parameters":["UnaryOperator"]},{"declaring":"Collection","name":"retainAll","return":"boolean","parameters":["Collection"]},{"declaring":"List","name":"set","return":"def","parameters":["int","def"]},{"declaring":"Collection","name":"size","return":"int","parameters":[]},{"declaring":"List","name":"sort","return":"void","parameters":["Comparator"]},{"declaring":null,"name":"split","return":"List","parameters":["Predicate"]},{"declaring":"Collection","name":"spliterator","return":"Spliterator","parameters":[]},{"declaring":"Collection","name":"stream","return":"Stream","parameters":[]},{"declaring":"List","name":"subList","return":"List","parameters":["int","int"]},{"declaring":null,"name":"sum","return":"double","parameters":[]},{"declaring":null,"name":"sum","return":"double","parameters":["ToDoubleFunction"]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":[]},{"declaring":"Collection","name":"toArray","return":"def[]","parameters":["def[]"]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-template.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-template.json new file mode 100644 index 000000000000..49bd3fb931eb --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-template.json @@ -0,0 +1 @@ +{"name":"template","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-terms_set.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-terms_set.json new file mode 100644 index 000000000000..8eb63753a1a0 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-terms_set.json @@ -0,0 +1 @@ +{"name":"terms_set","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-update.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-update.json new file mode 100644 index 000000000000..4e31f50deec7 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-update.json @@ -0,0 +1 @@ +{"name":"update","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-watcher_condition.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-watcher_condition.json new file mode 100644 index 000000000000..89c7c2c9f64f --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-watcher_condition.json @@ -0,0 +1 @@ +{"name":"watcher_condition","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"sha1","return":"String","parameters":[]},{"declaring":null,"name":"sha256","return":"String","parameters":[]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Json","imported":true,"constructors":[],"static_methods":[{"declaring":"Json","name":"dump","return":"String","parameters":["def"]},{"declaring":"Json","name":"dump","return":"String","parameters":["def","boolean"]},{"declaring":"Json","name":"load","return":"def","parameters":["String"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-watcher_transform.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-watcher_transform.json new file mode 100644 index 000000000000..8696ac69eeb7 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-watcher_transform.json @@ -0,0 +1 @@ +{"name":"watcher_transform","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"sha1","return":"String","parameters":[]},{"declaring":null,"name":"sha256","return":"String","parameters":[]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]},{"name":"Json","imported":true,"constructors":[],"static_methods":[{"declaring":"Json","name":"dump","return":"String","parameters":["def"]},{"declaring":"Json","name":"dump","return":"String","parameters":["def","boolean"]},{"declaring":"Json","name":"load","return":"def","parameters":["String"]}],"methods":[{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"Object","name":"toString","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file diff --git a/modules/lang-painless/src/main/generated/whitelist-json/painless-xpack_template.json b/modules/lang-painless/src/main/generated/whitelist-json/painless-xpack_template.json new file mode 100644 index 000000000000..c77cb7d79172 --- /dev/null +++ b/modules/lang-painless/src/main/generated/whitelist-json/painless-xpack_template.json @@ -0,0 +1 @@ +{"name":"xpack_template","classes":[{"name":"String","imported":true,"constructors":[{"declaring":"String","parameters":[]}],"static_methods":[{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]"]},{"declaring":"String","name":"copyValueOf","return":"String","parameters":["char[]","int","int"]},{"declaring":"String","name":"format","return":"String","parameters":["String","def[]"]},{"declaring":"String","name":"format","return":"String","parameters":["Locale","String","def[]"]},{"declaring":"String","name":"join","return":"String","parameters":["CharSequence","Iterable"]},{"declaring":"String","name":"valueOf","return":"String","parameters":["def"]}],"methods":[{"declaring":"CharSequence","name":"charAt","return":"char","parameters":["int"]},{"declaring":"CharSequence","name":"chars","return":"IntStream","parameters":[]},{"declaring":"String","name":"codePointAt","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointBefore","return":"int","parameters":["int"]},{"declaring":"String","name":"codePointCount","return":"int","parameters":["int","int"]},{"declaring":"CharSequence","name":"codePoints","return":"IntStream","parameters":[]},{"declaring":"String","name":"compareTo","return":"int","parameters":["String"]},{"declaring":"String","name":"compareToIgnoreCase","return":"int","parameters":["String"]},{"declaring":"String","name":"concat","return":"String","parameters":["String"]},{"declaring":"String","name":"contains","return":"boolean","parameters":["CharSequence"]},{"declaring":"String","name":"contentEquals","return":"boolean","parameters":["CharSequence"]},{"declaring":null,"name":"decodeBase64","return":"String","parameters":[]},{"declaring":null,"name":"encodeBase64","return":"String","parameters":[]},{"declaring":"String","name":"endsWith","return":"boolean","parameters":["String"]},{"declaring":"Object","name":"equals","return":"boolean","parameters":["Object"]},{"declaring":"String","name":"equalsIgnoreCase","return":"boolean","parameters":["String"]},{"declaring":"String","name":"getChars","return":"void","parameters":["int","int","char[]","int"]},{"declaring":"Object","name":"hashCode","return":"int","parameters":[]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"indexOf","return":"int","parameters":["String","int"]},{"declaring":"String","name":"isEmpty","return":"boolean","parameters":[]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String"]},{"declaring":"String","name":"lastIndexOf","return":"int","parameters":["String","int"]},{"declaring":"CharSequence","name":"length","return":"int","parameters":[]},{"declaring":"String","name":"offsetByCodePoints","return":"int","parameters":["int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["int","String","int","int"]},{"declaring":"String","name":"regionMatches","return":"boolean","parameters":["boolean","int","String","int","int"]},{"declaring":"String","name":"replace","return":"String","parameters":["CharSequence","CharSequence"]},{"declaring":null,"name":"replaceAll","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"replaceFirst","return":"String","parameters":["Pattern","Function"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String"]},{"declaring":null,"name":"splitOnToken","return":"String[]","parameters":["String","int"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String"]},{"declaring":"String","name":"startsWith","return":"boolean","parameters":["String","int"]},{"declaring":"CharSequence","name":"subSequence","return":"CharSequence","parameters":["int","int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int"]},{"declaring":"String","name":"substring","return":"String","parameters":["int","int"]},{"declaring":"String","name":"toCharArray","return":"char[]","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":[]},{"declaring":"String","name":"toLowerCase","return":"String","parameters":["Locale"]},{"declaring":"CharSequence","name":"toString","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":[]},{"declaring":"String","name":"toUpperCase","return":"String","parameters":["Locale"]},{"declaring":"String","name":"trim","return":"String","parameters":[]}],"static_fields":[],"fields":[]}],"imported_methods":[],"class_bindings":[],"instance_bindings":[]} \ No newline at end of file From 1585078a65676a60aaebdc8ecbaad4a8516b3083 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Wed, 9 Dec 2020 15:20:24 -0500 Subject: [PATCH 29/35] Clean up some aggregation tests (#66044) This rewrites two tests for aggregations to use `AggregatorTestCase`'s simpler way of making `Aggregator`s, allowing us to remove a ctor on `ProductionAggregationContext` that we weren't happy about. Now there is only a single test call to `ProductionAggregationContext` and we can remove that soon. --- .../elasticsearch/search/SearchService.java | 15 ++- .../support/AggregationContext.java | 17 --- .../AggregationCollectorTests.java | 125 +++++++++++++----- ...djacencyMatrixAggregationBuilderTests.java | 97 -------------- .../AdjacencyMatrixAggregatorTests.java | 90 +++++++++++++ .../elasticsearch/test/TestSearchContext.java | 6 +- 6 files changed, 195 insertions(+), 155 deletions(-) delete mode 100644 server/src/test/java/org/elasticsearch/search/aggregations/bucket/adjacency/AdjacencyMatrixAggregationBuilderTests.java create mode 100644 server/src/test/java/org/elasticsearch/search/aggregations/bucket/adjacency/AdjacencyMatrixAggregatorTests.java diff --git a/server/src/main/java/org/elasticsearch/search/SearchService.java b/server/src/main/java/org/elasticsearch/search/SearchService.java index 8c416d9b0912..4b50193496c9 100644 --- a/server/src/main/java/org/elasticsearch/search/SearchService.java +++ b/server/src/main/java/org/elasticsearch/search/SearchService.java @@ -23,6 +23,7 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.lucene.search.FieldDoc; +import org.apache.lucene.search.MatchAllDocsQuery; import org.apache.lucene.search.TopDocs; import org.elasticsearch.ElasticsearchException; import org.elasticsearch.Version; @@ -104,6 +105,7 @@ import org.elasticsearch.search.internal.SearchContext; import org.elasticsearch.search.internal.ShardSearchContextId; import org.elasticsearch.search.internal.ShardSearchRequest; +import org.elasticsearch.search.internal.SubSearchContext; import org.elasticsearch.search.lookup.SearchLookup; import org.elasticsearch.search.profile.Profilers; import org.elasticsearch.search.query.QueryPhase; @@ -935,7 +937,18 @@ private void parseSource(DefaultSearchContext context, SearchSourceBuilder sourc } context.terminateAfter(source.terminateAfter()); if (source.aggregations() != null && includeAggregations) { - AggregationContext aggContext = new ProductionAggregationContext(context, multiBucketConsumerService.create()); + AggregationContext aggContext = new ProductionAggregationContext( + context.getQueryShardContext(), + context.query() == null ? new MatchAllDocsQuery() : context.query(), + context.getProfilers() == null ? null : context.getProfilers().getAggregationProfiler(), + multiBucketConsumerService.create(), + () -> new SubSearchContext(context).parsedQuery(context.parsedQuery()).fetchFieldsContext(context.fetchFieldsContext()), + context::addReleasable, + context.bitsetFilterCache(), + context.indexShard().shardId().hashCode(), + context::getRelativeTimeInMillis, + context::isCancelled + ); try { AggregatorFactories factories = source.aggregations().build(aggContext, null); context.aggregations(new SearchContextAggregations(factories)); diff --git a/server/src/main/java/org/elasticsearch/search/aggregations/support/AggregationContext.java b/server/src/main/java/org/elasticsearch/search/aggregations/support/AggregationContext.java index cc6648113156..bc57eb0e1fed 100644 --- a/server/src/main/java/org/elasticsearch/search/aggregations/support/AggregationContext.java +++ b/server/src/main/java/org/elasticsearch/search/aggregations/support/AggregationContext.java @@ -21,7 +21,6 @@ import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.search.IndexSearcher; -import org.apache.lucene.search.MatchAllDocsQuery; import org.apache.lucene.search.Query; import org.elasticsearch.common.Nullable; import org.elasticsearch.common.breaker.CircuitBreaker; @@ -40,7 +39,6 @@ import org.elasticsearch.script.ScriptContext; import org.elasticsearch.search.aggregations.Aggregator; import org.elasticsearch.search.aggregations.MultiBucketConsumerService.MultiBucketConsumer; -import org.elasticsearch.search.internal.SearchContext; import org.elasticsearch.search.internal.SubSearchContext; import org.elasticsearch.search.lookup.SearchLookup; import org.elasticsearch.search.profile.aggregation.AggregationProfiler; @@ -256,21 +254,6 @@ public static class ProductionAggregationContext extends AggregationContext { private final LongSupplier relativeTimeInMillis; private final Supplier isCancelled; - public ProductionAggregationContext(SearchContext context, MultiBucketConsumer multiBucketConsumer) { - this( // TODO we'd prefer to not use SearchContext everywhere but we have a bunch of tests that use this now - context.getQueryShardContext(), - context.query() == null ? new MatchAllDocsQuery() : context.query(), - context.getProfilers() == null ? null : context.getProfilers().getAggregationProfiler(), - multiBucketConsumer, - () -> new SubSearchContext(context).parsedQuery(context.parsedQuery()).fetchFieldsContext(context.fetchFieldsContext()), - context::addReleasable, - context.bitsetFilterCache(), - context.indexShard().shardId().hashCode(), - context::getRelativeTimeInMillis, - context::isCancelled - ); - } - public ProductionAggregationContext( QueryShardContext context, Query topLevelQuery, diff --git a/server/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java b/server/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java index 8d5c5c5b5738..126d8f19bac7 100644 --- a/server/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java +++ b/server/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java @@ -19,54 +19,109 @@ package org.elasticsearch.search.aggregations; -import org.elasticsearch.common.xcontent.XContentParser; -import org.elasticsearch.common.xcontent.json.JsonXContent; -import org.elasticsearch.index.IndexService; -import org.elasticsearch.search.aggregations.MultiBucketConsumerService.MultiBucketConsumer; -import org.elasticsearch.search.aggregations.support.AggregationContext.ProductionAggregationContext; -import org.elasticsearch.test.ESSingleNodeTestCase; +import org.apache.lucene.index.DirectoryReader; +import org.apache.lucene.index.LeafReaderContext; +import org.apache.lucene.index.RandomIndexWriter; +import org.apache.lucene.search.IndexSearcher; +import org.apache.lucene.store.Directory; +import org.elasticsearch.index.mapper.KeywordFieldMapper.KeywordFieldType; +import org.elasticsearch.script.AggregationScript; +import org.elasticsearch.script.Script; +import org.elasticsearch.script.ScriptService; +import org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder; +import org.elasticsearch.search.aggregations.metrics.TopHitsAggregationBuilder; import java.io.IOException; +import static org.mockito.Matchers.any; import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; -public class AggregationCollectorTests extends ESSingleNodeTestCase { +public class AggregationCollectorTests extends AggregatorTestCase { + public void testTerms() throws IOException { + assertFalse(needsScores(termsBuilder().field("f"))); + } + + public void testSubTerms() throws IOException { + assertFalse(needsScores(termsBuilder().field("f").subAggregation(new TermsAggregationBuilder("i").field("f")))); + } + + public void testScoreConsumingScript() throws IOException { + assertFalse(needsScores(termsBuilder().script(new Script("no_scores")))); + } + + public void testNonScoreConsumingScript() throws IOException { + assertTrue(needsScores(termsBuilder().script(new Script("with_scores")))); + } - public void testNeedsScores() throws Exception { - IndexService index = createIndex("idx"); - client().prepareIndex("idx").setId("1").setSource("f", 5).execute().get(); - client().admin().indices().prepareRefresh("idx").get(); + public void testSubScoreConsumingScript() throws IOException { + assertFalse(needsScores(termsBuilder().field("f").subAggregation(termsBuilder().script(new Script("no_scores"))))); + } - // simple field aggregation, no scores needed - String fieldAgg = "{ \"my_terms\": {\"terms\": {\"field\": \"f\"}}}"; - assertFalse(needsScores(index, fieldAgg)); + public void testSubNonScoreConsumingScript() throws IOException { + assertTrue(needsScores(termsBuilder().field("f").subAggregation(termsBuilder().script(new Script("with_scores"))))); + } - // agg on a script => scores are needed - // TODO: can we use a mock script service here? - // String scriptAgg = "{ \"my_terms\": {\"terms\": {\"script\": \"doc['f'].value\"}}}"; - // assertTrue(needsScores(index, scriptAgg)); - // - // String subScriptAgg = "{ \"my_outer_terms\": { \"terms\": { \"field\": \"f\" }, \"aggs\": " + scriptAgg + "}}"; - // assertTrue(needsScores(index, subScriptAgg)); + public void testTopHits() throws IOException { + assertTrue(needsScores(new TopHitsAggregationBuilder("h"))); + } - // make sure the information is propagated to sub aggregations - String subFieldAgg = "{ \"my_outer_terms\": { \"terms\": { \"field\": \"f\" }, \"aggs\": " + fieldAgg + "}}"; - assertFalse(needsScores(index, subFieldAgg)); + public void testSubTopHits() throws IOException { + assertTrue(needsScores(termsBuilder().field("f").subAggregation(new TopHitsAggregationBuilder("h")))); + } - // top_hits is a particular example of an aggregation that needs scores - String topHitsAgg = "{ \"my_hits\": {\"top_hits\": {}}}"; - assertTrue(needsScores(index, topHitsAgg)); + private TermsAggregationBuilder termsBuilder() { + return new TermsAggregationBuilder("t"); } - private boolean needsScores(IndexService index, String agg) throws IOException { - try (XContentParser aggParser = createParser(JsonXContent.jsonXContent, agg)) { - aggParser.nextToken(); - final AggregatorFactories factories = AggregatorFactories.parseAggregators(aggParser) - .build(new ProductionAggregationContext(createSearchContext(index), mock(MultiBucketConsumer.class)), null); - final Aggregator[] aggregators = factories.createTopLevelAggregators(); - assertEquals(1, aggregators.length); - return aggregators[0].scoreMode().needsScores(); + private boolean needsScores(AggregationBuilder builder) throws IOException { + try ( + Directory directory = newDirectory(); + RandomIndexWriter indexWriter = new RandomIndexWriter(random(), directory); + DirectoryReader reader = indexWriter.getReader() + ) { + return createAggregator(builder, new IndexSearcher(reader), new KeywordFieldType("f")).scoreMode().needsScores(); } } + @Override + protected ScriptService getMockScriptService() { + ScriptService scriptService = mock(ScriptService.class); + when(scriptService.compile(any(), any())).then(inv -> { + Script script = (Script) inv.getArguments()[0]; + AggregationScript.Factory factory; + switch (script.getIdOrCode()) { + case "no_scores": + factory = (params, lookup) -> new AggregationScript.LeafFactory() { + @Override + public AggregationScript newInstance(LeafReaderContext ctx) throws IOException { + return null; + } + + @Override + public boolean needs_score() { + return false; + } + }; + break; + case "with_scores": + factory = (params, lookup) -> new AggregationScript.LeafFactory() { + @Override + public AggregationScript newInstance(LeafReaderContext ctx) throws IOException { + return null; + } + + @Override + public boolean needs_score() { + return true; + } + }; + break; + default: + throw new UnsupportedOperationException(); + } + return factory; + }); + return scriptService; + } } diff --git a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/adjacency/AdjacencyMatrixAggregationBuilderTests.java b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/adjacency/AdjacencyMatrixAggregationBuilderTests.java deleted file mode 100644 index 304e19636f10..000000000000 --- a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/adjacency/AdjacencyMatrixAggregationBuilderTests.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Licensed to Elasticsearch under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.elasticsearch.search.aggregations.bucket.adjacency; - -import org.elasticsearch.Version; -import org.elasticsearch.cluster.metadata.IndexMetadata; -import org.elasticsearch.common.settings.Settings; -import org.elasticsearch.common.util.BigArrays; -import org.elasticsearch.index.Index; -import org.elasticsearch.index.IndexSettings; -import org.elasticsearch.index.query.QueryBuilder; -import org.elasticsearch.index.query.QueryShardContext; -import org.elasticsearch.index.shard.IndexShard; -import org.elasticsearch.index.shard.ShardId; -import org.elasticsearch.search.SearchModule; -import org.elasticsearch.search.aggregations.AggregatorFactories; -import org.elasticsearch.search.aggregations.AggregatorFactory; -import org.elasticsearch.search.aggregations.MultiBucketConsumerService.MultiBucketConsumer; -import org.elasticsearch.search.aggregations.support.AggregationContext; -import org.elasticsearch.search.aggregations.support.AggregationContext.ProductionAggregationContext; -import org.elasticsearch.search.internal.SearchContext; -import org.elasticsearch.test.ESTestCase; -import org.elasticsearch.test.TestSearchContext; - -import java.util.Collections; -import java.util.HashMap; -import java.util.Map; - -import static org.hamcrest.Matchers.equalTo; -import static org.hamcrest.Matchers.is; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; - -public class AdjacencyMatrixAggregationBuilderTests extends ESTestCase { - - public void testFilterSizeLimitation() throws Exception { - // filter size grater than max size should thrown a exception - QueryShardContext queryShardContext = mock(QueryShardContext.class); - IndexShard indexShard = mock(IndexShard.class); - Settings settings = Settings.builder() - .put(IndexMetadata.SETTING_VERSION_CREATED, Version.CURRENT) - .put(IndexMetadata.SETTING_NUMBER_OF_REPLICAS, 1) - .put(IndexMetadata.SETTING_NUMBER_OF_SHARDS, 2) - .build(); - IndexMetadata indexMetadata = IndexMetadata.builder("index").settings(settings).build(); - IndexSettings indexSettings = new IndexSettings(indexMetadata, Settings.EMPTY); - when(indexShard.indexSettings()).thenReturn(indexSettings); - when(queryShardContext.getIndexSettings()).thenReturn(indexSettings); - when(queryShardContext.bigArrays()).thenReturn(BigArrays.NON_RECYCLING_INSTANCE); - when(indexShard.shardId()).thenReturn(new ShardId(new Index("test", "test"), 1)); - SearchContext context = new TestSearchContext(queryShardContext, indexShard); - - int maxFilters = SearchModule.INDICES_MAX_CLAUSE_COUNT_SETTING.get(context.indexShard().indexSettings().getSettings()); - int maxFiltersPlusOne = maxFilters + 1; - - Map filters = new HashMap<>(maxFilters); - for (int i = 0; i < maxFiltersPlusOne; i++) { - QueryBuilder queryBuilder = mock(QueryBuilder.class); - // return builder itself to skip rewrite - when(queryBuilder.rewrite(queryShardContext)).thenReturn(queryBuilder); - filters.put("filter" + i, queryBuilder); - } - AdjacencyMatrixAggregationBuilder builder = new AdjacencyMatrixAggregationBuilder("dummy", filters); - AggregationContext aggContext = new ProductionAggregationContext(context, mock(MultiBucketConsumer.class)); - IllegalArgumentException ex = expectThrows(IllegalArgumentException.class, - () -> builder.doBuild(aggContext, null, new AggregatorFactories.Builder())); - assertThat(ex.getMessage(), equalTo("Number of filters is too large, must be less than or equal to: ["+ maxFilters - +"] but was ["+ maxFiltersPlusOne +"]." - + "This limit can be set by changing the [" + SearchModule.INDICES_MAX_CLAUSE_COUNT_SETTING.getKey() - + "] setting.")); - - // filter size not grater than max size should return an instance of AdjacencyMatrixAggregatorFactory - Map emptyFilters = Collections.emptyMap(); - - AdjacencyMatrixAggregationBuilder aggregationBuilder = new AdjacencyMatrixAggregationBuilder("dummy", emptyFilters); - AggregatorFactory factory = aggregationBuilder.doBuild(aggContext, null, new AggregatorFactories.Builder()); - assertThat(factory instanceof AdjacencyMatrixAggregatorFactory, is(true)); - assertThat(factory.name(), equalTo("dummy")); - } -} diff --git a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/adjacency/AdjacencyMatrixAggregatorTests.java b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/adjacency/AdjacencyMatrixAggregatorTests.java new file mode 100644 index 000000000000..02cd2ef3fc08 --- /dev/null +++ b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/adjacency/AdjacencyMatrixAggregatorTests.java @@ -0,0 +1,90 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.elasticsearch.search.aggregations.bucket.adjacency; + +import org.apache.lucene.search.MatchAllDocsQuery; +import org.elasticsearch.common.settings.Settings; +import org.elasticsearch.index.query.MatchAllQueryBuilder; +import org.elasticsearch.index.query.QueryBuilder; +import org.elasticsearch.search.SearchModule; +import org.elasticsearch.search.aggregations.AggregatorTestCase; + +import java.io.IOException; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.hasSize; + +public class AdjacencyMatrixAggregatorTests extends AggregatorTestCase { + public void testTooManyFilters() throws Exception { + int maxFilters = SearchModule.INDICES_MAX_CLAUSE_COUNT_SETTING.get(Settings.EMPTY); + int maxFiltersPlusOne = maxFilters + 1; + + Map filters = new HashMap<>(maxFilters); + for (int i = 0; i < maxFiltersPlusOne; i++) { + filters.put("filter" + i, new MatchAllQueryBuilder()); + } + AdjacencyMatrixAggregationBuilder tooBig = new AdjacencyMatrixAggregationBuilder("dummy", filters); + IllegalArgumentException ex = expectThrows( + IllegalArgumentException.class, + () -> testCase(tooBig, new MatchAllDocsQuery(), iw -> {}, r -> {}) + ); + assertThat( + ex.getMessage(), + equalTo( + "Number of filters is too large, must be less than or equal to: [" + + maxFilters + + "] but was [" + + maxFiltersPlusOne + + "]." + + "This limit can be set by changing the [" + + SearchModule.INDICES_MAX_CLAUSE_COUNT_SETTING.getKey() + + "] setting." + ) + ); + } + + public void testNoFilters() throws IOException { + AdjacencyMatrixAggregationBuilder aggregationBuilder = new AdjacencyMatrixAggregationBuilder("dummy", Map.of()); + testCase(aggregationBuilder, new MatchAllDocsQuery(), iw -> iw.addDocument(List.of()), r -> { + InternalAdjacencyMatrix result = (InternalAdjacencyMatrix) r; + assertThat(result.getBuckets(), equalTo(List.of())); + }); + } + + public void testAFewFilters() throws IOException { + AdjacencyMatrixAggregationBuilder aggregationBuilder = new AdjacencyMatrixAggregationBuilder( + "dummy", + Map.of("a", new MatchAllQueryBuilder(), "b", new MatchAllQueryBuilder()) + ); + testCase(aggregationBuilder, new MatchAllDocsQuery(), iw -> iw.addDocument(List.of()), r -> { + InternalAdjacencyMatrix result = (InternalAdjacencyMatrix) r; + assertThat(result.getBuckets(), hasSize(3)); + InternalAdjacencyMatrix.InternalBucket a = result.getBucketByKey("a"); + InternalAdjacencyMatrix.InternalBucket b = result.getBucketByKey("b"); + InternalAdjacencyMatrix.InternalBucket ab = result.getBucketByKey("a&b"); + assertThat(a.getDocCount(), equalTo(1L)); + assertThat(b.getDocCount(), equalTo(1L)); + assertThat(ab.getDocCount(), equalTo(1L)); + }); + } +} diff --git a/test/framework/src/main/java/org/elasticsearch/test/TestSearchContext.java b/test/framework/src/main/java/org/elasticsearch/test/TestSearchContext.java index 1a15be52bb1b..a410df8a2aa1 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/TestSearchContext.java +++ b/test/framework/src/main/java/org/elasticsearch/test/TestSearchContext.java @@ -100,11 +100,7 @@ public TestSearchContext(IndexService indexService) { } public TestSearchContext(QueryShardContext queryShardContext) { - this(queryShardContext, null); - } - - public TestSearchContext(QueryShardContext queryShardContext, IndexShard indexShard) { - this(queryShardContext, indexShard, null); + this(queryShardContext, null, null, null); } public TestSearchContext(QueryShardContext queryShardContext, IndexShard indexShard, ContextIndexSearcher searcher) { From c38b5d602ada96cf08d0b0ef0befd6dfdef649ab Mon Sep 17 00:00:00 2001 From: Julie Tibshirani Date: Wed, 9 Dec 2020 13:18:56 -0800 Subject: [PATCH 30/35] Remove IndicesService#isMetadataField. (#65782) This helps avoid checking the index version in various places. Instead the version check is contained to MapperService. --- .../TransportGetFieldMappingsIndexAction.java | 4 +--- ...TransportFieldCapabilitiesIndexAction.java | 2 +- .../index/mapper/MapperService.java | 2 +- .../elasticsearch/indices/IndicesService.java | 8 ------- .../indices/mapper/MapperRegistry.java | 7 ------ .../index/mapper/MapperServiceTests.java | 22 +++++++++++++++++++ .../indices/IndicesServiceTests.java | 15 ------------- 7 files changed, 25 insertions(+), 35 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetFieldMappingsIndexAction.java b/server/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetFieldMappingsIndexAction.java index 9be67e16e161..77d97192d615 100644 --- a/server/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetFieldMappingsIndexAction.java +++ b/server/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetFieldMappingsIndexAction.java @@ -20,7 +20,6 @@ package org.elasticsearch.action.admin.indices.mapping.get; import org.elasticsearch.ElasticsearchException; -import org.elasticsearch.Version; import org.elasticsearch.action.ActionType; import org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsResponse.FieldMappingMetadata; import org.elasticsearch.action.support.ActionFilters; @@ -93,8 +92,7 @@ protected ShardsIterator shards(ClusterState state, InternalRequest request) { protected GetFieldMappingsResponse shardOperation(final GetFieldMappingsIndexRequest request, ShardId shardId) { assert shardId != null; IndexService indexService = indicesService.indexServiceSafe(shardId.getIndex()); - Version indexCreatedVersion = indexService.mapperService().getIndexSettings().getIndexVersionCreated(); - Predicate metadataFieldPredicate = (f) -> indicesService.isMetadataField(indexCreatedVersion, f); + Predicate metadataFieldPredicate = (f) -> indexService.mapperService().isMetadataField(f); Predicate fieldPredicate = metadataFieldPredicate.or(indicesService.getFieldFilter().apply(shardId.getIndexName())); DocumentMapper documentMapper = indexService.mapperService().documentMapper(); diff --git a/server/src/main/java/org/elasticsearch/action/fieldcaps/TransportFieldCapabilitiesIndexAction.java b/server/src/main/java/org/elasticsearch/action/fieldcaps/TransportFieldCapabilitiesIndexAction.java index 75a2ed255c4f..5ca53c288164 100644 --- a/server/src/main/java/org/elasticsearch/action/fieldcaps/TransportFieldCapabilitiesIndexAction.java +++ b/server/src/main/java/org/elasticsearch/action/fieldcaps/TransportFieldCapabilitiesIndexAction.java @@ -122,7 +122,7 @@ private FieldCapabilitiesIndexResponse shardOperation(final FieldCapabilitiesInd for (String field : fieldNames) { MappedFieldType ft = mapperService.fieldType(field); if (ft != null) { - if (indicesService.isMetadataField(mapperService.getIndexSettings().getIndexVersionCreated(), field) + if (mapperService.isMetadataField(field) || fieldPredicate.test(ft.name())) { IndexFieldCapabilities fieldCap = new IndexFieldCapabilities(field, ft.familyTypeName(), ft.isSearchable(), ft.isAggregatable(), ft.meta()); diff --git a/server/src/main/java/org/elasticsearch/index/mapper/MapperService.java b/server/src/main/java/org/elasticsearch/index/mapper/MapperService.java index 1390b69d3163..f4fec0706984 100644 --- a/server/src/main/java/org/elasticsearch/index/mapper/MapperService.java +++ b/server/src/main/java/org/elasticsearch/index/mapper/MapperService.java @@ -484,7 +484,7 @@ public static boolean isMetadataFieldStatic(String fieldName) { * this method considers all mapper plugins */ public boolean isMetadataField(String field) { - return mapperRegistry.isMetadataField(indexVersionCreated, field); + return mapperRegistry.getMetadataMapperParsers(indexVersionCreated).containsKey(field); } public synchronized List reloadSearchAnalyzers(AnalysisRegistry registry) throws IOException { diff --git a/server/src/main/java/org/elasticsearch/indices/IndicesService.java b/server/src/main/java/org/elasticsearch/indices/IndicesService.java index d438b2a96959..4845ff6a500b 100644 --- a/server/src/main/java/org/elasticsearch/indices/IndicesService.java +++ b/server/src/main/java/org/elasticsearch/indices/IndicesService.java @@ -29,7 +29,6 @@ import org.apache.lucene.util.RamUsageEstimator; import org.elasticsearch.ElasticsearchException; import org.elasticsearch.ResourceAlreadyExistsException; -import org.elasticsearch.Version; import org.elasticsearch.action.admin.indices.stats.CommonStats; import org.elasticsearch.action.admin.indices.stats.CommonStatsFlags; import org.elasticsearch.action.admin.indices.stats.CommonStatsFlags.Flag; @@ -1545,13 +1544,6 @@ public Function> getFieldFilter() { return mapperRegistry.getFieldFilter(); } - /** - * Returns true if the provided field is a registered metadata field (including ones registered via plugins), false otherwise. - */ - public boolean isMetadataField(Version indexCreatedVersion, String field) { - return mapperRegistry.isMetadataField(indexCreatedVersion, field); - } - /** * Returns true if fielddata is enabled for the {@link IdFieldMapper} field, false otherwise. */ diff --git a/server/src/main/java/org/elasticsearch/indices/mapper/MapperRegistry.java b/server/src/main/java/org/elasticsearch/indices/mapper/MapperRegistry.java index 66fa6bbcc7ef..efc1af3128ae 100644 --- a/server/src/main/java/org/elasticsearch/indices/mapper/MapperRegistry.java +++ b/server/src/main/java/org/elasticsearch/indices/mapper/MapperRegistry.java @@ -87,13 +87,6 @@ public Map getMetadataMapperParsers(Vers return metadataMapperParsers7x; } - /** - * Returns true if the provided field is a registered metadata field, false otherwise - */ - public boolean isMetadataField(Version indexCreatedVersion, String field) { - return getMetadataMapperParsers(indexCreatedVersion).containsKey(field); - } - /** * Returns a function that given an index name, returns a predicate that fields must match in order to be returned by get mappings, * get index, get field mappings and field capabilities API. Useful to filter the fields that such API return. diff --git a/server/src/test/java/org/elasticsearch/index/mapper/MapperServiceTests.java b/server/src/test/java/org/elasticsearch/index/mapper/MapperServiceTests.java index 3d76675038a4..8c415cdbdbba 100644 --- a/server/src/test/java/org/elasticsearch/index/mapper/MapperServiceTests.java +++ b/server/src/test/java/org/elasticsearch/index/mapper/MapperServiceTests.java @@ -19,12 +19,16 @@ package org.elasticsearch.index.mapper; +import org.elasticsearch.Version; +import org.elasticsearch.cluster.metadata.IndexMetadata; import org.elasticsearch.common.bytes.BytesReference; import org.elasticsearch.common.compress.CompressedXContent; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.common.xcontent.XContentFactory; import org.elasticsearch.index.mapper.MapperService.MergeReason; +import org.elasticsearch.indices.IndicesModule; +import org.elasticsearch.test.VersionUtils; import java.io.IOException; @@ -232,4 +236,22 @@ public void testMappingRecoverySkipFieldNameLengthLimit() throws Throwable { assertEquals(testString, documentMapper.mappers().getMapper(testString).simpleName()); } + public void testIsMetadataField() throws IOException { + Version version = VersionUtils.randomIndexCompatibleVersion(random()); + Settings settings = Settings.builder() + .put(IndexMetadata.SETTING_VERSION_CREATED, version) + .build(); + + MapperService mapperService = createMapperService(settings, mapping(b -> {})); + assertFalse(mapperService.isMetadataField(randomAlphaOfLengthBetween(10, 15))); + + for (String builtIn : IndicesModule.getBuiltInMetadataFields()) { + if (NestedPathFieldMapper.NAME.equals(builtIn) && version.before(Version.V_8_0_0)) { + continue; // Nested field does not exist in the 7x line + } + assertTrue("Expected " + builtIn + " to be a metadata field for version " + version, + mapperService.isMetadataField(builtIn)); + } + } + } diff --git a/server/src/test/java/org/elasticsearch/indices/IndicesServiceTests.java b/server/src/test/java/org/elasticsearch/indices/IndicesServiceTests.java index f4e63c5ad3b6..4138bd30ef32 100644 --- a/server/src/test/java/org/elasticsearch/indices/IndicesServiceTests.java +++ b/server/src/test/java/org/elasticsearch/indices/IndicesServiceTests.java @@ -53,7 +53,6 @@ import org.elasticsearch.index.mapper.KeywordFieldMapper; import org.elasticsearch.index.mapper.Mapper; import org.elasticsearch.index.mapper.MapperService; -import org.elasticsearch.index.mapper.NestedPathFieldMapper; import org.elasticsearch.index.shard.IllegalIndexShardStateException; import org.elasticsearch.index.shard.IndexShard; import org.elasticsearch.index.shard.IndexShardState; @@ -66,7 +65,6 @@ import org.elasticsearch.plugins.Plugin; import org.elasticsearch.test.ESSingleNodeTestCase; import org.elasticsearch.test.IndexSettingsModule; -import org.elasticsearch.test.VersionUtils; import org.elasticsearch.test.hamcrest.RegexMatcher; import java.io.IOException; @@ -517,19 +515,6 @@ public void testStatsByShardDoesNotDieFromExpectedExceptions() { assertThat("unexpected shard stats", indexStats.get(index), equalTo(shardStats)); } - public void testIsMetadataField() { - IndicesService indicesService = getIndicesService(); - final Version randVersion = VersionUtils.randomIndexCompatibleVersion(random()); - assertFalse(indicesService.isMetadataField(randVersion, randomAlphaOfLengthBetween(10, 15))); - for (String builtIn : IndicesModule.getBuiltInMetadataFields()) { - if (NestedPathFieldMapper.NAME.equals(builtIn) && randVersion.before(Version.V_8_0_0)) { - continue; // Nested field does not exist in the 7x line - } - assertTrue("Expected " + builtIn + " to be a metadata field for version " + randVersion, - indicesService.isMetadataField(randVersion, builtIn)); - } - } - public void testGetEngineFactory() throws IOException { final IndicesService indicesService = getIndicesService(); From 35b253f26dfe3883ba0a930f327630f57cd89ce5 Mon Sep 17 00:00:00 2001 From: Albert Zaharovits Date: Wed, 9 Dec 2020 23:57:46 +0200 Subject: [PATCH 31/35] Fix test from 5414ad02edc2a14472eb3191 --- .../xpack/security/audit/AuditTrailServiceTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java index 17a0a84942f3..7aa5ea268162 100644 --- a/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java +++ b/x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/audit/AuditTrailServiceTests.java @@ -77,7 +77,7 @@ public void testLogWhenLicenseProhibitsAuditing() throws Exception { "audit disabled because of license", AuditTrailService.class.getName(), Level.WARN, - "Security auditing is DISABLED because the currently active license [" + + "Auditing logging is DISABLED because the currently active license [" + licenseState.getOperationMode() + "] does not permit it" )); } else { @@ -85,7 +85,7 @@ public void testLogWhenLicenseProhibitsAuditing() throws Exception { "audit disabled because of license", AuditTrailService.class.getName(), Level.WARN, - "Security auditing is DISABLED because the currently active license [" + + "Auditing logging is DISABLED because the currently active license [" + licenseState.getOperationMode() + "] does not permit it" )); } From ddf1f4cdb819d51369a5f7c32e7aa3183e489fa1 Mon Sep 17 00:00:00 2001 From: Julie Tibshirani Date: Wed, 9 Dec 2020 14:47:11 -0800 Subject: [PATCH 32/35] Fix bug where fvh fragments could be loaded from wrong doc (#65641) This PR fixes a regression where fvh fragments could be loaded from the wrong document _source. Some `FragmentsBuilder` implementations contain a `SourceLookup` to load from _source. The lookup should be positioned to load from the current hit document. However, since `FragmentsBuilder` are cached and shared across hits, the lookup is never updated to load from the new documents. This means we accidentally load _source from a different document. The regression was introduced in #60179, which started storing `SourceLookup` on `FragmentsBuilder`. Fixes #65533. --- .../test/search.highlight/20_fvh.yml | 121 ++++++++++++++---- .../highlight/FastVectorHighlighter.java | 78 ++++++----- 2 files changed, 138 insertions(+), 61 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/20_fvh.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/20_fvh.yml index d411f55106d7..a55873fed307 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/20_fvh.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/20_fvh.yml @@ -1,23 +1,42 @@ setup: - do: indices.create: - index: test - body: - mappings: - "properties": - "title": - "type": "text" - "term_vector": "with_positions_offsets" - "description": - "type": "text" - "term_vector": "with_positions_offsets" + index: test + body: + mappings: + "properties": + "id": + "type": "integer" + "title": + "type": "text" + "term_vector": "with_positions_offsets" + "description": + "type": "text" + "term_vector": "with_positions_offsets" + "nested": + "type": "nested" + "properties": + "title": + "type": "text" + "term_vector": "with_positions_offsets" + - do: + index: + index: test + body: + id: 1 + "title" : "The quick brown fox is brown" + "description" : "The quick pink panther is pink" + - do: index: index: test - id: 1 body: - "title" : "The quick brown fox is brown" - "description" : "The quick pink panther is pink" + id: 2 + "title" : "The quick blue fox is blue" + "nested": + - "title": "purple octopus" + - "title": "purple fish" + - do: indices.refresh: {} @@ -27,19 +46,69 @@ setup: search: rest_total_hits_as_int: true body: - highlight: - type: fvh - fields: - description: - type: fvh - highlight_query: - prefix: - description: br - title: - type: fvh - highlight_query: - prefix: - title: br + highlight: + type: fvh + fields: + description: + type: fvh + highlight_query: + prefix: + description: br + title: + type: fvh + highlight_query: + prefix: + title: br - match: {hits.hits.0.highlight.title.0: "The quick brown fox is brown"} - is_false: hits.hits.0.highlight.description + +--- +"Highlight multiple documents": + - skip: + version: " - 7.99.99" + reason: Bug fix not yet backported + - do: + search: + rest_total_hits_as_int: true + body: + query: + match: + title: fox + sort: ["id"] + highlight: + type: fvh + fields: + title: + type: fvh + + - match: {hits.hits.0.highlight.title.0: "The quick brown fox is brown"} + - is_false: hits.hits.0.highlight.description + - match: {hits.hits.1.highlight.title.0: "The quick blue fox is blue"} + - is_false: hits.hits.1.highlight.description + +--- +"Highlight multiple nested documents": + - skip: + version: " - 7.99.99" + reason: Bug fix not yet backported + - do: + search: + rest_total_hits_as_int: true + body: + query: + nested: + path: nested + query: + match: + nested.title: purple + inner_hits: + name: nested_hits + highlight: + type: fvh + fields: + nested.title: + type: fvh + + - match: {hits.hits.0.inner_hits.nested_hits.hits.hits.0.highlight.nested\\.title.0: "purple octopus"} + - match: {hits.hits.0.inner_hits.nested_hits.hits.hits.1.highlight.nested\\.title.0: "purple fish"} diff --git a/server/src/main/java/org/elasticsearch/search/fetch/subphase/highlight/FastVectorHighlighter.java b/server/src/main/java/org/elasticsearch/search/fetch/subphase/highlight/FastVectorHighlighter.java index 6c98251b9d46..7172fbac5e65 100644 --- a/server/src/main/java/org/elasticsearch/search/fetch/subphase/highlight/FastVectorHighlighter.java +++ b/server/src/main/java/org/elasticsearch/search/fetch/subphase/highlight/FastVectorHighlighter.java @@ -41,6 +41,7 @@ import org.elasticsearch.search.fetch.FetchSubPhase; import org.elasticsearch.search.fetch.subphase.highlight.SearchHighlightContext.Field; import org.elasticsearch.search.fetch.subphase.highlight.SearchHighlightContext.FieldOptions; +import org.elasticsearch.search.lookup.SourceLookup; import java.io.IOException; import java.text.BreakIterator; @@ -48,6 +49,7 @@ import java.util.HashMap; import java.util.Locale; import java.util.Map; +import java.util.function.Function; public class FastVectorHighlighter implements Highlighter { private static final BoundaryScanner DEFAULT_SIMPLE_BOUNDARY_SCANNER = new SimpleBoundaryScanner(); @@ -89,42 +91,16 @@ public HighlightField highlight(FieldHighlightContext fieldContext) throws IOExc FieldHighlightEntry entry = cache.fields.get(fieldType); if (entry == null) { FragListBuilder fragListBuilder; - BaseFragmentsBuilder fragmentsBuilder; - - final BoundaryScanner boundaryScanner = getBoundaryScanner(field); if (field.fieldOptions().numberOfFragments() == 0) { fragListBuilder = new SingleFragListBuilder(); - - if (!forceSource && fieldType.isStored()) { - fragmentsBuilder = new SimpleFragmentsBuilder(fieldType, fixBrokenAnalysis, field.fieldOptions().preTags(), - field.fieldOptions().postTags(), boundaryScanner); - } else { - fragmentsBuilder = new SourceSimpleFragmentsBuilder(fieldType, fixBrokenAnalysis, hitContext.sourceLookup(), - field.fieldOptions().preTags(), field.fieldOptions().postTags(), boundaryScanner); - } } else { fragListBuilder = field.fieldOptions().fragmentOffset() == -1 ? new SimpleFragListBuilder() : new SimpleFragListBuilder(field.fieldOptions().fragmentOffset()); - if (field.fieldOptions().scoreOrdered()) { - if (!forceSource && fieldType.isStored()) { - fragmentsBuilder = new ScoreOrderFragmentsBuilder(field.fieldOptions().preTags(), - field.fieldOptions().postTags(), boundaryScanner); - } else { - fragmentsBuilder = new SourceScoreOrderFragmentsBuilder(fieldType, fixBrokenAnalysis, hitContext.sourceLookup(), - field.fieldOptions().preTags(), field.fieldOptions().postTags(), boundaryScanner); - } - } else { - if (!forceSource && fieldType.isStored()) { - fragmentsBuilder = new SimpleFragmentsBuilder(fieldType, fixBrokenAnalysis, field.fieldOptions().preTags(), - field.fieldOptions().postTags(), boundaryScanner); - } else { - fragmentsBuilder = - new SourceSimpleFragmentsBuilder(fieldType, fixBrokenAnalysis, hitContext.sourceLookup(), - field.fieldOptions().preTags(), field.fieldOptions().postTags(), boundaryScanner); - } - } } - fragmentsBuilder.setDiscreteMultiValueHighlighting(termVectorMultiValue); + + Function fragmentsBuilderSupplier = fragmentsBuilderSupplier( + field, fieldType, forceSource, fixBrokenAnalysis); + entry = new FieldHighlightEntry(); if (field.fieldOptions().requireFieldMatch()) { /* @@ -142,7 +118,7 @@ public HighlightField highlight(FieldHighlightContext fieldContext) throws IOExc hitContext.topLevelReader(), true, field.fieldOptions().requireFieldMatch()); } entry.fragListBuilder = fragListBuilder; - entry.fragmentsBuilder = fragmentsBuilder; + entry.fragmentsBuilderSupplier = fragmentsBuilderSupplier; if (cache.fvh == null) { // parameters to FVH are not requires since: // first two booleans are not relevant since they are set on the CustomFieldQuery @@ -161,6 +137,7 @@ public HighlightField highlight(FieldHighlightContext fieldContext) throws IOExc cache.fvh.setPhraseLimit(field.fieldOptions().phraseLimit()); String[] fragments; + FragmentsBuilder fragmentsBuilder = entry.fragmentsBuilderSupplier.apply(hitContext.sourceLookup()); // a HACK to make highlighter do highlighting, even though its using the single frag list builder int numberOfFragments = field.fieldOptions().numberOfFragments() == 0 ? @@ -172,12 +149,12 @@ public HighlightField highlight(FieldHighlightContext fieldContext) throws IOExc if (field.fieldOptions().matchedFields() != null && !field.fieldOptions().matchedFields().isEmpty()) { fragments = cache.fvh.getBestFragments(fieldQuery, hitContext.reader(), hitContext.docId(), fieldType.name(), field.fieldOptions().matchedFields(), fragmentCharSize, - numberOfFragments, entry.fragListBuilder, entry.fragmentsBuilder, field.fieldOptions().preTags(), + numberOfFragments, entry.fragListBuilder, fragmentsBuilder, field.fieldOptions().preTags(), field.fieldOptions().postTags(), encoder); } else { fragments = cache.fvh.getBestFragments(fieldQuery, hitContext.reader(), hitContext.docId(), fieldType.name(), fragmentCharSize, numberOfFragments, entry.fragListBuilder, - entry.fragmentsBuilder, field.fieldOptions().preTags(), field.fieldOptions().postTags(), encoder); + fragmentsBuilder, field.fieldOptions().preTags(), field.fieldOptions().postTags(), encoder); } if (CollectionUtils.isEmpty(fragments) == false) { @@ -190,7 +167,7 @@ public HighlightField highlight(FieldHighlightContext fieldContext) throws IOExc // the normal fragmentsBuilder FieldFragList fieldFragList = new SimpleFieldFragList(-1 /*ignored*/); fieldFragList.add(0, noMatchSize, Collections.emptyList()); - fragments = entry.fragmentsBuilder.createFragments(hitContext.reader(), hitContext.docId(), + fragments = fragmentsBuilder.createFragments(hitContext.reader(), hitContext.docId(), fieldType.name(), fieldFragList, 1, field.fieldOptions().preTags(), field.fieldOptions().postTags(), encoder); if (CollectionUtils.isEmpty(fragments) == false) { @@ -201,6 +178,37 @@ public HighlightField highlight(FieldHighlightContext fieldContext) throws IOExc return null; } + private Function fragmentsBuilderSupplier(SearchHighlightContext.Field field, + MappedFieldType fieldType, + boolean forceSource, + boolean fixBrokenAnalysis) { + BoundaryScanner boundaryScanner = getBoundaryScanner(field); + FieldOptions options = field.fieldOptions(); + Function supplier; + if (!forceSource && fieldType.isStored()) { + if (options.numberOfFragments() != 0 && options.scoreOrdered()) { + supplier = ignored -> new ScoreOrderFragmentsBuilder(options.preTags(), options.postTags(), boundaryScanner); + } else { + supplier = ignored -> new SimpleFragmentsBuilder(fieldType, fixBrokenAnalysis, + options.preTags(), options.postTags(), boundaryScanner); + } + } else { + if (options.numberOfFragments() != 0 && options.scoreOrdered()) { + supplier = lookup -> new SourceScoreOrderFragmentsBuilder(fieldType, fixBrokenAnalysis, lookup, + options.preTags(), options.postTags(), boundaryScanner); + } else { + supplier = lookup -> new SourceSimpleFragmentsBuilder(fieldType, fixBrokenAnalysis, lookup, + options.preTags(), options.postTags(), boundaryScanner); + } + } + + return lookup -> { + BaseFragmentsBuilder builder = supplier.apply(lookup); + builder.setDiscreteMultiValueHighlighting(termVectorMultiValue); + return builder; + }; + } + @Override public boolean canHighlight(MappedFieldType ft) { return ft.getTextSearchInfo().termVectors() == TextSearchInfo.TermVector.OFFSETS; @@ -238,7 +246,7 @@ private static BoundaryScanner getBoundaryScanner(Field field) { private static class FieldHighlightEntry { public FragListBuilder fragListBuilder; - public FragmentsBuilder fragmentsBuilder; + public Function fragmentsBuilderSupplier; public FieldQuery noFieldMatchFieldQuery; public FieldQuery fieldMatchFieldQuery; } From bce1081c73c456c505421ef496d1ee140873bfa6 Mon Sep 17 00:00:00 2001 From: Adam Locke Date: Wed, 9 Dec 2020 17:54:58 -0500 Subject: [PATCH 33/35] [DOCS] Add docs for runtime fields (#62653) * First steps in docs for runtime fields. * Adding new page for runtime fields. * Adding page for runtime fields. * Adding more to the runtime fields topic. * Adding parameters and retrieval options for runtime fields. * Adding TESTSETUP for index creation. * Incorporating review feedback. * Incorporating reviewer feedback. * Adding examples for runtime fields. * Adding more context and simplifying the example. * Changing timestamp to @timestamp throughout. * Removing duplicate @timestamp field. * Expanding example to hopefully fix CI builds. * Adding skip test for result. * Adding missing callout. * Adding TESTRESPONSEs, which are currently broken. * Fixing TESTRESPONSEs. * Incorporating review feedback. * Several clarifications, better test cases, and other changes. * Adding missing callout in example. * Adding substitutions to TESTRESPONSE for shorter results shown. * Shuffling some information and adding link to script-fields. * Fixing typo. * Updates for API redesign -- will break builds. * Updating examples and including info about overriding fields. * Updating examples. * Adding info for using runtime fields in the search request. * Adding that queries against runtime fields are expensive. * Incorporating feedback from reviewers. * Minor changes from reviews. * Adding alias for test case. * Adding aliases to PUT example. * Fixing test cases, for real this time. * Updating use cases and introducing overlay throughout. * Edits, adding 'shadowing', and explaining shadowing better. * Streamlining tests and other changes. * Fix formatting in example for test. * Apply suggestions from code review * Incorporating reviewer feedback 7 Dec * Shifting structure of mapping page to fix cross links. * Revisions for shadowing, overview, and other sections. * Removing dot notation section and incorporating review changes. * Adding updated example for shadowing. * Streamlining shadowing example and TESTRESPONSEs. --- docs/reference/mapping.asciidoc | 80 +-- .../mapping/mapping-settings-limit.asciidoc | 49 ++ docs/reference/mapping/runtime.asciidoc | 661 ++++++++++++++++++ docs/reference/mapping/types.asciidoc | 2 +- docs/reference/mapping/types/nested.asciidoc | 4 +- docs/reference/search/field-caps.asciidoc | 4 + 6 files changed, 742 insertions(+), 58 deletions(-) create mode 100644 docs/reference/mapping/mapping-settings-limit.asciidoc create mode 100644 docs/reference/mapping/runtime.asciidoc diff --git a/docs/reference/mapping.asciidoc b/docs/reference/mapping.asciidoc index e146b1194f6a..ebea396cd279 100644 --- a/docs/reference/mapping.asciidoc +++ b/docs/reference/mapping.asciidoc @@ -13,7 +13,7 @@ are stored and indexed. For instance, use mappings to define: * custom rules to control the mapping for <>. -A mapping definition has: +A mapping definition includes metadata fields and fields: <>:: @@ -30,68 +30,34 @@ document. Each field has its own <>. NOTE: Before 7.0.0, the 'mappings' definition used to include a type name. For more details, please see <>. -[[mapping-limit-settings]] [discrete] -=== Settings to prevent mappings explosion - -Defining too many fields in an index can lead to a -mapping explosion, which can cause out of memory errors and difficult -situations to recover from. +[[mapping-limit-settings]] +== Settings to prevent mapping explosion +Defining too many fields in an index can lead to a mapping explosion, which can +cause out of memory errors and difficult situations to recover from. Consider a situation where every new document inserted introduces new fields, such as with <>. Each new field is added to the index mapping, which can become a problem as the mapping grows. -Use the following settings to limit the number of field mappings (created manually or dynamically) and prevent documents from causing a mapping explosion: - -`index.mapping.total_fields.limit`:: - The maximum number of fields in an index. Field and object mappings, as well as - field aliases count towards this limit. The default value is `1000`. -+ -[IMPORTANT] -==== -The limit is in place to prevent mappings and searches from becoming too -large. Higher values can lead to performance degradations and memory issues, -especially in clusters with a high load or few resources. - -If you increase this setting, we recommend you also increase the -<> setting, which -limits the maximum number of <> in a query. -==== -+ -[TIP] -==== -If your field mappings contain a large, arbitrary set of keys, consider using the <> data type. -==== - -`index.mapping.depth.limit`:: - The maximum depth for a field, which is measured as the number of inner - objects. For instance, if all fields are defined at the root object level, - then the depth is `1`. If there is one object mapping, then the depth is - `2`, etc. Default is `20`. - -// tag::nested-fields-limit[] -`index.mapping.nested_fields.limit`:: - The maximum number of distinct `nested` mappings in an index. The `nested` type should only be used in special cases, when arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this setting - limits the number of unique `nested` types per index. Default is `50`. -// end::nested-fields-limit[] - -// tag::nested-objects-limit[] -`index.mapping.nested_objects.limit`:: - The maximum number of nested JSON objects that a single document can contain across all - `nested` types. This limit helps to prevent out of memory errors when a document contains too many nested - objects. Default is `10000`. -// end::nested-objects-limit[] - -`index.mapping.field_name_length.limit`:: - Setting for the maximum length of a field name. This setting isn't really something that addresses - mappings explosion but might still be useful if you want to limit the field length. - It usually shouldn't be necessary to set this setting. The default is okay - unless a user starts to add a huge number of fields with really long names. Default is - `Long.MAX_VALUE` (no limit). +Use the <> to limit the number +of field mappings (created manually or dynamically) and prevent documents from +causing a mapping explosion. + +[discrete] +[[runtime-fields]] +== Runtime fields +Typically, you index data into {es} to promote faster search. However, indexing +can be slow and requires more disk space, and you have to reindex your data to +add fields to existing documents. + +<> are not indexed, which saves disk space and makes +data ingest faster. You can add runtime fields to existing documents without +reindexing your data and calculate field values dynamically at search time. [discrete] +[[dynamic-mapping-intro]] == Dynamic mapping Fields and mapping types do not need to be defined before being used. Thanks @@ -114,7 +80,7 @@ You can create field mappings when you <> and [discrete] [[create-mapping]] -== Create an index with an explicit mapping +=== Create an index with an explicit mapping You can use the <> API to create a new index with an explicit mapping. @@ -255,8 +221,12 @@ The API returns the following response: include::mapping/removal_of_types.asciidoc[] +include::mapping/mapping-settings-limit.asciidoc[] + include::mapping/types.asciidoc[] +include::mapping/runtime.asciidoc[] + include::mapping/fields.asciidoc[] include::mapping/params.asciidoc[] diff --git a/docs/reference/mapping/mapping-settings-limit.asciidoc b/docs/reference/mapping/mapping-settings-limit.asciidoc new file mode 100644 index 000000000000..9099b3029a7f --- /dev/null +++ b/docs/reference/mapping/mapping-settings-limit.asciidoc @@ -0,0 +1,49 @@ +[[mapping-settings-limit]] +== Mapping limit settings +Use the following settings to limit the number of field mappings (created manually or dynamically) and prevent documents from causing a mapping explosion: + +`index.mapping.total_fields.limit`:: + The maximum number of fields in an index. Field and object mappings, as well as + field aliases count towards this limit. The default value is `1000`. ++ +[IMPORTANT] +==== +The limit is in place to prevent mappings and searches from becoming too +large. Higher values can lead to performance degradations and memory issues, +especially in clusters with a high load or few resources. + +If you increase this setting, we recommend you also increase the +<> setting, which +limits the maximum number of <> in a query. +==== ++ +[TIP] +==== +If your field mappings contain a large, arbitrary set of keys, consider using the <> data type. +==== + +`index.mapping.depth.limit`:: + The maximum depth for a field, which is measured as the number of inner + objects. For instance, if all fields are defined at the root object level, + then the depth is `1`. If there is one object mapping, then the depth is + `2`, etc. Default is `20`. + +// tag::nested-fields-limit[] +`index.mapping.nested_fields.limit`:: + The maximum number of distinct `nested` mappings in an index. The `nested` type should only be used in special cases, when arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this setting + limits the number of unique `nested` types per index. Default is `50`. +// end::nested-fields-limit[] + +// tag::nested-objects-limit[] +`index.mapping.nested_objects.limit`:: + The maximum number of nested JSON objects that a single document can contain across all + `nested` types. This limit helps to prevent out of memory errors when a document contains too many nested + objects. Default is `10000`. +// end::nested-objects-limit[] + +`index.mapping.field_name_length.limit`:: + Setting for the maximum length of a field name. This setting isn't really something that addresses + mappings explosion but might still be useful if you want to limit the field length. + It usually shouldn't be necessary to set this setting. The default is okay + unless a user starts to add a huge number of fields with really long names. Default is + `Long.MAX_VALUE` (no limit). diff --git a/docs/reference/mapping/runtime.asciidoc b/docs/reference/mapping/runtime.asciidoc new file mode 100644 index 000000000000..f53ebb9e3edc --- /dev/null +++ b/docs/reference/mapping/runtime.asciidoc @@ -0,0 +1,661 @@ +[[runtime]] +== Runtime fields +Typically, you index data into {es} to promote faster search. However, indexing +can be slow and requires more disk space, and you have to reindex your data to +add fields to existing documents. With _runtime fields_, you can add +fields to documents already indexed to {es} without reindexing your data. + +You access runtime fields from the search API like any other field, and {es} +sees runtime fields no differently. + +[discrete] +[[runtime-benefits]] +=== Benefits +Because runtime fields aren't indexed, adding a runtime field doesn't increase +the index size. You define runtime fields directly in the index mapping, saving +storage costs and increasing ingestion speed. You can more quickly ingest +data into the Elastic Stack and access it right away. When you define a runtime +field, you can immediately use it in search requests, aggregations, filtering, +and sorting. + +If you make a runtime field an indexed field, you don't need to modify any +queries that refer to the runtime field. Better yet, you can refer to some +indices where the field is a runtime field, and other indices where the field +is an indexed field. You have the flexibility to choose which fields to index +and which ones to keep as runtime fields. + +[discrete] +[[runtime-use-cases]] +=== Use cases +Runtime fields are useful when working with log data +(see <>), especially when you're unsure about the +data structure. Your search speed decreases, but your index size is much +smaller and you can more quickly process logs without having to index them. + +Runtime fields are especially useful in the following contexts: + +* Adding fields to documents that are already indexed without having to reindex +data +* Immediately begin working on a new data stream without fully understanding +the data it contains +* Shadowing an indexed field with a runtime field to fix a mistake after +indexing documents +* Defining fields that are only relevant for a particular context (such as a +visualization in {kib}) without influencing the underlying schema + +[discrete] +[[runtime-compromises]] +=== Compromises +Runtime fields use less disk space and provide flexibility in how you access +your data, but can impact search performance based on the computation defined in +the runtime script. + +To balance search performance and flexibility, index fields that you'll +commonly search for and filter on, such as a timestamp. {es} automatically uses +these indexed fields first when running a query, resulting in a fast response +time. You can then use runtime fields to limit the number of fields that {es} +needs to calculate values for. Using indexed fields in tandem with runtime +fields provides flexibility in the data that you index and how you define +queries for other fields. + +Use the <> to run searches that include +runtime fields. This method of search helps to offset the performance impacts +of computing values for runtime fields in each document containing that field. +If the query can't return the result set synchronously, you'll get results +asynchronously as they become available. + +IMPORTANT: Queries against runtime fields are considered expensive. If +<> is set +to `false`, expensive queries are not allowed and {es} will reject any queries +against runtime fields. + +[[runtime-mapping-fields]] +=== Mapping a runtime field +You map runtime fields by adding a `runtime` section under the mapping +definition and defining +<>. This script has access to the +entire context of a document, including the original `_source` and any mapped +fields plus their values. At search time, the script runs and generates values +for each scripted field that is required for the query. + +NOTE: You can define a runtime field in the mapping definition without a +script. If you define a runtime field without a script, {es} evaluates the +field at search time, looks at each document containing that field, retrieves +the `_source`, and returns a value if one exists. + +Runtime fields are similar to the <> parameter +of the `_search` request, but also make the script results available anywhere +in a search request. + +The script in the following request extracts the day of the week from the +`@timestamp` field, which is defined as a `date` type: + +[source,console] +---- +PUT /my-index +{ + "mappings": { + "runtime": { <1> + "day_of_week": { + "type": "keyword", <2> + "script": { <3> + "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))" + } + } + }, + "properties": { + "timestamp": {"type": "date"} + } + } +} +---- + +<1> Runtime fields are defined in the `runtime` section of the mapping +definition. +<2> Each runtime field has its own field type, just like any other field. +<3> The script defines the evaluation to calculate at search time. + +The `runtime` section supports `boolean`, `date`, `double`, `geo_point`, `ip`, +`keyword`, and `long` data types. Runtime fields with a `type` of `date` can +accept the <> parameter exactly as the `date` +field type. + +[[runtime-updating-scripts]] +.Updating runtime scripts +**** + +Updating a script while a dependent query is running can return +inconsistent results. Each shard might have access to different versions of the +script, depending on when the mapping change takes effect. + +Existing queries or visualizations in {kib} that rely on runtime fields can +fail if you change the field type. For example, a bar chart visualization +that uses a runtime field of type `ip` will fail if the type is changed +to `boolean`. + +**** + +[[runtime-search-request]] +=== Defining runtime fields in a search request +You can specify a `runtime_mappings` section in a search request to create +runtime fields that exist only as part of the query. You specify a script +as part of the `runtime_mappings` section, just as you would if adding a +runtime field to the mappings. + +Fields defined in the search request take precedence over fields defined with +the same name in the index mappings. This flexibility allows you to shadow +existing fields and calculate a different value in the search request, without +modifying the field itself. If you made a mistake in your index mapping, you +can use runtime fields to calculate values that override values in the mapping +during the search request. + +In the following request, the values for the `day_of_week` field are calculated +dynamically, and only within the context of this search request: + +[source,console] +---- +GET my-index/_search +{ + "runtime_mappings": { + "day_of_week": { + "type": "keyword", + "script": { + "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))" + } + } + }, + "aggs": { + "day_of_week": { + "terms": { + "field": "day_of_week" + } + } + } +} +---- +// TEST[continued] + +Defining a runtime field in a search request uses the same format as defining +a runtime field in the index mapping. That consistency means you can promote a +runtime field from a search request to the index mapping by moving the field +definition from `runtime_mappings` in the search request to the `runtime` +section of the index mapping. + +[[runtime-shadowing-fields]] +=== Shadowing fields +If you create a runtime field with the same name as a field that +already exists in the mapping, the runtime field shadows the mapped field. At +search time, {es} evaluates the runtime field, calculates a value based on the +script, and returns the value as part of the query. Because the runtime field +shadows the mapped field, you can modify the value returned in search without +modifying the mapped field. + +For example, let's say you indexed the following documents into `my-index`: + +[source,console] +---- +POST my-index/_bulk?refresh=true +{"index":{}} +{"timestamp":1516729294000,"model_number":"QVKC92Q","measures":{"voltage":5.2}} +{"index":{}} +{"timestamp":1516642894000,"model_number":"QVKC92Q","measures":{"voltage":5.8}} +{"index":{}} +{"timestamp":1516556494000,"model_number":"QVKC92Q","measures":{"voltage":5.1}} +{"index":{}} +{"timestamp":1516470094000,"model_number":"QVKC92Q","measures":{"voltage":5.6}} +{"index":{}} +{"timestamp":1516383694000,"model_number":"HG537PU","measures":{"voltage":4.2}} +{"index":{}} +{"timestamp":1516297294000,"model_number":"HG537PU","measures":{"voltage":4.0}} +---- + +You later realize that the `HG537PU` sensors aren't reporting their true +voltage. The indexed values are supposed to be 1.7 times higher than +the reported values! Instead of reindexing your data, you can define a script in +the `runtime_mappings` section of the `_search` request to shadow the `voltage` +field and calculate a new value at search time. + +If you search for documents where the model number matches `HG537PU`: + +[source,console] +---- +GET my-index/_search +{ + "query": { + "match": { + "model_number": "HG537PU" + } + } +} +---- +//TEST[continued] + +The response includes indexed values for documents matching model number +`HG537PU`: + +[source,console-result] +---- +{ + ... + "hits" : { + "total" : { + "value" : 2, + "relation" : "eq" + }, + "max_score" : 1.0296195, + "hits" : [ + { + "_index" : "my-index", + "_id" : "F1BeSXYBg_szTodcYCmk", + "_score" : 1.0296195, + "_source" : { + "timestamp" : 1516383694000, + "model_number" : "HG537PU", + "measures" : { + "voltage" : 4.2 + } + } + }, + { + "_index" : "my-index", + "_id" : "l02aSXYBkpNf6QRDO62Q", + "_score" : 1.0296195, + "_source" : { + "timestamp" : 1516297294000, + "model_number" : "HG537PU", + "measures" : { + "voltage" : 4.0 + } + } + } + ] + } +} +---- +// TESTRESPONSE[s/\.\.\./"took" : $body.took,"timed_out" : $body.timed_out,"_shards" : $body._shards,/] +// TESTRESPONSE[s/"_id" : "F1BeSXYBg_szTodcYCmk"/"_id": $body.hits.hits.0._id/] +// TESTRESPONSE[s/"_id" : "l02aSXYBkpNf6QRDO62Q"/"_id": $body.hits.hits.1._id/] + +The following request defines a runtime field where the script evaluates the +`model_number` field where the value is `HG537PU`. For each match, the script +multiplies the value for the `voltage` field by `1.7`. + +Using the <> parameter on the `_search` API, you can +retrieve the value that the script calculates for the `measures.voltage` field +for documents matching the search request: + +[source,console] +---- +POST my-index/_search +{ + "runtime_mappings": { + "measures.voltage": { + "type": "double", + "script": { + "source": + """if (doc['model_number.keyword'].value.equals('HG537PU')) + {emit(1.7 * params._source['measures']['voltage']);} + else{emit(params._source['measures']['voltage']);}""" + } + } + }, + "query": { + "match": { + "model_number": "HG537PU" + } + }, + "fields": ["measures.voltage"] +} +---- +//TEST[continued] + +Looking at the response, the calculated values for `measures.voltage` on each +result are `7.14` and `6.8`. That's more like it! The runtime field calculated +this value as part of the search request without modifying the mapped value, +which still returns in the response: + +[source,console-result] +---- +{ + ... + "hits" : { + "total" : { + "value" : 2, + "relation" : "eq" + }, + "max_score" : 1.0296195, + "hits" : [ + { + "_index" : "my-index", + "_id" : "F1BeSXYBg_szTodcYCmk", + "_score" : 1.0296195, + "_source" : { + "timestamp" : 1516383694000, + "model_number" : "HG537PU", + "measures" : { + "voltage" : 4.2 + } + }, + "fields" : { + "measures.voltage" : [ + 7.14 + ] + } + }, + { + "_index" : "my-index", + "_id" : "l02aSXYBkpNf6QRDO62Q", + "_score" : 1.0296195, + "_source" : { + "timestamp" : 1516297294000, + "model_number" : "HG537PU", + "measures" : { + "voltage" : 4.0 + } + }, + "fields" : { + "measures.voltage" : [ + 6.8 + ] + } + } + ] + } +} +---- +// TESTRESPONSE[s/\.\.\./"took" : $body.took,"timed_out" : $body.timed_out,"_shards" : $body._shards,/] +// TESTRESPONSE[s/"_id" : "F1BeSXYBg_szTodcYCmk"/"_id": $body.hits.hits.0._id/] +// TESTRESPONSE[s/"_id" : "l02aSXYBkpNf6QRDO62Q"/"_id": $body.hits.hits.1._id/] + +[[runtime-retrieving-fields]] +=== Retrieving a runtime field +Use the <> parameter on the `_search` API to retrieve +the values of runtime fields. Runtime fields won't display in `_source`, but +the `fields` API works for all fields, even those that were not sent as part of +the original `_source`. + +The following request uses the search API to retrieve the `day_of_week` field +that <> defined as a runtime field +in the mapping. The value for the `day_of_week` field is calculated dynamically +at search time based on the evaluation of the defined script. + +[source,console] +---- +GET my-index/_search +{ + "fields": [ + "@timestamp", + "day_of_week" + ], + "_source": false +} +---- +// TEST[continued] + +[[runtime-examples]] +=== Runtime fields examples +Consider a large set of log data that you want to extract fields from. +Indexing the data is time consuming and uses a lot of disk space, and you just +want to explore the data structure without committing to a schema up front. + +You know that your log data contains specific fields that you want to extract. +By using runtime fields, you can define scripts to calculate values at search +time for these fields. + +You can start with a simple example by adding the `@timestamp` and `message` +fields to the `my-index` mapping. To remain flexible, use `wildcard` as the +field type for `message`: + +[source,console] +---- +PUT /my-index/ +{ + "mappings": { + "properties": { + "@timestamp": { + "format": "strict_date_optional_time||epoch_second", + "type": "date" + }, + "message": { + "type": "wildcard" + } + } + } +} +---- + +After mapping the fields you want to retrieve, index a few records from +your log data into {es}. The following request uses the <> +to index raw log data into `my-index`. Instead of indexing all of your log +data, you can use a small sample to experiment with runtime fields. + +[source,console] +---- +POST /my-index/_bulk?refresh +{ "index": {}} +{ "@timestamp": "2020-06-21T15:00:01-05:00", "message" : "211.11.9.0 - - [2020-06-21T15:00:01-05:00] \"GET /english/index.html HTTP/1.0\" 304 0"} +{ "index": {}} +{ "@timestamp": "2020-06-21T15:00:01-05:00", "message" : "211.11.9.0 - - [2020-06-21T15:00:01-05:00] \"GET /english/index.html HTTP/1.0\" 304 0"} +{ "index": {}} +{ "@timestamp": "2020-04-30T14:30:17-05:00", "message" : "40.135.0.0 - - [2020-04-30T14:30:17-05:00] \"GET /images/hm_bg.jpg HTTP/1.0\" 200 24736"} +{ "index": {}} +{ "@timestamp": "2020-04-30T14:30:53-05:00", "message" : "232.0.0.0 - - [2020-04-30T14:30:53-05:00] \"GET /images/hm_bg.jpg HTTP/1.0\" 200 24736"} +{ "index": {}} +{ "@timestamp": "2020-04-30T14:31:12-05:00", "message" : "26.1.0.0 - - [2020-04-30T14:31:12-05:00] \"GET /images/hm_bg.jpg HTTP/1.0\" 200 24736"} +{ "index": {}} +{ "@timestamp": "2020-04-30T14:31:19-05:00", "message" : "247.37.0.0 - - [2020-04-30T14:31:19-05:00] \"GET /french/splash_inet.html HTTP/1.0\" 200 3781"} +{ "index": {}} +{ "@timestamp": "2020-04-30T14:31:27-05:00", "message" : "252.0.0.0 - - [2020-04-30T14:31:27-05:00] \"GET /images/hm_bg.jpg HTTP/1.0\" 200 24736"} +{ "index": {}} +{ "@timestamp": "2020-04-30T14:31:29-05:00", "message" : "247.37.0.0 - - [2020-04-30T14:31:29-05:00] \"GET /images/hm_brdl.gif HTTP/1.0\" 304 0"} +{ "index": {}} +{ "@timestamp": "2020-04-30T14:31:29-05:00", "message" : "247.37.0.0 - - [2020-04-30T14:31:29-05:00] \"GET /images/hm_arw.gif HTTP/1.0\" 304 0"} +{ "index": {}} +{ "@timestamp": "2020-04-30T14:31:32-05:00", "message" : "247.37.0.0 - - [2020-04-30T14:31:32-05:00] \"GET /images/nav_bg_top.gif HTTP/1.0\" 200 929"} +{ "index": {}} +{ "@timestamp": "2020-04-30T14:31:43-05:00", "message" : "247.37.0.0 - - [2020-04-30T14:31:43-05:00] \"GET /french/images/nav_venue_off.gif HTTP/1.0\" 304 0"} +---- +// TEST[continued] + +At this point, you can view how {es} stores your raw data. + +[source,console] +---- +GET /my-index +---- +// TEST[continued] + +The mapping contains two fields: `@timestamp` and `message`. + +[source,console-result] +---- +{ + "my-index" : { + "aliases" : { }, + "mappings" : { + "properties" : { + "@timestamp" : { + "type" : "date", + "format" : "strict_date_optional_time||epoch_second" + }, + "message" : { + "type" : "wildcard" + } + } + }, + ... + } +} +---- +// TESTRESPONSE[s/\.\.\./"settings": $body.my-index.settings/] + +If you want to retrieve results that include `clientip`, you can add that field +as a runtime field in the mapping. The runtime script operates on the `clientip` +field at runtime to calculate values for that field. + +[source,console] +---- +PUT /my-index/_mapping +{ + "runtime": { + "clientip": { + "type": "ip", + "script" : { + "source" : "String m = doc[\"message\"].value; int end = m.indexOf(\" \"); emit(m.substring(0, end));" + } + } + } +} +---- +// TEST[continued] + +Using the `clientip` runtime field, you can define a simple query to run a +search for a specific IP address and return all related fields. + +[source,console] +---- +GET my-index/_search +{ + "size": 1, + "query": { + "match": { + "clientip": "211.11.9.0" + } + }, + "fields" : ["*"] +} +---- +// TEST[continued] + +The API returns the following result. Without building your data structure in +advance, you can search and explore your data in meaningful ways to experiment +and determine which fields to index. + +[source,console-result] +---- +{ + ... + "hits" : { + "total" : { + "value" : 2, + "relation" : "eq" + }, + "max_score" : 1.0, + "hits" : [ + { + "_index" : "my-index", + "_id" : "oWs5KXYB-XyJbifr9mrz", + "_score" : 1.0, + "_source" : { + "@timestamp" : "2020-06-21T15:00:01-05:00", + "message" : "211.11.9.0 - - [2020-06-21T15:00:01-05:00] \"GET /english/index.html HTTP/1.0\" 304 0" + }, + "fields" : { + "@timestamp" : [ + "2020-06-21T20:00:01.000Z" + ], + "clientip" : [ + "211.11.9.0" + ], + "message" : [ + "211.11.9.0 - - [2020-06-21T15:00:01-05:00] \"GET /english/index.html HTTP/1.0\" 304 0" + ] + } + } + ] + } +} +---- +// TESTRESPONSE[s/\.\.\./"took" : $body.took,"timed_out" : $body.timed_out,"_shards" : $body._shards,/] +// TESTRESPONSE[s/"_id" : "oWs5KXYB-XyJbifr9mrz"/"_id": $body.hits.hits.0._id/] + +You can add the `day_of_week` field to the mapping using the request from +<>: + +[source,console] +---- +PUT /my-index/_mapping +{ + "runtime": { + "day_of_week": { + "type": "keyword", + "script": { + "source": "emit(doc['@timestamp'].value.dayOfWeekEnum.getDisplayName(TextStyle.FULL, Locale.ROOT))" + } + } + }, + "properties": { + "timestamp": { + "type": "date" + } + } +} +---- +// TEST[continued] + +Then, you can re-run the previous search request and also retrieve the day of +the week based on the `@timestamp` field: + +[source,console] +---- +GET my-index/_search +{ + "size": 1, + "query": { + "match": { + "clientip": "211.11.9.0" + } + }, + "fields" : ["*"] +} +---- +// TEST[continued] + +The value for this field is calculated dynamically at runtime without +reindexing the document or adding the `day_of_week` field. This flexibility +allows you to modify the mapping without changing any field values. + +[source,console-result] +---- +{ + ... + "hits" : { + "total" : { + "value" : 2, + "relation" : "eq" + }, + "max_score" : 1.0, + "hits" : [ + { + "_index" : "my-index", + "_id" : "oWs5KXYB-XyJbifr9mrz", + "_score" : 1.0, + "_source" : { + "@timestamp" : "2020-06-21T15:00:01-05:00", + "message" : "211.11.9.0 - - [2020-06-21T15:00:01-05:00] \"GET /english/index.html HTTP/1.0\" 304 0" + }, + "fields" : { + "@timestamp" : [ + "2020-06-21T20:00:01.000Z" + ], + "clientip" : [ + "211.11.9.0" + ], + "message" : [ + "211.11.9.0 - - [2020-06-21T15:00:01-05:00] \"GET /english/index.html HTTP/1.0\" 304 0" + ], + "day_of_week" : [ + "Sunday" <1> + ] + } + } + ] + } +} +---- +// TESTRESPONSE[s/\.\.\./"took" : $body.took,"timed_out" : $body.timed_out,"_shards" : $body._shards,/] +// TESTRESPONSE[s/"_id" : "oWs5KXYB-XyJbifr9mrz"/"_id": $body.hits.hits.0._id/] +// TESTRESPONSE[s/"day_of_week" : \[\n\s+"Sunday"\n\s\]/"day_of_week": $body.hits.hits.0.fields.day_of_week/] + +<1> This value was calculated at search time using the runtime script defined +in the mapping. diff --git a/docs/reference/mapping/types.asciidoc b/docs/reference/mapping/types.asciidoc index 97f6454cb716..4a3b87b5e993 100644 --- a/docs/reference/mapping/types.asciidoc +++ b/docs/reference/mapping/types.asciidoc @@ -113,8 +113,8 @@ zero or more values by default, however, all values in the array must be of the same field type. See <>. [discrete] +[[types-multi-fields]] === Multi-fields - It is often useful to index the same field in different ways for different purposes. For instance, a `string` field could be mapped as a `text` field for full-text search, and as a `keyword` field for diff --git a/docs/reference/mapping/types/nested.asciidoc b/docs/reference/mapping/types/nested.asciidoc index ddfb32471d4c..0aec51d2b6d3 100644 --- a/docs/reference/mapping/types/nested.asciidoc +++ b/docs/reference/mapping/types/nested.asciidoc @@ -220,11 +220,11 @@ then 101 Lucene documents would be created: one for the parent document, and one nested object. Because of the expense associated with `nested` mappings, Elasticsearch puts settings in place to guard against performance problems: -include::{es-repo-dir}/mapping.asciidoc[tag=nested-fields-limit] +include::{es-repo-dir}/mapping/mapping-settings-limit.asciidoc[tag=nested-fields-limit] In the previous example, the `user` mapping would count as only 1 towards this limit. -include::{es-repo-dir}/mapping.asciidoc[tag=nested-objects-limit] +include::{es-repo-dir}/mapping/mapping-settings-limit.asciidoc[tag=nested-objects-limit] To illustrate how this setting works, consider adding another `nested` type called `comments` to the previous example mapping. For each document, the combined number of `user` and `comment` diff --git a/docs/reference/search/field-caps.asciidoc b/docs/reference/search/field-caps.asciidoc index d0024c03a345..f09f3503f387 100644 --- a/docs/reference/search/field-caps.asciidoc +++ b/docs/reference/search/field-caps.asciidoc @@ -34,6 +34,10 @@ GET /_field_caps?fields=rating The field capabilities API returns the information about the capabilities of fields among multiple indices. +The field capabilities API returns <> like any +other field. For example, a runtime field with a type of +`keyword` is returned as any other field that belongs to the `keyword` family. + [[search-field-caps-api-path-params]] ==== {api-path-parms-title} From 3cbe0eadce4a7d12247bbbc0899350dca7cea3b6 Mon Sep 17 00:00:00 2001 From: Julie Tibshirani Date: Wed, 9 Dec 2020 17:49:29 -0800 Subject: [PATCH 34/35] Ensure consistent hit order in fvh REST tests. --- .../rest-api-spec/test/search.highlight/20_fvh.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/20_fvh.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/20_fvh.yml index a55873fed307..279687ab8573 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/20_fvh.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/20_fvh.yml @@ -22,24 +22,21 @@ setup: - do: index: index: test + refresh: true body: - id: 1 "title" : "The quick brown fox is brown" "description" : "The quick pink panther is pink" - do: index: index: test + refresh: true body: - id: 2 "title" : "The quick blue fox is blue" "nested": - "title": "purple octopus" - "title": "purple fish" - - do: - indices.refresh: {} - --- "Highlight query": - do: @@ -75,7 +72,6 @@ setup: query: match: title: fox - sort: ["id"] highlight: type: fvh fields: From 27ca2794ea61a4e830cc4f976b3890af54245237 Mon Sep 17 00:00:00 2001 From: Dimitris Athanasiou Date: Thu, 10 Dec 2020 11:12:45 +0200 Subject: [PATCH 35/35] [Transform] Fix casting in ExceptionRootCauseFinder (#66123) Method `getRootCauseException` is checking whether the unwrapped exception is an instance of `SearchPhaseExecutionException` but then proceeds to cast the parent exception. This would lead to a casting error. This commit fixes this and adds a unit test to guard it. --- .../utils/ExceptionRootCauseFinder.java | 2 +- .../utils/ExceptionRootCauseFinderTests.java | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/utils/ExceptionRootCauseFinder.java b/x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/utils/ExceptionRootCauseFinder.java index ddfe3dcc31ac..87cfaeb54cef 100644 --- a/x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/utils/ExceptionRootCauseFinder.java +++ b/x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/utils/ExceptionRootCauseFinder.java @@ -49,7 +49,7 @@ public static Throwable getRootCauseException(Throwable t) { Throwable unwrappedThrowable = org.elasticsearch.ExceptionsHelper.unwrapCause(t); if (unwrappedThrowable instanceof SearchPhaseExecutionException) { - SearchPhaseExecutionException searchPhaseException = (SearchPhaseExecutionException) t; + SearchPhaseExecutionException searchPhaseException = (SearchPhaseExecutionException) unwrappedThrowable; for (ShardSearchFailure shardFailure : searchPhaseException.shardFailures()) { Throwable unwrappedShardFailure = org.elasticsearch.ExceptionsHelper.unwrapCause(shardFailure.getCause()); diff --git a/x-pack/plugin/transform/src/test/java/org/elasticsearch/xpack/transform/utils/ExceptionRootCauseFinderTests.java b/x-pack/plugin/transform/src/test/java/org/elasticsearch/xpack/transform/utils/ExceptionRootCauseFinderTests.java index 5f41474808a7..3ede642404a6 100644 --- a/x-pack/plugin/transform/src/test/java/org/elasticsearch/xpack/transform/utils/ExceptionRootCauseFinderTests.java +++ b/x-pack/plugin/transform/src/test/java/org/elasticsearch/xpack/transform/utils/ExceptionRootCauseFinderTests.java @@ -6,14 +6,18 @@ package org.elasticsearch.xpack.transform.utils; +import org.elasticsearch.ElasticsearchException; import org.elasticsearch.ElasticsearchSecurityException; import org.elasticsearch.ResourceNotFoundException; import org.elasticsearch.action.DocWriteRequest.OpType; import org.elasticsearch.action.bulk.BulkItemResponse; +import org.elasticsearch.action.search.SearchPhaseExecutionException; +import org.elasticsearch.action.search.ShardSearchFailure; import org.elasticsearch.common.util.concurrent.EsRejectedExecutionException; import org.elasticsearch.index.mapper.MapperParsingException; import org.elasticsearch.index.shard.ShardId; import org.elasticsearch.index.translog.TranslogException; +import org.elasticsearch.indices.IndexCreationException; import org.elasticsearch.rest.RestStatus; import org.elasticsearch.test.ESTestCase; @@ -21,7 +25,10 @@ import java.util.HashMap; import java.util.Map; +import static org.hamcrest.Matchers.equalTo; + public class ExceptionRootCauseFinderTests extends ESTestCase { + public void testFetFirstIrrecoverableExceptionFromBulkResponses() { Map bulkItemResponses = new HashMap<>(); @@ -142,10 +149,21 @@ public void testFetFirstIrrecoverableExceptionFromBulkResponses() { assertNull(ExceptionRootCauseFinder.getFirstIrrecoverableExceptionFromBulkResponses(bulkItemResponses.values())); } + public void testGetRootCauseException_GivenWrappedSearchPhaseException() { + SearchPhaseExecutionException searchPhaseExecutionException = new SearchPhaseExecutionException("test-phase", + "partial shards failure", new ShardSearchFailure[] { new ShardSearchFailure(new ElasticsearchException("for the cause!")) }); + + Throwable rootCauseException = ExceptionRootCauseFinder.getRootCauseException( + new IndexCreationException("test-index", searchPhaseExecutionException)); + + assertThat(rootCauseException.getMessage(), equalTo("for the cause!")); + } + private static void assertFirstException(Collection bulkItemResponses, Class expectedClass, String message) { Throwable t = ExceptionRootCauseFinder.getFirstIrrecoverableExceptionFromBulkResponses(bulkItemResponses); assertNotNull(t); assertEquals(t.getClass(), expectedClass); assertEquals(t.getMessage(), message); } + }