public interface ElasticSearchClient extends Configurable
| Modifier and Type | Method and Description | 
|---|---|
| void | addEvent(Event event,
        IndexNameBuilder indexNameBuilder,
        String indexType,
        long ttlMs)Add new event to the bulk | 
| void | close()Close connection to elastic search in client | 
| void | execute()Sends bulk to the elasticsearch cluster | 
configurevoid close()
void addEvent(Event event, IndexNameBuilder indexNameBuilder, String indexType, long ttlMs) throws Exception
event - Flume EventindexNameBuilder - Index name builder which generates name of index to feedindexType - Name of type of document which will be sent to the elasticsearch clusterttlMs - Time to live expressed in milliseconds. Value <= 0 is ignoredExceptionCopyright © 2009-2017 Apache Software Foundation. All Rights Reserved.