org.apache.camel.component.elasticsearch
Class ElasticsearchConfiguration

java.lang.Object
  extended by org.apache.camel.component.elasticsearch.ElasticsearchConfiguration

public class ElasticsearchConfiguration
extends Object


Field Summary
static String OPERATION_DELETE
           
static String OPERATION_GET_BY_ID
           
static String OPERATION_INDEX
           
static String PARAM_DATA
           
static String PARAM_INDEX_ID
           
static String PARAM_INDEX_NAME
           
static String PARAM_INDEX_TYPE
           
static String PARAM_OPERATION
           
static String PROTOCOL
           
 
Constructor Summary
ElasticsearchConfiguration(URI uri, Map<String,Object> parameters)
           
 
Method Summary
 org.elasticsearch.node.Node buildNode()
           
 String getAuthority()
           
 String getClusterName()
           
 String getIndexName()
           
 String getIndexType()
           
 String getIp()
           
 String getOperation()
           
 Integer getPort()
           
 String getProtocolType()
           
 URI getUri()
           
 boolean isData()
           
 boolean isLocal()
           
 void setAuthority(String authority)
           
 void setClusterName(String clusterName)
           
 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 setPort(Integer port)
           
 void setProtocolType(String protocolType)
           
 void setUri(URI uri)
           
protected  Boolean toBoolean(Object string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ElasticsearchConfiguration

public ElasticsearchConfiguration(URI uri,
                                  Map<String,Object> parameters)
                           throws Exception
Throws:
Exception
Method Detail

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