Class StormElasticSearchClient
java.lang.Object
org.apache.storm.elasticsearch.common.StormElasticSearchClient
- All Implemented Interfaces:
Serializable
Client for connecting Elasticsearch.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StormElasticSearchClient
-
-
Method Details
-
construct
public org.elasticsearch.client.RestClient construct()Creates a newRestClient
using givenEsConfig
.- Returns:
RestClient
for Elasticsearch connection
-