Module datarush.analytics
Class SimpleSetPredicate
java.lang.Object
com.pervasive.datarush.analytics.decisiontree.Predicate
com.pervasive.datarush.analytics.decisiontree.SimpleSetPredicate
Corresponds to the PMML
SimpleSetPredicate element.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration of allowed values for the "booleanOperator" attribute. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetField()Returns the value of the "field" attribute.Returns the value of the "booleanOperator" attribute.Returns the values of the set to test against.voidSets the value of the "field" attribute.final voidsetOperator(SimpleSetPredicate.Operator operator) Sets the value of the "booleanOperator" attribute.final voidSets the values of the set to test against.
-
Constructor Details
-
SimpleSetPredicate
public SimpleSetPredicate()Creates an emptySimpleSetPredicate.
-
-
Method Details
-
getField
Returns the value of the "field" attribute.- Returns:
- the value of the "field" attribute.
-
setField
Sets the value of the "field" attribute.- Parameters:
field- the value of the "field" attribute.
-
getOperator
Returns the value of the "booleanOperator" attribute.- Returns:
- the value of the "booleanOperator" attribute.
-
setOperator
Sets the value of the "booleanOperator" attribute.- Parameters:
operator- the value of the "booleanOperator" attribute.
-
getValues
Returns the values of the set to test against.- Returns:
- the values of the set to test against.
-
setValues
Sets the values of the set to test against.- Parameters:
values- the values of the set to test against.
-