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

Type Parameters:
T -
All Superinterfaces:
Serializable
All Known Implementing Classes:
CommonCompilationDTO

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

    • 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

      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

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

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

      String getTargetFieldName()
    • getPackageName

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

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

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

      Map<String,byte[]> compileClasses(Map<String,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

      PMMLCompilationContext getPmmlContext()
    • getPMML_MODEL

      PMML_MODEL getPMML_MODEL()
    • getMINING_FUNCTION

      MINING_FUNCTION getMINING_FUNCTION()
    • getKieMiningFields

      default List<MiningField> getKieMiningFields()
    • getKieOutputFields

      default List<OutputField> getKieOutputFields()
    • getKieTargetFields

      default List<TargetField> getKieTargetFields()