Package org.apache.beam.sdk.io.redis
Class RedisConnectionConfiguration
java.lang.Object
org.apache.beam.sdk.io.redis.RedisConnectionConfiguration
- All Implemented Interfaces:
 Serializable
RedisConnectionConfiguration describes and wraps a connectionConfiguration to Redis
 server or cluster.- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionredis.clients.jedis.Jedisconnect()Connect to the Redis instance.static RedisConnectionConfigurationcreate()static RedisConnectionConfigurationstatic RedisConnectionConfigurationcreate(ValueProvider<String> host, ValueProvider<Integer> port) Enable SSL connection to Redis server.voidpopulateDisplayData(DisplayData.Builder builder) Populate the display data with connectionConfiguration details.Define the password to authenticate on the Redis server.withAuth(ValueProvider<String> auth) SeewithAuth(String).Define the host name of the Redis server.withHost(ValueProvider<String> host) SeewithHost(String).withPort(int port) Define the port number of the Redis server.withPort(ValueProvider<Integer> port) SeewithPort(int).withSSL(ValueProvider<Boolean> ssl) Define if a SSL connection to Redis server should be used.withTimeout(int timeout) Define the Redis connection timeout.withTimeout(ValueProvider<Integer> timeout) SeewithTimeout(int). 
- 
Constructor Details
- 
RedisConnectionConfiguration
public RedisConnectionConfiguration() 
 - 
 - 
Method Details
- 
create
 - 
create
 - 
create
public static RedisConnectionConfiguration create(ValueProvider<String> host, ValueProvider<Integer> port)  - 
withHost
Define the host name of the Redis server. - 
withHost
SeewithHost(String). - 
withPort
Define the port number of the Redis server. - 
withPort
SeewithPort(int). - 
withAuth
Define the password to authenticate on the Redis server. - 
withAuth
SeewithAuth(String). - 
withTimeout
Define the Redis connection timeout. A timeout of zero is interpreted as an infinite timeout. - 
withTimeout
SeewithTimeout(int). - 
enableSSL
Enable SSL connection to Redis server. - 
withSSL
Define if a SSL connection to Redis server should be used. - 
connect
public redis.clients.jedis.Jedis connect()Connect to the Redis instance. - 
populateDisplayData
Populate the display data with connectionConfiguration details. 
 -