Package org.apache.beam.sdk.io.redis
Class RedisIO.WriteStreams
java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<KV<String,Map<String,String>>>,PDone>
org.apache.beam.sdk.io.redis.RedisIO.WriteStreams
- All Implemented Interfaces:
Serializable,HasDisplayData
- Enclosing class:
RedisIO
public abstract static class RedisIO.WriteStreams
extends PTransform<PCollection<KV<String,Map<String,String>>>,PDone>
- See Also:
-
Field Summary
Fields inherited from class org.apache.beam.sdk.transforms.PTransform
annotations, displayData, name, resourceHints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOverride this method to specify how thisPTransformshould be expanded on the givenInputT.abstract org.apache.beam.sdk.io.redis.RedisIO.WriteStreams.BuilderwithApproximateTrim(boolean approximateTrim) IfwithMaxLen(long)is used, set the "~" prefix to the MAXLEN value, indicating to the server that it should use "close enough" trimming.withEndpoint(String host, int port) withMaxLen(long maxLen) Methods inherited from class org.apache.beam.sdk.transforms.PTransform
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setDisplayData, setResourceHints, toString, validate, validate
-
Constructor Details
-
WriteStreams
public WriteStreams()
-
-
Method Details
-
toBuilder
public abstract org.apache.beam.sdk.io.redis.RedisIO.WriteStreams.Builder toBuilder() -
withMaxLen
-
withEndpoint
-
withConnectionConfiguration
-
withApproximateTrim
IfwithMaxLen(long)is used, set the "~" prefix to the MAXLEN value, indicating to the server that it should use "close enough" trimming. -
expand
Description copied from class:PTransformOverride this method to specify how thisPTransformshould be expanded on the givenInputT.NOTE: This method should not be called directly. Instead apply the
PTransformshould be applied to theInputTusing theapplymethod.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:
expandin classPTransform<PCollection<KV<String,Map<String, String>>>, PDone>
-