Class RedisIO.ReadKeyPatternsBytes

java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<String>,PCollection<KV<byte[],byte[]>>>
org.apache.beam.sdk.io.redis.RedisIO.ReadKeyPatternsBytes
All Implemented Interfaces:
Serializable, HasDisplayData
Enclosing class:
RedisIO

public abstract static class RedisIO.ReadKeyPatternsBytes extends PTransform<PCollection<String>,PCollection<KV<byte[],byte[]>>>
See Also:
  • Constructor Details

    • ReadKeyPatternsBytes

      public ReadKeyPatternsBytes()
  • Method Details

    • withEndpoint

      public RedisIO.ReadKeyPatternsBytes withEndpoint(String host, int port)
    • withAuth

      public RedisIO.ReadKeyPatternsBytes withAuth(String auth)
    • withTimeout

      public RedisIO.ReadKeyPatternsBytes withTimeout(int timeout)
    • withConnectionConfiguration

      public RedisIO.ReadKeyPatternsBytes withConnectionConfiguration(RedisConnectionConfiguration connection)
    • withBatchSize

      public RedisIO.ReadKeyPatternsBytes withBatchSize(int batchSize)
    • withOutputParallelization

      public RedisIO.ReadKeyPatternsBytes withOutputParallelization(boolean outputParallelization)
      Whether to reshuffle the resulting PCollection so results are distributed to all workers. The default is to parallelize and should only be changed if this is known to be unnecessary.
    • expand

      public PCollection<KV<byte[],byte[]>> expand(PCollection<String> input)
      Description copied from class: PTransform
      Override this method to specify how this PTransform should be expanded on the given InputT.

      NOTE: This method should not be called directly. Instead apply the PTransform should be applied to the InputT using the apply method.

      Composite transforms, which are defined in terms of other transforms, should return the output of one of the composed transforms. Non-composite transforms, which do not apply any transforms internally, should return a new unbound output and register evaluators (via backend-specific registration methods).

      Specified by:
      expand in class PTransform<PCollection<String>,PCollection<KV<byte[],byte[]>>>