public class AnalyticsESClient
extends org.exoplatform.commons.search.es.client.ElasticClient
| Constructor and Description |
|---|
AnalyticsESClient(org.exoplatform.commons.search.es.client.ElasticIndexingAuditTrail auditTrail,
org.exoplatform.commons.search.es.client.ElasticContentRequestBuilder elasticContentRequestBuilder,
AnalyticsIndexingServiceConnector analyticsIndexingConnector,
org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.conn.HttpClientConnectionManager |
getClientConnectionManager() |
protected String |
getEsPasswordProperty() |
protected String |
getEsUsernameProperty() |
String |
getMapping(long timestamp) |
void |
sendCreateBulkDocumentsRequest(List<org.exoplatform.analytics.model.StatisticDataQueueEntry> dataQueueEntries) |
boolean |
sendCreateIndexRequest(String index) |
void |
sendDeleteIndexRequest(String index) |
protected org.exoplatform.commons.search.es.client.ElasticResponse |
sendHttpDeleteRequest(String url) |
protected org.exoplatform.commons.search.es.client.ElasticResponse |
sendHttpPostRequest(String url,
String content) |
protected org.exoplatform.commons.search.es.client.ElasticResponse |
sendHttpPutRequest(String url,
String content) |
boolean |
sendIsIndexExistsRequest(String esIndex) |
String |
sendRequest(String esQuery) |
protected String username
public AnalyticsESClient(org.exoplatform.commons.search.es.client.ElasticIndexingAuditTrail auditTrail,
org.exoplatform.commons.search.es.client.ElasticContentRequestBuilder elasticContentRequestBuilder,
AnalyticsIndexingServiceConnector analyticsIndexingConnector,
org.exoplatform.container.xml.InitParams initParams)
public boolean sendCreateIndexRequest(String index)
public boolean sendIsIndexExistsRequest(String esIndex)
public void sendDeleteIndexRequest(String index)
public void sendCreateBulkDocumentsRequest(List<org.exoplatform.analytics.model.StatisticDataQueueEntry> dataQueueEntries)
public String getMapping(long timestamp)
protected org.exoplatform.commons.search.es.client.ElasticResponse sendHttpPutRequest(String url, String content)
sendHttpPutRequest in class org.exoplatform.commons.search.es.client.ElasticClientprotected org.exoplatform.commons.search.es.client.ElasticResponse sendHttpDeleteRequest(String url)
sendHttpDeleteRequest in class org.exoplatform.commons.search.es.client.ElasticClientprotected org.exoplatform.commons.search.es.client.ElasticResponse sendHttpPostRequest(String url, String content)
sendHttpPostRequest in class org.exoplatform.commons.search.es.client.ElasticClientprotected String getEsUsernameProperty()
getEsUsernameProperty in class org.exoplatform.commons.search.es.client.ElasticClientprotected String getEsPasswordProperty()
getEsPasswordProperty in class org.exoplatform.commons.search.es.client.ElasticClientprotected org.apache.http.conn.HttpClientConnectionManager getClientConnectionManager()
getClientConnectionManager in class org.exoplatform.commons.search.es.client.ElasticClientCopyright © 2003–2021 eXo Platform SAS. All rights reserved.