Enum SearchResource
- java.lang.Object
-
- java.lang.Enum<SearchResource>
-
- io.vertigo.datafactory.impl.search.SearchResource
-
- All Implemented Interfaces:
io.vertigo.core.locale.MessageKey
,Serializable
,Comparable<SearchResource>
public enum SearchResource extends Enum<SearchResource> implements io.vertigo.core.locale.MessageKey
Dictionnaire des ressources.- Author:
- npiedeloup
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATAFACTORY_SEARCH_INDEX_FIELDDATA_ERROR
Search index struct error.DATAFACTORY_SEARCH_QUERY_SYNTAX_ERROR
Search syntax error.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchResource
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchResource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATAFACTORY_SEARCH_QUERY_SYNTAX_ERROR
public static final SearchResource DATAFACTORY_SEARCH_QUERY_SYNTAX_ERROR
Search syntax error.\nDon't use ( ) [ ] or check you closed them. OR and AND are supported but must be between two keywords.
-
DATAFACTORY_SEARCH_INDEX_FIELDDATA_ERROR
public static final SearchResource DATAFACTORY_SEARCH_INDEX_FIELDDATA_ERROR
Search index struct error.\nSorted or aggregated fields must be declared as keyword, sortable or facetable in your SmartType.
-
-
Method Detail
-
values
public static SearchResource[] 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 (SearchResource c : SearchResource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchResource 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
-
-