Class SimplePredicate

java.lang.Object
com.pervasive.datarush.analytics.decisiontree.Predicate
com.pervasive.datarush.analytics.decisiontree.SimplePredicate

public final class SimplePredicate extends Predicate
Corresponds to the PMML SimplePredicate element.
  • Constructor Details

    • SimplePredicate

      public SimplePredicate()
      Create an empty SimplePredicate
  • Method Details

    • getField

      public final String getField()
      Returns the value of the "field" attribute.
      Returns:
      the value of the "field" attribute.
    • setField

      public final void setField(String field)
      Sets the value of the "field" attribute.
      Parameters:
      field - the value of the "field" attribute.
    • getOperator

      public final SimplePredicate.Operator getOperator()
      Returns the value of the "operator" attribute.
      Returns:
      the value of the "operator" attribute.
    • setOperator

      public final void setOperator(SimplePredicate.Operator operator)
      Sets the value of the "operator" attribute.
      Parameters:
      operator - the value of the "operator" attribute.
    • getValue

      public final String getValue()
      Returns the value of the "value" attribute.
      Returns:
      the value of the "value" attribute.
    • setValue

      public final void setValue(String value)
      Sets the value of the "value" attribute.
      Parameters:
      value - the value of the "value" attribute.