public class PMMLManager extends Object implements Serializable
getXXX() - Required schema elements. For example getDataDictionary()
getOrCreateXXX() - Optional schema elements. When null then a new element instance is created. For example getOrCreateTransformationDictionary()
| Constructor and Description |
|---|
PMMLManager(PMML pmml) |
| Modifier and Type | Method and Description |
|---|---|
static <E extends PMMLObject & HasName> |
find(Collection<E> objects,
FieldName name) |
static <E extends PMMLObject> |
find(List<?> objects,
Class<? extends E> clazz) |
static <E extends PMMLObject> |
findAll(List<?> objects,
Class<? extends E> clazz) |
DataDictionary |
getDataDictionary() |
DataField |
getDataField(FieldName name) |
Header |
getHeader() |
Model |
getModel(String modelName) |
ModelManager<? extends Model> |
getModelManager(String modelName,
ModelManagerFactory modelManagerFactory) |
List<Model> |
getModels() |
TransformationDictionary |
getOrCreateTransformationDictionary() |
PMML |
getPMML() |
DerivedField |
resolveField(FieldName name) |
DefineFunction |
resolveFunction(String name) |
public PMMLManager(PMML pmml)
public DerivedField resolveField(FieldName name)
public DefineFunction resolveFunction(String name)
public PMML getPMML()
public Header getHeader()
public DataDictionary getDataDictionary()
public TransformationDictionary getOrCreateTransformationDictionary()
public Model getModel(String modelName)
modelName - The name of the Model to be selected. If null, the first model is selected.Model.getModelName()public ModelManager<? extends Model> getModelManager(String modelName, ModelManagerFactory modelManagerFactory)
public static <E extends PMMLObject> E find(List<?> objects, Class<? extends E> clazz)
public static <E extends PMMLObject> List<E> findAll(List<?> objects, Class<? extends E> clazz)
public static <E extends PMMLObject & HasName> E find(Collection<E> objects, FieldName name)
Copyright © 2013 University of Tartu. All Rights Reserved.