public class PredicateUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PredicateUtil.CompoundPredicateResult |
| 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 <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasPredicate<E>> |
ensurePredicate(E hasPredicate) |
static Boolean |
evaluate(org.dmg.pmml.Predicate predicate,
EvaluationContext context) |
static Boolean |
evaluateCompoundPredicate(org.dmg.pmml.CompoundPredicate compoundPredicate,
EvaluationContext context) |
static PredicateUtil.CompoundPredicateResult |
evaluateCompoundPredicateInternal(org.dmg.pmml.CompoundPredicate compoundPredicate,
EvaluationContext context) |
static Boolean |
evaluateFalse(org.dmg.pmml.False falsePredicate) |
static Boolean |
evaluateJavaPredicate(JavaPredicate javaPredicate,
EvaluationContext context) |
static <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasPredicate<E>> |
evaluatePredicateContainer(E hasPredicate,
EvaluationContext context) |
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 <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasPredicate<E>> org.dmg.pmml.Predicate ensurePredicate(E hasPredicate)
public static <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasPredicate<E>> Boolean evaluatePredicateContainer(E hasPredicate, EvaluationContext context)
public static Boolean evaluate(org.dmg.pmml.Predicate predicate, EvaluationContext context)
Boolean value of the predicate, or null if the value is unknown.public static Boolean evaluateSimplePredicate(org.dmg.pmml.SimplePredicate simplePredicate, EvaluationContext context)
public static Boolean evaluateSimpleSetPredicate(org.dmg.pmml.SimpleSetPredicate simpleSetPredicate, EvaluationContext context)
public static Boolean evaluateCompoundPredicate(org.dmg.pmml.CompoundPredicate compoundPredicate, EvaluationContext context)
public static PredicateUtil.CompoundPredicateResult evaluateCompoundPredicateInternal(org.dmg.pmml.CompoundPredicate compoundPredicate, EvaluationContext context)
public static Boolean evaluateTrue(org.dmg.pmml.True truePredicate)
public static Boolean evaluateFalse(org.dmg.pmml.False falsePredicate)
public static Boolean evaluateJavaPredicate(JavaPredicate javaPredicate, EvaluationContext context)
Copyright © 2021. All rights reserved.