Module datarush.analytics
Class SimplePredicate
java.lang.Object
com.pervasive.datarush.analytics.decisiontree.Predicate
com.pervasive.datarush.analytics.decisiontree.SimplePredicate
Corresponds to the PMML
SimplePredicate element.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration of allowed values for the "operator" attribute. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringgetField()Returns the value of the "field" attribute.final SimplePredicate.OperatorReturns the value of the "operator" attribute.final StringgetValue()Returns the value of the "value" attribute.final voidSets the value of the "field" attribute.final voidsetOperator(SimplePredicate.Operator operator) Sets the value of the "operator" attribute.final voidSets the value of the "value" attribute.
-
Constructor Details
-
SimplePredicate
public SimplePredicate()Create an emptySimplePredicate
-
-
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 "operator" attribute.- Returns:
- the value of the "operator" attribute.
-
setOperator
Sets the value of the "operator" attribute.- Parameters:
operator- the value of the "operator" attribute.
-
getValue
Returns the value of the "value" attribute.- Returns:
- the value of the "value" attribute.
-
setValue
Sets the value of the "value" attribute.- Parameters:
value- the value of the "value" attribute.
-