public class ExpressionUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasExpression<E>> |
ensureExpression(E hasExpression) |
static <E extends org.dmg.pmml.Expression & org.dmg.pmml.HasFieldReference<E>> |
ensureField(E hasField) |
static FieldValue |
evaluate(org.dmg.pmml.DefineFunction defineFunction,
List<FieldValue> values,
EvaluationContext context) |
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 <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasExpression<E>> |
evaluateExpressionContainer(E hasExpression,
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 <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasType<E> & org.dmg.pmml.HasExpression<E>> |
evaluateTypedExpressionContainer(E hasTypedExpression,
EvaluationContext context) |
static boolean |
isEmptyContent(Object value) |
public static <E extends org.dmg.pmml.Expression & org.dmg.pmml.HasFieldReference<E>> String ensureField(E hasField)
public static <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasExpression<E>> org.dmg.pmml.Expression ensureExpression(E hasExpression)
public static <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasExpression<E>> FieldValue evaluateExpressionContainer(E hasExpression, EvaluationContext context)
public static <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasType<E> & org.dmg.pmml.HasExpression<E>> FieldValue evaluateTypedExpressionContainer(E hasTypedExpression, EvaluationContext context)
public static FieldValue evaluate(org.dmg.pmml.DerivedField derivedField, EvaluationContext context)
public static FieldValue evaluate(org.dmg.pmml.DefineFunction defineFunction, List<FieldValue> values, EvaluationContext context)
public static FieldValue evaluate(org.dmg.pmml.Expression expression, EvaluationContext context)
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)
public static boolean isEmptyContent(Object value)
Copyright © 2021. All rights reserved.