接口 ElasticsearchConnectionDetails
- 所有超级接口:
ConnectionDetails
Details required to establish a connection to an Elasticsearch service.
- 从以下版本开始:
- 3.1.0
- 作者:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
方法详细资料
-
getNodes
List<ElasticsearchConnectionDetails.Node> getNodes()List of the Elasticsearch nodes to use.- 返回:
- list of the Elasticsearch nodes to use
-
getUsername
Username for authentication with Elasticsearch.- 返回:
- username for authentication with Elasticsearch or
null
-
getPassword
Password for authentication with Elasticsearch.- 返回:
- password for authentication with Elasticsearch or
null
-
getPathPrefix
Prefix added to the path of every request sent to Elasticsearch.- 返回:
- prefix added to the path of every request sent to Elasticsearch or
null
-