public class ExpressionUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static FieldValue |
evaluate(org.dmg.pmml.DerivedField derivedField,
EvaluationContext context) |
static FieldValue |
evaluate(org.dmg.pmml.Expression expression,
EvaluationContext context) |
static FieldValue |
evaluateAggregate(org.dmg.pmml.Aggregate aggregate,
EvaluationContext context) |
static FieldValue |
evaluateApply(org.dmg.pmml.Apply apply,
EvaluationContext context) |
static FieldValue |
evaluateConstant(org.dmg.pmml.Constant constant) |
static FieldValue |
evaluateDiscretize(org.dmg.pmml.Discretize discretize,
EvaluationContext context) |
static FieldValue |
evaluateFieldRef(org.dmg.pmml.FieldRef fieldRef,
EvaluationContext context) |
static FieldValue |
evaluateJavaExpression(JavaExpression javaExpression,
EvaluationContext context) |
static FieldValue |
evaluateMapValues(org.dmg.pmml.MapValues mapValues,
EvaluationContext context) |
static FieldValue |
evaluateNormContinuous(org.dmg.pmml.NormContinuous normContinuous,
EvaluationContext context) |
static FieldValue |
evaluateNormDiscrete(org.dmg.pmml.NormDiscrete normDiscrete,
EvaluationContext context) |
static FieldValue |
evaluateTextIndex(org.dmg.pmml.TextIndex textIndex,
EvaluationContext context) |
static org.dmg.pmml.DataType |
getConstantDataType(org.dmg.pmml.Constant constant) |
static org.dmg.pmml.DataType |
getDataType(org.dmg.pmml.Expression expression,
ModelEvaluator<?> modelEvaluator) |
static org.dmg.pmml.DataType |
getTextIndexDataType(org.dmg.pmml.TextIndex textIndex) |
public static FieldValue evaluate(org.dmg.pmml.DerivedField derivedField, EvaluationContext context)
public static FieldValue evaluate(org.dmg.pmml.Expression expression, EvaluationContext context)
public static org.dmg.pmml.DataType getDataType(org.dmg.pmml.Expression expression,
ModelEvaluator<?> modelEvaluator)
TypeAnalysisException - If the data type cannot be determined.public static org.dmg.pmml.DataType getConstantDataType(org.dmg.pmml.Constant constant)
public static org.dmg.pmml.DataType getTextIndexDataType(org.dmg.pmml.TextIndex textIndex)
public static FieldValue evaluateConstant(org.dmg.pmml.Constant constant)
public static FieldValue evaluateFieldRef(org.dmg.pmml.FieldRef fieldRef, EvaluationContext context)
public static FieldValue evaluateNormContinuous(org.dmg.pmml.NormContinuous normContinuous, EvaluationContext context)
public static FieldValue evaluateNormDiscrete(org.dmg.pmml.NormDiscrete normDiscrete, EvaluationContext context)
public static FieldValue evaluateDiscretize(org.dmg.pmml.Discretize discretize, EvaluationContext context)
public static FieldValue evaluateMapValues(org.dmg.pmml.MapValues mapValues, EvaluationContext context)
public static FieldValue evaluateTextIndex(org.dmg.pmml.TextIndex textIndex, EvaluationContext context)
public static FieldValue evaluateApply(org.dmg.pmml.Apply apply, EvaluationContext context)
public static FieldValue evaluateAggregate(org.dmg.pmml.Aggregate aggregate, EvaluationContext context)
public static FieldValue evaluateJavaExpression(JavaExpression javaExpression, EvaluationContext context)
Copyright © 2017. All Rights Reserved.