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 compilationEgetKiePMMLModelWithSources(CompilationDTO<T> compilationDTO)Method to be called following a kie-maven-plugin invocationdefault EgetKiePMMLModelWithSourcesCompiled(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()
-
-
-
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
E getKiePMMLModelWithSources(CompilationDTO<T> compilationDTO)
Method to be called following a kie-maven-plugin invocation- Parameters:
compilationDTO-- Returns:
- Throws:
org.kie.pmml.api.exceptions.KiePMMLInternalException
-
getKiePMMLModelWithSourcesCompiled
default E 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
-
-