public static enum Client.MultipleQueriesStrategy extends Enum<Client.MultipleQueriesStrategy>
Strategy when running multiple queries. See Client.multipleQueriesAsync(java.util.List<com.algolia.search.saas.IndexQuery>, com.algolia.search.saas.Client.MultipleQueriesStrategy, com.algolia.search.saas.CompletionHandler).
| Enum Constant and Description |
|---|
NONE
Execute the sequence of queries until the end.
|
STOP_IF_ENOUGH_MATCHES
Execute the sequence of queries until the number of hits is reached by the sum of hits.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Client.MultipleQueriesStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Client.MultipleQueriesStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Client.MultipleQueriesStrategy NONE
public static final Client.MultipleQueriesStrategy STOP_IF_ENOUGH_MATCHES
public static Client.MultipleQueriesStrategy[] values()
for (Client.MultipleQueriesStrategy c : Client.MultipleQueriesStrategy.values()) System.out.println(c);
public static Client.MultipleQueriesStrategy 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 String toString()
toString in class Enum<Client.MultipleQueriesStrategy>