Module datarush.analytics
Class SimpleSetPredicate
- java.lang.Object
-
- com.pervasive.datarush.analytics.decisiontree.Predicate
-
- com.pervasive.datarush.analytics.decisiontree.SimpleSetPredicate
-
public final class SimpleSetPredicate extends Predicate
Corresponds to the PMMLSimpleSetPredicateelement.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimpleSetPredicate.OperatorEnumeration of allowed values for the "booleanOperator" attribute.
-
Constructor Summary
Constructors Constructor Description SimpleSetPredicate()Creates an emptySimpleSetPredicate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetField()Returns the value of the "field" attribute.SimpleSetPredicate.OperatorgetOperator()Returns the value of the "booleanOperator" attribute.List<String>getValues()Returns the values of the set to test against.voidsetField(String field)Sets the value of the "field" attribute.voidsetOperator(SimpleSetPredicate.Operator operator)Sets the value of the "booleanOperator" attribute.voidsetValues(List<String> values)Sets the values of the set to test against.
-
-
-
Method Detail
-
getField
public String getField()
Returns the value of the "field" attribute.- Returns:
- the value of the "field" attribute.
-
setField
public void setField(String field)
Sets the value of the "field" attribute.- Parameters:
field- the value of the "field" attribute.
-
getOperator
public final SimpleSetPredicate.Operator getOperator()
Returns the value of the "booleanOperator" attribute.- Returns:
- the value of the "booleanOperator" attribute.
-
setOperator
public final void setOperator(SimpleSetPredicate.Operator operator)
Sets the value of the "booleanOperator" attribute.- Parameters:
operator- the value of the "booleanOperator" attribute.
-
getValues
public final List<String> getValues()
Returns the values of the set to test against.- Returns:
- the values of the set to test against.
-
-