Add Java SDK examples to the documentation (#10444)

This commit is contained in:
Nahuel 2023-03-06 13:17:33 +01:00 committed by GitHub
parent 0efa49b9c6
commit 5be1a77f94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,3 +222,8 @@ Please refer to the examples to access an API:
Response response = esApi.searchEntitiesWithQuery("", "pipeline_search_index", false, 0, 0, null, null, true, "{\"query\":{\"bool\":{}}}", null, false, null );
String data = IOUtils.toString(response.body().asInputStream(), Charsets.UTF_8);
```
## More examples
If you want more examples of using different Java SDK methods, you will find them in our demo repository
[here](https://github.com/open-metadata/openmetadata-demo/tree/main/java-sdk-examples).