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 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 a MiningModel Default implementation provided for not-drools models.
        Parameters:
        compilationDTO -
        Returns:
        Throws:
        org.kie.pmml.api.exceptions.KiePMMLInternalException