Package org.apache.beam.sdk.io.solr
Class SolrIO.ConnectionConfiguration
java.lang.Object
org.apache.beam.sdk.io.solr.SolrIO.ConnectionConfiguration
- All Implemented Interfaces:
 Serializable
- Enclosing class:
 SolrIO
A POJO describing a connection configuration to Solr.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionCreates a new Solr connection configuration.withBasicCredentials(String username, String password) If Solr basic authentication is enabled, provide the username and password. 
- 
Constructor Details
- 
ConnectionConfiguration
public ConnectionConfiguration() 
 - 
 - 
Method Details
- 
create
Creates a new Solr connection configuration.- Parameters:
 zkHost- host of zookeeper- Returns:
 - the connection configuration object
 
 - 
withBasicCredentials
If Solr basic authentication is enabled, provide the username and password. 
 -