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:
AbstractSpecificCompilationDTO,CommonCompilationDTO
public interface CompilationDTO<T extends org.dmg.pmml.Model> extends Serializable
Interface to be implemented by all concrete compilation dtos
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>compileAndLoadClass(Map<String,String> sourcesMap)Compile the given sources and add them to givenClassloaderof the current instance.List<org.dmg.pmml.Field<?>>getFields()Should contain all fields retrieved from model, i.e.org.kie.pmml.commons.model.HasClassLoadergetHasClassloader()org.dmg.pmml.LocalTransformationsgetLocalTransformations()org.kie.pmml.api.enums.MINING_FUNCTIONgetMINING_FUNCTION()org.dmg.pmml.MiningFunctiongetMiningFunction()org.dmg.pmml.MiningSchemagetMiningSchema()TgetModel()StringgetModelName()Returns the model name of the underlyingModelorg.dmg.pmml.OpTypegetOpType()org.dmg.pmml.OutputgetOutput()StringgetPackageCanonicalClassName()Returns the full, canonical, sanitized class nameStringgetPackageName()The sanitized base package nameorg.dmg.pmml.PMMLgetPmml()The originalPMMLorg.kie.pmml.api.enums.PMML_MODELgetPMML_MODEL()StringgetSimpleClassName()Returns the simple, sanitized class nameorg.dmg.pmml.DataFieldgetTargetDataField()StringgetTargetFieldName()org.dmg.pmml.TargetsgetTargets()org.dmg.pmml.TransformationDictionarygetTransformationDictionary()
-
-
-
Method Detail
-
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:
-
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:
-
compileAndLoadClass
Class<?> compileAndLoadClass(Map<String,String> sourcesMap)
Compile the given sources and add them to givenClassloaderof the current instance. Returns theClasswith the current canonicalClassName- Parameters:
sourcesMap-- Returns:
- See Also:
HasClassLoader.compileAndLoadClass(Map, String)
-
getHasClassloader
org.kie.pmml.commons.model.HasClassLoader getHasClassloader()
-
getPMML_MODEL
org.kie.pmml.api.enums.PMML_MODEL getPMML_MODEL()
-
getMINING_FUNCTION
org.kie.pmml.api.enums.MINING_FUNCTION getMINING_FUNCTION()
-
-