Enum ExplainServiceHelper.Options
- java.lang.Object
-
- java.lang.Enum<ExplainServiceHelper.Options>
-
- org.molgenis.semanticsearch.explain.service.ExplainServiceHelper.Options
-
- All Implemented Interfaces:
Serializable,Comparable<ExplainServiceHelper.Options>
- Enclosing class:
- ExplainServiceHelper
public static enum ExplainServiceHelper.Options extends Enum<ExplainServiceHelper.Options>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAX_OFelasticsearch description that is max of:PRODUCT_OFelasticsearch description that is product of:SUM_OFelasticsearch description that is sum of:WEIGHTelasticsearch description that starts with weight:
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static ExplainServiceHelper.OptionsvalueOf(String name)Returns the enum constant of this type with the specified name.static ExplainServiceHelper.Options[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRODUCT_OF
public static final ExplainServiceHelper.Options PRODUCT_OF
elasticsearch description that is product of:
-
MAX_OF
public static final ExplainServiceHelper.Options MAX_OF
elasticsearch description that is max of:
-
SUM_OF
public static final ExplainServiceHelper.Options SUM_OF
elasticsearch description that is sum of:
-
WEIGHT
public static final ExplainServiceHelper.Options WEIGHT
elasticsearch description that starts with weight:
-
-
Method Detail
-
values
public static ExplainServiceHelper.Options[] 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 (ExplainServiceHelper.Options c : ExplainServiceHelper.Options.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExplainServiceHelper.Options 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<ExplainServiceHelper.Options>
-
-