public class ProcessBundleDescriptors
extends java.lang.Object
BeamFnApi.ProcessBundleDescriptor
instances.Modifier and Type | Class and Description |
---|---|
static class |
ProcessBundleDescriptors.ExecutableProcessBundleDescriptor |
static class |
ProcessBundleDescriptors.MultimapSideInputSpec<K,V,W extends BoundedWindow>
A container type storing references to the key, value, and window
Coder used when
handling multimap side input state requests. |
Constructor and Description |
---|
ProcessBundleDescriptors() |
Modifier and Type | Method and Description |
---|---|
static ProcessBundleDescriptors.ExecutableProcessBundleDescriptor |
fromExecutableStage(java.lang.String id,
org.apache.beam.runners.core.construction.graph.ExecutableStage stage,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor dataEndpoint) |
static ProcessBundleDescriptors.ExecutableProcessBundleDescriptor |
fromExecutableStage(java.lang.String id,
org.apache.beam.runners.core.construction.graph.ExecutableStage stage,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor dataEndpoint,
org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor stateEndpoint)
Note that the
BeamFnApi.ProcessBundleDescriptor is constructed by:
Adding gRPC read and write nodes wiring them to the specified data endpoint.
Setting the state Endpoints.ApiServiceDescriptor to the specified state endpoint.
Modifying the coder on PCollections that are accessed as side inputs to be length
prefixed making them binary compatible with the coder chosen when that side input is
materialized.
|
public static ProcessBundleDescriptors.ExecutableProcessBundleDescriptor fromExecutableStage(java.lang.String id, org.apache.beam.runners.core.construction.graph.ExecutableStage stage, org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor dataEndpoint, org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor stateEndpoint) throws java.io.IOException
BeamFnApi.ProcessBundleDescriptor
is constructed by:
Endpoints.ApiServiceDescriptor
to the specified state endpoint.java.io.IOException
public static ProcessBundleDescriptors.ExecutableProcessBundleDescriptor fromExecutableStage(java.lang.String id, org.apache.beam.runners.core.construction.graph.ExecutableStage stage, org.apache.beam.model.pipeline.v1.Endpoints.ApiServiceDescriptor dataEndpoint) throws java.io.IOException
java.io.IOException