public class ProcessBundleDescriptors
extends java.lang.Object
BeamFnApi.ProcessBundleDescriptor
instances.Modifier and Type | Class and Description |
---|---|
static class |
ProcessBundleDescriptors.BagUserStateSpec<K,V,W extends BoundedWindow>
A container type storing references to the key, value, and window
Coder used when
handling bag user state requests. |
static class |
ProcessBundleDescriptors.ExecutableProcessBundleDescriptor |
static class |
ProcessBundleDescriptors.SideInputSpec<K,T,W extends BoundedWindow>
A container type storing references to the key, value, and window
Coder used when
handling side input state requests. |
static class |
ProcessBundleDescriptors.TimerSpec<K,V,W extends BoundedWindow>
A container type storing references to the key, timer and payload coders and the remote input
destination used when handling timer 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. |
static java.util.Map<java.lang.String,java.util.Map<java.lang.String,ProcessBundleDescriptors.SideInputSpec>> |
getSideInputs(org.apache.beam.runners.core.construction.graph.ExecutableStage stage) |
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
public static java.util.Map<java.lang.String,java.util.Map<java.lang.String,ProcessBundleDescriptors.SideInputSpec>> getSideInputs(org.apache.beam.runners.core.construction.graph.ExecutableStage stage) throws java.io.IOException
java.io.IOException