public class PredicateUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PredicateUtil.CompoundPredicateResult |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Boolean |
binaryAnd(java.lang.Boolean left,
java.lang.Boolean right) |
static java.lang.Boolean |
binaryOr(java.lang.Boolean left,
java.lang.Boolean right) |
static java.lang.Boolean |
binaryXor(java.lang.Boolean left,
java.lang.Boolean right) |
static java.lang.Boolean |
evaluate(org.dmg.pmml.Predicate predicate,
EvaluationContext context) |
static java.lang.Boolean |
evaluateCompoundPredicate(org.dmg.pmml.CompoundPredicate compoundPredicate,
EvaluationContext context) |
static PredicateUtil.CompoundPredicateResult |
evaluateCompoundPredicateInternal(org.dmg.pmml.CompoundPredicate compoundPredicate,
EvaluationContext context) |
static java.lang.Boolean |
evaluateFalse(org.dmg.pmml.False falsePredicate) |
static java.lang.Boolean |
evaluateJavaPredicate(JavaPredicate javaPredicate,
EvaluationContext context) |
static <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasPredicate<E>> |
evaluatePredicateContainer(E hasPredicate,
EvaluationContext context) |
static java.lang.Boolean |
evaluateSimplePredicate(org.dmg.pmml.SimplePredicate simplePredicate,
EvaluationContext context) |
static java.lang.Boolean |
evaluateSimpleSetPredicate(org.dmg.pmml.SimpleSetPredicate simpleSetPredicate,
EvaluationContext context) |
static java.lang.Boolean |
evaluateTrue(org.dmg.pmml.True truePredicate) |
public static <E extends org.dmg.pmml.PMMLObject & org.dmg.pmml.HasPredicate<E>> java.lang.Boolean evaluatePredicateContainer(E hasPredicate,
EvaluationContext context)
public static java.lang.Boolean evaluate(org.dmg.pmml.Predicate predicate,
EvaluationContext context)
Boolean value of the predicate, or null if the value is unknown.public static java.lang.Boolean evaluateSimplePredicate(org.dmg.pmml.SimplePredicate simplePredicate,
EvaluationContext context)
public static java.lang.Boolean evaluateSimpleSetPredicate(org.dmg.pmml.SimpleSetPredicate simpleSetPredicate,
EvaluationContext context)
public static java.lang.Boolean evaluateCompoundPredicate(org.dmg.pmml.CompoundPredicate compoundPredicate,
EvaluationContext context)
public static PredicateUtil.CompoundPredicateResult evaluateCompoundPredicateInternal(org.dmg.pmml.CompoundPredicate compoundPredicate, EvaluationContext context)
public static java.lang.Boolean evaluateTrue(org.dmg.pmml.True truePredicate)
public static java.lang.Boolean evaluateFalse(org.dmg.pmml.False falsePredicate)
public static java.lang.Boolean evaluateJavaPredicate(JavaPredicate javaPredicate, EvaluationContext context)
public static java.lang.Boolean binaryAnd(java.lang.Boolean left,
java.lang.Boolean right)
public static java.lang.Boolean binaryOr(java.lang.Boolean left,
java.lang.Boolean right)
public static java.lang.Boolean binaryXor(java.lang.Boolean left,
java.lang.Boolean right)
Copyright © 2024. All Rights Reserved.