Package org.kie.pmml.compiler.api.dto
Interface CompilationDTO<T extends org.dmg.pmml.Model>
- Type Parameters:
T-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CommonCompilationDTO
Interface to be implemented by all concrete compilation dtos
-
Method Summary
Modifier and TypeMethodDescriptioncompileClasses(Map<String, String> sourcesMap) Compile the given sources and add them to givenClassloaderof the current instance.List<org.dmg.pmml.Field<?>>Should contain all fields retrieved from model, i.e.Returns the name of the file containing theModel, without the suffix `.pmml`default List<MiningField>default List<OutputField>default List<TargetField>org.dmg.pmml.LocalTransformationsorg.dmg.pmml.MiningFunctionorg.dmg.pmml.MiningSchemagetModel()Returns the model name of the underlyingModelorg.dmg.pmml.OpTypeorg.dmg.pmml.OutputReturns the full, canonical, sanitized class nameThe sanitized base package nameorg.dmg.pmml.PMMLgetPmml()The originalPMMLReturns the simple, sanitized class nameorg.dmg.pmml.DataFieldorg.dmg.pmml.Targetsorg.dmg.pmml.TransformationDictionary
-
Method Details
-
getPmml
org.dmg.pmml.PMML getPmml()The originalPMML- 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 underlyingModel- Returns:
-
getFileName
String getFileName()Returns the name of the file containing theModel, 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
Compile the given sources and add them to givenClassloaderof the current instance. Returns theClasswith the current canonicalClassName- Parameters:
sourcesMap-- Returns:
-
getPmmlContext
PMMLCompilationContext getPmmlContext() -
getPMML_MODEL
PMML_MODEL getPMML_MODEL() -
getMINING_FUNCTION
MINING_FUNCTION getMINING_FUNCTION() -
getKieMiningFields
-
getKieOutputFields
-
getKieTargetFields
-