public class BeamTransformGenerator extends Object
| Constructor and Description |
|---|
BeamTransformGenerator(PipelineConfig pipelineConfig,
String basePackage,
ShowlSchemaService schemaService,
ShowlExpressionBuilder expressionBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
generateAll(BeamTransformRequest request) |
com.helger.jcodemodel.JDefinedClass |
generateTransform(com.helger.jcodemodel.JCodeModel model,
ShowlNodeShape targetShape)
Generate the Java code for an Apache Beam transform from the data source to the specified target shape.
|
boolean |
isEncounteredError() |
boolean |
isFailFast() |
void |
setFailFast(boolean failFast) |
public BeamTransformGenerator(PipelineConfig pipelineConfig, String basePackage, ShowlSchemaService schemaService, ShowlExpressionBuilder expressionBuilder)
public boolean isFailFast()
public void setFailFast(boolean failFast)
public boolean isEncounteredError()
public void generateAll(BeamTransformRequest request) throws BeamTransformGenerationException, IOException
public com.helger.jcodemodel.JDefinedClass generateTransform(com.helger.jcodemodel.JCodeModel model,
ShowlNodeShape targetShape)
throws BeamTransformGenerationException
model - The code model in which the Java source code will be storedtargetShape - The target shape to be transformed.BeamTransformGenerationExceptionCopyright © 2019. All rights reserved.