org.apache.camel.component.elasticsearch
Class ElasticsearchConfiguration
java.lang.Object
org.apache.camel.component.elasticsearch.ElasticsearchConfiguration
public class ElasticsearchConfiguration
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_OPERATION
public static final String PARAM_OPERATION
- See Also:
- Constant Field Values
OPERATION_INDEX
public static final String OPERATION_INDEX
- See Also:
- Constant Field Values
OPERATION_GET_BY_ID
public static final String OPERATION_GET_BY_ID
- See Also:
- Constant Field Values
OPERATION_DELETE
public static final String OPERATION_DELETE
- See Also:
- Constant Field Values
PARAM_INDEX_ID
public static final String PARAM_INDEX_ID
- See Also:
- Constant Field Values
PARAM_DATA
public static final String PARAM_DATA
- See Also:
- Constant Field Values
PARAM_INDEX_NAME
public static final String PARAM_INDEX_NAME
- See Also:
- Constant Field Values
PARAM_INDEX_TYPE
public static final String PARAM_INDEX_TYPE
- See Also:
- Constant Field Values
PROTOCOL
public static final String PROTOCOL
- See Also:
- Constant Field Values
ElasticsearchConfiguration
public ElasticsearchConfiguration(URI uri,
Map<String,Object> parameters)
throws Exception
- Throws:
Exception
toBoolean
protected Boolean toBoolean(Object string)
buildNode
public org.elasticsearch.node.Node buildNode()
getUri
public URI getUri()
setUri
public void setUri(URI uri)
getProtocolType
public String getProtocolType()
setProtocolType
public void setProtocolType(String protocolType)
getClusterName
public String getClusterName()
setClusterName
public void setClusterName(String clusterName)
getAuthority
public String getAuthority()
setAuthority
public void setAuthority(String authority)
getIndexName
public String getIndexName()
setIndexName
public void setIndexName(String indexName)
getIndexType
public String getIndexType()
setIndexType
public void setIndexType(String indexType)
isLocal
public boolean isLocal()
setLocal
public void setLocal(boolean local)
isData
public boolean isData()
setData
public void setData(boolean data)
setOperation
public void setOperation(String operation)
getOperation
public String getOperation()
getIp
public String getIp()
setIp
public void setIp(String ip)
getPort
public Integer getPort()
setPort
public void setPort(Integer port)
Apache Camel