public class EvaluatorUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,?> |
decode(Map<org.dmg.pmml.FieldName,?> map)
Decouples a
Map instance from the current runtime environment by decoding both its keys and values. |
static Object |
decode(Object object) |
static List<org.dmg.pmml.FieldName> |
getTargetFields(Evaluator evaluator) |
static <K> List<Map<K,Object>> |
groupRows(K groupKey,
List<? extends Map<K,?>> table) |
static FieldValue |
prepare(Evaluator evaluator,
org.dmg.pmml.FieldName name,
Object value) |
public static Object decode(Object object)
Computablepublic static Map<String,?> decode(Map<org.dmg.pmml.FieldName,?> map)
Decouples a Map instance from the current runtime environment by decoding both its keys and values.
public static FieldValue prepare(Evaluator evaluator, org.dmg.pmml.FieldName name, Object value)
public static <K> List<Map<K,Object>> groupRows(K groupKey, List<? extends Map<K,?>> table)
Copyright © 2015. All Rights Reserved.