public interface ModelImplementationProvider<T extends org.dmg.pmml.Model,E extends KiePMMLModel>
| Modifier and Type | Method and Description |
|---|---|
E |
getKiePMMLModel(String packageName,
List<org.dmg.pmml.Field<?>> fields,
org.dmg.pmml.TransformationDictionary transformationDictionary,
T model,
HasClassLoader hasClassloader)
Method to be called for a runtime compilation
|
E |
getKiePMMLModelWithSources(String packageName,
List<org.dmg.pmml.Field<?>> fields,
org.dmg.pmml.TransformationDictionary transformationDictionary,
T model,
HasClassLoader hasClassloader)
Method to be called following a kie-maven-plugin invocation
|
default E |
getKiePMMLModelWithSourcesCompiled(String packageName,
List<org.dmg.pmml.Field<?>> fields,
org.dmg.pmml.TransformationDictionary transformationDictionary,
T model,
HasClassLoader hasClassloader)
Method provided only to have drools models working when invoked by a
MiningModel
Default implementation provided for not-drools models. |
PMML_MODEL |
getPMMLModelType() |
PMML_MODEL getPMMLModelType()
E getKiePMMLModel(String packageName, List<org.dmg.pmml.Field<?>> fields, org.dmg.pmml.TransformationDictionary transformationDictionary, T model, HasClassLoader hasClassloader)
packageName - the package into which put all the generated classes out of the given Modelfields - Should contain all fields retrieved from model, i.e. DataFields from DataDictionary,
DerivedFields from Transformations/LocalTransformations, OutputFieldstransformationDictionary - model - hasClassloader - Using HasClassloader to avoid coupling with droolsKiePMMLInternalExceptionE getKiePMMLModelWithSources(String packageName, List<org.dmg.pmml.Field<?>> fields, org.dmg.pmml.TransformationDictionary transformationDictionary, T model, HasClassLoader hasClassloader)
packageName - fields - Should contain all fields retrieved from model, i.e. DataFields from DataDictionary,
DerivedFields from Transformations/LocalTransformations, OutputFieldstransformationDictionary - model - hasClassloader - KiePMMLInternalExceptiondefault E getKiePMMLModelWithSourcesCompiled(String packageName, List<org.dmg.pmml.Field<?>> fields, org.dmg.pmml.TransformationDictionary transformationDictionary, T model, HasClassLoader hasClassloader)
MiningModel
Default implementation provided for not-drools models.packageName - the package into which put all the generated classes out of the given Modelfields - Should contain all fields retrieved from model, i.e. DataFields from DataDictionary,
* DerivedFields from Transformations/LocalTransformations, OutputFieldsmodel - hasClassloader - Using HasClassloader to avoid coupling with droolsKiePMMLInternalExceptionCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.