public class ExpansionService
extends org.apache.beam.model.expansion.v1.ExpansionServiceGrpc.ExpansionServiceImplBase
implements java.lang.AutoCloseable
Modifier and Type | Class and Description |
---|---|
static interface |
ExpansionService.ExpansionServiceRegistrar
A registrar that creates
ExpansionService.TransformProvider instances from RunnerApi.FunctionSpec s. |
static class |
ExpansionService.ExternalTransformRegistrarLoader
Exposes Java transforms via
ExternalTransformRegistrar . |
static interface |
ExpansionService.TransformProvider<InputT extends PInput,OutputT extends POutput>
Provides a mapping of
RunnerApi.FunctionSpec to a PTransform , together with
mappings of its inputs and outputs to maps of PCollections. |
Constructor and Description |
---|
ExpansionService() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
expand(org.apache.beam.model.expansion.v1.ExpansionApi.ExpansionRequest request,
org.apache.beam.vendor.grpc.v1p36p0.io.grpc.stub.StreamObserver<org.apache.beam.model.expansion.v1.ExpansionApi.ExpansionResponse> responseObserver) |
static void |
main(java.lang.String[] args) |
public void expand(org.apache.beam.model.expansion.v1.ExpansionApi.ExpansionRequest request, org.apache.beam.vendor.grpc.v1p36p0.io.grpc.stub.StreamObserver<org.apache.beam.model.expansion.v1.ExpansionApi.ExpansionResponse> responseObserver)
expand
in class org.apache.beam.model.expansion.v1.ExpansionServiceGrpc.ExpansionServiceImplBase
public void close() throws java.lang.Exception
close
in interface java.lang.AutoCloseable
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception