Class QuarkusRestHighLevelClient
- java.lang.Object
-
- org.elasticsearch.client.RestHighLevelClient
-
- io.quarkus.elasticsearch.restclient.highlevel.runtime.QuarkusRestHighLevelClient
-
- All Implemented Interfaces:
Closeable,AutoCloseable
class QuarkusRestHighLevelClient extends org.elasticsearch.client.RestHighLevelClientThe RestHighLevelClient cannot be built with an existing RestClient.The only (and documented - see javadoc) way to do it is to subclass it and use its protected constructor.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedQuarkusRestHighLevelClient(org.elasticsearch.client.RestClient restClient, org.elasticsearch.common.CheckedConsumer<org.elasticsearch.client.RestClient,IOException> doClose, List<org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry> namedXContentEntries)
-
Method Summary
-
Methods inherited from class org.elasticsearch.client.RestHighLevelClient
asyncSearch, bulk, bulkAsync, ccr, clearScroll, clearScrollAsync, close, cluster, convertExistsResponse, count, countAsync, delete, deleteAsync, deleteByQuery, deleteByQueryAsync, deleteByQueryRethrottle, deleteByQueryRethrottleAsync, deleteScript, deleteScriptAsync, enrich, eql, exists, existsAsync, existsSource, existsSource, existsSourceAsync, existsSourceAsync, explain, explainAsync, fieldCaps, fieldCapsAsync, get, getAsync, getLowLevelClient, getScript, getScriptAsync, getSource, getSourceAsync, graph, index, indexAsync, indexLifecycle, indices, info, ingest, license, machineLearning, mget, mgetAsync, migration, msearch, msearchAsync, msearchTemplate, msearchTemplateAsync, mtermvectors, mtermvectorsAsync, multiGet, multiGetAsync, multiSearch, multiSearchAsync, parseEntity, parseResponseException, performRequest, performRequestAndParseEntity, performRequestAndParseOptionalEntity, performRequestAsync, performRequestAsyncAndParseEntity, performRequestAsyncAndParseOptionalEntity, ping, putScript, putScriptAsync, rankEval, rankEvalAsync, reindex, reindexAsync, reindexRethrottle, reindexRethrottleAsync, rollup, scroll, scrollAsync, search, searchAsync, searchScroll, searchScrollAsync, searchTemplate, searchTemplateAsync, security, snapshot, submitDeleteByQueryTask, submitReindexTask, submitUpdateByQueryTask, tasks, termvectors, termvectorsAsync, transform, update, updateAsync, updateByQuery, updateByQueryAsync, updateByQueryRethrottle, updateByQueryRethrottleAsync, watcher, xpack
-
-
-
-
Constructor Detail
-
QuarkusRestHighLevelClient
protected QuarkusRestHighLevelClient(org.elasticsearch.client.RestClient restClient, org.elasticsearch.common.CheckedConsumer<org.elasticsearch.client.RestClient,IOException> doClose, List<org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry> namedXContentEntries)
-
-