Interface ModelImplementationProvider<T extends org.dmg.pmml.Model,E extends org.kie.pmml.commons.model.KiePMMLModel>
-
public interface ModelImplementationProvider<T extends org.dmg.pmml.Model,E extends org.kie.pmml.commons.model.KiePMMLModel>API for actual PMML model implementations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EgetKiePMMLModel(CompilationDTO<T> compilationDTO)Method to be called for a runtime compilationClass<E>getKiePMMLModelClass()default org.kie.pmml.commons.model.KiePMMLModelWithSourcesgetKiePMMLModelWithSources(CompilationDTO<T> compilationDTO)Method to be called following a kie-maven-plugin invocationdefault org.kie.pmml.commons.model.KiePMMLModelWithSourcesgetKiePMMLModelWithSourcesCompiled(CompilationDTO<T> compilationDTO)Method provided only to have drools models working when invoked by aMiningModelDefault implementation provided for not-drools models.org.kie.pmml.api.enums.PMML_MODELgetPMMLModelType()Map<String,String>getSourcesMap(CompilationDTO<T> compilationDTO)
-
-
-
Method Detail
-
getPMMLModelType
org.kie.pmml.api.enums.PMML_MODEL getPMMLModelType()
-
getKiePMMLModel
E getKiePMMLModel(CompilationDTO<T> compilationDTO)
Method to be called for a runtime compilation- Parameters:
compilationDTO-- Returns:
- Throws:
org.kie.pmml.api.exceptions.KiePMMLInternalException
-
getKiePMMLModelWithSources
default org.kie.pmml.commons.model.KiePMMLModelWithSources getKiePMMLModelWithSources(CompilationDTO<T> compilationDTO)
Method to be called following a kie-maven-plugin invocation- Parameters:
compilationDTO-- Returns:
- Throws:
org.kie.pmml.api.exceptions.KiePMMLInternalException
-
getSourcesMap
Map<String,String> getSourcesMap(CompilationDTO<T> compilationDTO)
-
getKiePMMLModelWithSourcesCompiled
default org.kie.pmml.commons.model.KiePMMLModelWithSources getKiePMMLModelWithSourcesCompiled(CompilationDTO<T> compilationDTO)
Method provided only to have drools models working when invoked by aMiningModelDefault implementation provided for not-drools models.- Parameters:
compilationDTO-- Returns:
- Throws:
org.kie.pmml.api.exceptions.KiePMMLInternalException
-
-