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 java.lang.Class<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()java.util.Map<java.lang.String,java.lang.String>getSourcesMap(CompilationDTO<T> compilationDTO)
-
-
-
Method Detail
-
getPMMLModelType
org.kie.pmml.api.enums.PMML_MODEL getPMMLModelType()
-
getKiePMMLModelClass
java.lang.Class<E> getKiePMMLModelClass()
-
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
java.util.Map<java.lang.String,java.lang.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
-
-