Enum Query.Parameter
- java.lang.Object
-
- java.lang.Enum<Query.Parameter>
-
- org.dashbuilder.dataprovider.backend.elasticsearch.rest.model.Query.Parameter
-
- All Implemented Interfaces:
Serializable,Comparable<Query.Parameter>
- Enclosing class:
- Query
public static enum Query.Parameter extends Enum<Query.Parameter>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_FIELDDEFAULT_OPERATORFILTERFILTERSGTGTELOWERCASE_EXPANDED_TERMSLTLTEMUSTMUST_NOTOPERATORQUERYSHOULDVALUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Query.ParametervalueOf(String name)Returns the enum constant of this type with the specified name.static Query.Parameter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MUST
public static final Query.Parameter MUST
-
MUST_NOT
public static final Query.Parameter MUST_NOT
-
SHOULD
public static final Query.Parameter SHOULD
-
VALUE
public static final Query.Parameter VALUE
-
QUERY
public static final Query.Parameter QUERY
-
FILTER
public static final Query.Parameter FILTER
-
FILTERS
public static final Query.Parameter FILTERS
-
GT
public static final Query.Parameter GT
-
GTE
public static final Query.Parameter GTE
-
LT
public static final Query.Parameter LT
-
LTE
public static final Query.Parameter LTE
-
DEFAULT_FIELD
public static final Query.Parameter DEFAULT_FIELD
-
DEFAULT_OPERATOR
public static final Query.Parameter DEFAULT_OPERATOR
-
LOWERCASE_EXPANDED_TERMS
public static final Query.Parameter LOWERCASE_EXPANDED_TERMS
-
OPERATOR
public static final Query.Parameter OPERATOR
-
-
Method Detail
-
values
public static Query.Parameter[] 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 (Query.Parameter c : Query.Parameter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Query.Parameter 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
-
-