public class ElasticSearch extends BaseConnector<ElasticSearch>
| Modifier and Type | Class and Description |
|---|---|
static class |
ElasticSearch.ElasticSearchFormat |
params, PREFIX, required| Constructor and Description |
|---|
ElasticSearch() |
| Modifier and Type | Method and Description |
|---|---|
ElasticSearch |
format(ElasticSearch.ElasticSearchFormat format)
The output format for your data:
basic_interaction_meta - The current default format, where each payload contains only basic interaction JSON
document.
|
ElasticSearch |
host(String host) |
ElasticSearch |
index(String indexName) |
ElasticSearch |
port(int host) |
ElasticSearch |
type(String type) |
ElasticSearch |
url(String host,
int port)
Simple calls
host(String).port(int) for convenience |
exists, fromMap, parameters, putAll, setParam, setup, typepublic ElasticSearch url(String host, int port)
host(String).port(int) for conveniencehost - the host of the serverport - the port on which the connection will be attemptedpublic ElasticSearch host(String host)
host - The host name of your CouchDB installation.public ElasticSearch port(int host)
host - You can specify a port or accept the default.public ElasticSearch index(String indexName)
indexName - The ElasticSearch index that you want to use.
If it does not exist, DataSift will create it for you and set its name to the Push
subscription id.
Use a valid index name.public ElasticSearch type(String type)
type - The type that you want to use for the index.
If it does not exist, DataSift will add a new type for the index and use the new type.
Use a valid type name.
For more information on ElasticSearch mapping types,
read the documentation.public ElasticSearch format(ElasticSearch.ElasticSearchFormat format)
Copyright © 2015. All Rights Reserved.