Interface PMMLRuntimeInternal

  • All Superinterfaces:
    org.kie.pmml.api.runtime.PMMLRuntime

    public interface PMMLRuntimeInternal
    extends org.kie.pmml.api.runtime.PMMLRuntime
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Optional<org.kie.pmml.commons.model.KiePMMLModel> getKiePMMLModel​(String modelName)
      Returns the model registered with the given model name.
      List<org.kie.pmml.commons.model.KiePMMLModel> getKiePMMLModels()
      Returns a list of all models available to this runtime
      org.kie.api.KieBase getKnowledgeBase()
      Returns the KieBase used by the current PMMLRuntime
      • Methods inherited from interface org.kie.pmml.api.runtime.PMMLRuntime

        evaluate, getPMMLModel, getPMMLModels
    • Method Detail

      • getKnowledgeBase

        org.kie.api.KieBase getKnowledgeBase()
        Returns the KieBase used by the current PMMLRuntime
        Returns:
      • getKiePMMLModels

        List<org.kie.pmml.commons.model.KiePMMLModel> getKiePMMLModels()
        Returns a list of all models available to this runtime
        Returns:
        the list of available models. An empty list in case no model is available.
      • getKiePMMLModel

        Optional<org.kie.pmml.commons.model.KiePMMLModel> getKiePMMLModel​(String modelName)
        Returns the model registered with the given model name.
        Parameters:
        modelName - the name of the model
        Returns:
        the corresponding an Optional with the KiePMMLModel retrieved, or an empty one if none is registered with the given name.