public static enum SolrQuery.ORDER extends Enum<SolrQuery.ORDER>
Modifier and Type | Method and Description |
---|---|
SolrQuery.ORDER |
reverse() |
static SolrQuery.ORDER |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SolrQuery.ORDER[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolrQuery.ORDER desc
public static final SolrQuery.ORDER asc
public static SolrQuery.ORDER[] values()
for (SolrQuery.ORDER c : SolrQuery.ORDER.values()) System.out.println(c);
public static SolrQuery.ORDER 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 SolrQuery.ORDER reverse()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.