Class ElasticSearchConnection
- java.lang.Object
-
- org.gcube.portal.social.networking.ws.utils.ElasticSearchConnection
-
public class ElasticSearchConnection extends Object
The class discovers and offer connections to the elastic search cluster.- Author:
- Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gcube.socialnetworking.social_data_search_client.ElasticSearchClientgetElasticSearchClient()Returns the object to connect to cassandra cluster.static ElasticSearchConnectiongetSingleton()
-
-
-
Method Detail
-
getSingleton
public static ElasticSearchConnection getSingleton()
-
getElasticSearchClient
public org.gcube.socialnetworking.social_data_search_client.ElasticSearchClient getElasticSearchClient()
Returns the object to connect to cassandra cluster.- Returns:
- connection pool to cassandra cluster
- Throws:
Exception
-
-