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  
TransformProvider instances from RunnerApi.FunctionSpecs. | 
static class  | 
ExpansionService.ExternalTransformRegistrarLoader
Exposes Java transforms via  
ExternalTransformRegistrar. | 
| Constructor and Description | 
|---|
ExpansionService()  | 
ExpansionService(PipelineOptions opts)  | 
ExpansionService(PipelineOptions opts,
                @Nullable java.lang.String loopbackAddress)  | 
ExpansionService(java.lang.String[] args)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
protected Pipeline | 
createPipeline(PipelineOptions requestOptions)  | 
void | 
discoverSchemaTransform(org.apache.beam.model.expansion.v1.ExpansionApi.DiscoverSchemaTransformRequest request,
                       org.apache.beam.vendor.grpc.v1p60p1.io.grpc.stub.StreamObserver<org.apache.beam.model.expansion.v1.ExpansionApi.DiscoverSchemaTransformResponse> responseObserver)  | 
void | 
expand(org.apache.beam.model.expansion.v1.ExpansionApi.ExpansionRequest request,
      org.apache.beam.vendor.grpc.v1p60p1.io.grpc.stub.StreamObserver<org.apache.beam.model.expansion.v1.ExpansionApi.ExpansionResponse> responseObserver)  | 
static void | 
main(java.lang.String[] args)  | 
static <ConfigT> ConfigT | 
payloadToConfig(org.apache.beam.model.pipeline.v1.ExternalTransforms.ExternalConfigurationPayload payload,
               java.lang.Class<ConfigT> configurationClass)
Attempt to create an instance of  
ConfigT from an ExternalTransforms.ExternalConfigurationPayload. | 
public ExpansionService()
public ExpansionService(java.lang.String[] args)
public ExpansionService(PipelineOptions opts)
public ExpansionService(PipelineOptions opts, @Nullable java.lang.String loopbackAddress)
public static <ConfigT> ConfigT payloadToConfig(org.apache.beam.model.pipeline.v1.ExternalTransforms.ExternalConfigurationPayload payload,
                                                java.lang.Class<ConfigT> configurationClass)
ConfigT from an ExternalTransforms.ExternalConfigurationPayload.
 If a schema is registered for ConfigT this method will attempt to ise it. Throws an
 IllegalArgumentException if the schema in payload is not assignable to the registered schema.
 If no Schema is registered, ConfigT must have a zero-argument constructor and
 setters corresponding to each field in the row encoded by payload. Note ConfigT
 may have additional setters not represented in the  schema.
 
Exposed for testing only. No backwards compatibility guarantees.
protected Pipeline createPipeline(PipelineOptions requestOptions)
public void expand(org.apache.beam.model.expansion.v1.ExpansionApi.ExpansionRequest request,
                   org.apache.beam.vendor.grpc.v1p60p1.io.grpc.stub.StreamObserver<org.apache.beam.model.expansion.v1.ExpansionApi.ExpansionResponse> responseObserver)
expand in interface org.apache.beam.model.expansion.v1.ExpansionServiceGrpc.AsyncServicepublic void discoverSchemaTransform(org.apache.beam.model.expansion.v1.ExpansionApi.DiscoverSchemaTransformRequest request,
                                    org.apache.beam.vendor.grpc.v1p60p1.io.grpc.stub.StreamObserver<org.apache.beam.model.expansion.v1.ExpansionApi.DiscoverSchemaTransformResponse> responseObserver)
discoverSchemaTransform in interface org.apache.beam.model.expansion.v1.ExpansionServiceGrpc.AsyncServicepublic void close()
           throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception