
ai.h2o.mojos.runtime.h2o3.KLimePipelineLoaderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mojo2-runtime-h2o3-impl Show documentation
Show all versions of mojo2-runtime-h2o3-impl Show documentation
MOJO2 H2O-3 Runtime Implementation
package ai.h2o.mojos.runtime.h2o3;
import ai.h2o.mojos.runtime.api.PipelineConfig;
import ai.h2o.mojos.runtime.api.PipelineLoader;
import ai.h2o.mojos.runtime.api.PipelineLoaderFactory;
import ai.h2o.mojos.runtime.api.backend.ReaderBackend;
import java.io.IOException;
public class KLimePipelineLoaderFactory implements PipelineLoaderFactory {
@Override
public PipelineLoader createLoader(ReaderBackend backend, String optionalMainFile, PipelineConfig config) throws IOException {
if (optionalMainFile == null || optionalMainFile.equals(getRootResource())) {
return new KLimePipelineLoader(backend, config);
}
throw new UnsupportedOperationException(optionalMainFile);
}
@Override
public String getName() {
return "klime";
}
@Override
public String getRootResource() {
return "klime.ini";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy