public class TypeAheadSortType extends Enum
Modifier and Type | Class and Description |
---|---|
static class |
TypeAheadSortType.TypeAheadSortTypeEditor |
Enum.EnumEditor, Enum.LocaleEnumEditor
Modifier and Type | Field and Description |
---|---|
static TypeAheadSortType |
ALPHA
ALPHA - Sort the matching string values alphabetically
|
static java.lang.String |
CLASS_VERSION
Class version string
|
static TypeAheadSortType |
LENGTH
LENGTH - Sort by the length of the matching string values
|
static TypeAheadSortType |
MATCH
MATCH - Sort by the engine's heuristic metric, which favors initial substrings on
shorter strings with higher value
|
static TypeAheadSortType |
VALUE
VALUE -- Sort by the stored value (the value data in the index, loaded with the type ahead data
|
Modifier and Type | Method and Description |
---|---|
static TypeAheadSortType |
valueOf(java.lang.String pName)
Convert a string value to correponding enum value
|
compareTo, getEnumClassInfo, getOrdinal, iterator, iterator, lookup, lookup, lookup, lookup, readResolve, toString
public static java.lang.String CLASS_VERSION
public static final TypeAheadSortType VALUE
public static final TypeAheadSortType ALPHA
public static final TypeAheadSortType LENGTH
public static final TypeAheadSortType MATCH
public static TypeAheadSortType valueOf(java.lang.String pName)
pName
- the string to convert