Module datarush.analytics
Enum SimplePredicate.Operator
- java.lang.Object
-
- java.lang.Enum<SimplePredicate.Operator>
-
- com.pervasive.datarush.analytics.decisiontree.SimplePredicate.Operator
-
- All Implemented Interfaces:
Serializable
,Comparable<SimplePredicate.Operator>
- Enclosing class:
- SimplePredicate
public static enum SimplePredicate.Operator extends Enum<SimplePredicate.Operator>
Enumeration of allowed values for the "operator" attribute.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description equal
Tests that the given field equals the given valuegreaterOrEqual
Tests that the given field is greater than or equal to the given valuegreaterThan
Tests that the given field is greater than the given valueisMissing
Tests that the given field has a missing valueisNotMissing
Tests that the given field does not have a missing valuelessOrEqual
Tests that the given field is less than or equal to the given valuelessThan
Tests that the given field is less than the given valuenotEqual
Tests that the given field is not equal to the given value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimplePredicate.Operator
valueOf(String name)
Returns the enum constant of this type with the specified name.static SimplePredicate.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
equal
public static final SimplePredicate.Operator equal
Tests that the given field equals the given value
-
notEqual
public static final SimplePredicate.Operator notEqual
Tests that the given field is not equal to the given value
-
lessThan
public static final SimplePredicate.Operator lessThan
Tests that the given field is less than the given value
-
lessOrEqual
public static final SimplePredicate.Operator lessOrEqual
Tests that the given field is less than or equal to the given value
-
greaterThan
public static final SimplePredicate.Operator greaterThan
Tests that the given field is greater than the given value
-
greaterOrEqual
public static final SimplePredicate.Operator greaterOrEqual
Tests that the given field is greater than or equal to the given value
-
isMissing
public static final SimplePredicate.Operator isMissing
Tests that the given field has a missing value
-
isNotMissing
public static final SimplePredicate.Operator isNotMissing
Tests that the given field does not have a missing value
-
-
Method Detail
-
values
public static SimplePredicate.Operator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SimplePredicate.Operator c : SimplePredicate.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimplePredicate.Operator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-