com.avaje.ebean.config.lucene
Enum IndexFieldDefn.Sortable
java.lang.Object
java.lang.Enum<IndexFieldDefn.Sortable>
com.avaje.ebean.config.lucene.IndexFieldDefn.Sortable
- All Implemented Interfaces:
- Serializable, Comparable<IndexFieldDefn.Sortable>
- Enclosing class:
- IndexFieldDefn
public static enum IndexFieldDefn.Sortable
- extends Enum<IndexFieldDefn.Sortable>
|
Enum Constant Summary |
DEFAULT
Depends on the type and whether it is Analysed. |
YES
Make sure the field is sortable. |
YES
public static final IndexFieldDefn.Sortable YES
- Make sure the field is sortable.
DEFAULT
public static final IndexFieldDefn.Sortable DEFAULT
- Depends on the type and whether it is Analysed.
Text fields that are Analyzed/Tokenized are not sortable.
values
public static IndexFieldDefn.Sortable[] 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 (IndexFieldDefn.Sortable c : IndexFieldDefn.Sortable.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IndexFieldDefn.Sortable 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. All Rights Reserved.