public class KiePMMLSimpleSetPredicate extends KiePMMLPredicate
| Modifier and Type | Class and Description |
|---|---|
static class |
KiePMMLSimpleSetPredicate.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
values |
extensions, id, name, parentId| Modifier | Constructor and Description |
|---|---|
protected |
KiePMMLSimpleSetPredicate(String name,
List<KiePMMLExtension> extensions,
ARRAY_TYPE arrayType,
IN_NOTIN inNotIn) |
| Modifier and Type | Method and Description |
|---|---|
static KiePMMLSimpleSetPredicate.Builder |
builder(String name,
List<KiePMMLExtension> extensions,
ARRAY_TYPE arrayType,
IN_NOTIN inNotIn)
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 rawValue) |
ARRAY_TYPE |
getArrayType() |
IN_NOTIN |
getInNotIn() |
String |
getName() |
List<Object> |
getValues() |
int |
hashCode() |
String |
toString() |
getExtensions, getId, getParentId, setParentIdprotected KiePMMLSimpleSetPredicate(String name, List<KiePMMLExtension> extensions, ARRAY_TYPE arrayType, IN_NOTIN inNotIn)
public static KiePMMLSimpleSetPredicate.Builder builder(String name, List<KiePMMLExtension> extensions, ARRAY_TYPE arrayType, IN_NOTIN inNotIn)
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 ARRAY_TYPE getArrayType()
public IN_NOTIN getInNotIn()
protected boolean evaluation(Object rawValue)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.