public enum QueryError extends Enum<QueryError>
| Enum Constant and Description |
|---|
NO_NODE_AVAILABLE
Indicates that no node of the configured ElasticSearch connection could
be reached.
|
NO_RESPONSE
Indicates that the search server could be reached but it did not respond.
|
| Modifier and Type | Method and Description |
|---|---|
static QueryError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryError NO_RESPONSE
public static final QueryError NO_NODE_AVAILABLE
public static QueryError[] values()
for (QueryError c : QueryError.values()) System.out.println(c);
public static QueryError 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 nullCopyright © 2017 JULIE Lab, Germany. All rights reserved.