OpenSearch/modules/lang-groovy
Simon Willnauer 5c8164a561 Clean up BytesReference (#19196)
BytesReference should be a really simple interface, yet it has a gazillion
ways to achieve the same this. Methods like `#hasArray`, `#toBytesArray`, `#copyBytesArray`
`#toBytesRef` `#bytes` are all really duplicates. This change simplifies the interface
dramatically and makes implementations of it much simpler. All array access has been removed
and is streamlined through a single `#toBytesRef` method. Utility methods to materialize a
compact byte array has been added too for convenience.
2016-07-01 16:09:31 +02:00
..
licenses Upgrade groovy dependency in lang-groovy module to version 2.4.6 2016-02-27 17:41:15 +01:00
src Clean up BytesReference (#19196) 2016-07-01 16:09:31 +02:00
build.gradle Changed indexed scripts to be stored in the cluster state instead of the `.scripts` index. 2016-04-22 13:42:55 +02:00