public enum Operand extends Enum<Operand>
Enum Constant and Description |
---|
EQUAL |
GREATER_THAN |
IN |
LESS_THAN |
NOT_EQUAL |
RANGE_EQUAL |
RANGE_NOT_EQUAL |
WILDCARD |
Modifier and Type | Method and Description |
---|---|
protected double |
_delta(double expected,
double actual) |
Double |
delta(Object expected,
Object actual) |
org.apache.solr.client.solrj.cloud.autoscaling.Clause.TestStatus |
match(Object ruleVal,
Object testVal) |
Operand |
opposite(boolean flag) |
Object |
readRuleValue(Condition condition) |
static Operand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
wrap(Object val) |
public static final Operand WILDCARD
public static final Operand RANGE_EQUAL
public static final Operand EQUAL
public static final Operand IN
public static final Operand RANGE_NOT_EQUAL
public static final Operand NOT_EQUAL
public static final Operand GREATER_THAN
public static final Operand LESS_THAN
public final String operand
public static Operand[] values()
for (Operand c : Operand.values()) System.out.println(c);
public static Operand valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Operand opposite(boolean flag)
public org.apache.solr.client.solrj.cloud.autoscaling.Clause.TestStatus match(Object ruleVal, Object testVal)
protected double _delta(double expected, double actual)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.