public class PMMLCommandExecutorImpl extends Object implements org.kie.internal.pmml.PMMLCommandExecutor
| Constructor and Description |
|---|
PMMLCommandExecutorImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.kie.api.pmml.PMML4Result |
execute(org.kie.api.pmml.PMMLRequestData pmmlRequestData,
org.kie.api.runtime.Context context)
Evaluate the given
PMMLRequestData |
protected org.kie.api.pmml.PMMLRequestData |
getCleanedRequestData(org.kie.api.pmml.PMMLRequestData source)
Return a new
PMMLRequestData with the values of the original PMMLRequestData restored to their actual type. |
protected void |
validate(org.kie.api.pmml.PMMLRequestData pmmlRequestData) |
public org.kie.api.pmml.PMML4Result execute(org.kie.api.pmml.PMMLRequestData pmmlRequestData,
org.kie.api.runtime.Context context)
PMMLRequestDataexecute in interface org.kie.internal.pmml.PMMLCommandExecutorpmmlRequestData - : it must contain the pmml file name (in the source property)context - and the model nameprotected void validate(org.kie.api.pmml.PMMLRequestData pmmlRequestData)
protected org.kie.api.pmml.PMMLRequestData getCleanedRequestData(org.kie.api.pmml.PMMLRequestData source)
PMMLRequestData with the values of the original PMMLRequestData restored to their actual type.
Needed because JSONMarshallerPMMLParamInfo convert all of them to Stringsource - Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.