public class MojoPipelineBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MojoPipelineBuilder.MappingSpec |
Constructor and Description |
---|
MojoPipelineBuilder() |
Modifier and Type | Method and Description |
---|---|
MojoPipelineBuilder |
addMainModel(java.lang.String modelAlias,
java.io.File mojoFile) |
MojoPipelineBuilder |
addMapping(MojoPipelineBuilder.MappingSpec spec) |
MojoPipelineBuilder |
addMapping(java.lang.String columnName,
java.lang.String sourceModelAlias,
int sourceModelPredictionIndex) |
MojoPipelineBuilder |
addMappings(java.util.List<MojoPipelineBuilder.MappingSpec> specs) |
MojoPipelineBuilder |
addModel(java.lang.String modelAlias,
java.io.File mojoFile) |
void |
buildPipeline(java.io.File pipelineFile) |
public MojoPipelineBuilder addModel(java.lang.String modelAlias, java.io.File mojoFile) throws java.io.IOException
java.io.IOException
public MojoPipelineBuilder addMainModel(java.lang.String modelAlias, java.io.File mojoFile) throws java.io.IOException
java.io.IOException
public MojoPipelineBuilder addMappings(java.util.List<MojoPipelineBuilder.MappingSpec> specs)
public MojoPipelineBuilder addMapping(MojoPipelineBuilder.MappingSpec spec)
public MojoPipelineBuilder addMapping(java.lang.String columnName, java.lang.String sourceModelAlias, int sourceModelPredictionIndex)
public void buildPipeline(java.io.File pipelineFile) throws java.io.IOException
java.io.IOException