public interface ElasticSearchIndexRequestBuilderFactory extends Configurable, ConfigurableComponent
IndexRequestBuilder instances
 from serialized flume events. This is configurable, so any config params
 required should be taken through this.| Modifier and Type | Field and Description | 
|---|---|
| static org.apache.commons.lang.time.FastDateFormat | df | 
| Modifier and Type | Method and Description | 
|---|---|
| org.elasticsearch.action.index.IndexRequestBuilder | createIndexRequest(org.elasticsearch.client.Client client,
                  String indexPrefix,
                  String indexType,
                  Event event) | 
configureconfigureorg.elasticsearch.action.index.IndexRequestBuilder createIndexRequest(org.elasticsearch.client.Client client,
                                                                      String indexPrefix,
                                                                      String indexType,
                                                                      Event event)
                                                               throws IOException
client - ElasticSearch Client to prepare index fromindexPrefix - Prefix of index name to use -- as configured on the sinkindexType - Index type to use -- as configured on the sinkevent - Flume event to serialize and add to index requestIndexRequestBuilder instanceIOException - If an error occurs e.g. during serializationCopyright © 2009-2017 Apache Software Foundation. All Rights Reserved.