Interface CompilationDTO<T extends org.dmg.pmml.Model>

  • Type Parameters:
    T -
    All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    CommonCompilationDTO

    public interface CompilationDTO<T extends org.dmg.pmml.Model>
    extends java.io.Serializable
    Interface to be implemented by all concrete compilation dtos
    • Method Detail

      • getPmml

        org.dmg.pmml.PMML getPmml()
        The original PMML
        Returns:
      • getTransformationDictionary

        org.dmg.pmml.TransformationDictionary getTransformationDictionary()
      • getModel

        T getModel()
      • getMiningSchema

        org.dmg.pmml.MiningSchema getMiningSchema()
      • getMiningFunction

        org.dmg.pmml.MiningFunction getMiningFunction()
      • getLocalTransformations

        org.dmg.pmml.LocalTransformations getLocalTransformations()
      • getOutput

        org.dmg.pmml.Output getOutput()
      • getTargets

        org.dmg.pmml.Targets getTargets()
      • getFields

        java.util.List<org.dmg.pmml.Field<?>> getFields()
        Should contain all fields retrieved from model, i.e. DataFields from DataDictionary, DerivedFields from Transformations/LocalTransformations, OutputFields
        Returns:
      • getTargetDataField

        org.dmg.pmml.DataField getTargetDataField()
      • getOpType

        org.dmg.pmml.OpType getOpType()
      • getModelName

        java.lang.String getModelName()
        Returns the model name of the underlying Model
        Returns:
      • getFileName

        java.lang.String getFileName()
        Returns the name of the file containing the Model, without the suffix `.pmml`
        Returns:
      • getTargetFieldName

        java.lang.String getTargetFieldName()
      • getPackageName

        java.lang.String getPackageName()
        The sanitized base package name
        Returns:
      • getSimpleClassName

        java.lang.String getSimpleClassName()
        Returns the simple, sanitized class name
        Returns:
      • getPackageCanonicalClassName

        java.lang.String getPackageCanonicalClassName()
        Returns the full, canonical, sanitized class name
        Returns:
      • compileClasses

        java.util.Map<java.lang.String,​byte[]> compileClasses​(java.util.Map<java.lang.String,​java.lang.String> sourcesMap)
        Compile the given sources and add them to given Classloader of the current instance. Returns the Class with the current canonicalClassName
        Parameters:
        sourcesMap -
        Returns:
      • getPmmlContext

        org.kie.pmml.api.compilation.PMMLCompilationContext getPmmlContext()
      • getPMML_MODEL

        org.kie.pmml.api.enums.PMML_MODEL getPMML_MODEL()
      • getMINING_FUNCTION

        org.kie.pmml.api.enums.MINING_FUNCTION getMINING_FUNCTION()
      • getKieMiningFields

        default java.util.List<org.kie.pmml.api.models.MiningField> getKieMiningFields()
      • getKieOutputFields

        default java.util.List<org.kie.pmml.api.models.OutputField> getKieOutputFields()
      • getKieTargetFields

        default java.util.List<org.kie.pmml.api.models.TargetField> getKieTargetFields()