public class KiePMMLSimplePredicate extends KiePMMLPredicate
| Modifier and Type | Class and Description |
|---|---|
static class |
KiePMMLSimplePredicate.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Object |
value |
extensions, id, name, parentId| Modifier | Constructor and Description |
|---|---|
protected |
KiePMMLSimplePredicate(String name,
List<KiePMMLExtension> extensions,
OPERATOR operator) |
| Modifier and Type | Method and Description |
|---|---|
static KiePMMLSimplePredicate.Builder |
builder(String name,
List<KiePMMLExtension> extensions,
OPERATOR operator)
Builder to auto-generate the id
|
boolean |
equals(Object o) |
boolean |
evaluate(Map<String,Object> values)
Returns the evaluation of the given
values if the current KiePMMLPredicate or one of its
child is referred to inside the given values, otherwise false |
protected boolean |
evaluation(Object inputValue) |
String |
getName() |
OPERATOR |
getOperator() |
Object |
getValue() |
int |
hashCode() |
String |
toString() |
getExtensions, getId, getParentId, setParentIdprotected Object value
protected KiePMMLSimplePredicate(String name, List<KiePMMLExtension> extensions, OPERATOR operator)
public static KiePMMLSimplePredicate.Builder builder(String name, List<KiePMMLExtension> extensions, OPERATOR operator)
public boolean evaluate(Map<String,Object> values)
KiePMMLPredicatevalues if the current KiePMMLPredicate or one of its
child is referred to inside the given values, otherwise falseevaluate in class KiePMMLPredicatepublic String getName()
getName in class AbstractKiePMMLComponentpublic OPERATOR getOperator()
public Object getValue()
protected boolean evaluation(Object inputValue)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.