public class CoderTranslation
extends java.lang.Object
Coders
.Modifier and Type | Class and Description |
---|---|
static interface |
CoderTranslation.TranslationContext
Pass through additional parameters beyond the components and payload to be able to translate
specific coders.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JAVA_SERIALIZED_CODER_URN |
Constructor and Description |
---|
CoderTranslation() |
Modifier and Type | Method and Description |
---|---|
static Coder<?> |
fromProto(org.apache.beam.model.pipeline.v1.RunnerApi.Coder protoCoder,
RehydratedComponents components,
CoderTranslation.TranslationContext context) |
static org.apache.beam.model.pipeline.v1.RunnerApi.MessageWithComponents |
toProto(Coder<?> coder) |
static org.apache.beam.model.pipeline.v1.RunnerApi.Coder |
toProto(Coder<?> coder,
SdkComponents components) |
public static final java.lang.String JAVA_SERIALIZED_CODER_URN
public static org.apache.beam.model.pipeline.v1.RunnerApi.MessageWithComponents toProto(Coder<?> coder) throws java.io.IOException
java.io.IOException
public static org.apache.beam.model.pipeline.v1.RunnerApi.Coder toProto(Coder<?> coder, SdkComponents components) throws java.io.IOException
java.io.IOException
public static Coder<?> fromProto(org.apache.beam.model.pipeline.v1.RunnerApi.Coder protoCoder, RehydratedComponents components, CoderTranslation.TranslationContext context) throws java.io.IOException
java.io.IOException