@UriParams public class ElasticsearchConfiguration extends Object
Constructor and Description |
---|
ElasticsearchConfiguration() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getClientTransportSniff()
Is the client allowed to sniff the rest of the cluster or not (default true).
|
String |
getClusterName()
Name of cluster or use local for local mode
|
org.elasticsearch.action.WriteConsistencyLevel |
getConsistencyLevel()
The write consistency level to use with INDEX and BULK operations (can be any of ONE, QUORUM, ALL or DEFAULT)
|
Boolean |
getData()
Is the node going to be allowed to allocate data (shards) to it or not.
|
String |
getIndexName()
The name of the index to act against
|
String |
getIndexType()
The type of the index to act against
|
String |
getIp()
The TransportClient remote host ip to use
|
String |
getOperation()
What operation to perform
|
String |
getPathHome()
The path.home property of ElasticSearch configuration.
|
int |
getPort()
The TransportClient remote port to use (defaults to 9300)
|
String |
getTransportAddresses()
Comma separated list with ip:port formatted remote transport addresses to use.
|
List<org.elasticsearch.common.transport.InetSocketTransportAddress> |
getTransportAddressesList() |
boolean |
isLocal() |
void |
setClientTransportSniff(Boolean clientTransportSniff) |
void |
setClusterName(String clusterName) |
void |
setConsistencyLevel(org.elasticsearch.action.WriteConsistencyLevel consistencyLevel) |
void |
setData(Boolean data) |
void |
setIndexName(String indexName) |
void |
setIndexType(String indexType) |
void |
setIp(String ip) |
void |
setLocal(boolean local) |
void |
setOperation(String operation) |
void |
setPathHome(String pathHome) |
void |
setPort(int port) |
void |
setTransportAddresses(String transportAddresses) |
void |
setTransportAddressesList(List<org.elasticsearch.common.transport.InetSocketTransportAddress> transportAddressesList) |
public String getClusterName()
public void setClusterName(String clusterName)
public String getOperation()
public void setOperation(String operation)
public String getIndexName()
public void setIndexName(String indexName)
public String getIndexType()
public void setIndexType(String indexType)
public org.elasticsearch.action.WriteConsistencyLevel getConsistencyLevel()
public void setConsistencyLevel(org.elasticsearch.action.WriteConsistencyLevel consistencyLevel)
public Boolean getData()
public void setData(Boolean data)
public String getIp()
public void setIp(String ip)
public String getTransportAddresses()
public void setTransportAddresses(String transportAddresses)
public int getPort()
public void setPort(int port)
public Boolean getClientTransportSniff()
public void setClientTransportSniff(Boolean clientTransportSniff)
public boolean isLocal()
public void setLocal(boolean local)
public List<org.elasticsearch.common.transport.InetSocketTransportAddress> getTransportAddressesList()
public void setTransportAddressesList(List<org.elasticsearch.common.transport.InetSocketTransportAddress> transportAddressesList)
public String getPathHome()
public void setPathHome(String pathHome)
Apache Camel