public class PredicateUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
binaryAnd(Boolean left,
Boolean right) |
static Boolean |
binaryOr(Boolean left,
Boolean right) |
static Boolean |
binaryXor(Boolean left,
Boolean right) |
static Boolean |
evaluate(org.dmg.pmml.Predicate predicate,
EvaluationContext context) |
static Boolean |
evaluateCompoundPredicate(org.dmg.pmml.CompoundPredicate compoundPredicate,
EvaluationContext context) |
static Boolean |
evaluateFalse(org.dmg.pmml.False falsePredicate) |
static Boolean |
evaluateSimplePredicate(org.dmg.pmml.SimplePredicate simplePredicate,
EvaluationContext context) |
static Boolean |
evaluateSimpleSetPredicate(org.dmg.pmml.SimpleSetPredicate simpleSetPredicate,
EvaluationContext context) |
static Boolean |
evaluateTrue(org.dmg.pmml.True truePredicate) |
public static Boolean evaluate(org.dmg.pmml.Predicate predicate, EvaluationContext context)
Boolean value of the predicate, or null if the value is unknownpublic static Boolean evaluateSimplePredicate(org.dmg.pmml.SimplePredicate simplePredicate, EvaluationContext context)
public static Boolean evaluateCompoundPredicate(org.dmg.pmml.CompoundPredicate compoundPredicate, EvaluationContext context)
public static Boolean evaluateSimpleSetPredicate(org.dmg.pmml.SimpleSetPredicate simpleSetPredicate, EvaluationContext context)
public static Boolean evaluateTrue(org.dmg.pmml.True truePredicate)
public static Boolean evaluateFalse(org.dmg.pmml.False falsePredicate)
Copyright © 2014. All Rights Reserved.