OpenSearch/x-pack
David Roberts b99aa81fe4
[ML] Add ML result classes to protocol library (#32587)
This commit adds the ML results classes to the X-Pack protocol
library used by the high level REST client.

(Other commits will add the config classes and stats classes.)

These classes:

- Are publically immutable
- Are privately mutable - this is perhaps not as nice as the
  config classes, but to do otherwise would require adding
  builders and the corresponding server-side classes that the
  old transport client used don't have builders
- Have little/no validation of field values beyond null checks
- Are convertible to and from X-Content, but NOT wire transportable
- Have lenient parsers to maximize compatibility across versions
- Have the same class names and getter names as the corresponding
  classes in X-Pack core to ease migration for transport client
  users
- Don't reproduce all the methods that do calculations or
  transformations that the the corresponding classes in X-Pack core
  have
2018-08-03 20:48:38 +01:00
..
dev-tools Fixup build after opening x-pack 2018-04-20 15:33:46 -07:00
docs [Rollup] Improve ID scheme for rollup documents (#32558) 2018-08-03 11:13:25 -04:00
license-tools Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
plugin [Rollup] Update wire version check after backport 2018-08-03 14:09:01 -04:00
protocol [ML] Add ML result classes to protocol library (#32587) 2018-08-03 20:48:38 +01:00
qa [Rollup] Update wire version check after backport 2018-08-03 14:09:01 -04:00
test Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
transport-client Build: Shadow x-pack:protocol into x-pack:plugin:core (#32240) 2018-07-24 11:53:04 -04:00
NOTICE.txt Migrate x-pack-elasticsearch source to elasticsearch 2018-04-20 15:29:54 -07:00
README.md Reorganize license files 2018-04-20 15:33:59 -07:00
build.gradle HLREST: Add x-pack-info API (#31870) 2018-07-08 11:03:56 -04:00

README.md

Elastic License Functionality

This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Apache License 2.0.