Package org.apache.beam.sdk.io.neo4j
Class Neo4jIO.DriverConfiguration
java.lang.Object
org.apache.beam.sdk.io.neo4j.Neo4jIO.DriverConfiguration
- All Implemented Interfaces:
Serializable
- Enclosing class:
Neo4jIO
This describes all the information needed to create a Neo4j
Session.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Neo4jIO.DriverConfigurationcreate()static Neo4jIO.DriverConfigurationprotected org.neo4j.driver.AuthTokengetAuthToken(String username, String password) Certain embedded scenarios and so on actually allow for having no authentication at all.withConfig(org.neo4j.driver.Config config) withDefaultConfig(boolean useDefault) withDefaultConfig(ValueProvider<Boolean> useDefault) withPassword(String password) withPassword(ValueProvider<String> password) withUrl(ValueProvider<String> url) withUrls(ValueProvider<List<String>> urls) withUsername(String username) withUsername(ValueProvider<String> username)
-
Constructor Details
-
DriverConfiguration
public DriverConfiguration()
-
-
Method Details
-
create
-
create
-
withUrl
-
withUrl
-
withUrls
-
withUrls
-
withConfig
-
withUsername
-
withUsername
-
withPassword
-
withPassword
-
withDefaultConfig
-
withDefaultConfig
-
getAuthToken
Certain embedded scenarios and so on actually allow for having no authentication at all.- Parameters:
username- The username if one is neededpassword- The password if one is needed- Returns:
- The AuthToken
-