org.springframework.data.solr.core.query
Enum TermsOptions.Sort
java.lang.Object
java.lang.Enum<TermsOptions.Sort>
org.springframework.data.solr.core.query.TermsOptions.Sort
- All Implemented Interfaces:
- Serializable, Comparable<TermsOptions.Sort>
- Enclosing class:
- TermsOptions
public static enum TermsOptions.Sort
- extends Enum<TermsOptions.Sort>
COUNT
public static final TermsOptions.Sort COUNT
INDEX
public static final TermsOptions.Sort INDEX
values
public static TermsOptions.Sort[] 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 (TermsOptions.Sort c : TermsOptions.Sort.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TermsOptions.Sort 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 name
NullPointerException - if the argument is null
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.