类 ElasticsearchProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchProperties
@ConfigurationProperties(prefix="spring.data.elasticsearch") public class ElasticsearchProperties extends Object
Configuration properties for Elasticsearch.- 从以下版本开始:
- 1.1.0
构造器概要
构造器 构造器 说明 ElasticsearchProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getClusterName()
String
getClusterNodes()
Map<String,String>
getProperties()
void
setClusterName(String clusterName)
void
setClusterNodes(String clusterNodes)
void
setProperties(Map<String,String> properties)
构造器详细资料
ElasticsearchProperties
public ElasticsearchProperties()
方法详细资料
getClusterName
public String getClusterName()
setClusterName
public void setClusterName(String clusterName)
getClusterNodes
public String getClusterNodes()
setClusterNodes
public void setClusterNodes(String clusterNodes)
getProperties
public Map<String,String> getProperties()
setProperties
public void setProperties(Map<String,String> properties)